diff options
| author | Abhishek Singh <absingh@codeaurora.org> | 2016-12-01 11:39:39 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-12-29 10:53:30 -0800 |
| commit | c8212523096396b66329d0d2e02feff1fe30e6cf (patch) | |
| tree | 51d9a82221691620523dc56add13538224734ce5 | |
| parent | 0975ee2bc2bdf3f2e44253324be3e6e3db898080 (diff) | |
qcacld-3.0: Add IOCTL and INI template for PMF/11w feature
Add IOCTL and INI template for PMF/11w feature for documentation.
Change-Id: I91383117ec7dd5f80e71fa6c84293e97b9511596
CRs-Fixed: 1097317
| -rw-r--r-- | core/hdd/inc/wlan_hdd_cfg.h | 35 | ||||
| -rw-r--r-- | core/hdd/src/wlan_hdd_wext.c | 23 |
2 files changed, 58 insertions, 0 deletions
diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h index 96b89bd597ca..3533e92a68cc 100644 --- a/core/hdd/inc/wlan_hdd_cfg.h +++ b/core/hdd/inc/wlan_hdd_cfg.h @@ -3552,11 +3552,46 @@ typedef enum { #endif /* MSM_PLATFORM */ #ifdef WLAN_FEATURE_11W +/* + * <ini> + * pmfSaQueryMaxRetries - Control PMF SA query retries for SAP + * @Min: 0 + * @Max: 20 + * @Default: 5 + * + * This ini to set the number of PMF SA query retries for SAP + * + * Related: None. + * + * Supported Feature: PMF(11W) + * + * Usage: Internal/External + * + * </ini> + */ #define CFG_PMF_SA_QUERY_MAX_RETRIES_NAME "pmfSaQueryMaxRetries" #define CFG_PMF_SA_QUERY_MAX_RETRIES_DEFAULT (5) #define CFG_PMF_SA_QUERY_MAX_RETRIES_MIN (0) #define CFG_PMF_SA_QUERY_MAX_RETRIES_MAX (20) +/* + * <ini> + * pmfSaQueryRetryInterval - Control PMF SA query retry interval + * for SAP in ms + * @Min: 0 + * @Max: 2000 + * @Default: 200 + * + * This ini to set the PMF SA query retry interval for SAP in ms + * + * Related: None. + * + * Supported Feature: PMF(11W) + * + * Usage: Internal/External + * + * </ini> + */ #define CFG_PMF_SA_QUERY_RETRY_INTERVAL_NAME "pmfSaQueryRetryInterval" #define CFG_PMF_SA_QUERY_RETRY_INTERVAL_DEFAULT (200) #define CFG_PMF_SA_QUERY_RETRY_INTERVAL_MIN (0) diff --git a/core/hdd/src/wlan_hdd_wext.c b/core/hdd/src/wlan_hdd_wext.c index 0eddc721f4b3..2076b61de086 100644 --- a/core/hdd/src/wlan_hdd_wext.c +++ b/core/hdd/src/wlan_hdd_wext.c @@ -435,6 +435,29 @@ static const hdd_freq_chan_map_t freq_chan_map[] = { #define WE_GET_TDLS_PEERS 8 #endif #ifdef WLAN_FEATURE_11W +/* + * <ioctl> + * getPMFInfo - get the PMF info of the connected session + * + * @INPUT: None + * + * @OUTPUT: + * wlan0 getPMFInfo: + * BSSID E4:F4:C6:0A:E0:36, Is PMF Assoc? 0 + * Number of Unprotected Disassocs 0 + * Number of Unprotected Deauths 0 + * + * This IOCTL is used to get the PMF stats/status of the current + * connection. + * + * @e.g:iwpriv wlan0 getPMFInfo + * + * Supported Feature: PMF + * + * Usage: Internal/External + * + * </ioctl> + */ #define WE_GET_11W_INFO 9 #endif #define WE_GET_STATES 10 |
