summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/hdd/inc/wlan_hdd_cfg.h35
-rw-r--r--core/hdd/src/wlan_hdd_wext.c23
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