qcacld-3.0: Introduce a new compile time flag and INI

Introduce a compile time flag SAE_SINGLE_PMK and new INI
"sae_same_pmk_feature_enabled" to enable/disable SAE
Roaming with same PMK/PMKID feature.

Change-Id: Ifca8ec8bcf6e9a2f1d8409b35390bfee0033bd30
CRs-Fixed: 2616025
这个提交包含在:
Abhinav Kumar
2020-01-30 11:35:32 +05:30
提交者 nshrivas
父节点 0a75918299
当前提交 406cfe0ee4
修改 5 个文件,包含 66 行新增1 行删除

查看文件

@@ -2414,6 +2414,34 @@
#define LFR_SUBNET_DETECTION_ALL
#endif
#ifdef WLAN_SAE_SINGLE_PMK
/*
* <ini>
* sae_same_pmk_feature_enabled - Enable/disable sae single pmk feature.
* @Min: 0
* @Max: 1
* @Default: 1
*
* This INI is to enable/disable SAE Roaming with same PMK/PMKID feature support
*
* Related: None.
*
* Supported Feature: Roaming
*
* Usage: Internal
*
* </ini>
*/
#define CFG_SAE_SINGLE_PMK CFG_INI_BOOL( \
"sae_same_pmk_feature_enabled", \
true, \
"Enable/disable SAE Roaming with same PMK/PMKID")
#define SAE_SINGLE_PMK_ALL CFG(CFG_SAE_SINGLE_PMK)
#else
#define SAE_SINGLE_PMK_ALL
#endif
#ifdef WLAN_ADAPTIVE_11R
/*
* <ini>
@@ -2658,6 +2686,7 @@
ADAPTIVE_11R_ALL \
ROAM_OFFLOAD_ALL \
LFR_ESE_ALL \
LFR_SUBNET_DETECTION_ALL
LFR_SUBNET_DETECTION_ALL \
SAE_SINGLE_PMK_ALL
#endif /* CFG_MLME_LFR_H__ */