summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSen, Devendra <dsen@codeaurora.org>2017-01-02 19:53:18 +0530
committerqcabuildsw <qcabuildsw@localhost>2017-02-02 04:28:22 -0800
commit26c546ae53cb113cef49e869f4777b2650012980 (patch)
tree4ece498d606b88506c008ef20ede3db6cfc98132
parent1dbce955c0e4145a1220bec9e30ffb2e63927094 (diff)
qcacld-3.0: Add INI and IOCTL templates for STA
Add INI and IOCTL templates for STA feature for documentation Change-Id: I7208ef37efcc3a12b7b94b757a052cd2abc796d7 CRs-Fixed: 1106789
-rw-r--r--core/hdd/inc/wlan_hdd_cfg.h1388
-rw-r--r--core/hdd/src/wlan_hdd_wext.c1446
2 files changed, 2796 insertions, 38 deletions
diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h
index bdbcab9df473..5a9ba07ab9d4 100644
--- a/core/hdd/inc/wlan_hdd_cfg.h
+++ b/core/hdd/inc/wlan_hdd_cfg.h
@@ -64,11 +64,48 @@
/* Defines for all of the things we read from the configuration (registry). */
+/*
+ * <ini>
+ * RTSThreshold - Will provide RTSThreshold
+ * @Min: 0
+ * @Max: 1048576
+ * @Default: 2347
+ *
+ * This ini is used to set default RTSThreshold
+ * If minimum value 0 is selectd then it will use always RTS
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_RTS_THRESHOLD_NAME "RTSThreshold"
#define CFG_RTS_THRESHOLD_MIN WNI_CFG_RTS_THRESHOLD_STAMIN /* min is 0, meaning always use RTS. */
#define CFG_RTS_THRESHOLD_MAX WNI_CFG_RTS_THRESHOLD_STAMAX /* max is the max frame size */
#define CFG_RTS_THRESHOLD_DEFAULT WNI_CFG_RTS_THRESHOLD_STADEF
+/*
+ * <ini>
+ * gFragmentationThreshold - It will set fragmentation threshold
+ * @Min: 256
+ * @Max: 8000
+ * @Default: 8000
+ *
+ * This ini is used to indicate default fragmentation threshold
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_FRAG_THRESHOLD_NAME "gFragmentationThreshold"
#define CFG_FRAG_THRESHOLD_MIN WNI_CFG_FRAGMENTATION_THRESHOLD_STAMIN
#define CFG_FRAG_THRESHOLD_MAX WNI_CFG_FRAGMENTATION_THRESHOLD_STAMAX
@@ -79,6 +116,24 @@
#define CFG_OPERATING_CHANNEL_MAX (14)
#define CFG_OPERATING_CHANNEL_DEFAULT (1)
+/*
+ * <ini>
+ * gShortSlotTimeEnabled - It will set slot timing slot.
+ * @Min: 0
+ * @Max: 1
+ * @Default: 1
+ *
+ * This ini is used to set default timing slot.
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_SHORT_SLOT_TIME_ENABLED_NAME "gShortSlotTimeEnabled"
#define CFG_SHORT_SLOT_TIME_ENABLED_MIN WNI_CFG_SHORT_SLOT_TIME_STAMIN
#define CFG_SHORT_SLOT_TIME_ENABLED_MAX WNI_CFG_SHORT_SLOT_TIME_STAMAX
@@ -105,10 +160,28 @@
#define CFG_HEARTBEAT_THRESH_24_MAX WNI_CFG_HEART_BEAT_THRESHOLD_STAMAX
#define CFG_HEARTBEAT_THRESH_24_DEFAULT WNI_CFG_HEART_BEAT_THRESHOLD_STADEF
-#define CFG_MAX_RX_AMPDU_FACTOR_NAME "gMaxRxAmpduFactor"
-#define CFG_MAX_RX_AMPDU_FACTOR_MIN WNI_CFG_MAX_RX_AMPDU_FACTOR_STAMIN
-#define CFG_MAX_RX_AMPDU_FACTOR_MAX WNI_CFG_MAX_RX_AMPDU_FACTOR_STAMAX
-#define CFG_MAX_RX_AMPDU_FACTOR_DEFAULT WNI_CFG_MAX_RX_AMPDU_FACTOR_STADEF
+/*
+ * <ini>
+ * gMaxRxAmpduFactor - Provide the maximum ampdu factor.
+ * @Min: 0
+ * @Max: 3
+ * @Default: 3
+ *
+ * This ini is used to set default maxampdu factor
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
+#define CFG_MAX_RX_AMPDU_FACTOR_NAME "gMaxRxAmpduFactor"
+#define CFG_MAX_RX_AMPDU_FACTOR_MIN WNI_CFG_MAX_RX_AMPDU_FACTOR_STAMIN
+#define CFG_MAX_RX_AMPDU_FACTOR_MAX WNI_CFG_MAX_RX_AMPDU_FACTOR_STAMAX
+#define CFG_MAX_RX_AMPDU_FACTOR_DEFAULT WNI_CFG_MAX_RX_AMPDU_FACTOR_STADEF
/* Configuration option for HT MPDU density (Table 8-125 802.11-2012)
* 0 for no restriction
@@ -125,8 +198,25 @@
#define CFG_HT_MPDU_DENSITY_MAX WNI_CFG_MPDU_DENSITY_STAMAX
#define CFG_HT_MPDU_DENSITY_DEFAULT WNI_CFG_MPDU_DENSITY_STADEF
-/* Configuration added to enable/disable CTS2SELF in */
-/* Adaptive RX drain feature */
+/*
+ * <ini>
+ * gEnableAdaptRxDrain - It will enable adapt received drain.
+ * @Min: 0
+ * @Max: 1
+ * @Default: 1
+ *
+ * This ini is used to Configuration added to enable/disable CTS2SELF in
+ * Adaptive RX drain feature.
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_ENABLE_ADAPT_RX_DRAIN_NAME "gEnableAdaptRxDrain"
#define CFG_ENABLE_ADAPT_RX_DRAIN_MIN WNI_CFG_ENABLE_ADAPT_RX_DRAIN_STAMIN
#define CFG_ENABLE_ADAPT_RX_DRAIN_MAX WNI_CFG_ENABLE_ADAPT_RX_DRAIN_STAMAX
@@ -156,21 +246,93 @@ typedef enum {
eHDD_DOT11_MODE_11a,
} eHddDot11Mode;
+/*
+ * <ini>
+ * gChannelBondingMode24GHz - Configures Channel Bonding in 24 GHz
+ * @Min: 0
+ * @Max: 10
+ * @Default: 0
+ *
+ * This ini is used to set default channel bonding mode 24GHZ
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_CHANNEL_BONDING_MODE_24GHZ_NAME "gChannelBondingMode24GHz"
#define CFG_CHANNEL_BONDING_MODE_MIN WNI_CFG_CHANNEL_BONDING_MODE_STAMIN
#define CFG_CHANNEL_BONDING_MODE_MAX WNI_CFG_CHANNEL_BONDING_MODE_STAMAX
#define CFG_CHANNEL_BONDING_MODE_DEFAULT WNI_CFG_CHANNEL_BONDING_MODE_STADEF
+/*
+ * <ini>
+ * gChannelBondingMode5GHz - Configures Channel Bonding in 5 GHz
+ * @Min: 0
+ * @Max: 10
+ * @Default: 0
+ *
+ * This ini is used to set default channel bonding mode 5GHZ
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_CHANNEL_BONDING_MODE_5GHZ_NAME "gChannelBondingMode5GHz"
#define CFG_CHANNEL_BONDING_MODE_MIN WNI_CFG_CHANNEL_BONDING_MODE_STAMIN
#define CFG_CHANNEL_BONDING_MODE_MAX WNI_CFG_CHANNEL_BONDING_MODE_STAMAX
#define CFG_CHANNEL_BONDING_MODE_DEFAULT WNI_CFG_CHANNEL_BONDING_MODE_STADEF
+/*
+ * <ini>
+ * gFixedRate - It will provide fixed rate
+ * @Min: 0
+ * @Max: 44
+ * @Default: 0
+ *
+ * This ini is used to set default fixed rate
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_FIXED_RATE_NAME "gFixedRate"
#define CFG_FIXED_RATE_MIN WNI_CFG_FIXED_RATE_STAMIN
#define CFG_FIXED_RATE_MAX WNI_CFG_FIXED_RATE_STAMAX
#define CFG_FIXED_RATE_DEFAULT WNI_CFG_FIXED_RATE_STADEF
+/*
+ * <ini>
+ * gShortGI20Mhz - Short Guard Interval for HT20
+ * @Min: 0
+ * @Max: 1
+ * @Default: 1
+ *
+ * This ini is used to set default short interval for HT20
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_SHORT_GI_20MHZ_NAME "gShortGI20Mhz"
#define CFG_SHORT_GI_20MHZ_MIN WNI_CFG_SHORT_GI_20MHZ_STAMIN
#define CFG_SHORT_GI_20MHZ_MAX WNI_CFG_SHORT_GI_20MHZ_STAMAX
@@ -203,6 +365,24 @@ typedef enum {
#define CFG_SCAN_RESULT_AGE_TIME_CPS_MAX (10000)
#define CFG_SCAN_RESULT_AGE_TIME_CPS_DEFAULT (600)
+/*
+ * <ini>
+ * gRssiCatGap - Set Rssi CatGap
+ * @Min: 5
+ * @Max: 100
+ * @Default: 5
+ *
+ * This ini is used to set default RssiCatGap
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_RSSI_CATEGORY_GAP_NAME "gRssiCatGap"
#define CFG_RSSI_CATEGORY_GAP_MIN (5)
#define CFG_RSSI_CATEGORY_GAP_MAX (100)
@@ -716,6 +896,24 @@ typedef enum {
#define CFG_INTERFACE_CHANGE_WAIT_MAX (500000)
#define CFG_INTERFACE_CHANGE_WAIT_DEFAULT (100000)
+/*
+ * <ini>
+ * gShortPreamble - Set Short Preamble
+ * @Min: 0
+ * @Max: 1
+ * @Default: 1
+ *
+ * This ini is used to set default short Preamble
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_SHORT_PREAMBLE_NAME "gShortPreamble"
#define CFG_SHORT_PREAMBLE_MIN WNI_CFG_SHORT_PREAMBLE_STAMIN
#define CFG_SHORT_PREAMBLE_MAX WNI_CFG_SHORT_PREAMBLE_STAMAX
@@ -1665,17 +1863,52 @@ typedef enum {
#define CFG_TX_POWER_CTRL_MIN (0)
#define CFG_TX_POWER_CTRL_MAX (1)
+/*
+ * <ini>
+ * gLowGainOverride - Indicates Low Gain Override
+ * @Min: 0
+ * @Max: 1
+ * @Default: 0
+ *
+ * This ini is used to set default Low Gain Override
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_LOW_GAIN_OVERRIDE_NAME "gLowGainOverride"
#define CFG_LOW_GAIN_OVERRIDE_MIN WNI_CFG_LOW_GAIN_OVERRIDE_STAMIN
#define CFG_LOW_GAIN_OVERRIDE_MAX WNI_CFG_LOW_GAIN_OVERRIDE_STAMAX
#define CFG_LOW_GAIN_OVERRIDE_DEFAULT WNI_CFG_LOW_GAIN_OVERRIDE_STADEF
+/*
+ * <ini>
+ * gRssiFilterPeriod - Enable gRssi Filter for RSSI Monitoring
+ * @Min: STAMIN
+ * @Max: STAMAX
+ * @Default: STADEF
+ *
+ * This ini is used to Increased this value for Non-ESE AP this is cause FW
+ * RSSI Monitoring the consumer of this value is ON by default. So to impact
+ * power numbers we are setting this to a high value.
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_RSSI_FILTER_PERIOD_NAME "gRssiFilterPeriod"
#define CFG_RSSI_FILTER_PERIOD_MIN WNI_CFG_RSSI_FILTER_PERIOD_STAMIN
#define CFG_RSSI_FILTER_PERIOD_MAX WNI_CFG_RSSI_FILTER_PERIOD_STAMAX
-/* Increased this value for Non-ESE AP. This is cause FW RSSI Monitoring */
-/* the consumer of this value is ON by default. So to impact power numbers */
-/* we are setting this to a high value. */
#define CFG_RSSI_FILTER_PERIOD_DEFAULT WNI_CFG_RSSI_FILTER_PERIOD_STADEF
#define CFG_IGNORE_DTIM_NAME "gIgnoreDtim"
@@ -1683,21 +1916,93 @@ typedef enum {
#define CFG_IGNORE_DTIM_MAX WNI_CFG_IGNORE_DTIM_STAMAX
#define CFG_IGNORE_DTIM_DEFAULT WNI_CFG_IGNORE_DTIM_STADEF
+/*
+ * <ini>
+ * gMaxLIModulatedDTIM - Set MaxLIModulate Dtim
+ * @Min: 1
+ * @Max: 10
+ * @Default: 10
+ *
+ * This ini is used to set default MaxLIModulatedDTIM
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_MAX_LI_MODULATED_DTIM_NAME "gMaxLIModulatedDTIM"
#define CFG_MAX_LI_MODULATED_DTIM_MIN (1)
#define CFG_MAX_LI_MODULATED_DTIM_MAX (10)
#define CFG_MAX_LI_MODULATED_DTIM_DEFAULT (10)
+/*
+ * <ini>
+ * gEnableFWHeartBeatMonitoring - Enable FWHeartBeat Monitor
+ * @Min: 0
+ * @Max: 1
+ * @Default: 1
+ *
+ * This ini is used to set default FWHeartBeat Monitor
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_FW_HEART_BEAT_MONITORING_NAME "gEnableFWHeartBeatMonitoring"
#define CFG_FW_HEART_BEAT_MONITORING_MIN (0)
#define CFG_FW_HEART_BEAT_MONITORING_MAX (1)
#define CFG_FW_HEART_BEAT_MONITORING_DEFAULT (1)
+/*
+ * <ini>
+ * gEnableFWBeaconFiltering - Enable FWBeacon Filter
+ * @Min: 0
+ * @Max: 1
+ * @Default: 1
+ *
+ * This ini is used to set default FWBeacon Filter
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_FW_BEACON_FILTERING_NAME "gEnableFWBeaconFiltering"
#define CFG_FW_BEACON_FILTERING_MIN (0)
#define CFG_FW_BEACON_FILTERING_MAX (1)
#define CFG_FW_BEACON_FILTERING_DEFAULT (1)
+/*
+ * <ini>
+ * gEnableFWRssiMonitoring - Enable FWRssi Monitor
+ * @Min: 0
+ * @Max: 1
+ * @Default: 1
+ *
+ * This ini is used to set default FWRssi Monitor
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_FW_RSSI_MONITORING_NAME "gEnableFWRssiMonitoring"
#define CFG_FW_RSSI_MONITORING_MIN (0)
#define CFG_FW_RSSI_MONITORING_MAX (1)
@@ -1721,6 +2026,7 @@ typedef enum {
*
* </ini>
*/
+
#define CFG_FW_MCC_RTS_CTS_PROT_NAME "gFWMccRtsCtsProtection"
#define CFG_FW_MCC_RTS_CTS_PROT_MIN (0)
#define CFG_FW_MCC_RTS_CTS_PROT_MAX (1)
@@ -1753,12 +2059,48 @@ typedef enum {
#define CFG_DATA_INACTIVITY_TIMEOUT_MIN (1)
#define CFG_DATA_INACTIVITY_TIMEOUT_MAX (255)
#define CFG_DATA_INACTIVITY_TIMEOUT_DEFAULT (200)
+/*
+ * <ini>
+ * rfSettlingTimeUs - Settle the TimeUs
+ * @Min: 0
+ * @Max: 60000
+ * @Default: 1500
+ *
+ * This ini is used to set default TimeUs
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
#define CFG_RF_SETTLING_TIME_CLK_NAME "rfSettlingTimeUs"
#define CFG_RF_SETTLING_TIME_CLK_MIN (0)
#define CFG_RF_SETTLING_TIME_CLK_MAX (60000)
#define CFG_RF_SETTLING_TIME_CLK_DEFAULT (1500)
+/*
+ * <ini>
+ * gStaKeepAlivePeriod - Sends NULL frame to AP periodically in
+ * seconds to notify STA's existence
+ * @Min: 0
+ * @Max: 65535
+ * @Default: 30
+ *
+ * This ini is used to send default NULL frame to AP
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_INFRA_STA_KEEP_ALIVE_PERIOD_NAME "gStaKeepAlivePeriod"
#define CFG_INFRA_STA_KEEP_ALIVE_PERIOD_MIN (0)
#define CFG_INFRA_STA_KEEP_ALIVE_PERIOD_MAX (65535)
@@ -2707,21 +3049,93 @@ typedef enum {
#define CFG_ROAM_BEACON_RSSI_WEIGHT_MAX (16)
#define CFG_ROAM_BEACON_RSSI_WEIGHT_DEFAULT (14)
+/*
+ * <ini>
+ * McastBcastFilter - Filters Mcast/Bcast Rx packets completely
+ * @Min: 0
+ * @Max: 3
+ * @Default: 0
+ *
+ * This ini is used to send default NULL frame to AP
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_MCAST_BCAST_FILTER_SETTING_NAME "McastBcastFilter"
#define CFG_MCAST_BCAST_FILTER_SETTING_MIN (0)
#define CFG_MCAST_BCAST_FILTER_SETTING_MAX (3)
#define CFG_MCAST_BCAST_FILTER_SETTING_DEFAULT (0)
+/*
+ * <ini>
+ * gDynamicPSPollvalue - Set dynamic PSpoll value
+ * @Min: 0
+ * @Max: 255
+ * @Default: 0
+ *
+ * This ini is used to send default PSpoll value
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_DYNAMIC_PSPOLL_VALUE_NAME "gDynamicPSPollvalue"
#define CFG_DYNAMIC_PSPOLL_VALUE_MIN (0)
#define CFG_DYNAMIC_PSPOLL_VALUE_MAX (255)
#define CFG_DYNAMIC_PSPOLL_VALUE_DEFAULT (0)
+/*
+ * <ini>
+ * gTelescopicBeaconWakeupEn - Set teles copic beacon wakeup
+ * @Min: 0
+ * @Max: 1
+ * @Default: 0
+ *
+ * This ini is used to set default teles copic beacon wakeup
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_TELE_BCN_WAKEUP_EN_NAME "gTelescopicBeaconWakeupEn"
#define CFG_TELE_BCN_WAKEUP_EN_MIN (0)
#define CFG_TELE_BCN_WAKEUP_EN_MAX (1)
#define CFG_TELE_BCN_WAKEUP_EN_DEFAULT (0)
+/*
+ * <ini>
+ * gValidateScanList - Set valid date scan list
+ * @Min: 0
+ * @Max: 65535
+ * @Default: 30
+ *
+ * This ini is used to set default valid date scan list
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_VALIDATE_SCAN_LIST_NAME "gValidateScanList"
#define CFG_VALIDATE_SCAN_LIST_MIN (0)
#define CFG_VALIDATE_SCAN_LIST_MAX (1)
@@ -2752,6 +3166,25 @@ typedef enum {
#define CFG_ENABLE_HOST_NSOFFLOAD_MAX (1)
#define CFG_ENABLE_HOST_NSOFFLOAD_DEFAULT (1)
+/*
+ * <ini>
+ * BandCapability - Preferred band (0: Both, 1: 2.4G only, 2: 5G only)
+ * @Min: 0
+ * @Max: 2
+ * @Default: 0
+ *
+ * This ini is used to set default band capability
+ * (0: Both, 1: 2.4G only, 2: 5G only)
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_BAND_CAPABILITY_NAME "BandCapability"
#define CFG_BAND_CAPABILITY_MIN (0)
#define CFG_BAND_CAPABILITY_MAX (2)
@@ -2772,6 +3205,24 @@ typedef enum {
#define CFG_ENABLE_DFS_PNO_CHNL_SCAN_MAX (1)
#define CFG_ENABLE_DFS_PNO_CHNL_SCAN_DEFAULT (1)
+/*
+ * <ini>
+ * gEnableDumpCollect - It will use for collect the dumps
+ * @Min: 0
+ * @Max: 1
+ * @Default: 1
+ *
+ * This ini is used to set collect default dump
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_ENABLE_RAMDUMP_COLLECTION "gEnableDumpCollect"
#define CFG_ENABLE_RAMDUMP_COLLECTION_MIN (0)
#define CFG_ENABLE_RAMDUMP_COLLECTION_MAX (1)
@@ -2812,16 +3263,39 @@ typedef enum {
#define CFG_VHT_ENABLE_2x2_CAP_FEATURE_MAX (1)
#define CFG_VHT_ENABLE_2x2_CAP_FEATURE_DEFAULT (0)
-/* 0 - Connects in 160MHz 1x1 when AP is 160MHz 2x2
+/*
+ * <ini>
+ * gStaPrefer80MHzOver160MHz - Set prefer range for sta
+ * @Min: 0
+ * @Max: 1
+ * @Default: 1
+ *
+ * This ini is used to set default range for sta
+ * 0 - Connects in 160MHz 1x1 when AP is 160MHz 2x2
* 1 - Connects in 80MHz 2x2 when AP is 160MHz 2x2
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
*/
+
#define CFG_STA_PREFER_80MHZ_OVER_160MHZ "gStaPrefer80MHzOver160MHz"
#define CFG_STA_PREFER_80MHZ_OVER_160MHZ_MIN (0)
#define CFG_STA_PREFER_80MHZ_OVER_160MHZ_MAX (1)
#define CFG_STA_PREFER_80MHZ_OVER_160MHZ_DEFAULT (1)
/*
- * NSS cfg bit definition.
+ * <ini>
+ * gVdevTypeNss_2g - Select the value for each two bit configuration
+ * @Min: 0x5555
+ * @Max: 0xAAAA
+ * @Default: 0xAAAA
+ *
+ * This ini is used to set NSS cfg bit in 2g definition.
* STA BIT[0:1]
* SAP BIT[2:3]
* P2P_GO BIT[4:5]
@@ -2830,12 +3304,47 @@ typedef enum {
* TDLS BIT[10:11]
* P2P_DEVICE BIT[12:13]
* OCB BIT[14:15]
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
*/
+
#define CFG_VDEV_TYPE_NSS_2G "gVdevTypeNss_2g"
#define CFG_VDEV_TYPE_NSS_2G_MIN (0x5555)
#define CFG_VDEV_TYPE_NSS_2G_MAX (0xAAAA)
#define CFG_VDEV_TYPE_NSS_2G_DEFAULT (0xAAAA)
+/*
+ * <ini>
+ * gVdevTypeNss_5g - Select the value for each two bit configuration
+ * @Min: 0x5555
+ * @Max: 0xAAAA
+ * @Default: 0xAAAA
+ *
+ * This ini is used to set NSS cfg bit in 5g definition
+ * STA BIT[0:1]
+ * SAP BIT[2:3]
+ * P2P_GO BIT[4:5]
+ * P2P_CLIENT BIT[6:7]
+ * IBSS BIT[8:9]
+ * TDLS BIT[10:11]
+ * P2P_DEVICE BIT[12:13]
+ * OCB BIT[14:15]
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_VDEV_TYPE_NSS_5G "gVdevTypeNss_5g"
#define CFG_VDEV_TYPE_NSS_5G_MIN (0x5555)
#define CFG_VDEV_TYPE_NSS_5G_MAX (0xAAAA)
@@ -2866,6 +3375,24 @@ typedef enum {
#define CFG_VHT_ENABLE_1x1_RX_CHAINMASK_MAX (2)
#define CFG_VHT_ENABLE_1x1_RX_CHAINMASK_DEFAULT (1)
+/*
+ * <ini>
+ * gEnableAMPDUPS - Enable the AMPDUPS
+ * @Min: 0
+ * @Max: 1
+ * @Default: 0
+ *
+ * This ini is used to set default AMPDUPS
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_ENABLE_AMPDUPS_FEATURE "gEnableAMPDUPS"
#define CFG_ENABLE_AMPDUPS_FEATURE_MIN (0)
#define CFG_ENABLE_AMPDUPS_FEATURE_MAX (1)
@@ -2912,19 +3439,70 @@ typedef enum {
#define CFG_REPORT_MAX_LINK_SPEED_DEFAULT (eHDD_LINK_SPEED_REPORT_MAX_SCALED)
/*
- * RSSI Thresholds
+ * <ini>
+ * gLinkSpeedRssiHigh - Report the max possible speed with RSSI scaling
+ * @Min: 0
+ * @Max: 1
+ * @Default: 0
+ *
+ * This ini is used to set default eHDD_LINK_SPEED_REPORT
* Used when eHDD_LINK_SPEED_REPORT_SCALED is selected
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
*/
+
#define CFG_LINK_SPEED_RSSI_HIGH "gLinkSpeedRssiHigh"
#define CFG_LINK_SPEED_RSSI_HIGH_MIN (-127)
#define CFG_LINK_SPEED_RSSI_HIGH_MAX (0)
#define CFG_LINK_SPEED_RSSI_HIGH_DEFAULT (-55)
+/*
+ * <ini>
+ * gLinkSpeedRssiMed - Used when eHDD_LINK_SPEED_REPORT_SCALED is selected
+ * @Min: -127
+ * @Max: 0
+ * @Default: -65
+ *
+ * This ini is used to set medium rssi link speed
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_LINK_SPEED_RSSI_MID "gLinkSpeedRssiMed"
#define CFG_LINK_SPEED_RSSI_MID_MIN (-127)
#define CFG_LINK_SPEED_RSSI_MID_MAX (0)
#define CFG_LINK_SPEED_RSSI_MID_DEFAULT (-65)
+/*
+ * <ini>
+ * gLinkSpeedRssiLow - Used when eHDD_LINK_SPEED_REPORT_SCALED is selected
+ * @Min: -127
+ * @Max: 0
+ * @Default: -80
+ *
+ * This ini is used to set low rssi link speed
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_LINK_SPEED_RSSI_LOW "gLinkSpeedRssiLow"
#define CFG_LINK_SPEED_RSSI_LOW_MIN (-127)
#define CFG_LINK_SPEED_RSSI_LOW_MAX (0)
@@ -2960,11 +3538,50 @@ typedef enum {
#define CFG_ENABLE_SSR_MAX (1)
#define CFG_ENABLE_SSR_DEFAULT (1)
+/*
+ * <ini>
+ * gEnableOverLapCh - Enables Overlap Channel. If set, allow overlapping
+ * channels to be selected for the SoftAP
+ * @Min: 0
+ * @Max: 1
+ * @Default: 0
+ *
+ * This ini is used to set Overlap Channel
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_ENABLE_OVERLAP_CH "gEnableOverLapCh"
#define CFG_ENABLE_OVERLAP_CH_MIN (0)
#define CFG_ENABLE_OVERLAP_CH_MAX (1)
#define CFG_ENABLE_OVERLAP_CH_DEFAULT (0)
+/*
+ * <ini>
+ * gEnable5gEBT - Enables/disables 5G early beacon termination. When enabled
+ * terminate the reception of beacon if the TIM element is
+ * clear for the power saving
+ * @Min: 0
+ * @Max: 1
+ * @Default: 1
+ *
+ * This ini is used to set default 5G early beacon termination
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_PPS_ENABLE_5G_EBT "gEnable5gEBT"
#define CFG_PPS_ENABLE_5G_EBT_FEATURE_MIN (0)
#define CFG_PPS_ENABLE_5G_EBT_FEATURE_MAX (1)
@@ -2975,9 +3592,25 @@ typedef enum {
#define CFG_ENABLE_MEMORY_DEEP_SLEEP_MAX (1)
#define CFG_ENABLE_MEMORY_DEEP_SLEEP_DEFAULT (1)
-/* In cfg.dat 1=1MBPS, 2=2MBPS, 3=5_5MBPS, 4=11MBPS, 5=6MBPS, 6=9MBPS,
+/*
+ * <ini>
+ * gDefaultRateIndex24Ghz -Set the rate index for 24Ghz
+ * @Min: 1
+ * @Max: 9
+ * @Default: 1
+ *
+ * This ini is used to set default rate index
+ * In cfg.dat 1=1MBPS, 2=2MBPS, 3=5_5MBPS, 4=11MBPS, 5=6MBPS, 6=9MBPS,
* 7=12MBPS, 8=18MBPS, 9=24MBPS. But 6=9MBPS and 8=18MBPS are not basic
* 11g rates and should not be set by gDefaultRateIndex24Ghz.
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
*/
#define CFG_DEFAULT_RATE_INDEX_24GH "gDefaultRateIndex24Ghz"
@@ -3022,7 +3655,13 @@ typedef enum {
#define CFG_ENABLE_FW_MODULE_LOG_DEFAULT ""
/*
- * gEnableRTSProfiles for configuring different RTS profiles
+ * <ini>
+ * gEnableRTSProfiles - It will use configuring different RTS profiles
+ * @Min: 0
+ * @Max: 34
+ * @Default: 33
+ *
+ * This ini used for configuring different RTS profiles
* to firmware.
* Following are the valid values for the rtsprofile:
* RTSCTS_DISABLED 0
@@ -3030,7 +3669,16 @@ typedef enum {
* CTS2SELF_ENABLED_4_SECOND_RATESERIES 18
* RTSCTS_ENABLED_4_SWRETRIES 33
* CTS2SELF_ENABLED_4_SWRETRIES 34
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
*/
+
#define CFG_ENABLE_FW_RTS_PROFILE "gEnableRTSProfiles"
#define CFG_ENABLE_FW_RTS_PROFILE_MIN (0)
#define CFG_ENABLE_FW_RTS_PROFILE_MAX (34)
@@ -3094,6 +3742,7 @@ typedef enum {
*
* </ini>
*/
+
#define CFG_SAP_SCC_CHAN_AVOIDANCE "gSapSccChanAvoidance"
#define CFG_SAP_SCC_CHAN_AVOIDANCE_MIN (0)
#define CFG_SAP_SCC_CHAN_AVOIDANCE_MAX (1)
@@ -3220,6 +3869,25 @@ typedef enum {
#define CFG_IGNORE_DYNAMIC_DTIM_IN_P2P_MODE_MAX (1)
#define CFG_IGNORE_DYNAMIC_DTIM_IN_P2P_MODE_DEFAULT (0)
+/*
+ * <ini>
+ * gShortGI40Mhz - It will check gShortGI20Mhz and
+ * gShortGI40Mhz from session entry
+ * @Min: 0
+ * @Max: 1
+ * @Default: 1
+ *
+ * This ini is used to set default gShortGI40Mhz
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_SHORT_GI_40MHZ_NAME "gShortGI40Mhz"
#define CFG_SHORT_GI_40MHZ_MIN 0
#define CFG_SHORT_GI_40MHZ_MAX 1
@@ -3506,24 +4174,93 @@ typedef enum {
#define CFG_ENABLE_MODULATED_DTIM_DEFAULT (0)
/*
- * Enable/Disable Multicast MAC Address List feature
+ * <ini>
+ * gMCAddrListEnable - Enable/Disable Multicast MAC Address List feature
+ * @Min: 0
+ * @Max: 1
+ * @Default: 1
+ *
+ * This ini is used to set default MAC Address
* Default: Enable
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
*/
+
#define CFG_MC_ADDR_LIST_ENABLE_NAME "gMCAddrListEnable"
#define CFG_MC_ADDR_LIST_ENABLE_MIN (0)
#define CFG_MC_ADDR_LIST_ENABLE_MAX (1)
#define CFG_MC_ADDR_LIST_ENABLE_DEFAULT (1)
+/*
+ * <ini>
+ * gEnableRXSTBC - Enables/disables Rx STBC capability in STA mode
+ * @Min: 0
+ * @Max: 1
+ * @Default: 1
+ *
+ * This ini is used to set default Rx STBC capability
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_ENABLE_RX_STBC "gEnableRXSTBC"
#define CFG_ENABLE_RX_STBC_MIN (0)
#define CFG_ENABLE_RX_STBC_MAX (1)
#define CFG_ENABLE_RX_STBC_DEFAULT (1)
+/*
+ * <ini>
+ * gEnableTXSTBC - Enables/disables Tx STBC capability in STA mode
+ * @Min: 0
+ * @Max: 1
+ * @Default: 0
+ *
+ * This ini is used to set default Tx STBC capability
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_ENABLE_TX_STBC "gEnableTXSTBC"
#define CFG_ENABLE_TX_STBC_MIN (0)
#define CFG_ENABLE_TX_STBC_MAX (1)
#define CFG_ENABLE_TX_STBC_DEFAULT (0)
+/*
+ * <ini>
+ * gEnableRXLDPC - Enables/disables Rx LDPC capability in STA mode
+ * @Min: 0
+ * @Max: 1
+ * @Default: 0
+ *
+ * This ini is used to set default Rx LDPC capability
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_ENABLE_RX_LDPC "gEnableRXLDPC"
#define CFG_ENABLE_RX_LDPC_MIN (0)
#define CFG_ENABLE_RX_LDPC_MAX (1)
@@ -4226,24 +4963,93 @@ typedef enum {
#define CFG_ENABLE_VENDOR_VHT_FOR_24GHZ_MAX (1)
#define CFG_ENABLE_VENDOR_VHT_FOR_24GHZ_DEFAULT (1)
+/*
+ * <ini>
+ * gMaxMediumTime - Set Maximum channel time
+ * @Min: STAMIN
+ * @Max: STAMAX
+ * @Default: STADEF
+ *
+ * This ini is used to set default max channel time
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_MAX_MEDIUM_TIME "gMaxMediumTime"
#define CFG_MAX_MEDIUM_TIME_STAMIN WNI_CFG_MAX_MEDIUM_TIME_STAMIN
#define CFG_MAX_MEDIUM_TIME_STAMAX WNI_CFG_MAX_MEDIUM_TIME_STAMAX
#define CFG_MAX_MEDIUM_TIME_STADEFAULT WNI_CFG_MAX_MEDIUM_TIME_STADEF
/*
- * Enable heart beat monitoring offload to FW
+ * <ini>
+ * gEnableIbssHeartBeatOffload - Enable heart beat monitoring offload to FW
+ * @Min: 0
+ * @Max: 1
+ * @Default: 1
+ *
+ * This ini is used to set default ibbs heartbeat offload
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
*/
+
#define CFG_ENABLE_HEART_BEAT_OFFLOAD "gEnableIbssHeartBeatOffload"
#define CFG_ENABLE_HEART_BEAT_OFFLOAD_MIN (0)
#define CFG_ENABLE_HEART_BEAT_OFFLOAD_MAX (1)
#define CFG_ENABLE_HEART_BEAT_OFFLOAD_DEFAULT (1)
+/*
+ * <ini>
+ * gAntennaDiversity - It will use to set Antenna diversity
+ * @Min: 0
+ * @Max: 3
+ * @Default: 0
+ *
+ * This ini is used to set default Antenna diversity
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_ANTENNA_DIVERSITY_PARAM_NAME "gAntennaDiversity"
#define CFG_ANTENNA_DIVERSITY_PARAM_MIN (0)
#define CFG_ANTENNA_DIVERSITY_PARAM_MAX (3)
#define CFG_ANTENNA_DIVERSITY_PARAM_DEFAULT (0)
+/*
+ * <ini>
+ * gEnableSNRMonitoring - Enables SNR Monitoring
+ * @Min: 0
+ * @Max: 1
+ * @Default: 0
+ *
+ * This ini is used to set default snr monitor
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_ENABLE_SNR_MONITORING_NAME "gEnableSNRMonitoring"
#define CFG_ENABLE_SNR_MONITORING_MIN (0)
#define CFG_ENABLE_SNR_MONITORING_MAX (1)
@@ -4287,9 +5093,26 @@ typedef enum {
#define CFG_MAX_AMSDU_NUM_MAX (3)
#define CFG_MAX_AMSDU_NUM_DEFAULT (1)
-/* It enables IP, TCP and UDP checksum offload in hardware
- * and also advertise same to network stack.
+/*
+ * <ini>
+ * gEnableIpTcpUdpChecksumOffload - It enables IP, TCP and UDP checksum
+ * offload in hardware
+ * @Min: 0
+ * @Max: 1
+ * @Default: DEF
+ *
+ * This ini is used to enable IP, TCP and UDP checksum offload in hardware
+ * and also advertise same to network stack
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
*/
+
#define CFG_ENABLE_IP_TCP_UDP_CHKSUM_OFFLOAD "gEnableIpTcpUdpChecksumOffload"
#define CFG_ENABLE_IP_TCP_UDP_CHKSUM_OFFLOAD_DISABLE (0)
#define CFG_ENABLE_IP_TCP_UDP_CHKSUM_OFFLOAD_ENABLE (1)
@@ -4418,15 +5241,29 @@ typedef enum {
#define CFG_SAP_MAX_NO_PEERS_DEFAULT (32)
/*
- * Connection related log Enable/Disable.
+ * <ini>
+ * gEnableDebugLog - Enable/Disable the Connection related logs
+ * @Min: 0
+ * @Max: 0xFF
+ * @Default: 0x0F
+ *
+ * This ini is used to enable/disable the connection related logs
* 0x1 - Enable mgmt pkt logs (excpet probe req/rsp, beacons).
* 0x2 - Enable EAPOL pkt logs.
* 0x4 - Enable DHCP pkt logs.
* 0x8 - Enable mgmt action frames logs.
* 0x0 - Disable all the above connection related logs.
+ * The default value of 0x0F will enable all the above logs
+ *
+ * Related: None
*
- * The default value of 0x0F will enable all the above logs.
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
*/
+
#define CFG_ENABLE_DEBUG_CONNECT_ISSUE "gEnableDebugLog"
#define CFG_ENABLE_DEBUG_CONNECT_ISSUE_MIN (0)
#define CFG_ENABLE_DEBUG_CONNECT_ISSUE_MAX (0xFF)
@@ -4772,12 +5609,47 @@ typedef enum {
#define CFG_RA_RATE_LIMIT_INTERVAL_DEFAULT (60) /*60 SEC */
#endif
+/*
+ * <ini>
+ * gIgnorePeerErpInfo - Used for ignore peer infrormation
+ * @Min: 0
+ * @Max: 1
+ * @Default: 0
+ *
+ * This ini is used to ignore default peer info
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_IGNORE_PEER_ERP_INFO_NAME "gIgnorePeerErpInfo"
#define CFG_IGNORE_PEER_ERP_INFO_MIN (0)
#define CFG_IGNORE_PEER_ERP_INFO_MAX (1)
#define CFG_IGNORE_PEER_ERP_INFO_DEFAULT (0)
-/* Enable Memory Debug */
+/*
+ * <ini>
+ * gEnableMemoryDebug - Enables the memory debug
+ * @Min: 0
+ * @Max: 1
+ * @Default: 1
+ *
+ * This ini is used to enable default memory debug
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#ifdef MEMORY_DEBUG
#define CFG_ENABLE_MEMORY_DEBUG_NAME "gEnableMemoryDebug"
#define CFG_ENABLE_MEMORY_DEBUG_MIN (0)
@@ -4785,16 +5657,71 @@ typedef enum {
#define CFG_ENABLE_MEMORY_DEBUG_DEFAULT (1)
#endif
+
+/*
+ * <ini>
+ * gInitialDwellTime - Used to set initial dwell time
+ * @Min: 0
+ * @Max: 0
+ * @Default: 100
+ *
+ * This ini is used to set default initial dwell time
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_INITIAL_DWELL_TIME_NAME "gInitialDwellTime"
#define CFG_INITIAL_DWELL_TIME_DEFAULT (0)
#define CFG_INITIAL_DWELL_TIME_MIN (0)
#define CFG_INITIAL_DWELL_TIME_MAX (100)
+/*
+ * <ini>
+ * gInitialScanNoDFSChnl - WLAN skips scanning the DFS channels
+ * @Min: 0
+ * @Max: 0
+ * @Default: 1
+ *
+ * This ini is used to set for the first scan after driver
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_INITIAL_SCAN_NO_DFS_CHNL_NAME "gInitialScanNoDFSChnl"
#define CFG_INITIAL_SCAN_NO_DFS_CHNL_DEFAULT (0)
#define CFG_INITIAL_SCAN_NO_DFS_CHNL_MIN (0)
#define CFG_INITIAL_SCAN_NO_DFS_CHNL_MAX (1)
+/*
+ * <ini>
+ * gAllowDFSChannelRoam - Allow dfs channel in roam
+ * @Min: 0
+ * @Max: 1
+ * @Default: 2
+ *
+ * This ini is used to set default dfs channel
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_ROAMING_DFS_CHANNEL_NAME "gAllowDFSChannelRoam"
#define CFG_ROAMING_DFS_CHANNEL_DISABLED (0)
#define CFG_ROAMING_DFS_CHANNEL_ENABLED_NORMAL (1)
@@ -5017,6 +5944,24 @@ typedef enum {
#define CFG_MAX_CONCURRENT_CONNECTIONS_MIN (1)
#define CFG_MAX_CONCURRENT_CONNECTIONS_MAX (4)
+/*
+ * <ini>
+ * gIgnoreCAC - Used to ignore CAC
+ * @Min: 0
+ * @Max: 1
+ * @Default: 0
+ *
+ * This ini is used to set default CAC
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_IGNORE_CAC_NAME "gIgnoreCAC"
#define CFG_IGNORE_CAC_MIN (0)
#define CFG_IGNORE_CAC_MAX (1)
@@ -5031,6 +5976,25 @@ typedef enum {
#define CFG_DFS_RADAR_PRI_MULTIPLIER_DEFAULT (4)
#define CFG_DFS_RADAR_PRI_MULTIPLIER_MIN (0)
#define CFG_DFS_RADAR_PRI_MULTIPLIER_MAX (10)
+
+/*
+ * <ini>
+ * gReorderOffloadSupported - Packet reordering offload to firmware
+ * @Min: 0
+ * @Max: 1
+ * @Default: 0
+ *
+ * This ini is used to set default Packet reordering
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_REORDER_OFFLOAD_SUPPORT_NAME "gReorderOffloadSupported"
#define CFG_REORDER_OFFLOAD_SUPPORT_MIN (0)
#define CFG_REORDER_OFFLOAD_SUPPORT_MAX (1)
@@ -5078,6 +6042,24 @@ typedef enum {
#define CFG_WLAN_LOGGING_NUM_BUF_DEFAULT (256)
#endif /* WLAN_LOGGING_SOCK_SVC_ENABLE */
+/*
+ * <ini>
+ * gEnableSifsBurst - Enables Sifs Burst
+ * @Min: 0
+ * @Max: 1
+ * @Default: DEF
+ *
+ * This ini is used to set default Sifs Burst
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_ENABLE_SIFS_BURST "gEnableSifsBurst"
#define CFG_ENABLE_SIFS_BURST_MIN (0)
#define CFG_ENABLE_SIFS_BURST_MAX (1)
@@ -5112,6 +6094,24 @@ typedef enum {
#define CFG_ENABLE_SAP_SUSPEND_MAX (1)
#define CFG_ENABLE_SAP_SUSPEND_DEFAULT (1)
+/*
+ * <ini>
+ * gEnableDeauthToDisassocMap - Enables deauth to disassoc map
+ * @Min: 0
+ * @Max: 1
+ * @Default: 0
+ *
+ * This ini is used to set default disassoc map
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_ENABLE_DEAUTH_TO_DISASSOC_MAP_NAME "gEnableDeauthToDisassocMap"
#define CFG_ENABLE_DEAUTH_TO_DISASSOC_MAP_MIN (0)
#define CFG_ENABLE_DEAUTH_TO_DISASSOC_MAP_MAX (1)
@@ -5133,9 +6133,25 @@ typedef enum {
#endif /* DHCP_SERVER_OFFLOAD */
/*
+ * <ini>
+ * gSendDeauthBeforeCon - It will send deauth before connection
+ * @Min: 0
+ * @Max: 1
+ * @Default: 0
+ *
+ * This ini is used to set default DeauthBeforeCon
* If last disconnection was due to HB failure and we reconnect
* to same AP next time, send Deauth before starting connection
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
*/
+
#define CFG_ENABLE_DEAUTH_BEFORE_CONNECTION "gSendDeauthBeforeCon"
#define CFG_ENABLE_DEAUTH_BEFORE_CONNECTION_MIN (0)
#define CFG_ENABLE_DEAUTH_BEFORE_CONNECTION_MAX (1)
@@ -5389,13 +6405,46 @@ typedef enum {
#define CFG_BPF_PACKET_FILTER_OFFLOAD_DEFAULT (1)
/*
+ * <ini>
+ * gCckChainMaskEnable - Used to enable/disable Cck ChainMask
+ * @Min: 0
+ * @Max: 1
+ * @Default: 0
+ *
+ * This ini is used to set default Cck ChainMask
* 0: disable the cck tx chain mask (default)
* 1: enable the cck tx chain mask
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
*/
+
#define CFG_TX_CHAIN_MASK_CCK "gCckChainMaskEnable"
#define CFG_TX_CHAIN_MASK_CCK_MIN (0)
#define CFG_TX_CHAIN_MASK_CCK_MAX (1)
#define CFG_TX_CHAIN_MASK_CCK_DEFAULT (0)
+/*
+ * <ini>
+ * gTxChainMask1ss - Enables/disables tx chain Mask1ss
+ * @Min: 0
+ * @Max: 3
+ * @Default: 1
+ *
+ * This ini is used to set default tx chain Mask1ss
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
#define CFG_TX_CHAIN_MASK_1SS "gTxChainMask1ss"
#define CFG_TX_CHAIN_MASK_1SS_MIN (0)
@@ -5412,18 +6461,50 @@ typedef enum {
#define CFG_SELF_GEN_FRM_PWR_DEFAULT (0)
/*
+ * <ini>
+ * gTxAggregationSize - Gives an option to configure Tx aggregation size
+ * in no of MPDUs
+ * @Min: 0
+ * @Max: 64
+ * @Default: 64
+ *
* gTxAggregationSize gives an option to configure Tx aggregation size
- * in no of MPDUs. This can be useful in debugging throughput issues
+ * in no of MPDUs.This can be useful in debugging throughput issues
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
*/
+
#define CFG_TX_AGGREGATION_SIZE "gTxAggregationSize"
#define CFG_TX_AGGREGATION_SIZE_MIN (0)
#define CFG_TX_AGGREGATION_SIZE_MAX (64)
#define CFG_TX_AGGREGATION_SIZE_DEFAULT (64)
/*
+ * <ini>
+ * gRxAggregationSize - Gives an option to configure Rx aggregation size
+ * in no of MPDUs
+ * @Min: 1
+ * @Max: 64
+ * @Default: 64
+ *
* gRxAggregationSize gives an option to configure Rx aggregation size
* in no of MPDUs. This can be useful in debugging throughput issues
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
*/
+
#define CFG_RX_AGGREGATION_SIZE "gRxAggregationSize"
#define CFG_RX_AGGREGATION_SIZE_MIN (1)
#define CFG_RX_AGGREGATION_SIZE_MAX (64)
@@ -5729,84 +6810,321 @@ enum dot11p_mode {
#define CFG_ENABLE_FATAL_EVENT_TRIGGER_DEFAULT (1)
/*
- * If gEnableEdcaParams is set to 1, params gEdcaVoCwmin,
+ * <ini>
+ * gEnableEdcaParams - Enable edca parameter
+ * @Min: 0
+ * @Max: 1
+ * @Default: 0
+ *
+ * This ini is used if gEnableEdcaParams is set to 1, params gEdcaVoCwmin,
* gEdcaViCwmin, gEdcaBkCwmin, gEdcaBeCwmin, gEdcaVoCwmax,
* gEdcaViCwmax, gEdcaBkCwmax, gEdcaBeCwmax, gEdcaVoAifs,
* gEdcaViAifs, gEdcaBkAifs and gEdcaBeAifs values are used
* to overwrite the values received from AP
+ *
+ * Related: None
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
*/
+
#define CFG_ENABLE_EDCA_INI_NAME "gEnableEdcaParams"
#define CFG_ENABLE_EDCA_INI_MIN (0)
#define CFG_ENABLE_EDCA_INI_MAX (1)
#define CFG_ENABLE_EDCA_INI_DEFAULT (0)
-/* Cwmin value for EDCA_AC_VO. CWVomin = 2^gEdcaVoCwmin -1 */
+/*
+ * <ini>
+ * gEdcaVoCwmin - Set Cwmin value for EDCA_AC_VO
+ * @Min: 0
+ * @Max: 0x15
+ * @Default: 2
+ *
+ * This ini is used to set default Cwmin value for EDCA_AC_VO
+ * Cwmin value for EDCA_AC_VO. CWVomin = 2^gEdcaVoCwmin -1
+ *
+ * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin etc
+ * are aplicable
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_EDCA_VO_CWMIN_VALUE_NAME "gEdcaVoCwmin"
#define CFG_EDCA_VO_CWMIN_VALUE_MIN (0x0)
#define CFG_EDCA_VO_CWMIN_VALUE_MAX (15)
#define CFG_EDCA_VO_CWMIN_VALUE_DEFAULT (2)
-/* Cwmin value for EDCA_AC_VI. CWVimin = 2^gEdcaViCwmin -1 */
+/*
+ * <ini>
+ * gEdcaViCwmin - Set Cwmin value for EDCA_AC_VI
+ * @Min: 0x0
+ * @Max: 15
+ * @Default: 3
+ *
+ * This ini is used to set default value for EDCA_AC_VI
+ * Cwmin value for EDCA_AC_VI. CWVimin = 2^gEdcaViCwmin -1
+ *
+ * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin
+ * etc are aplicable
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_EDCA_VI_CWMIN_VALUE_NAME "gEdcaViCwmin"
#define CFG_EDCA_VI_CWMIN_VALUE_MIN (0x0)
#define CFG_EDCA_VI_CWMIN_VALUE_MAX (15)
#define CFG_EDCA_VI_CWMIN_VALUE_DEFAULT (3)
-/* Cwmin value for EDCA_AC_BK. CWBkmin = 2^gEdcaBkCwmin -1 */
+/*
+ * <ini>
+ * gEdcaBkCwmin - Set Cwmin value for EDCA_AC_BK
+ * @Min: 0x0
+ * @Max: 15
+ * @Default: 4
+ *
+ * This ini is used to set default Cwmin value for EDCA_AC_BK
+ * Cwmin value for EDCA_AC_BK. CWBkmin = 2^gEdcaBkCwmin -1
+ *
+ * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin
+ * etc are aplicable
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ * </ini>
+ */
+
#define CFG_EDCA_BK_CWMIN_VALUE_NAME "gEdcaBkCwmin"
#define CFG_EDCA_BK_CWMIN_VALUE_MIN (0x0)
#define CFG_EDCA_BK_CWMIN_VALUE_MAX (15)
#define CFG_EDCA_BK_CWMIN_VALUE_DEFAULT (4)
-/* Cwmin value for EDCA_AC_BE. CWBemin = 2^gEdcaBeCwmin -1 */
+/*
+ * <ini>
+ * gEdcaBeCwmin - Set Cwmin value for EDCA_AC_BE
+ * @Min: 0x0
+ * @Max: 15
+ * @Default: 4
+ *
+ * This ini is used to set default Cwmin value for EDCA_AC_BE
+ * Cwmin value for EDCA_AC_BE. CWBemin = 2^gEdcaBeCwmin
+ *
+ * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin
+ * etc are aplicable
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_EDCA_BE_CWMIN_VALUE_NAME "gEdcaBeCwmin"
#define CFG_EDCA_BE_CWMIN_VALUE_MIN (0x0)
#define CFG_EDCA_BE_CWMIN_VALUE_MAX (15)
#define CFG_EDCA_BE_CWMIN_VALUE_DEFAULT (4)
-/* Cwmax value for EDCA_AC_VO. CWVomax = 2^gEdcaVoCwmax -1 */
+/*
+ * <ini>
+ * gEdcaVoCwmax - Set Cwmax value for EDCA_AC_VO
+ * @Min: 0
+ * @Max: 15
+ * @Default: 3
+ *
+ * This ini is used to set default Cwmax value for EDCA_AC_VO
+ * Cwmax value for EDCA_AC_VO. CWVomax = 2^gEdcaVoCwmax -1
+ *
+ * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin
+ * etc are aplicable
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_EDCA_VO_CWMAX_VALUE_NAME "gEdcaVoCwmax"
#define CFG_EDCA_VO_CWMAX_VALUE_MIN (0)
#define CFG_EDCA_VO_CWMAX_VALUE_MAX (15)
#define CFG_EDCA_VO_CWMAX_VALUE_DEFAULT (3)
-/* Cwmax value for EDCA_AC_VI. CWVimax = 2^gEdcaViCwmax -1 */
+/*
+ * <ini>
+ * gEdcaViCwmax - Set Cwmax value for EDCA_AC_VI
+ * @Min: 0
+ * @Max: 15
+ * @Default: 4
+ *
+ * This ini is used to set default Cwmax value for EDCA_AC_VI
+ * Cwmax value for EDCA_AC_VI. CWVimax = 2^gEdcaViCwmax -1
+ *
+ * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin
+ * etc are aplicable
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
#define CFG_EDCA_VI_CWMAX_VALUE_NAME "gEdcaViCwmax"
#define CFG_EDCA_VI_CWMAX_VALUE_MIN (0)
#define CFG_EDCA_VI_CWMAX_VALUE_MAX (15)
#define CFG_EDCA_VI_CWMAX_VALUE_DEFAULT (4)
-/* Cwmax value for EDCA_AC_BK. CWBkmax = 2^gEdcaBkCwmax -1 */
+/*
+ * <ini>
+ * gEdcaBkCwmax - Set Cwmax value for EDCA_AC_BK
+ * @Min: 0
+ * @Max: 15
+ * @Default: 10
+ *
+ * This ini is used to set default Cwmax value for EDCA_AC_BK
+ * Cwmax value for EDCA_AC_BK. CWBkmax = 2^gEdcaBkCwmax -1
+ *
+ * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin
+ * etc are aplicable
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_EDCA_BK_CWMAX_VALUE_NAME "gEdcaBkCwmax"
#define CFG_EDCA_BK_CWMAX_VALUE_MIN (0)
#define CFG_EDCA_BK_CWMAX_VALUE_MAX (15)
#define CFG_EDCA_BK_CWMAX_VALUE_DEFAULT (10)
-/* Cwmax value for EDCA_AC_BE. CWBemax = 2^gEdcaBeCwmax -1 */
+/*
+ * <ini>
+ * gEdcaBeCwmax - Set Cwmax value for EDCA_AC_BE
+ * @Min: 0
+ * @Max: 15
+ * @Default: 10
+ *
+ * This ini is used to set default Cwmax value for EDCA_AC_BE
+ * Cwmax value for EDCA_AC_BE. CWBemax = 2^gEdcaBeCwmax -1
+ *
+ * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin
+ * etc are aplicable
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_EDCA_BE_CWMAX_VALUE_NAME "gEdcaBeCwmax"
#define CFG_EDCA_BE_CWMAX_VALUE_MIN (0)
#define CFG_EDCA_BE_CWMAX_VALUE_MAX (15)
#define CFG_EDCA_BE_CWMAX_VALUE_DEFAULT (10)
-/* Aifs value for EDCA_AC_VO.*/
+/*
+ * <ini>
+ * gEdcaVoAifs - Set Aifs value for EDCA_AC_VO
+ * @Min: 0
+ * @Max: 15
+ * @Default: 2
+ *
+ * This ini is used to set default Aifs value for EDCA_AC_VO
+ *
+ * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin
+ * etc are aplicable
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_EDCA_VO_AIFS_VALUE_NAME "gEdcaVoAifs"
#define CFG_EDCA_VO_AIFS_VALUE_MIN (0)
#define CFG_EDCA_VO_AIFS_VALUE_MAX (15)
#define CFG_EDCA_VO_AIFS_VALUE_DEFAULT (2)
-/* Aifs value for EDCA_AC_VI.*/
+/*
+ * <ini>
+ * gEdcaViAifs - Set Aifs value for EDCA_AC_VI
+ * @Min: 0
+ * @Max: 15
+ * @Default: 2
+ *
+ * This ini is used to set default Aifs value for EDCA_AC_VI
+ *
+ * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin
+ * etc are aplicable
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_EDCA_VI_AIFS_VALUE_NAME "gEdcaViAifs"
#define CFG_EDCA_VI_AIFS_VALUE_MIN (0)
#define CFG_EDCA_VI_AIFS_VALUE_MAX (15)
#define CFG_EDCA_VI_AIFS_VALUE_DEFAULT (2)
-/* Aifs value for EDCA_AC_BK.*/
+/*
+ * <ini>
+ * gEdcaBkAifs - Set Aifs value for EDCA_AC_BK
+ * @Min: 0
+ * @Max: 15
+ * @Default: 7
+ *
+ * This ini is used to set default Aifs value for EDCA_AC_BK
+ *
+ * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin
+ * etc are aplicable
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_EDCA_BK_AIFS_VALUE_NAME "gEdcaBkAifs"
#define CFG_EDCA_BK_AIFS_VALUE_MIN (0)
#define CFG_EDCA_BK_AIFS_VALUE_MAX (15)
#define CFG_EDCA_BK_AIFS_VALUE_DEFAULT (7)
-/* Aifs value for EDCA_AC_BE.*/
+/*
+ * <ini>
+ * gEdcaBeAifs - Set Aifs value for EDCA_AC_BE
+ * @Min: 0
+ * @Max: 15
+ * @Default: 3
+ *
+ * This ini is used to set default Aifs value for EDCA_AC_BE
+ *
+ * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin
+ * etc are aplicable
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ini>
+ */
+
#define CFG_EDCA_BE_AIFS_VALUE_NAME "gEdcaBeAifs"
#define CFG_EDCA_BE_AIFS_VALUE_MIN (0)
#define CFG_EDCA_BE_AIFS_VALUE_MAX (15)
diff --git a/core/hdd/src/wlan_hdd_wext.c b/core/hdd/src/wlan_hdd_wext.c
index 853e1569ba3c..270295939812 100644
--- a/core/hdd/src/wlan_hdd_wext.c
+++ b/core/hdd/src/wlan_hdd_wext.c
@@ -124,32 +124,377 @@ static const hdd_freq_chan_map_t freq_chan_map[] = {
#define WE_SET_11D_STATE 1
#define WE_WOWL 2
#define WE_SET_POWER 3
+/*
+ * <ioctl>
+ * setMaxAssoc - Sets the maximum number of associated stations
+ *
+ * @INPUT: 1 to 32
+ *
+ * @OUTPUT: None
+ *
+ * This IOTCL sets the maximum number of associated stations
+ *
+ * @E.g: iwpriv wlan0 setMaxAssoc <value>
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_MAX_ASSOC 4
#define WE_SET_SCAN_DISABLE 5
+/*
+ * <ioctl>
+ * inactivityTO - sets the timeout value for inactivity data while
+ * in power save mode
+ *
+ * @INPUT: int1…..int255
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL set the timeout value for inactivity data in power save mode
+ *
+ * @E.g: iwpriv wlan0 inactivityTO 20
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_DATA_INACTIVITY_TO 6
+/*
+ * <ioctl>
+ * setMaxTxPower - Dynamically sets the maximum transmission power
+ *
+ * @INPUT: Transmission power in dBm
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL dynamically sets the maximum transmission power
+ * This setting does not persist over reboots
+ *
+ * @E.g: iwpriv wlan0 setMaxTxPower <value in db)
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_MAX_TX_POWER 7
#define WE_SET_HIGHER_DTIM_TRANSITION 8
#define WE_SET_TM_LEVEL 9
+/*
+ * <ioctl>
+ * setphymode - Set the phymode dynamically
+ *
+ * @INPUT: 0 IEEE80211_MODE_AUTO to 22 IEEE80211_MODE_11AGN
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL sets the phymode dynamically
+ *
+ * @E.g: iwpriv wlan0 setphymode 10
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_PHYMODE 10
+/*
+ * <ioctl>
+ * nss - Set the number of spatial streams
+ *
+ * @INPUT: int1…..int3
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL sets the number of spatial streams. Supported values are 1 and 2
+ *
+ * @E.g: iwpriv wlan0 nss 2
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_NSS 11
+/*
+ * <ioctl>
+ * ldpc - Enables or disables LDPC
+ *
+ * @INPUT: 0 – Disable, 1 - Enable
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL enables or disables LDPC
+ *
+ * @E.g: iwpriv wlan0 ldpc 1
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_LDPC 12
+/*
+ * <ioctl>
+ * tx_stbc - Enables or disables tx_stbc
+ *
+ * @INPUT: Int 0 – Disable, 1 - Enable
+ *
+ * @OUTPUT: None
+ *
+ * This IOTCL used to enables or disables tx_stbc
+ *
+ * @E.g: iwpriv wlan0 tx_stbc <value>
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_TX_STBC 13
+/*
+ * <ioctl>
+ * rx_stbc - Set the rx_stbc parameter
+ *
+ * @INPUT: Int 0 – Disable, 1 - Enable
+ *
+ * @OUTPUT: None
+ *
+ * This IOTCL used to set rx_stbc parameter
+ *
+ * @E.g: iwpriv wlan0 rx_stbc <value>
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_RX_STBC 14
+/*
+ * <ioctl>
+ * shortgi - Enables or disables a short-guard interval
+ *
+ * @INPUT: Int 0 – Disable, 1 - Enable
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL enables or disables a short-guard interval.
+ *
+ * @E.g: iwpriv wlan0 shortgi <value>
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_SHORT_GI 15
+/*
+ * <ioctl>
+ * enablertscts - enables or disables rts/cts.
+ *
+ * @INPUT: 1-Enable , 0-Disable
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL enables or disables rts/cts.
+ *
+ * @E.g: iwpriv wlan0 enablertscts <value>
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_RTSCTS 16
+/*
+ * <ioctl>
+ * chwidth - Set the channel bandwidth
+ *
+ * @INPUT: 0-20mhz to 3-160mhz
+ *
+ * @OUTPUT: None
+ *
+ * This IOTCL used to set the channel bandwidth
+ *
+ * @E.g: iwpriv wlan0 chwidth 1
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_CHWIDTH 17
#define WE_SET_ANI_EN_DIS 18
#define WE_SET_ANI_POLL_PERIOD 19
#define WE_SET_ANI_LISTEN_PERIOD 20
#define WE_SET_ANI_OFDM_LEVEL 21
#define WE_SET_ANI_CCK_LEVEL 22
+/*
+ * <ioctl>
+ * cwmenable - Enables or disables the dynamic channel bandwidth
+ *
+ * @INPUT: 0-Disable, 1-Enable
+ *
+ * @OUTPUT: None
+ *
+ * This IOTCL used to enables or disables the dynamic channel bandwidth
+ *
+ * @E.g: iwpriv wlan0 cwmenable <value>
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_DYNAMIC_BW 23
+/*
+ * <ioctl>
+ * txchainmask - This IOCTL sets the current Tx chain mask
+ *
+ * @INPUT: Mask Value
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL sets the current Tx chain mask
+ *
+ * @E.g: iwpriv wlan0 txchainmask 1
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_TX_CHAINMASK 24
+/*
+ * <ioctl>
+ * rxchainmask - Sets the current Rx chain mask
+ *
+ * @INPUT: Mask Value
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL sets the current Rx chain mask. This command is the
+ * equivalent to setting in gSetRxChainmask1x1 in WCNSS_qcom_cfg.ini.
+ *
+ * @E.g: iwpriv wlan0 rxchainmask <value>
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_RX_CHAINMASK 25
+/*
+ * <ioctl>
+ * set11NRates - Fixes the Tx data rate of the 11N mode.
+ *
+ * @INPUT: 0x1b to 0x8f
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL fixes the Tx data rate of the 11N mode.
+ *
+ * @E.g: iwpriv wlan0 set11NRates 0x85
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_11N_RATE 26
+/*
+ * <ioctl>
+ * ampdu - Set the the maximum subframe of ampdu
+ *
+ * @INPUT: int 1 to int 63
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL sets the maximum subframe of ampdu.
+ *
+ * @E.g: iwpriv wlan0 ampdu 9
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_AMPDU 27
+/*
+ * <ioctl>
+ * amsdu - Sets the maximum subframe of amsdu.
+ *
+ * @INPUT: int 1 to int 31
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL sets the maximum subframe of amsdu.
+ *
+ * @E.g: iwpriv wlan0 amsdu 9
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_AMSDU 28
+/*
+ * <ioctl>
+ * txpow2g - current 2 GHz Tx power setting
+ *
+ * @INPUT: Tx power in dBm
+ *
+ * @OUTPUT: None
+ *
+ * This IOTCL used to set 2 ghz tx power
+ *
+ * @E.g: iwpriv wlan0 txpow2g
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_TXPOW_2G 29
+/*
+ * <ioctl>
+ * txpow5g - Current 5 GHz tx power setting
+ *
+ * @INPUT: Tx power in dBm
+ *
+ * @OUTPUT: None
+ *
+ * This IOTCL used to set the 5 ghz txpower
+ *
+ * @E.g: iwpriv wlan0 txpow5g
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_TXPOW_5G 30
/* Private ioctl for firmware debug log */
#define WE_DBGLOG_LOG_LEVEL 31
@@ -160,10 +505,66 @@ static const hdd_freq_chan_map_t freq_chan_map[] = {
#define WE_DBGLOG_MOD_LOG_LEVEL 36
#define WE_DBGLOG_TYPE 37
#define WE_SET_TXRX_FWSTATS 38
+/*
+ * <ioctl>
+ * set11ACRates - Fixes the Tx data rate of 11AC
+ *
+ * @INPUT: 0x1 to 0x9
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL fixes the Tx data rate of 11AC.
+ *
+ * @E.g: iwpriv wlan0 set11ACRates 0x9
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_VHT_RATE 39
#define WE_DBGLOG_REPORT_ENABLE 40
#define WE_TXRX_FWSTATS_RESET 41
+/*
+ * <ioctl>
+ * setTxMaxPower2G - Set the maximum transmit power for the 2.4-GHz band
+ *
+ * @INPUT: Transmission power in dBm
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL sets the maximum transmit power for the 2.4-GHz band
+ * This setting does not persist over reboots
+ *
+ * @E.g: iwpriv wlan0 setTxMaxPower2G 10
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_MAX_TX_POWER_2_4 42
+/*
+ * <ioctl>
+ * setTxMaxPower5G - Set the maximum transmit power for the 5-GHz band
+ *
+ * @INPUT: Transmission power in dBm
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL sets the maximum transmit power for the 5-GHz band
+ * This setting does not persist over reboots
+ *
+ * @E.g: iwpriv wlan0 setTxMaxPower5G 10
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_MAX_TX_POWER_5_0 43
#define WE_SET_PKTLOG 44
/* Private ioctl for packet powe save */
@@ -175,27 +576,243 @@ static const hdd_freq_chan_map_t freq_chan_map[] = {
#define WE_PPS_MACADDR_MISMATCH 50
#define WE_PPS_DELIM_CRC_FAIL 51
#define WE_PPS_GID_NSTS_ZERO 52
+/*
+ * <ioctl>
+ * rssi_chk - Chek the rssi
+ *
+ * @INPUT: One argument as input
+ *
+ * @OUTPUT: rssi
+ * wlan0 rssi_chk:56
+ *
+ * This IOTCL used to chek rssi
+ *
+ * @E.g: iwpriv wlan0 rssi_chk <value>
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_PPS_RSSI_CHECK 53
#define WE_SET_SAP_AUTO_CHANNEL_SELECTION 54
+/*
+ * <ioctl>
+ * htsmps - Sets the htsmps
+ *
+ * @INPUT: Atleast one int argument
+ *
+ * @OUTPUT: None
+ *
+ * This IOTCL used to set htsmps
+ *
+ * @E.g: iwpriv wlan0 htsmps <value>
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_HTSMPS 55
/* Private ioctl for QPower */
#define WE_SET_QPOWER_MAX_PSPOLL_COUNT 56
#define WE_SET_QPOWER_MAX_TX_BEFORE_WAKE 57
#define WE_SET_QPOWER_SPEC_PSPOLL_WAKE_INTERVAL 58
#define WE_SET_QPOWER_SPEC_MAX_SPEC_NODATA_PSPOLL 59
-
+/*
+ * <ioctl>
+ * burst_enable - Enables or disables the burst feature
+ *
+ * @INPUT: 0-Disable, 1-Enable
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL enables or disables the burst feature.
+ *
+ * @E.g: iwpriv wlan0 burst_enable 0
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_BURST_ENABLE 60
+/*
+ * <ioctl>
+ * burst_dur - Enables or disables the burst feature
+ *
+ * @INPUT: int 1…..int 8191 in microseconds
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL sets the burst duration.
+ *
+ * @E.g: iwpriv wlan0 burst_dur <value>
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_BURST_DUR 61
/* GTX Commands */
+/*
+ * <ioctl>
+ * gtxHTMcs - Set the tx HTM value
+ *
+ * @INPUT: Atleast one int orgument
+ *
+ * @OUTPUT: None
+ *
+ * This IOTCL sets htm tx value
+ *
+ * @E.g: iwpriv wlan0 gtxHTMcs <value>
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_GTX_HT_MCS 62
+/*
+ * <ioctl>
+ * gtxVHTMcs - Set gtxVHTMcs value
+ *
+ * @INPUT: Atleast one int argument
+ *
+ * @OUTPUT: None
+ *
+ * This IOTCL used to set gtxVHTMcs value
+ *
+ * @E.g: iwpriv wlan0 gtxVHTMcs <value>
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_GTX_VHT_MCS 63
+/*
+ * <ioctl>
+ * gtxUsrCfg - Host request for GTX mask
+ *
+ * @INPUT: Atleast one int orgument
+ *
+ * @OUTPUT: None
+ *
+ * This IOTCL used send the host request for GTX mask
+ *
+ * @E.g: iwpriv wlan0 gtxUsrCfg <value>
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_GTX_USRCFG 64
+/*
+ * <ioctl>
+ * gtxThre - Set the tx threshold
+ *
+ * @INPUT: Atleast one int argument
+ *
+ * @OUTPUT: None
+ *
+ * This IOTCL used to set tx threshold
+ *
+ * @E.g: iwpriv wlan0 gtxThre <value>
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_GTX_THRE 65
+/*
+ * <ioctl>
+ * gtxMargin - Set the gtxMargin
+ *
+ * @INPUT: 1 to 32
+ *
+ * @OUTPUT: None
+ *
+ * This IOTCL use dto set gtxMargin
+ *
+ * @E.g: iwpriv wlan0 gtxMargini <value>
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_GTX_MARGIN 66
+/*
+ * <ioctl>
+ * gtxStep - Set the gtxStep
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: None
+ *
+ * This IOTCL used to sets gtxStep
+ *
+ * @E.g: iwpriv wlan0 gtxStep <value>
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_GTX_STEP 67
+/*
+ * <ioctl>
+ * gtxMinTpc - Sets the gtxMinTpc
+ *
+ * @INPUT: Atleast one int argument
+ *
+ * @OUTPUT: None
+ *
+ * This IOTCL sets the tx MinTpc
+ *
+ * @E.g: iwpriv wlan0 gtxMinTpc <value>
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_GTX_MINTPC 68
-#define WE_SET_GTX_BWMASK 69
+/*
+ * <ioctl>
+ * gtxBWMask - Sets the BW mask (20/40/80/160 Mhz)
+ *
+ * @INPUT: Mask value
+ *
+ * @OUTPUT: None
+ *
+ * This IOTCL used to set gtxBWMask
+ *
+ * @E.g: iwpriv wlan0 gtxBWMask <value>
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
+#define WE_SET_GTX_BWMASK 69
/*
* <ioctl>
* setMccLatency - Sets the MCC latency value during STA-P2P concurrency
@@ -255,6 +872,25 @@ static const hdd_freq_chan_map_t freq_chan_map[] = {
#ifdef WE_SET_TX_POWER
#undef WE_SET_TX_POWER
#endif
+/*
+ * <ioctl>
+ * setTxPower - Set the current transmit power
+ *
+ * @INPUT: Transmission power in dBm
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL sets the current transmit power.
+ * This setting does not persist over reboots.
+ *
+ * @E.g: iwpriv wlan0 setTxPower 10
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_TX_POWER 74
/* Private ioctl for earlyrx power save feature */
#define WE_SET_EARLY_RX_ADJUST_ENABLE 75
@@ -263,10 +899,65 @@ static const hdd_freq_chan_map_t freq_chan_map[] = {
#define WE_SET_EARLY_RX_SLOP_STEP 78
#define WE_SET_EARLY_RX_INIT_SLOP 79
#define WE_SET_EARLY_RX_ADJUST_PAUSE 80
+/*
+ * <ioctl>
+ * setMcRate - Set the data rate for multicast data
+ *
+ * @INPUT: 1 to 32
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL sets the data rate for multicast data. Note that this command
+ * is allowed only in STA, IBSS, or QCMobileAP mode
+ *
+ * @E.g: iwpriv wlan0 setMcRate <value>
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_MC_RATE 81
#define WE_SET_EARLY_RX_DRIFT_SAMPLE 82
/* Private ioctl for packet power save */
+/*
+ * <ioctl>
+ * 5g_ebt - Sets the 5g_ebt
+ *
+ * @INPUT: <value>
+ *
+ * @OUTPUT: None
+ *
+ * This IOTCL used to set 5g_ebt
+ *
+ * @E.g: iwpriv wlan0 5g_ebt <value>
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_PPS_5G_EBT 83
+/*
+ * <ioctl>
+ * cts_cbw - Set CTS channel BW for dynamic BW adjustment
+ *
+ * @INPUT: 20 t0 160
+ *
+ * @OUTPUT: None
+ *
+ * This IOTCL used to set CTS channel BW for dynamic BW adjustment
+ *
+ * @E.g: iwpriv wlan0 cts_cbw <value>
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_CTS_CBW 84
#define WE_DUMP_STATS 85
#define WE_CLEAR_STATS 86
@@ -332,25 +1023,412 @@ static const hdd_freq_chan_map_t freq_chan_map[] = {
* </ioctl>
*/
#define WE_GET_CONCURRENCY_MODE 9
+/*
+ * <ioctl>
+ * get_nss - Get the number of spatial STBC streams (NSS)
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: NSS
+ * wlan0 get_nss:2
+ *
+ * This IOTCL used to get the number of spatial STBC streams
+ *
+ * @E.g: iwpriv wlan0 get_nss
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_NSS 11
+/*
+ * <ioctl>
+ * get_ldpc - This IOCTL gets the low density parity check (LDPC)
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: ldpc
+ * wlan0 get_ldpc:1
+ *
+ * This IOTCL used to gets the low density parity check (LDPC)
+ *
+ * @E.g: iwpriv wlan0 get_ldpc
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_LDPC 12
+/*
+ * <ioctl>
+ * get_tx_stbc - Get the value of the current Tx space time block code (STBC)
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: TXSTBC
+ * wlan0 get_tx_stbc:1
+ *
+ * This IOTCL get the value of the current Tx space time block code (STBC)
+ *
+ * @E.g: iwpriv wlan0 get_tx_stbc
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_TX_STBC 13
+/*
+ * <ioctl>
+ * get_rx_stbc - Gets the value of the current Rx STBC
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: Rx STBC
+ * wlan0 get_rx_stbc:1
+ *
+ * This IOTCL used to get the value of the current Rx STBC
+ *
+ * @E.g: iwpriv wlan0 get_rx_stbc
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_RX_STBC 14
+/*
+ * <ioctl>
+ * get_shortgi - Get the value of the current short GI setting
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: Enable/disable of shortgi
+ * wlan0 get_shortgi:1
+ *
+ * This IOCTL gets the value of the current short GI setting
+ *
+ * @E.g: iwpriv wlan0 get_shortgi
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_SHORT_GI 15
+/*
+ * <ioctl>
+ * get_rtscts - Get the value of the current RTS/CTS setting.
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: Enable/disable of RTS/CTS
+ * wlan0 get_rtscts:33
+ *
+ * This IOTCL get the value of the current RTS/CTS setting.
+ *
+ * @E.g: iwpriv wlan0 get_rtscts
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_RTSCTS 16
+/*
+ * <ioctl>
+ * get_chwidth - Get the current channel width setting
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: channel width
+ * wlan0 get_chwidth:0
+ *
+ * This IOTCL get the current channel width setting.
+ *
+ * @E.g: iwpriv wlan0 get_chwidth
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_CHWIDTH 17
+/*
+ * <ioctl>
+ * get_anienable - Get the anienable
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT:
+ * wlan0 get_anienable:0
+ *
+ * This IOTCL get the anienable
+ *
+ * @E.g: iwpriv wlan0 get_anienable
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_ANI_EN_DIS 18
+/*
+ * <ioctl>
+ * get_aniplen - Get the aniplen
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT:
+ * wlan0 get_aniplen:0
+ *
+ * This IOTCL get the aniplen
+ *
+ * @E.g: iwpriv wlan0 get_aniplen
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_ANI_POLL_PERIOD 19
+/*
+ * <ioctl>
+ * get_anilislen- Get the anilislen
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT:
+ * wlan0 get_anilislen:0
+ *
+ * This IOTCL used to get anilislen
+ *
+ * @E.g: iwpriv wlan0 get_anilislen
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_ANI_LISTEN_PERIOD 20
+/*
+ * <ioctl>
+ * get_aniofdmlvl - Get the OFDM level
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: OFDM
+ * wlan0 get_aniofdmlvl:0
+ *
+ * This IOTCL used to get ofdm level
+ *
+ * @E.g: iwpriv wlan0 get_aniofdmlvl
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_ANI_OFDM_LEVEL 21
+/*
+ * <ioctl>
+ * get_aniccklvl - Get the cck level
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT:
+ * wlan0 get_aniccklvl:0
+ *
+ * This IOTCL used to get cck level
+ *
+ * @E.g: iwpriv wlan0 get_aniccklvl
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_ANI_CCK_LEVEL 22
+/*
+ * <ioctl>
+ * get_cwmenable - Get the value of the dynamic channel bandwidth setting
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: Enable/disable dynamic channel bandwidth
+ * wlan0 get_cwmenable:0
+ *
+ * This IOTCL get the value of the dynamic channel bandwidth setting
+ *
+ * @E.g: iwpriv wlan0 get_cwmenable
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_DYNAMIC_BW 23
+/*
+ * <ioctl>
+ * get_txchainmask - Get the txchainmask that was set
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: txchainmask
+ * wlan0 get_txchainmask:1
+ *
+ * This IOCTL gets the txchainmask that was set
+ * This command is useful if it was previously set
+ *
+ * @E.g: iwpriv wlan0 get_txchainmask
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_TX_CHAINMASK 24
+/*
+ * <ioctl>
+ * get_rxchainmask - Get the rxchainmask that was set
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: rxchainmask
+ * wlan0 get_rxchainmask:1
+ *
+ * This IOCTL gets the rxchainmask that was set
+ * This command is useful only if it was previously set.
+ *
+ * @E.g: iwpriv wlan0 get_rxchainmask
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_RX_CHAINMASK 25
+/*
+ * <ioctl>
+ * get_11nrate - Get the fixed Tx data rate
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: Using this command does not return the same value as set
+ * wlan0 get_11nrate:0
+ *
+ * This IOCTL gets the fixed Tx data rate
+ * This command is useful only if setting the fixed Tx rate.
+ *
+ * @E.g: iwpriv wlan0 get_11nrate
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_11N_RATE 26
+/*
+ * <ioctl>
+ * get_ampdu - Get the maximum subframe of ampdu
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: Maximum subframe of ampdu
+ * wlan0 get_ampdu:1
+ *
+ * This IOCTL gets the maximum subframe of ampdu
+ * This command is useful only if setting ampdu.
+ *
+ * @E.g: iwpriv wlan0 get_ampdu
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_AMPDU 27
+/*
+ * <ioctl>
+ * get_amsdu - Get the maximum subframe of amsdu
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: Maximum subframe of amsdu
+ * wlan0 get_amsdu:1
+ *
+ * This IOCTL gets the maximum subframe of amsdu.
+ * This command is useful only if setting amsdu
+ *
+ * @E.g: iwpriv wlan0 get_amsdu
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_AMSDU 28
+/*
+ * <ioctl>
+ * get_txpow2g - Get the current 2 GHz Tx power setting
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: Tx Power in dbm
+ * wlan0 get_txpow2g:0
+ *
+ * This IOCTL gets the current 2 GHz Tx power setting
+ * This command is useful if setting Tx power
+ *
+ * @E.g: iwpriv wlan0 get_txpow2g
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_TXPOW_2G 29
+/*
+ * <ioctl>
+ * get_txpow5g - Get the current 5 GHz Tx power setting
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: Tx Power in dbm
+ * wlan0 get_txpow5g:0
+ *
+ * This IOCTL gets the current 5 GHz Tx power setting
+ * This command is useful if setting Tx power
+ *
+ * @E.g: iwpriv wlan0 get_txpow5g
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_TXPOW_5G 30
/* 31 is unused */
#define WE_GET_PPS_PAID_MATCH 32
@@ -367,16 +1445,207 @@ static const hdd_freq_chan_map_t freq_chan_map[] = {
#define WE_GET_QPOWER_MAX_TX_BEFORE_WAKE 42
#define WE_GET_QPOWER_SPEC_PSPOLL_WAKE_INTERVAL 43
#define WE_GET_QPOWER_SPEC_MAX_SPEC_NODATA_PSPOLL 44
+/*
+ * <ioctl>
+ * get_burst_en - Enables or disables the burst feature
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: Enable/disable of burst feature
+ * wlan0 get_burst_en:1
+ *
+ * This IOCTL enables or disables the burst feature
+ *
+ * @E.g: iwpriv wlan0 get_burst_en
+ *
+ * Supported Feature:STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_BURST_ENABLE 45
+/*
+ * <ioctl>
+ * get_burst_dur - Get the burst duration
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: Duration in microseconds
+ * wlan0 get_burst_dur:8160
+ *
+ * This IOCTL gets the burst duration
+ * This command is useful if setting burst enable
+ *
+ * @E.g: iwpriv wlan0 get_burst_dur
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_BURST_DUR 46
/* GTX Commands */
+/*
+ * <ioctl>
+ * get_gtxHTMcs - Get the tx HTM
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: HTM
+ * wlan0 get_gtxHTMcs:32896
+ *
+ * This IOTCL used to get HTM
+ *
+ * @E.g: iwpriv wlan0 get_gtxHTMcs
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_GTX_HT_MCS 47
+/*
+ * <ioctl>
+ * get_gtxVHTMcs - Get the VHTM
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: VHTM
+ * wlan0 get_gtxVHTMcs:524800
+ *
+ * This IOTCL used to get the VHTM
+ *
+ * @E.g: iwpriv wlan0 get_gtxVHTMcs
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_GTX_VHT_MCS 48
+/*
+ * <ioctl>
+ * get_gtxUsrCfg - Get the tx cfg
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: TXCFG
+ * wlan0 get_gtxUsrCfg:32
+ *
+ * This IOTCL used to get the tx cfg
+ *
+ * @E.g: iwpriv wlan0 get_gtxUsrCfg
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_GTX_USRCFG 49
+/*
+ * <ioctl>
+ * get_gtxThre - Get the tx threshold
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: Threshold
+ * wlan0 get_gtxThre:3
+ *
+ * This IOCTL is used to get tx threshold
+ *
+ * @E.g: iwpriv wlan0 get_gtxThre
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_GTX_THRE 50
+/*
+ * <ioctl>
+ * get_gtxMargin - Get the tx margin
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: GTXMARGIN
+ * wlan0 get_gtxMargin:2
+ *
+ * This IOCTL is used to set tx margin
+ *
+ * @E.g: iwpriv wlan0 get_gtxMargin
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_GTX_MARGIN 51
+/*
+ * <ioctl>
+ * get_gtxStep - Get the tx step
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: GTXSTEP
+ * wlan0 get_gtxStep:0
+ *
+ * This IOCTL is used to get the gtx step
+ *
+ * @E.g: iwpriv wlan0 get_gtxStep
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_GTX_STEP 52
+/*
+ * <ioctl>
+ * get_gtxMinTpc - Get the tx miminum tpc
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: TPC
+ * wlan0 get_gtxMinTpc:0
+ *
+ * This IOCTL is used to get tx miminum tpc
+ *
+ * @E.g: iwpriv wlan0 get_gtxMinTpc
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_GTX_MINTPC 53
+/*
+ * <ioctl>
+ * get_gtxBWMask - Get the tx BW MASK
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: MASK
+ * wlan0 get_gtxBWMask:15
+ *
+ * This IOCTL is used get gtx bw mask
+ *
+ * @E.g: iwpriv wlan0 get_gtxBWMask
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_GTX_BWMASK 54
#define WE_GET_TEMPERATURE 56
#define WE_CAP_TSF 58
@@ -390,6 +1659,24 @@ static const hdd_freq_chan_map_t freq_chan_map[] = {
#define WE_WOWL_ADD_PTRN 1
#define WE_WOWL_DEL_PTRN 2
#define WE_NEIGHBOR_REPORT_REQUEST 3
+/*
+ * <ioctl>
+ * set_ap_wps_ie - Set the P2P IE of the probe response
+ *
+ * @INPUT: string
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL sets the P2P IE of the probe response
+ *
+ * @E.g: iwpriv wlan0 set_ap_wps_ie abcd
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_AP_WPS_IE 4 /* This is called in station mode to set probe rsp ie. */
#define WE_SET_CONFIG 5
@@ -404,9 +1691,66 @@ static const hdd_freq_chan_map_t freq_chan_map[] = {
#define WLAN_PRIV_GET_CHAR_SET_NONE (SIOCIWFIRSTPRIV + 5)
#define WE_WLAN_VERSION 1
#define WE_GET_STATS 2
+/*
+ * <ioctl>
+ * getConfig - gets the values of all configurations listed in WCNSS
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: Current configuration to the sys log
+ * wlan0 getConfig: WLAN configuration written to system log
+ *
+ * This IOCTL gets the values of all configurations listed in WCNSS
+ *
+ * @E.g: iwpriv wlan0 getConfig
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_CFG 3
#define WE_GET_WMM_STATUS 4
+/*
+ * <ioctl>
+ * getChannelList - Get the available channel list while in QCMobileAP
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: Channel list
+ * wlan0 getChannelList:36 US 1..165
+ *
+ * This IOCTL gets the available channel list while in QCMobileAP
+ *
+ * @E.g: iwpriv wlan0 getChannelList
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_CHANNEL_LIST 5
+/*
+ * <ioctl>
+ * getRSSI - Get the Received Signal Strength Indicator
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: RSSI
+ * wlan0 getRSSI:rsssi=-32
+ *
+ * This IOCTL gets the Received Signal Strength Indicator (RSSI)
+ *
+ * @E.g: iwpriv wlan0 getRSSI
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_RSSI 6
/*
@@ -505,10 +1849,48 @@ static const hdd_freq_chan_map_t freq_chan_map[] = {
* </ioctl>
*/
#define WE_GET_IBSS_STA_INFO 11
+/*
+ * <ioctl>
+ * getphymode - Get the current phymode.
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: In phymode
+ * wlan0 getphymode:AUTO MODE
+ *
+ * This IOCTL used to gets the current phymode.
+ *
+ * @E.g: iwpriv wlan0 getphymode
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_PHYMODE 12
#ifdef FEATURE_OEM_DATA_SUPPORT
#define WE_GET_OEM_DATA_CAP 13
#endif
+/*
+ * <ioctl>
+ * getSNR - Enable SNR Monitoring
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: Signal strength/ratio
+ * wlan0 getSNR:1
+ *
+ * This IOCTL is used to get ibss sta info
+ *
+ * @E.g: iwpriv wlan0 getSNR
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_GET_SNR 14
#define WE_LIST_FW_PROFILE 15
@@ -1066,6 +2448,26 @@ static const hdd_freq_chan_map_t freq_chan_map[] = {
#define WLAN_GET_WLAN_STATISTICS (SIOCIWFIRSTPRIV + 21)
/* Private ioctl to set the Keep Alive Params */
+/*
+ * <ioctl>
+ * setKeepAlive - Set the keep alive feature
+ *
+ * @INPUT: 28 bytes of information in the order of packet type, time period
+ * host IPv4 address, destination IPv4 address, destination MAC address, bssID
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL sets the keep alive feature to send either NULL
+ * or unsolicited ARP response packets
+ *
+ * @E.g: iwpriv wlan0 setKeepAlive
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WLAN_SET_KEEPALIVE_PARAMS (SIOCIWFIRSTPRIV + 22)
#ifdef WLAN_FEATURE_PACKET_FILTERING
@@ -1078,7 +2480,26 @@ static const hdd_freq_chan_map_t freq_chan_map[] = {
/* Private ioctl to get the statistics */
#define WLAN_SET_PNO (SIOCIWFIRSTPRIV + 24)
#endif
-
+/*
+ * <ioctl>
+ * SETBAND - Set the operational band
+ *
+ * @INPUT: 0 to Auto, 1 to 5 GHz and 2 to 2.4 GHz
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL Set the operational band If the new band is different from the
+ * current operational band, it aborts the pending scan requests, flushes
+ * the existing scan results, and then change * the band capability
+ *
+ * @E.g: iwpriv wlan0 SETBAND <value>
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WLAN_SET_BAND_CONFIG (SIOCIWFIRSTPRIV + 25)
#define WLAN_PRIV_SET_MCBC_FILTER (SIOCIWFIRSTPRIV + 26)
@@ -1104,6 +2525,25 @@ static const hdd_freq_chan_map_t freq_chan_map[] = {
/* 802.11p IOCTL */
#define WLAN_SET_DOT11P_CHANNEL_SCHED (SIOCIWFIRSTPRIV + 30)
+/*
+ * <ioctl>
+ * getLinkSpeed - Gets the current link speed in Mbps
+ *
+ * @INPUT: None
+ *
+ * @OUTPUT: linkspeed in mbps
+ * wlan0 getLinkSpeed:7
+ *
+ * This IOCTL is used get the current link speed in Mbps
+ *
+ * @E.g: iwpriv wlan0 getLinkSpeed
+ *
+ * Supported Feature: STA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WLAN_GET_LINK_SPEED (SIOCIWFIRSTPRIV + 31)
#define WLAN_STATS_INVALID 0