From c8212523096396b66329d0d2e02feff1fe30e6cf Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Thu, 1 Dec 2016 11:39:39 +0530 Subject: 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 --- core/hdd/inc/wlan_hdd_cfg.h | 35 +++++++++++++++++++++++++++++++++++ core/hdd/src/wlan_hdd_wext.c | 23 +++++++++++++++++++++++ 2 files changed, 58 insertions(+) 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 +/* + * + * 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 + * + * + */ #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) +/* + * + * 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 + * + * + */ #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 +/* + * + * 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 + * + * + */ #define WE_GET_11W_INFO 9 #endif #define WE_GET_STATES 10 -- cgit v1.2.3