qcacld-3.0: Set valid min value for gTDLSPrefOffChanBandwidth

This is a qcacld-2.0 to qcacld-3.0 propagation.

Currently the min value of gTDLSPrefOffChanBandwidth
is set to zero which is invalid, min value should be
1 (zeroth bit set) for 20MHz.

Change-Id: Ibc2da1c2cca7e704b21686ab795224462dd9f913
CRs-Fixed: 2004116
This commit is contained in:
Kabilan Kannan 2017-02-08 10:38:30 -08:00 • committed by qcabuildsw
commit 4a6b5e745c

View file

@ -2940,7 +2940,7 @@ typedef enum {
* <ini>
* gTDLSPrefOffChanBandwidth - Preferred TDLS channel bandwidth when
* off-channel support is enabled.
* @Min: 0
* @Min: 0x01
* @Max: 0x0F
* @Default: 0x07
*
@ -2959,7 +2959,7 @@ typedef enum {
* </ini>
*/
#define CFG_TDLS_PREFERRED_OFF_CHANNEL_BW "gTDLSPrefOffChanBandwidth"
#define CFG_TDLS_PREFERRED_OFF_CHANNEL_BW_MIN (0)
#define CFG_TDLS_PREFERRED_OFF_CHANNEL_BW_MIN (0x01)
#define CFG_TDLS_PREFERRED_OFF_CHANNEL_BW_MAX (0x0F)
#define CFG_TDLS_PREFERRED_OFF_CHANNEL_BW_DEFAULT (0x07)