diff --git a/components/mlme/dispatcher/inc/cfg_mlme_reg.h b/components/mlme/dispatcher/inc/cfg_mlme_reg.h index 39394fe5cb..f7972a130d 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 7957db81bd..9e7bcabc59 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. *