From eaa472be0fecb7defefdd191197132313ae2b2a2 Mon Sep 17 00:00:00 2001 From: Wu Gao Date: Tue, 7 May 2019 15:38:23 +0800 Subject: [PATCH] qcacld-3.0: Correct configurations' description and type Correct INI description for "gTDLSRSSIDelta", and configuration type for below items: - CFG_VALID_CHANNEL_LIST - CFG_COUNTRY_CODE Change-Id: If7ae2845c06b39ba9ce5af96c21bbe3900edbdf4 CRs-Fixed: 2448134 --- components/mlme/dispatcher/inc/cfg_mlme_reg.h | 18 +++++++----------- components/tdls/dispatcher/inc/wlan_tdls_cfg.h | 10 +++++----- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/components/mlme/dispatcher/inc/cfg_mlme_reg.h b/components/mlme/dispatcher/inc/cfg_mlme_reg.h index 39394fe5cbec..f7972a130db5 100644 --- a/components/mlme/dispatcher/inc/cfg_mlme_reg.h +++ b/components/mlme/dispatcher/inc/cfg_mlme_reg.h @@ -179,16 +179,14 @@ /* * valid_chan_list - Configure valid channel list - * @Min: 0 - * @Max: 256 - * @Default: 64 + * @Default: VALID_CHANNEL_LIST_DEFAULT * - * This ini is used to configure the data max number of pre-auth + * This ini is used to configure valid channel list * * Usage: Internal * */ -#define CFG_VALID_CHANNEL_LIST CFG_INI_STRING( \ +#define CFG_VALID_CHANNEL_LIST CFG_STRING( \ "valid_chan_list", \ 0, \ CFG_VALID_CHANNEL_LIST_STRING_LEN, \ @@ -196,17 +194,15 @@ "valid channel list") /* - * max_num_pre_auth - Configure max number of pre-auth - * @Min: 0 - * @Max: 256 - * @Default: 64 + * country_code - Set country code + * @Default: NA * - * This ini is used to configure the data max number of pre-auth + * This ini is used to set country code * * Usage: Internal * */ -#define CFG_COUNTRY_CODE CFG_INI_STRING( \ +#define CFG_COUNTRY_CODE CFG_STRING( \ "country_code", \ 0, \ CFG_COUNTRY_CODE_LEN, \ diff --git a/components/tdls/dispatcher/inc/wlan_tdls_cfg.h b/components/tdls/dispatcher/inc/wlan_tdls_cfg.h index 7957db81bd42..9e7bcabc5929 100644 --- a/components/tdls/dispatcher/inc/wlan_tdls_cfg.h +++ b/components/tdls/dispatcher/inc/wlan_tdls_cfg.h @@ -385,13 +385,13 @@ /* * - * gTDLSRSSITeardownThreshold - RSSI threshold for TDLS teardown. - * @Min: -120 + * gTDLSRSSIDelta - Delta value for the peer RSSI that can trigger teardown. + * @Min: -30 * @Max: 0 - * @Default: -75 + * @Default: -20 * - * This ini is used to configure the absolute value (in dB) of the peer RSSI, - * when exceed, a TDLS teardown is triggered. + * This ini is used to configure delta for peer RSSI such that if Peer RSSI + * is less than AP RSSI plus delta will trigger a teardown. * * Related: gEnableTDLSSupport. *