qcacld-3.0: Introduce ini parameter for SAE support on SAP

Define ini parameter enable_sae_for_sap to enable SAE
support on SAP. It's enabled by default.

Change-Id: I94f099862ad04e0c9f5155ad9dd7165241540c45
CRs-Fixed: 2394661
This commit is contained in:
Srinivas Dasari
2019-02-11 16:21:42 +05:30
committed by nshrivas
parent 3f3ad25bfb
commit ed83ddebcd
3 changed files with 45 additions and 0 deletions

View File

@@ -678,7 +678,38 @@
1, \
"Override bw to 11ac for P2P GO")
#ifdef WLAN_FEATURE_SAE
/*
*
* <ini>
* enable_sae_for_sap - Enable/Disable SAE support in driver for SAP
* @Min: 0
* @Max: 1
* @Default: 1
*
* This ini is used to enable/disable SAE support in driver for SAP mode
* Driver will process/drop the SAE authentication frames based on this config.
*
* Related: None
*
* Supported Feature: SAE
* Usage: External
*
* </ini>
*/
#define CFG_IS_SAP_SAE_ENABLED CFG_INI_BOOL( \
"enable_sae_for_sap", \
1, \
"Enable/Disable SAE support for SAP")
#define CFG_SAP_SAE CFG(CFG_IS_SAP_SAE_ENABLED)
#else
#define CFG_SAP_SAE
#endif /* WLAN_FEATURE_SAE */
#define CFG_SAP_ALL \
CFG_SAP_SAE \
CFG(CFG_AP_ENABLE_RANDOM_BSSID) \
CFG(CFG_SSID) \
CFG(CFG_BEACON_INTERVAL) \