Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1 | /* |
Pradeep Reddy POTTETI | 60ad240 | 2015-02-26 16:48:21 +0530 | [diff] [blame] | 2 | * Copyright (c) 2012-2015 The Linux Foundation. All rights reserved. |
Kiet Lam | 842dad0 | 2014-02-18 18:44:02 -0800 | [diff] [blame] | 3 | * |
| 4 | * Previously licensed under the ISC license by Qualcomm Atheros, Inc. |
| 5 | * |
| 6 | * |
| 7 | * Permission to use, copy, modify, and/or distribute this software for |
| 8 | * any purpose with or without fee is hereby granted, provided that the |
| 9 | * above copyright notice and this permission notice appear in all |
| 10 | * copies. |
| 11 | * |
| 12 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL |
| 13 | * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED |
| 14 | * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE |
| 15 | * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL |
| 16 | * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR |
| 17 | * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
| 18 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
| 19 | * PERFORMANCE OF THIS SOFTWARE. |
| 20 | */ |
| 21 | |
| 22 | /* |
| 23 | * This file was originally distributed by Qualcomm Atheros, Inc. |
| 24 | * under proprietary terms before Copyright ownership was assigned |
| 25 | * to the Linux Foundation. |
| 26 | */ |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 27 | |
| 28 | #if !defined( HDD_CONFIG_H__ ) |
| 29 | #define HDD_CONFIG_H__ |
| 30 | |
| 31 | /**=========================================================================== |
| 32 | |
| 33 | \file hdd_Config.h |
| 34 | |
| 35 | \brief Android WLAN Adapter Configuration functions |
| 36 | |
Kiet Lam | aa8e15a | 2014-02-11 23:30:06 -0800 | [diff] [blame] | 37 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 38 | ==========================================================================*/ |
| 39 | |
| 40 | /* $HEADER$ */ |
| 41 | |
| 42 | /*--------------------------------------------------------------------------- |
| 43 | Include files |
| 44 | -------------------------------------------------------------------------*/ |
| 45 | #include <wlan_hdd_includes.h> |
| 46 | #include <wlan_hdd_wmm.h> |
| 47 | #include <vos_types.h> |
| 48 | #include <csrApi.h> |
| 49 | |
| 50 | //Number of items that can be configured |
Jeff Johnson | 9d4cefe | 2013-12-18 15:05:08 -0800 | [diff] [blame] | 51 | #define MAX_CFG_INI_ITEMS 512 |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 52 | |
| 53 | // Defines for all of the things we read from the configuration (registry). |
| 54 | |
| 55 | #define CFG_RTS_THRESHOLD_NAME "RTSThreshold" |
| 56 | #define CFG_RTS_THRESHOLD_MIN WNI_CFG_RTS_THRESHOLD_STAMIN // min is 0, meaning always use RTS. |
| 57 | #define CFG_RTS_THRESHOLD_MAX WNI_CFG_RTS_THRESHOLD_STAMAX // max is the max frame size |
| 58 | #define CFG_RTS_THRESHOLD_DEFAULT WNI_CFG_RTS_THRESHOLD_STADEF |
| 59 | |
| 60 | #define CFG_FRAG_THRESHOLD_NAME "gFragmentationThreshold" |
| 61 | #define CFG_FRAG_THRESHOLD_MIN WNI_CFG_FRAGMENTATION_THRESHOLD_STAMIN |
| 62 | #define CFG_FRAG_THRESHOLD_MAX WNI_CFG_FRAGMENTATION_THRESHOLD_STAMAX |
| 63 | #define CFG_FRAG_THRESHOLD_DEFAULT WNI_CFG_FRAGMENTATION_THRESHOLD_STADEF |
| 64 | |
| 65 | #define CFG_CALIBRATION_NAME "gCalibration" |
| 66 | #define CFG_CALIBRATION_MIN ( 0 ) |
| 67 | #define CFG_CALIBRATION_MAX ( 1 ) |
| 68 | #define CFG_CALIBRATION_MAC_DEFAULT ( 1 ) |
| 69 | #define CFG_CALIBRATION_DEFAULT CFG_CALIBRATION_MAC_DEFAULT |
| 70 | |
| 71 | #define CFG_CALIBRATION_PERIOD_NAME "gCalibrationPeriod" |
| 72 | #define CFG_CALIBRATION_PERIOD_MIN ( 2 ) |
| 73 | #define CFG_CALIBRATION_PERIOD_MAX ( 10 ) |
| 74 | #define CFG_CALIBRATION_PERIOD_MAC_DEFAULT ( 5 ) |
| 75 | #define CFG_CALIBRATION_PERIOD_DEFAULT CFG_CALIBRATION_PERIOD_MAC_DEFAULT |
| 76 | |
| 77 | #define CFG_OPERATING_CHANNEL_NAME "gOperatingChannel" |
| 78 | #define CFG_OPERATING_CHANNEL_MIN ( 0 ) |
| 79 | #define CFG_OPERATING_CHANNEL_MAX ( 14 ) |
| 80 | #define CFG_OPERATING_CHANNEL_DEFAULT ( 1 ) |
| 81 | |
| 82 | #define CFG_SHORT_SLOT_TIME_ENABLED_NAME "gShortSlotTimeEnabled" |
| 83 | #define CFG_SHORT_SLOT_TIME_ENABLED_MIN WNI_CFG_SHORT_SLOT_TIME_STAMIN |
| 84 | #define CFG_SHORT_SLOT_TIME_ENABLED_MAX WNI_CFG_SHORT_SLOT_TIME_STAMAX |
| 85 | #define CFG_SHORT_SLOT_TIME_ENABLED_DEFAULT WNI_CFG_SHORT_SLOT_TIME_STADEF |
| 86 | |
| 87 | #define CFG_11D_SUPPORT_ENABLED_NAME "g11dSupportEnabled" |
| 88 | #define CFG_11D_SUPPORT_ENABLED_MIN WNI_CFG_11D_ENABLED_STAMIN |
| 89 | #define CFG_11D_SUPPORT_ENABLED_MAX WNI_CFG_11D_ENABLED_STAMAX |
| 90 | #define CFG_11D_SUPPORT_ENABLED_DEFAULT WNI_CFG_11D_ENABLED_STADEF // Default is ON |
| 91 | |
Madan Mohan Koyyalamudi | 8db1c94 | 2013-01-10 15:24:29 -0800 | [diff] [blame] | 92 | #define CFG_11H_SUPPORT_ENABLED_NAME "g11hSupportEnabled" |
| 93 | #define CFG_11H_SUPPORT_ENABLED_MIN ( 0 ) |
| 94 | #define CFG_11H_SUPPORT_ENABLED_MAX ( 1 ) |
| 95 | #define CFG_11H_SUPPORT_ENABLED_DEFAULT ( 1 ) // Default is ON |
| 96 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 97 | #define CFG_ENFORCE_11D_CHANNELS_NAME "gEnforce11dChannel" |
| 98 | #define CFG_ENFORCE_11D_CHANNELS_MIN ( 0 ) |
| 99 | #define CFG_ENFORCE_11D_CHANNELS_MAX ( 1 ) |
| 100 | #define CFG_ENFORCE_11D_CHANNELS_DEFAULT ( 0 ) |
| 101 | |
| 102 | //COUNTRY Code Priority |
| 103 | #define CFG_COUNTRY_CODE_PRIORITY_NAME "gCountryCodePriority" |
| 104 | #define CFG_COUNTRY_CODE_PRIORITY_MIN ( 0 ) |
| 105 | #define CFG_COUNTRY_CODE_PRIORITY_MAX ( 1 ) |
Padma, Santhosh Kumar | db3565b | 2014-05-20 16:42:00 +0530 | [diff] [blame] | 106 | #define CFG_COUNTRY_CODE_PRIORITY_DEFAULT ( 1 ) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 107 | |
| 108 | #define CFG_ENFORCE_COUNTRY_CODE_MATCH_NAME "gEnforceCountryCodeMatch" |
| 109 | #define CFG_ENFORCE_COUNTRY_CODE_MATCH_MIN ( 0 ) |
| 110 | #define CFG_ENFORCE_COUNTRY_CODE_MATCH_MAX ( 1 ) |
| 111 | #define CFG_ENFORCE_COUNTRY_CODE_MATCH_DEFAULT ( 0 ) |
| 112 | |
| 113 | #define CFG_ENFORCE_DEFAULT_DOMAIN_NAME "gEnforceDefaultDomain" |
| 114 | #define CFG_ENFORCE_DEFAULT_DOMAIN_MIN ( 0 ) |
| 115 | #define CFG_ENFORCE_DEFAULT_DOMAIN_MAX ( 1 ) |
| 116 | #define CFG_ENFORCE_DEFAULT_DOMAIN_DEFAULT ( 0 ) |
| 117 | |
| 118 | #define CFG_GENERIC_ID1_NAME "gCfg1Id" |
| 119 | #define CFG_GENERIC_ID1_MIN ( 0 ) |
| 120 | #define CFG_GENERIC_ID1_MAX ( 0xffffffff ) |
| 121 | #define CFG_GENERIC_ID1_DEFAULT ( 0 ) |
| 122 | |
| 123 | #define CFG_GENERIC_ID2_NAME "gCfg2Id" |
| 124 | #define CFG_GENERIC_ID2_MIN ( 0 ) |
| 125 | #define CFG_GENERIC_ID2_MAX ( 0xffffffff ) |
| 126 | #define CFG_GENERIC_ID2_DEFAULT ( 0 ) |
| 127 | |
| 128 | #define CFG_GENERIC_ID3_NAME "gCfg3Id" |
| 129 | #define CFG_GENERIC_ID3_MIN ( 0 ) |
| 130 | #define CFG_GENERIC_ID3_MAX ( 0xffffffff ) |
| 131 | #define CFG_GENERIC_ID3_DEFAULT ( 0 ) |
| 132 | |
| 133 | #define CFG_GENERIC_ID4_NAME "gCfg4Id" |
| 134 | #define CFG_GENERIC_ID4_MIN ( 0 ) |
| 135 | #define CFG_GENERIC_ID4_MAX ( 0xffffffff ) |
| 136 | #define CFG_GENERIC_ID4_DEFAULT ( 0 ) |
| 137 | |
| 138 | #define CFG_GENERIC_ID5_NAME "gCfg5Id" |
| 139 | #define CFG_GENERIC_ID5_MIN ( 0 ) |
| 140 | #define CFG_GENERIC_ID5_MAX ( 0xffffffff ) |
| 141 | #define CFG_GENERIC_ID5_DEFAULT ( 0 ) |
| 142 | |
| 143 | #define CFG_GENERIC_VALUE1_NAME "gCfg1Value" |
| 144 | #define CFG_GENERIC_VALUE1_MIN ( 0 ) |
| 145 | #define CFG_GENERIC_VALUE1_MAX ( 0xffffffff ) |
| 146 | #define CFG_GENERIC_VALUE1_DEFAULT ( 0 ) |
| 147 | |
| 148 | #define CFG_GENERIC_VALUE2_NAME "gCfg2Value" |
| 149 | #define CFG_GENERIC_VALUE2_MIN ( 0 ) |
| 150 | #define CFG_GENERIC_VALUE2_MAX ( 0xffffffff ) |
| 151 | #define CFG_GENERIC_VALUE2_DEFAULT ( 0 ) |
| 152 | |
| 153 | #define CFG_GENERIC_VALUE3_NAME "gCfg3Value" |
| 154 | #define CFG_GENERIC_VALUE3_MIN ( 0 ) |
| 155 | #define CFG_GENERIC_VALUE3_MAX ( 0xffffffff ) |
| 156 | #define CFG_GENERIC_VALUE3_DEFAULT ( 0 ) |
| 157 | |
| 158 | #define CFG_GENERIC_VALUE4_NAME "gCfg4Value" |
| 159 | #define CFG_GENERIC_VALUE4_MIN ( 0 ) |
| 160 | #define CFG_GENERIC_VALUE4_MAX ( 0xffffffff ) |
| 161 | #define CFG_GENERIC_VALUE4_DEFAULT ( 0 ) |
| 162 | |
| 163 | #define CFG_GENERIC_VALUE5_NAME "gCfg5Value" |
| 164 | #define CFG_GENERIC_VALUE5_MIN ( 0 ) |
| 165 | #define CFG_GENERIC_VALUE5_MAX ( 0xffffffff ) |
| 166 | #define CFG_GENERIC_VALUE5_DEFAULT ( 0 ) |
| 167 | |
| 168 | #define CFG_HEARTBEAT_THRESH_24_NAME "gHeartbeat24" |
| 169 | #define CFG_HEARTBEAT_THRESH_24_MIN WNI_CFG_HEART_BEAT_THRESHOLD_STAMIN |
| 170 | #define CFG_HEARTBEAT_THRESH_24_MAX WNI_CFG_HEART_BEAT_THRESHOLD_STAMAX |
| 171 | #define CFG_HEARTBEAT_THRESH_24_DEFAULT WNI_CFG_HEART_BEAT_THRESHOLD_STADEF |
| 172 | |
| 173 | #define CFG_POWER_USAGE_NAME "gPowerUsage" |
| 174 | #define CFG_POWER_USAGE_MIN "Min" //Minimum Power Save |
| 175 | #define CFG_POWER_USAGE_MAX "Max" //Maximum Power Save |
| 176 | #define CFG_POWER_USAGE_DEFAULT "Mod" //Moderate Power Save |
| 177 | |
| 178 | //Enable suspend on Android |
| 179 | #define CFG_ENABLE_SUSPEND_NAME "gEnableSuspend" |
| 180 | #define CFG_ENABLE_SUSPEND_MIN ( 0 ) //No support for suspend |
| 181 | #define CFG_ENABLE_SUSPEND_MAX ( 3 ) //Map to Deep Sleep |
| 182 | #define CFG_ENABLE_SUSPEND_DEFAULT ( 1 ) //Map to Standby |
| 183 | |
| 184 | //Driver start/stop command mappings |
| 185 | #define CFG_ENABLE_ENABLE_DRIVER_STOP_NAME "gEnableDriverStop" |
| 186 | #define CFG_ENABLE_ENABLE_DRIVER_STOP_MIN ( 0 ) //No support for stop |
| 187 | #define CFG_ENABLE_ENABLE_DRIVER_STOP_MAX ( 2 ) //Map to Deep Sleep |
| 188 | #define CFG_ENABLE_ENABLE_DRIVER_STOP_DEFAULT ( 0 ) |
| 189 | |
| 190 | #define CFG_WOWL_PATTERN_NAME "gWowlPattern" |
| 191 | #define CFG_WOWL_PATTERN_DEFAULT "" |
| 192 | |
| 193 | //IMPS = IdleModePowerSave |
| 194 | #define CFG_ENABLE_IMPS_NAME "gEnableImps" |
| 195 | #define CFG_ENABLE_IMPS_MIN ( 0 ) |
| 196 | #define CFG_ENABLE_IMPS_MAX ( 1 ) |
| 197 | #define CFG_ENABLE_IMPS_DEFAULT ( 1 ) |
| 198 | |
Pradeep Kumar Goudagunta | 22d8e4d | 2014-07-17 15:03:51 +0530 | [diff] [blame] | 199 | //SSR = SubSytemRestart |
| 200 | #define CFG_SSR_PANIC_ON_FAILURE_NAME "gSsrPanicOnFailure" |
| 201 | #define CFG_SSR_PANIC_ON_FAILURE_MIN ( 0 ) |
| 202 | #define CFG_SSR_PANIC_ON_FAILURE_MAX ( 1 ) |
| 203 | #define CFG_SSR_PANIC_ON_FAILURE_DEFAULT ( 0 ) |
| 204 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 205 | #define CFG_IMPS_MINIMUM_SLEEP_TIME_NAME "gImpsMinSleepTime" |
| 206 | #define CFG_IMPS_MINIMUM_SLEEP_TIME_MIN ( 0 ) |
| 207 | #define CFG_IMPS_MINIMUM_SLEEP_TIME_MAX ( 65535 ) |
| 208 | #define CFG_IMPS_MINIMUM_SLEEP_TIME_DEFAULT ( 5 ) |
| 209 | |
| 210 | #define CFG_IMPS_MODERATE_SLEEP_TIME_NAME "gImpsModSleepTime" |
| 211 | #define CFG_IMPS_MODERATE_SLEEP_TIME_MIN ( 0 ) |
| 212 | #define CFG_IMPS_MODERATE_SLEEP_TIME_MAX ( 65535 ) |
| 213 | #define CFG_IMPS_MODERATE_SLEEP_TIME_DEFAULT ( 10) |
| 214 | |
| 215 | #define CFG_IMPS_MAXIMUM_SLEEP_TIME_NAME "gImpsMaxSleepTime" |
| 216 | #define CFG_IMPS_MAXIMUM_SLEEP_TIME_MIN ( 0 ) |
| 217 | #define CFG_IMPS_MAXIMUM_SLEEP_TIME_MAX ( 65535 ) |
| 218 | #define CFG_IMPS_MAXIMUM_SLEEP_TIME_DEFAULT ( 15 ) |
| 219 | |
Agarwal Ashish | bd3e10b | 2014-11-24 19:19:46 +0530 | [diff] [blame] | 220 | /*If there is scan on STA interface back to back with |
| 221 | *time diff nDeferScanTimeInterval, driver will not |
| 222 | *issue a new scan. Driver will return cached result to kernel. |
| 223 | *the interval is in msec |
| 224 | */ |
| 225 | #define CFG_DEFER_SCAN_TIME_INTERVAL "gDeferScanTimeInterval" |
| 226 | #define CFG_DEFER_SCAN_TIME_INTERVAL_MIN ( 0 ) |
| 227 | #define CFG_DEFER_SCAN_TIME_INTERVAL_MAX ( 65535 ) |
| 228 | #define CFG_DEFER_SCAN_TIME_INTERVAL_DEFAULT ( 2000 ) |
| 229 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 230 | //BMPS = BeaconModePowerSave |
| 231 | #define CFG_ENABLE_BMPS_NAME "gEnableBmps" |
| 232 | #define CFG_ENABLE_BMPS_MIN ( 0 ) |
| 233 | #define CFG_ENABLE_BMPS_MAX ( 1 ) |
| 234 | #define CFG_ENABLE_BMPS_DEFAULT ( 1 ) |
| 235 | |
| 236 | #define CFG_BMPS_MINIMUM_LI_NAME "gBmpsMinListenInterval" |
| 237 | #define CFG_BMPS_MINIMUM_LI_MIN ( 1 ) |
| 238 | #define CFG_BMPS_MINIMUM_LI_MAX ( 65535 ) |
| 239 | #define CFG_BMPS_MINIMUM_LI_DEFAULT ( 1 ) |
| 240 | |
| 241 | #define CFG_BMPS_MODERATE_LI_NAME "gBmpsModListenInterval" |
| 242 | #define CFG_BMPS_MODERATE_LI_MIN ( 1 ) |
| 243 | #define CFG_BMPS_MODERATE_LI_MAX ( 65535 ) |
| 244 | #define CFG_BMPS_MODERATE_LI_DEFAULT ( 1 ) |
| 245 | |
| 246 | #define CFG_BMPS_MAXIMUM_LI_NAME "gBmpsMaxListenInterval" |
| 247 | #define CFG_BMPS_MAXIMUM_LI_MIN ( 1 ) |
| 248 | #define CFG_BMPS_MAXIMUM_LI_MAX ( 65535 ) |
| 249 | #define CFG_BMPS_MAXIMUM_LI_DEFAULT ( 1 ) |
| 250 | |
| 251 | // gEnableAutoBmpsTimer has been previously published as an externally |
| 252 | // configurable parameter. See analysis of CR 178211 for detailed info |
| 253 | // on why we want to *always* set this to 1 i.e. we no longer want |
| 254 | // this parameter to be configurable. the clean solution would be for |
| 255 | // users to not define this item in winreg so that the default value |
| 256 | // (which needs to be changed to 1) gets picked up but we cannot rely on that |
| 257 | // since this item has been published already hence the proposed |
| 258 | // solution to change the name of the item along with the change in the |
| 259 | // default value. also we could decide to not read this item from registry |
| 260 | // but leaving open the option of being able to configure this item for |
| 261 | // ASW's internal use |
| 262 | #define CFG_ENABLE_AUTO_BMPS_TIMER_NAME "gEnableAutoBmpsTimer_INTERNAL" |
| 263 | #define CFG_ENABLE_AUTO_BMPS_TIMER_MIN ( 0 ) |
| 264 | #define CFG_ENABLE_AUTO_BMPS_TIMER_MAX ( 1 ) |
| 265 | #define CFG_ENABLE_AUTO_BMPS_TIMER_DEFAULT ( 1 ) |
| 266 | |
Deepthi Gowri | 9025aa6 | 2014-11-07 19:45:36 +0530 | [diff] [blame] | 267 | #define CFG_ENABLE_DYNAMIC_RA_START_RATE_NAME "gEnableDynamicRAstartRate" |
| 268 | #define CFG_ENABLE_DYNAMIC_RA_START_RATE_MIN ( 0 ) |
| 269 | #define CFG_ENABLE_DYNAMIC_RA_START_RATE_MAX ( 1 ) |
| 270 | #define CFG_ENABLE_DYNAMIC_RA_START_RATE_DEFAULT ( 0 ) |
| 271 | |
jagadeesh | af2d0ce | 2015-03-31 11:45:30 +0530 | [diff] [blame] | 272 | /* Bit mask value to enable RTS/CTS for different modes |
| 273 | * for 2.4 GHz, HT20 - 0x0001, for 2.4 GHz, HT40 - 0x0002 |
| 274 | * for 2.4 GHz, VHT20 - 0x0004, for 2.4 GHz, VHT40 - 0x0008 |
| 275 | * for 5 GHz, HT20 - 0x0100, for 5 GHz, HT40 - 0x0200 |
| 276 | * for 5 GHz, VHT20 - 0x0400, for 5 GHz, VHT40 - 0x0800 |
| 277 | * for 5 GHz, VHT80 - 0x1000 |
| 278 | */ |
| 279 | #define CFG_ENABLE_RTSCTS_HTVHT_NAME "gEnableRtsCtsHtVht" |
| 280 | #define CFG_ENABLE_RTSCTS_HTVHT_MIN ( 0x0000 ) |
| 281 | #define CFG_ENABLE_RTSCTS_HTVHT_MAX ( 0x1f0f ) |
| 282 | #define CFG_ENABLE_RTSCTS_HTVHT_DEFAULT ( 0x0000 ) |
| 283 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 284 | #define CFG_AUTO_BMPS_TIMER_VALUE_NAME "gAutoBmpsTimerValue" |
| 285 | #define CFG_AUTO_BMPS_TIMER_VALUE_MIN ( 1000 ) |
| 286 | #define CFG_AUTO_BMPS_TIMER_VALUE_MAX ( 4294967295UL ) |
| 287 | #define CFG_AUTO_BMPS_TIMER_VALUE_DEFAULT ( 1000 ) |
| 288 | |
| 289 | #define CFG_MAX_RX_AMPDU_FACTOR_NAME "gMaxRxAmpduFactor" |
| 290 | #define CFG_MAX_RX_AMPDU_FACTOR_MIN WNI_CFG_MAX_RX_AMPDU_FACTOR_STAMIN |
| 291 | #define CFG_MAX_RX_AMPDU_FACTOR_MAX WNI_CFG_MAX_RX_AMPDU_FACTOR_STAMAX |
| 292 | #define CFG_MAX_RX_AMPDU_FACTOR_DEFAULT WNI_CFG_MAX_RX_AMPDU_FACTOR_STADEF |
| 293 | |
Sudhir Sattayappa Kohalli | da1be20 | 2013-07-11 12:04:30 -0700 | [diff] [blame] | 294 | //Configuration added to enable/disable CTS2SELF in |
| 295 | //Adaptive RX drain feature |
| 296 | #define CFG_ENABLE_ADAPT_RX_DRAIN_NAME "gEnableAdaptRxDrain" |
| 297 | #define CFG_ENABLE_ADAPT_RX_DRAIN_MIN WNI_CFG_ENABLE_ADAPT_RX_DRAIN_STAMIN |
| 298 | #define CFG_ENABLE_ADAPT_RX_DRAIN_MAX WNI_CFG_ENABLE_ADAPT_RX_DRAIN_STAMAX |
| 299 | #define CFG_ENABLE_ADAPT_RX_DRAIN_DEFAULT WNI_CFG_ENABLE_ADAPT_RX_DRAIN_STADEF |
| 300 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 301 | typedef enum |
| 302 | { |
| 303 | eHDD_DOT11_MODE_AUTO = 0, //covers all things we support |
| 304 | eHDD_DOT11_MODE_abg, //11a/b/g only, no HT, no proprietary |
| 305 | eHDD_DOT11_MODE_11b, |
| 306 | eHDD_DOT11_MODE_11g, |
| 307 | eHDD_DOT11_MODE_11n, |
| 308 | eHDD_DOT11_MODE_11g_ONLY, |
| 309 | eHDD_DOT11_MODE_11n_ONLY, |
| 310 | eHDD_DOT11_MODE_11b_ONLY, |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 311 | #ifdef WLAN_FEATURE_11AC |
| 312 | eHDD_DOT11_MODE_11ac_ONLY, |
| 313 | eHDD_DOT11_MODE_11ac, |
| 314 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 315 | }eHddDot11Mode; |
| 316 | |
| 317 | #define CFG_DOT11_MODE_NAME "gDot11Mode" |
| 318 | #define CFG_DOT11_MODE_MIN eHDD_DOT11_MODE_AUTO |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 319 | #ifdef WLAN_FEATURE_11AC |
| 320 | #define CFG_DOT11_MODE_MAX eHDD_DOT11_MODE_11ac |
| 321 | #define CFG_DOT11_MODE_DEFAULT eHDD_DOT11_MODE_11ac |
| 322 | #else |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 323 | #define CFG_DOT11_MODE_MAX eHDD_DOT11_MODE_11b_ONLY |
| 324 | #define CFG_DOT11_MODE_DEFAULT eHDD_DOT11_MODE_11n |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 325 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 326 | |
Sushant Kaushik | 7dc0327 | 2015-02-18 11:25:12 +0530 | [diff] [blame] | 327 | #define CFG_SAP_ENABLE_11AC_NAME "gSapEnable11AC" |
| 328 | #define CFG_SAP_ENABLE_11AC_MIN ( 0 ) |
| 329 | #define CFG_SAP_ENABLE_11AC_MAX ( 1 ) |
| 330 | #define CFG_SAP_ENABLE_11AC_DEFAULT ( 1 ) |
Abhishek Singh | f0ac175 | 2014-03-05 17:47:09 +0530 | [diff] [blame] | 331 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 332 | #define CFG_CHANNEL_BONDING_MODE_24GHZ_NAME "gChannelBondingMode24GHz" |
| 333 | #define CFG_CHANNEL_BONDING_MODE_MIN WNI_CFG_CHANNEL_BONDING_MODE_STAMIN |
| 334 | #define CFG_CHANNEL_BONDING_MODE_MAX WNI_CFG_CHANNEL_BONDING_MODE_STAMAX |
| 335 | #define CFG_CHANNEL_BONDING_MODE_DEFAULT WNI_CFG_CHANNEL_BONDING_MODE_STADEF |
| 336 | |
| 337 | #define CFG_CHANNEL_BONDING_MODE_5GHZ_NAME "gChannelBondingMode5GHz" |
| 338 | #define CFG_CHANNEL_BONDING_MODE_MIN WNI_CFG_CHANNEL_BONDING_MODE_STAMIN |
| 339 | #define CFG_CHANNEL_BONDING_MODE_MAX WNI_CFG_CHANNEL_BONDING_MODE_STAMAX |
| 340 | #define CFG_CHANNEL_BONDING_MODE_DEFAULT WNI_CFG_CHANNEL_BONDING_MODE_STADEF |
| 341 | |
| 342 | #define CFG_FIXED_RATE_NAME "gFixedRate" |
| 343 | #define CFG_FIXED_RATE_MIN WNI_CFG_FIXED_RATE_STAMIN |
| 344 | #define CFG_FIXED_RATE_MAX WNI_CFG_FIXED_RATE_STAMAX |
| 345 | #define CFG_FIXED_RATE_DEFAULT WNI_CFG_FIXED_RATE_STADEF |
| 346 | |
| 347 | #define CFG_SHORT_GI_20MHZ_NAME "gShortGI20Mhz" |
| 348 | #define CFG_SHORT_GI_20MHZ_MIN WNI_CFG_SHORT_GI_20MHZ_STAMIN |
| 349 | #define CFG_SHORT_GI_20MHZ_MAX WNI_CFG_SHORT_GI_20MHZ_STAMAX |
| 350 | #define CFG_SHORT_GI_20MHZ_DEFAULT WNI_CFG_SHORT_GI_20MHZ_STADEF |
| 351 | |
| 352 | #define CFG_BLOCK_ACK_AUTO_SETUP_NAME "gBlockAckAutoSetup" |
| 353 | #define CFG_BLOCK_ACK_AUTO_SETUP_MIN ( 0 ) |
| 354 | #define CFG_BLOCK_ACK_AUTO_SETUP_MAX ( 1 ) |
| 355 | #define CFG_BLOCK_ACK_AUTO_SETUP_DEFAULT ( 1 ) |
| 356 | |
| 357 | #define CFG_SCAN_RESULT_AGE_COUNT_NAME "gScanResultAgeCount" |
| 358 | #define CFG_SCAN_RESULT_AGE_COUNT_MIN ( 1 ) |
| 359 | #define CFG_SCAN_RESULT_AGE_COUNT_MAX ( 100 ) |
| 360 | #define CFG_SCAN_RESULT_AGE_COUNT_DEFAULT ( 3 ) |
| 361 | |
| 362 | //All in seconds |
| 363 | //Not Connect, No Power Save |
| 364 | #define CFG_SCAN_RESULT_AGE_TIME_NCNPS_NAME "gScanResultAgeNCNPS" |
| 365 | #define CFG_SCAN_RESULT_AGE_TIME_NCNPS_MIN ( 10 ) |
| 366 | #define CFG_SCAN_RESULT_AGE_TIME_NCNPS_MAX ( 10000 ) |
| 367 | #define CFG_SCAN_RESULT_AGE_TIME_NCNPS_DEFAULT ( 50 ) |
| 368 | //Not Connect, Power Save |
| 369 | #define CFG_SCAN_RESULT_AGE_TIME_NCPS_NAME "gScanResultAgeNCPS" |
| 370 | #define CFG_SCAN_RESULT_AGE_TIME_NCPS_MIN ( 10 ) |
| 371 | #define CFG_SCAN_RESULT_AGE_TIME_NCPS_MAX ( 10000 ) |
| 372 | #define CFG_SCAN_RESULT_AGE_TIME_NCPS_DEFAULT ( 300 ) |
| 373 | //Connect, No Power Save |
| 374 | #define CFG_SCAN_RESULT_AGE_TIME_CNPS_NAME "gScanResultAgeCNPS" |
| 375 | #define CFG_SCAN_RESULT_AGE_TIME_CNPS_MIN ( 10 ) |
| 376 | #define CFG_SCAN_RESULT_AGE_TIME_CNPS_MAX ( 10000 ) |
| 377 | #define CFG_SCAN_RESULT_AGE_TIME_CNPS_DEFAULT ( 150 ) |
| 378 | //Connect, Power Save |
| 379 | #define CFG_SCAN_RESULT_AGE_TIME_CPS_NAME "gScanResultAgeCPS" |
| 380 | #define CFG_SCAN_RESULT_AGE_TIME_CPS_MIN ( 10 ) |
| 381 | #define CFG_SCAN_RESULT_AGE_TIME_CPS_MAX ( 10000 ) |
| 382 | #define CFG_SCAN_RESULT_AGE_TIME_CPS_DEFAULT ( 600 ) |
| 383 | |
| 384 | #define CFG_RSSI_CATEGORY_GAP_NAME "gRssiCatGap" |
Madan Mohan Koyyalamudi | 4c8c635 | 2012-10-15 16:40:16 -0700 | [diff] [blame] | 385 | #define CFG_RSSI_CATEGORY_GAP_MIN ( 5 ) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 386 | #define CFG_RSSI_CATEGORY_GAP_MAX ( 100 ) |
Srinivas Girigowda | de69741 | 2013-02-14 16:31:48 -0800 | [diff] [blame] | 387 | #define CFG_RSSI_CATEGORY_GAP_DEFAULT ( 5 ) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 388 | |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 389 | #if defined (WLAN_FEATURE_VOWIFI_11R) || defined (FEATURE_WLAN_ESE) || defined(FEATURE_WLAN_LFR) |
Madan Mohan Koyyalamudi | d502607 | 2012-11-30 14:56:21 -0800 | [diff] [blame] | 390 | #define CFG_ROAM_PREFER_5GHZ "gRoamPrefer5GHz" |
| 391 | #define CFG_ROAM_PREFER_5GHZ_MIN ( 0 ) |
| 392 | #define CFG_ROAM_PREFER_5GHZ_MAX ( 1 ) |
| 393 | #define CFG_ROAM_PREFER_5GHZ_DEFAULT ( 1 ) |
Srinivas Girigowda | bbd16eb | 2013-03-21 12:34:46 -0700 | [diff] [blame] | 394 | |
Srinivas Girigowda | d42dfce | 2013-06-19 17:33:50 -0700 | [diff] [blame] | 395 | /* |
| 396 | To enable, set gRoamIntraBand=1 (Roaming within band) |
| 397 | To disable, set gRoamIntraBand=0 (Roaming across band) |
| 398 | */ |
Srinivas Girigowda | bbd16eb | 2013-03-21 12:34:46 -0700 | [diff] [blame] | 399 | #define CFG_ROAM_INTRA_BAND "gRoamIntraBand" |
| 400 | #define CFG_ROAM_INTRA_BAND_MIN ( 0 ) |
| 401 | #define CFG_ROAM_INTRA_BAND_MAX ( 1 ) |
| 402 | #define CFG_ROAM_INTRA_BAND_DEFAULT ( 0 ) |
Madan Mohan Koyyalamudi | d502607 | 2012-11-30 14:56:21 -0800 | [diff] [blame] | 403 | #endif |
| 404 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 405 | #define CFG_SHORT_PREAMBLE_NAME "gShortPreamble" |
| 406 | #define CFG_SHORT_PREAMBLE_MIN WNI_CFG_SHORT_PREAMBLE_STAMIN |
| 407 | #define CFG_SHORT_PREAMBLE_MAX WNI_CFG_SHORT_PREAMBLE_STAMAX |
| 408 | #define CFG_SHORT_PREAMBLE_DEFAULT WNI_CFG_SHORT_PREAMBLE_STADEF |
| 409 | |
| 410 | #define CFG_IBSS_AUTO_BSSID_NAME "gAutoIbssBssid" |
| 411 | #define CFG_IBSS_AUTO_BSSID_MIN WNI_CFG_IBSS_AUTO_BSSID_STAMIN |
| 412 | #define CFG_IBSS_AUTO_BSSID_MAX WNI_CFG_IBSS_AUTO_BSSID_STAMAX |
| 413 | #define CFG_IBSS_AUTO_BSSID_DEFAULT WNI_CFG_IBSS_AUTO_BSSID_STADEF |
| 414 | |
| 415 | #define CFG_IBSS_BSSID_NAME "gIbssBssid" |
| 416 | #define CFG_IBSS_BSSID_MIN "000000000000" |
| 417 | #define CFG_IBSS_BSSID_MAX "ffffffffffff" |
| 418 | #define CFG_IBSS_BSSID_DEFAULT "000AF5040506" |
| 419 | |
| 420 | #define CFG_INTF0_MAC_ADDR_NAME "Intf0MacAddress" |
| 421 | #define CFG_INTF0_MAC_ADDR_MIN "000000000000" |
| 422 | #define CFG_INTF0_MAC_ADDR_MAX "ffffffffffff" |
| 423 | #define CFG_INTF0_MAC_ADDR_DEFAULT "000AF5898980" |
| 424 | |
| 425 | #define CFG_INTF1_MAC_ADDR_NAME "Intf1MacAddress" |
| 426 | #define CFG_INTF1_MAC_ADDR_MIN "000000000000" |
| 427 | #define CFG_INTF1_MAC_ADDR_MAX "ffffffffffff" |
| 428 | #define CFG_INTF1_MAC_ADDR_DEFAULT "000AF5898981" |
| 429 | |
| 430 | #define CFG_INTF2_MAC_ADDR_NAME "Intf2MacAddress" |
| 431 | #define CFG_INTF2_MAC_ADDR_MIN "000000000000" |
| 432 | #define CFG_INTF2_MAC_ADDR_MAX "ffffffffffff" |
| 433 | #define CFG_INTF2_MAC_ADDR_DEFAULT "000AF5898982" |
| 434 | |
| 435 | #define CFG_INTF3_MAC_ADDR_NAME "Intf3MacAddress" |
| 436 | #define CFG_INTF3_MAC_ADDR_MIN "000000000000" |
| 437 | #define CFG_INTF3_MAC_ADDR_MAX "ffffffffffff" |
| 438 | #define CFG_INTF3_MAC_ADDR_DEFAULT "000AF5898983" |
| 439 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 440 | #define CFG_AP_QOS_UAPSD_MODE_NAME "gEnableApUapsd" // ACs to setup U-APSD for at assoc |
| 441 | #define CFG_AP_QOS_UAPSD_MODE_MIN ( 0 ) |
| 442 | #define CFG_AP_QOS_UAPSD_MODE_MAX ( 1 ) |
| 443 | #define CFG_AP_QOS_UAPSD_MODE_DEFAULT ( 1 ) |
| 444 | |
| 445 | #define CFG_AP_COUNTRY_CODE "gAPCntryCode" |
| 446 | #define CFG_AP_COUNTRY_CODE_MIN "USI" |
| 447 | #define CFG_AP_COUNTRY_CODE_MAX "USI" |
| 448 | #define CFG_AP_COUNTRY_CODE_DEFAULT "FFF" |
| 449 | |
Madan Mohan Koyyalamudi | 3ff2a0b | 2012-10-15 14:33:46 -0700 | [diff] [blame] | 450 | #define CFG_AP_ENABLE_RANDOM_BSSID_NAME "gEnableApRandomBssid" |
| 451 | #define CFG_AP_ENABLE_RANDOM_BSSID_MIN ( 0 ) |
| 452 | #define CFG_AP_ENABLE_RANDOM_BSSID_MAX ( 1 ) |
| 453 | #define CFG_AP_ENABLE_RANDOM_BSSID_DEFAULT ( 0 ) |
| 454 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 455 | #define CFG_AP_ENABLE_PROTECTION_MODE_NAME "gEnableApProt" |
| 456 | #define CFG_AP_ENABLE_PROTECTION_MODE_MIN ( 0 ) |
| 457 | #define CFG_AP_ENABLE_PROTECTION_MODE_MAX ( 1 ) |
| 458 | #define CFG_AP_ENABLE_PROTECTION_MODE_DEFAULT ( 1 ) |
| 459 | |
| 460 | // Bit map for CFG_AP_PROTECTION_MODE_DEFAULT |
| 461 | // LOWER byte for associated stations |
| 462 | // UPPER byte for overlapping stations |
| 463 | // each byte will have the following info |
| 464 | // bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8 |
| 465 | // OBSS RIFS LSIG_TXOP NON_GF HT20 FROM_11G FROM_11B FROM_11A |
| 466 | // bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 |
| 467 | // OBSS RIFS LSIG_TXOP NON_GF HT_20 FROM_11G FROM_11B FROM_11A |
| 468 | #define CFG_AP_PROTECTION_MODE_NAME "gApProtection" |
| 469 | #define CFG_AP_PROTECTION_MODE_MIN ( 0x0 ) |
| 470 | #define CFG_AP_PROTECTION_MODE_MAX ( 0xFFFF ) |
| 471 | #define CFG_AP_PROTECTION_MODE_DEFAULT ( 0xBFFF ) |
| 472 | |
| 473 | #define CFG_AP_OBSS_PROTECTION_MODE_NAME "gEnableApOBSSProt" |
| 474 | #define CFG_AP_OBSS_PROTECTION_MODE_MIN ( 0 ) |
| 475 | #define CFG_AP_OBSS_PROTECTION_MODE_MAX ( 1 ) |
| 476 | #define CFG_AP_OBSS_PROTECTION_MODE_DEFAULT ( 0 ) |
| 477 | |
| 478 | #define CFG_AP_STA_SECURITY_SEPERATION_NAME "gDisableIntraBssFwd" |
| 479 | #define CFG_AP_STA_SECURITY_SEPERATION_MIN ( 0 ) |
| 480 | #define CFG_AP_STA_SECURITY_SEPERATION_MAX ( 1 ) |
| 481 | #define CFG_AP_STA_SECURITY_SEPERATION_DEFAULT ( 0 ) |
| 482 | |
| 483 | #define CFG_AP_LISTEN_MODE_NAME "gEnablePhyAgcListenMode" |
| 484 | #define CFG_AP_LISTEN_MODE_MIN (0) |
| 485 | #define CFG_AP_LISTEN_MODE_MAX (128) |
| 486 | #define CFG_AP_LISTEN_MODE_DEFAULT (128) |
| 487 | |
| 488 | #define CFG_AP_AUTO_SHUT_OFF "gAPAutoShutOff" |
| 489 | #define CFG_AP_AUTO_SHUT_OFF_MIN ( 0 ) |
| 490 | #define CFG_AP_AUTO_SHUT_OFF_MAX ( 4294967295UL ) |
| 491 | #define CFG_AP_AUTO_SHUT_OFF_DEFAULT ( 0 ) |
| 492 | |
| 493 | #define CFG_FRAMES_PROCESSING_TH_MODE_NAME "gMinFramesProcThres" |
| 494 | #define CFG_FRAMES_PROCESSING_TH_MIN ( 0 ) |
| 495 | #define CFG_FRAMES_PROCESSING_TH_MAX ( 39 ) |
| 496 | #define CFG_FRAMES_PROCESSING_TH_DEFAULT ( 0 ) |
| 497 | |
| 498 | #define CFG_SAP_CHANNEL_SELECT_START_CHANNEL "gAPChannelSelectStartChannel" |
| 499 | #define CFG_SAP_CHANNEL_SELECT_START_CHANNEL_MIN (0) |
| 500 | #define CFG_SAP_CHANNEL_SELECT_START_CHANNEL_MAX (0xFF) |
| 501 | #define CFG_SAP_CHANNEL_SELECT_START_CHANNEL_DEFAULT (0) |
| 502 | |
| 503 | #define CFG_SAP_CHANNEL_SELECT_END_CHANNEL "gAPChannelSelectEndChannel" |
| 504 | #define CFG_SAP_CHANNEL_SELECT_END_CHANNEL_MIN (0) |
| 505 | #define CFG_SAP_CHANNEL_SELECT_END_CHANNEL_MAX (0xFF) |
| 506 | #define CFG_SAP_CHANNEL_SELECT_END_CHANNEL_DEFAULT (11) |
| 507 | |
| 508 | #define CFG_SAP_CHANNEL_SELECT_OPERATING_BAND "gAPChannelSelectOperatingBand" |
| 509 | #define CFG_SAP_CHANNEL_SELECT_OPERATING_BAND_MIN (0) |
Leela Venkata Kiran Kumar Reddy Chirala | 9f6566c | 2014-09-05 19:06:58 +0530 | [diff] [blame] | 510 | #define CFG_SAP_CHANNEL_SELECT_OPERATING_BAND_MAX (0x5) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 511 | #define CFG_SAP_CHANNEL_SELECT_OPERATING_BAND_DEFAULT (0) |
| 512 | |
| 513 | #define CFG_DISABLE_PACKET_FILTER "gDisablePacketFilter" |
| 514 | #define CFG_DISABLE_PACKET_FILTER_MIN (0) |
| 515 | #define CFG_DISABLE_PACKET_FILTER_MAX (0x1) |
| 516 | #define CFG_DISABLE_PACKET_FILTER_DEFAULT (0) |
| 517 | |
| 518 | #define CFG_ENABLE_LTE_COEX "gEnableLTECoex" |
| 519 | #define CFG_ENABLE_LTE_COEX_MIN ( 0 ) |
| 520 | #define CFG_ENABLE_LTE_COEX_MAX ( 1 ) |
| 521 | #define CFG_ENABLE_LTE_COEX_DEFAULT ( 0 ) |
| 522 | |
| 523 | #define CFG_AP_KEEP_ALIVE_PERIOD_NAME "gApKeepAlivePeriod" |
Madan Mohan Koyyalamudi | 2558bc9 | 2013-08-24 16:54:31 +0530 | [diff] [blame] | 524 | #define CFG_AP_KEEP_ALIVE_PERIOD_MIN ( 3 ) |
Sushant Kaushik | 3b5480b | 2015-02-18 12:48:09 +0530 | [diff] [blame] | 525 | #define CFG_AP_KEEP_ALIVE_PERIOD_MAX ( 255 ) |
Madan Mohan Koyyalamudi | 2558bc9 | 2013-08-24 16:54:31 +0530 | [diff] [blame] | 526 | #define CFG_AP_KEEP_ALIVE_PERIOD_DEFAULT ( 5 ) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 527 | |
| 528 | #define CFG_GO_KEEP_ALIVE_PERIOD_NAME "gGoKeepAlivePeriod" |
Madan Mohan Koyyalamudi | 2558bc9 | 2013-08-24 16:54:31 +0530 | [diff] [blame] | 529 | #define CFG_GO_KEEP_ALIVE_PERIOD_MIN ( 3 ) |
Deepthi Gowri | 5198daa | 2015-04-08 15:36:44 +0530 | [diff] [blame] | 530 | #define CFG_GO_KEEP_ALIVE_PERIOD_MAX ( 255 ) |
Madan Mohan Koyyalamudi | 2558bc9 | 2013-08-24 16:54:31 +0530 | [diff] [blame] | 531 | #define CFG_GO_KEEP_ALIVE_PERIOD_DEFAULT ( 5 ) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 532 | |
Sejal Chauhan | bcde8bc | 2013-03-04 18:06:36 +0530 | [diff] [blame] | 533 | #define CFG_AP_LINK_MONITOR_PERIOD_NAME "gApLinkMonitorPeriod" |
Madan Mohan Koyyalamudi | 2558bc9 | 2013-08-24 16:54:31 +0530 | [diff] [blame] | 534 | #define CFG_AP_LINK_MONITOR_PERIOD_MIN ( 3 ) |
| 535 | #define CFG_AP_LINK_MONITOR_PERIOD_MAX ( 50 ) |
| 536 | #define CFG_AP_LINK_MONITOR_PERIOD_DEFAULT ( 10 ) |
| 537 | |
| 538 | /* gGoLinkMonitorPeriod is period where link is idle and where |
| 539 | * we send NULL frame |
| 540 | */ |
| 541 | #define CFG_GO_LINK_MONITOR_PERIOD_NAME "gGoLinkMonitorPeriod" |
| 542 | #define CFG_GO_LINK_MONITOR_PERIOD_MIN ( 3 ) |
| 543 | #define CFG_GO_LINK_MONITOR_PERIOD_MAX ( 50 ) |
| 544 | #define CFG_GO_LINK_MONITOR_PERIOD_DEFAULT ( 10 ) |
| 545 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 546 | |
| 547 | #define CFG_BEACON_INTERVAL_NAME "gBeaconInterval" |
| 548 | #define CFG_BEACON_INTERVAL_MIN WNI_CFG_BEACON_INTERVAL_STAMIN |
| 549 | #define CFG_BEACON_INTERVAL_MAX WNI_CFG_BEACON_INTERVAL_STAMAX |
| 550 | #define CFG_BEACON_INTERVAL_DEFAULT WNI_CFG_BEACON_INTERVAL_STADEF |
| 551 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 552 | //Additional Handoff related Parameters |
| 553 | #define CFG_ENABLE_IDLE_SCAN_NAME "gEnableIdleScan" |
| 554 | #define CFG_ENABLE_IDLE_SCAN_MIN ( 0 ) |
| 555 | #define CFG_ENABLE_IDLE_SCAN_MAX ( 1 ) |
| 556 | #define CFG_ENABLE_IDLE_SCAN_DEFAULT ( 1 ) |
| 557 | |
| 558 | #define CFG_ROAMING_TIME_NAME "gRoamingTime" |
| 559 | #define CFG_ROAMING_TIME_MIN ( 0 ) |
| 560 | #define CFG_ROAMING_TIME_MAX ( 4294967UL ) |
| 561 | #define CFG_ROAMING_TIME_DEFAULT ( 10 ) |
| 562 | |
| 563 | #define CFG_VCC_RSSI_TRIGGER_NAME "gVccRssiTrigger" |
| 564 | #define CFG_VCC_RSSI_TRIGGER_MIN ( 0 ) |
| 565 | #define CFG_VCC_RSSI_TRIGGER_MAX ( 80 ) |
| 566 | #define CFG_VCC_RSSI_TRIGGER_DEFAULT ( 80 ) |
| 567 | |
| 568 | #define CFG_VCC_UL_MAC_LOSS_THRESH_NAME "gVccUlMacLossThresh" |
| 569 | #define CFG_VCC_UL_MAC_LOSS_THRESH_MIN ( 0 ) |
| 570 | #define CFG_VCC_UL_MAC_LOSS_THRESH_MAX ( 9 ) |
| 571 | #define CFG_VCC_UL_MAC_LOSS_THRESH_DEFAULT ( 9 ) |
| 572 | |
| 573 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_NAME "gPassiveMaxChannelTime" |
| 574 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_MIN ( 0 ) |
| 575 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_MAX ( 10000 ) |
| 576 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_DEFAULT ( 110 ) |
| 577 | |
| 578 | #define CFG_PASSIVE_MIN_CHANNEL_TIME_NAME "gPassiveMinChannelTime" |
| 579 | #define CFG_PASSIVE_MIN_CHANNEL_TIME_MIN ( 0 ) |
| 580 | #define CFG_PASSIVE_MIN_CHANNEL_TIME_MAX ( 10000 ) |
| 581 | #define CFG_PASSIVE_MIN_CHANNEL_TIME_DEFAULT ( 60 ) |
| 582 | |
| 583 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_NAME "gActiveMaxChannelTime" |
| 584 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_MIN ( 0 ) |
| 585 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_MAX ( 10000 ) |
| 586 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_DEFAULT ( 40 ) |
| 587 | |
| 588 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_NAME "gActiveMinChannelTime" |
| 589 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_MIN ( 0 ) |
| 590 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_MAX ( 10000 ) |
| 591 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_DEFAULT ( 20 ) |
| 592 | |
Kiran Kumar Lokere | 3527f0c | 2013-02-24 22:21:28 -0800 | [diff] [blame] | 593 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_BTC_NAME "gActiveMaxChannelTimeBtc" |
| 594 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_BTC_MIN ( 0 ) |
| 595 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_BTC_MAX ( 10000 ) |
| 596 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_BTC_DEFAULT ( 120 ) |
| 597 | |
| 598 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_BTC_NAME "gActiveMinChannelTimeBtc" |
| 599 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_BTC_MIN ( 0 ) |
| 600 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_BTC_MAX ( 10000 ) |
| 601 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_BTC_DEFAULT ( 60 ) |
| 602 | |
Kiran Kumar Lokere | 1f39e95 | 2013-04-03 18:34:30 -0700 | [diff] [blame] | 603 | #define CFG_RETRY_LIMIT_ZERO_NAME "gRetryLimitZero" |
| 604 | #define CFG_RETRY_LIMIT_ZERO_MIN ( 0 ) |
| 605 | #define CFG_RETRY_LIMIT_ZERO_MAX ( 15 ) |
| 606 | #define CFG_RETRY_LIMIT_ZERO_DEFAULT ( 5 ) |
| 607 | |
| 608 | #define CFG_RETRY_LIMIT_ONE_NAME "gRetryLimitOne" |
| 609 | #define CFG_RETRY_LIMIT_ONE_MIN ( 0 ) |
| 610 | #define CFG_RETRY_LIMIT_ONE_MAX ( 15 ) |
| 611 | #define CFG_RETRY_LIMIT_ONE_DEFAULT ( 10 ) |
| 612 | |
| 613 | #define CFG_RETRY_LIMIT_TWO_NAME "gRetryLimitTwo" |
| 614 | #define CFG_RETRY_LIMIT_TWO_MIN ( 0 ) |
| 615 | #define CFG_RETRY_LIMIT_TWO_MAX ( 15 ) |
| 616 | #define CFG_RETRY_LIMIT_TWO_DEFAULT ( 15 ) |
| 617 | |
Kiran Kumar Lokere | 458d732 | 2013-05-29 14:29:43 -0700 | [diff] [blame] | 618 | #define CFG_DISABLE_AGG_WITH_BTC_NAME "gDisableAggWithBTC" |
| 619 | #define CFG_DISABLE_AGG_WITH_BTC_MIN ( 0 ) |
| 620 | #define CFG_DISABLE_AGG_WITH_BTC_MAX ( 1 ) |
| 621 | #define CFG_DISABLE_AGG_WITH_BTC_DEFAULT ( 1 ) |
| 622 | |
Madan Mohan Koyyalamudi | 4ff9cd6 | 2012-10-30 17:48:57 -0700 | [diff] [blame] | 623 | #ifdef WLAN_AP_STA_CONCURRENCY |
| 624 | |
| 625 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_CONC_NAME "gPassiveMaxChannelTimeConc" |
| 626 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_CONC_MIN ( 0 ) |
| 627 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_CONC_MAX ( 10000 ) |
| 628 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_CONC_DEFAULT ( 110 ) |
| 629 | |
| 630 | #define CFG_PASSIVE_MIN_CHANNEL_TIME_CONC_NAME "gPassiveMinChannelTimeConc" |
| 631 | #define CFG_PASSIVE_MIN_CHANNEL_TIME_CONC_MIN ( 0 ) |
| 632 | #define CFG_PASSIVE_MIN_CHANNEL_TIME_CONC_MAX ( 10000 ) |
| 633 | #define CFG_PASSIVE_MIN_CHANNEL_TIME_CONC_DEFAULT ( 60 ) |
| 634 | |
| 635 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_CONC_NAME "gActiveMaxChannelTimeConc" |
| 636 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_CONC_MIN ( 0 ) |
| 637 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_CONC_MAX ( 10000 ) |
Viral Modi | 0e06f19 | 2013-03-05 19:05:04 -0800 | [diff] [blame] | 638 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_CONC_DEFAULT ( 40 ) |
Madan Mohan Koyyalamudi | 4ff9cd6 | 2012-10-30 17:48:57 -0700 | [diff] [blame] | 639 | |
| 640 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_CONC_NAME "gActiveMinChannelTimeConc" |
| 641 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_CONC_MIN ( 0 ) |
| 642 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_CONC_MAX ( 10000 ) |
| 643 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_CONC_DEFAULT ( 20 ) |
| 644 | |
| 645 | #define CFG_REST_TIME_CONC_NAME "gRestTimeConc" |
| 646 | #define CFG_REST_TIME_CONC_MIN ( 0 ) |
| 647 | #define CFG_REST_TIME_CONC_MAX ( 10000 ) |
Madan Mohan Koyyalamudi | 4805fa8 | 2012-11-09 17:53:39 -0800 | [diff] [blame] | 648 | #define CFG_REST_TIME_CONC_DEFAULT ( 100 ) |
Madan Mohan Koyyalamudi | 4ff9cd6 | 2012-10-30 17:48:57 -0700 | [diff] [blame] | 649 | |
Sudhir Sattayappa Kohalli | eb97d50 | 2013-05-22 23:16:42 -0700 | [diff] [blame] | 650 | #define CFG_NUM_STA_CHAN_COMBINED_CONC_NAME "gNumStaChanCombinedConc" |
| 651 | #define CFG_NUM_STA_CHAN_COMBINED_CONC_MIN ( 1 ) |
| 652 | #define CFG_NUM_STA_CHAN_COMBINED_CONC_MAX ( 255 ) |
| 653 | #define CFG_NUM_STA_CHAN_COMBINED_CONC_DEFAULT ( 3 ) |
| 654 | |
| 655 | #define CFG_NUM_P2P_CHAN_COMBINED_CONC_NAME "gNumP2PChanCombinedConc" |
| 656 | #define CFG_NUM_P2P_CHAN_COMBINED_CONC_MIN ( 1 ) |
| 657 | #define CFG_NUM_P2P_CHAN_COMBINED_CONC_MAX ( 255 ) |
| 658 | #define CFG_NUM_P2P_CHAN_COMBINED_CONC_DEFAULT ( 1 ) |
Vinay Malekal | 05fdc81 | 2012-12-17 13:04:30 -0800 | [diff] [blame] | 659 | |
Madan Mohan Koyyalamudi | 4ff9cd6 | 2012-10-30 17:48:57 -0700 | [diff] [blame] | 660 | #endif |
| 661 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 662 | #define CFG_MAX_PS_POLL_NAME "gMaxPsPoll" |
| 663 | #define CFG_MAX_PS_POLL_MIN WNI_CFG_MAX_PS_POLL_STAMIN |
| 664 | #define CFG_MAX_PS_POLL_MAX WNI_CFG_MAX_PS_POLL_STAMAX |
| 665 | #define CFG_MAX_PS_POLL_DEFAULT WNI_CFG_MAX_PS_POLL_STADEF |
| 666 | |
| 667 | #define CFG_MAX_TX_POWER_NAME "gTxPowerCap" |
| 668 | #define CFG_MAX_TX_POWER_MIN WNI_CFG_CURRENT_TX_POWER_LEVEL_STAMIN |
| 669 | #define CFG_MAX_TX_POWER_MAX WNI_CFG_CURRENT_TX_POWER_LEVEL_STAMAX |
| 670 | //Not to use CFG default because if no registry setting, this is ignored by SME. |
| 671 | #define CFG_MAX_TX_POWER_DEFAULT WNI_CFG_CURRENT_TX_POWER_LEVEL_STAMAX |
| 672 | |
| 673 | |
| 674 | #define CFG_LOW_GAIN_OVERRIDE_NAME "gLowGainOverride" |
| 675 | #define CFG_LOW_GAIN_OVERRIDE_MIN WNI_CFG_LOW_GAIN_OVERRIDE_STAMIN |
| 676 | #define CFG_LOW_GAIN_OVERRIDE_MAX WNI_CFG_LOW_GAIN_OVERRIDE_STAMAX |
| 677 | #define CFG_LOW_GAIN_OVERRIDE_DEFAULT WNI_CFG_LOW_GAIN_OVERRIDE_STADEF |
| 678 | |
| 679 | #define CFG_RSSI_FILTER_PERIOD_NAME "gRssiFilterPeriod" |
| 680 | #define CFG_RSSI_FILTER_PERIOD_MIN WNI_CFG_RSSI_FILTER_PERIOD_STAMIN |
| 681 | #define CFG_RSSI_FILTER_PERIOD_MAX WNI_CFG_RSSI_FILTER_PERIOD_STAMAX |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 682 | // Increased this value for Non-ESE AP. This is cause FW RSSI Monitoring |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 683 | // the consumer of this value is ON by default. So to impact power numbers |
| 684 | // we are setting this to a high value. |
| 685 | #define CFG_RSSI_FILTER_PERIOD_DEFAULT WNI_CFG_RSSI_FILTER_PERIOD_STADEF |
| 686 | |
| 687 | #define CFG_IGNORE_DTIM_NAME "gIgnoreDtim" |
| 688 | #define CFG_IGNORE_DTIM_MIN WNI_CFG_IGNORE_DTIM_STAMIN |
| 689 | #define CFG_IGNORE_DTIM_MAX WNI_CFG_IGNORE_DTIM_STAMAX |
| 690 | #define CFG_IGNORE_DTIM_DEFAULT WNI_CFG_IGNORE_DTIM_STADEF |
| 691 | |
Yue Ma | c24062f | 2013-05-13 17:01:29 -0700 | [diff] [blame] | 692 | #define CFG_MAX_LI_MODULATED_DTIM_NAME "gMaxLIModulatedDTIM" |
| 693 | #define CFG_MAX_LI_MODULATED_DTIM_MIN ( 1 ) |
| 694 | #define CFG_MAX_LI_MODULATED_DTIM_MAX ( 10 ) |
| 695 | #define CFG_MAX_LI_MODULATED_DTIM_DEFAULT ( 10 ) |
| 696 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 697 | #define CFG_RX_ANT_CONFIGURATION_NAME "gNumRxAnt" |
| 698 | #define CFG_RX_ANT_CONFIGURATION_NAME_MIN ( 1 ) |
| 699 | #define CFG_RX_ANT_CONFIGURATION_NAME_MAX ( 2 ) |
| 700 | #define CFG_RX_ANT_CONFIGURATION_NAME_DEFAULT ( 2 ) |
| 701 | |
| 702 | #define CFG_FW_HEART_BEAT_MONITORING_NAME "gEnableFWHeartBeatMonitoring" |
| 703 | #define CFG_FW_HEART_BEAT_MONITORING_MIN ( 0 ) |
| 704 | #define CFG_FW_HEART_BEAT_MONITORING_MAX ( 1 ) |
| 705 | #define CFG_FW_HEART_BEAT_MONITORING_DEFAULT ( 1 ) |
| 706 | |
| 707 | #define CFG_FW_BEACON_FILTERING_NAME "gEnableFWBeaconFiltering" |
| 708 | #define CFG_FW_BEACON_FILTERING_MIN ( 0 ) |
| 709 | #define CFG_FW_BEACON_FILTERING_MAX ( 1 ) |
| 710 | #define CFG_FW_BEACON_FILTERING_DEFAULT ( 1 ) |
| 711 | |
| 712 | #define CFG_FW_RSSI_MONITORING_NAME "gEnableFWRssiMonitoring" |
| 713 | #define CFG_FW_RSSI_MONITORING_MIN ( 0 ) |
| 714 | #define CFG_FW_RSSI_MONITORING_MAX ( 1 ) |
Srinivas Girigowda | ba17369 | 2013-08-07 11:55:38 -0700 | [diff] [blame] | 715 | #define CFG_FW_RSSI_MONITORING_DEFAULT ( 1 ) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 716 | |
| 717 | #define CFG_DATA_INACTIVITY_TIMEOUT_NAME "gDataInactivityTimeout" |
| 718 | #define CFG_DATA_INACTIVITY_TIMEOUT_MIN ( 1 ) |
| 719 | #define CFG_DATA_INACTIVITY_TIMEOUT_MAX ( 255 ) |
| 720 | #define CFG_DATA_INACTIVITY_TIMEOUT_DEFAULT ( 20 ) |
| 721 | |
| 722 | #define CFG_NTH_BEACON_FILTER_NAME "gNthBeaconFilter" |
| 723 | #define CFG_NTH_BEACON_FILTER_MIN ( WNI_CFG_NTH_BEACON_FILTER_STAMIN ) |
| 724 | #define CFG_NTH_BEACON_FILTER_MAX ( WNI_CFG_NTH_BEACON_FILTER_STAMAX ) |
| 725 | #define CFG_NTH_BEACON_FILTER_DEFAULT ( WNI_CFG_NTH_BEACON_FILTER_STADEF ) |
| 726 | |
| 727 | #define CFG_RF_SETTLING_TIME_CLK_NAME "rfSettlingTimeUs" |
| 728 | #define CFG_RF_SETTLING_TIME_CLK_MIN ( 0 ) |
| 729 | #define CFG_RF_SETTLING_TIME_CLK_MAX ( 60000 ) |
| 730 | #define CFG_RF_SETTLING_TIME_CLK_DEFAULT ( 1500 ) |
| 731 | |
| 732 | #define CFG_INFRA_STA_KEEP_ALIVE_PERIOD_NAME "gStaKeepAlivePeriod" |
| 733 | #define CFG_INFRA_STA_KEEP_ALIVE_PERIOD_MIN ( 0 ) |
| 734 | #define CFG_INFRA_STA_KEEP_ALIVE_PERIOD_MAX ( 65535) |
| 735 | #define CFG_INFRA_STA_KEEP_ALIVE_PERIOD_DEFAULT ( 0 ) |
| 736 | |
| 737 | //WMM configuration |
| 738 | #define CFG_QOS_WMM_MODE_NAME "WmmIsEnabled" |
| 739 | #define CFG_QOS_WMM_MODE_MIN (0) |
| 740 | #define CFG_QOS_WMM_MODE_MAX (2) //HDD_WMM_NO_QOS |
| 741 | #define CFG_QOS_WMM_MODE_DEFAULT (0) //HDD_WMM_AUTO |
| 742 | |
| 743 | #define CFG_QOS_WMM_80211E_ENABLED_NAME "80211eIsEnabled" |
| 744 | #define CFG_QOS_WMM_80211E_ENABLED_MIN (0) |
| 745 | #define CFG_QOS_WMM_80211E_ENABLED_MAX (1) |
| 746 | #define CFG_QOS_WMM_80211E_ENABLED_DEFAULT (0) |
| 747 | |
| 748 | #define CFG_QOS_WMM_UAPSD_MASK_NAME "UapsdMask" // ACs to setup U-APSD for at assoc |
| 749 | #define CFG_QOS_WMM_UAPSD_MASK_MIN (0x00) |
| 750 | #define CFG_QOS_WMM_UAPSD_MASK_MAX (0xFF) |
Mihir Shete | 9c23877 | 2014-10-15 14:35:16 +0530 | [diff] [blame] | 751 | #define CFG_QOS_WMM_UAPSD_MASK_DEFAULT (0xaa) |
Kanchanapally, Vidyullatha | 23cea3c | 2014-11-04 13:05:20 +0530 | [diff] [blame] | 752 | #define CFG_QOS_WMM_UAPSD_MASK_DYMANIC_WMM_PS_DEFAULT (0x0) |
Mihir Shete | 9c23877 | 2014-10-15 14:35:16 +0530 | [diff] [blame] | 753 | #define CFG_QOS_WMM_UAPSD_MASK_LEGACY_WMM_PS_DEFAULT (0x0) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 754 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 755 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SRV_INTV_NAME "InfraUapsdVoSrvIntv" |
| 756 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SRV_INTV_MIN (0) |
| 757 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SRV_INTV_MAX (4294967295UL ) |
| 758 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SRV_INTV_DEFAULT (20) |
| 759 | |
| 760 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SUS_INTV_NAME "InfraUapsdVoSuspIntv" |
| 761 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SUS_INTV_MIN (0) |
| 762 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SUS_INTV_MAX (4294967295UL ) |
| 763 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SUS_INTV_DEFAULT (2000) |
| 764 | |
| 765 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SRV_INTV_NAME "InfraUapsdViSrvIntv" |
| 766 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SRV_INTV_MIN (0) |
| 767 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SRV_INTV_MAX (4294967295UL) |
| 768 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SRV_INTV_DEFAULT (300) |
| 769 | |
| 770 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SUS_INTV_NAME "InfraUapsdViSuspIntv" |
| 771 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SUS_INTV_MIN (0) |
| 772 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SUS_INTV_MAX (4294967295UL) |
| 773 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SUS_INTV_DEFAULT (2000) |
| 774 | |
| 775 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SRV_INTV_NAME "InfraUapsdBeSrvIntv" |
| 776 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SRV_INTV_MIN (0) |
| 777 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SRV_INTV_MAX (4294967295UL) |
| 778 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SRV_INTV_DEFAULT (300) |
| 779 | |
| 780 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SUS_INTV_NAME "InfraUapsdBeSuspIntv" |
| 781 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SUS_INTV_MIN (0) |
| 782 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SUS_INTV_MAX (4294967295UL) |
| 783 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SUS_INTV_DEFAULT (2000) |
| 784 | |
| 785 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SRV_INTV_NAME "InfraUapsdBkSrvIntv" |
| 786 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SRV_INTV_MIN (0) |
| 787 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SRV_INTV_MAX (4294967295UL) |
| 788 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SRV_INTV_DEFAULT (300) |
| 789 | |
| 790 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SUS_INTV_NAME "InfraUapsdBkSuspIntv" |
| 791 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SUS_INTV_MIN (0) |
| 792 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SUS_INTV_MAX (4294967295UL) |
| 793 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SUS_INTV_DEFAULT (2000) |
| 794 | |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 795 | #ifdef FEATURE_WLAN_ESE |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 796 | #define CFG_QOS_WMM_INFRA_INACTIVITY_INTERVAL_NAME "InfraInactivityInterval" |
| 797 | #define CFG_QOS_WMM_INFRA_INACTIVITY_INTERVAL_MIN (0) |
| 798 | #define CFG_QOS_WMM_INFRA_INACTIVITY_INTERVAL_MAX (4294967295UL) |
| 799 | #define CFG_QOS_WMM_INFRA_INACTIVITY_INTERVAL_DEFAULT (0) //disabled |
| 800 | |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 801 | #define CFG_ESE_FEATURE_ENABLED_NAME "EseEnabled" |
| 802 | #define CFG_ESE_FEATURE_ENABLED_MIN (0) |
| 803 | #define CFG_ESE_FEATURE_ENABLED_MAX (1) |
| 804 | #define CFG_ESE_FEATURE_ENABLED_DEFAULT (0) //disabled |
| 805 | #endif // FEATURE_WLAN_ESE |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 806 | |
Jeff Johnson | 04dd8a8 | 2012-06-29 20:41:40 -0700 | [diff] [blame] | 807 | #ifdef FEATURE_WLAN_LFR |
| 808 | #define CFG_LFR_FEATURE_ENABLED_NAME "FastRoamEnabled" |
| 809 | #define CFG_LFR_FEATURE_ENABLED_MIN (0) |
| 810 | #define CFG_LFR_FEATURE_ENABLED_MAX (1) |
| 811 | #define CFG_LFR_FEATURE_ENABLED_DEFAULT (0) //disabled |
Sameer Thalappil | 4ae66ec | 2013-11-05 14:17:35 -0800 | [diff] [blame] | 812 | |
| 813 | #define CFG_LFR_MAWC_FEATURE_ENABLED_NAME "MAWCEnabled" |
| 814 | #define CFG_LFR_MAWC_FEATURE_ENABLED_MIN (0) |
| 815 | #define CFG_LFR_MAWC_FEATURE_ENABLED_MAX (1) |
| 816 | #define CFG_LFR_MAWC_FEATURE_ENABLED_DEFAULT (0) /* disabled */ |
Jeff Johnson | 04dd8a8 | 2012-06-29 20:41:40 -0700 | [diff] [blame] | 817 | #endif // FEATURE_WLAN_LFR |
| 818 | |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 819 | #if defined (WLAN_FEATURE_VOWIFI_11R) || defined (FEATURE_WLAN_ESE) || defined(FEATURE_WLAN_LFR) |
| 820 | // This flag will control fasttransition in case of 11r and ESE. |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 821 | // Basically with this the whole neighbor roam, pre-auth, reassoc |
| 822 | // can be turned ON/OFF. |
| 823 | // With this turned OFF 11r will completely not work. |
| 824 | // For 11r this flag has to be ON. |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 825 | // For ESE fastroam will not work. |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 826 | #define CFG_FAST_TRANSITION_ENABLED_NAME "FastTransitionEnabled" |
| 827 | #define CFG_FAST_TRANSITION_ENABLED_NAME_MIN (0) |
| 828 | #define CFG_FAST_TRANSITION_ENABLED_NAME_MAX (1) |
Padma, Santhosh Kumar | 5a65a65 | 2014-05-30 13:10:53 +0530 | [diff] [blame] | 829 | #define CFG_FAST_TRANSITION_ENABLED_NAME_DEFAULT (1) //Enabled |
Jeff Johnson | 43971f5 | 2012-07-17 12:26:56 -0700 | [diff] [blame] | 830 | |
| 831 | /* This parameter is used to decide whether to Roam or not. |
| 832 | * AP1 is the currently associated AP and AP2 is chosen for roaming. |
| 833 | * The Roaming will happen only if AP2 has better Signal Quality and it has a RSSI better than AP1 |
| 834 | * in terms of RoamRssiDiff,and RoamRssiDiff is the number of units (typically measured in dB) AP2 |
| 835 | * is better than AP1. |
| 836 | * This check is not done if the value is Zero */ |
| 837 | #define CFG_ROAM_RSSI_DIFF_NAME "RoamRssiDiff" |
| 838 | #define CFG_ROAM_RSSI_DIFF_MIN (0) |
Srinivas Girigowda | de69741 | 2013-02-14 16:31:48 -0800 | [diff] [blame] | 839 | #define CFG_ROAM_RSSI_DIFF_MAX (30) |
Srinivas Girigowda | d42dfce | 2013-06-19 17:33:50 -0700 | [diff] [blame] | 840 | #define CFG_ROAM_RSSI_DIFF_DEFAULT (5) |
Madan Mohan Koyyalamudi | 62b55b0 | 2012-12-03 16:45:39 -0800 | [diff] [blame] | 841 | |
| 842 | /* |
| 843 | * Following a scan and if potential roam candidate(s) are found, |
| 844 | * then determine whether to register for reassoc threshold or roam |
| 845 | * immediately based on this configuration parameter. If the RSSI |
| 846 | * of any available candidate is better than the currently associated |
| 847 | * AP by at least gImmediateRoamRssiDiff, then being to roam |
| 848 | * immediately. |
Srinivas Girigowda | d42dfce | 2013-06-19 17:33:50 -0700 | [diff] [blame] | 849 | * NOTE: Value of 0 means that immediate roaming is enabled by default |
Madan Mohan Koyyalamudi | 62b55b0 | 2012-12-03 16:45:39 -0800 | [diff] [blame] | 850 | */ |
| 851 | #define CFG_IMMEDIATE_ROAM_RSSI_DIFF_NAME "gImmediateRoamRssiDiff" |
| 852 | #define CFG_IMMEDIATE_ROAM_RSSI_DIFF_MIN (0) |
| 853 | #define CFG_IMMEDIATE_ROAM_RSSI_DIFF_MAX (125) |
Srinivas Girigowda | d42dfce | 2013-06-19 17:33:50 -0700 | [diff] [blame] | 854 | #define CFG_IMMEDIATE_ROAM_RSSI_DIFF_DEFAULT (0) |
Srinivas Girigowda | bbd16eb | 2013-03-21 12:34:46 -0700 | [diff] [blame] | 855 | |
Srinivas Girigowda | ad34ca9 | 2013-10-22 10:54:29 -0700 | [diff] [blame] | 856 | /*This parameter is used to set Wireless Extended Security Mode.*/ |
| 857 | #define CFG_ENABLE_WES_MODE_NAME "gWESModeEnabled" |
| 858 | #define CFG_ENABLE_WES_MODE_NAME_MIN (0) |
| 859 | #define CFG_ENABLE_WES_MODE_NAME_MAX (1) |
| 860 | #define CFG_ENABLE_WES_MODE_NAME_DEFAULT (0) |
| 861 | |
Varun Reddy Yeturu | 920df21 | 2013-05-22 08:07:23 -0700 | [diff] [blame] | 862 | #define CFG_ROAM_SCAN_N_PROBES "gRoamScanNProbes" |
| 863 | #define CFG_ROAM_SCAN_N_PROBES_MIN (1) |
| 864 | #define CFG_ROAM_SCAN_N_PROBES_MAX (10) |
| 865 | #define CFG_ROAM_SCAN_N_PROBES_DEFAULT (2) |
| 866 | |
| 867 | #define CFG_ROAM_SCAN_HOME_AWAY_TIME "gRoamScanHomeAwayTime" |
| 868 | #define CFG_ROAM_SCAN_HOME_AWAY_TIME_MIN (3) |
| 869 | #define CFG_ROAM_SCAN_HOME_AWAY_TIME_MAX (300) |
Srinivas Girigowda | 6cf0b82 | 2013-06-27 14:00:20 -0700 | [diff] [blame] | 870 | #define CFG_ROAM_SCAN_HOME_AWAY_TIME_DEFAULT (CFG_ROAM_SCAN_HOME_AWAY_TIME_MIN) |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 871 | #endif /* (WLAN_FEATURE_VOWIFI_11R) || defined (FEATURE_WLAN_ESE) || defined(FEATURE_WLAN_LFR) */ |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 872 | |
Srinivas Girigowda | bbd16eb | 2013-03-21 12:34:46 -0700 | [diff] [blame] | 873 | #ifdef FEATURE_WLAN_OKC |
| 874 | #define CFG_OKC_FEATURE_ENABLED_NAME "OkcEnabled" |
| 875 | #define CFG_OKC_FEATURE_ENABLED_MIN (0) |
| 876 | #define CFG_OKC_FEATURE_ENABLED_MAX (1) |
| 877 | #define CFG_OKC_FEATURE_ENABLED_DEFAULT (1) |
| 878 | #endif |
| 879 | |
Varun Reddy Yeturu | d0a3f25 | 2013-04-15 21:58:13 -0700 | [diff] [blame] | 880 | #ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD |
| 881 | #define CFG_ROAM_SCAN_OFFLOAD_ENABLED "gRoamScanOffloadEnabled" |
| 882 | #define CFG_ROAM_SCAN_OFFLOAD_ENABLED_MIN (0) |
| 883 | #define CFG_ROAM_SCAN_OFFLOAD_ENABLED_MAX (1) |
| 884 | #define CFG_ROAM_SCAN_OFFLOAD_ENABLED_DEFAULT (1) |
| 885 | #endif |
| 886 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 887 | #define CFG_QOS_WMM_PKT_CLASSIFY_BASIS_NAME "PktClassificationBasis" // DSCP or 802.1Q |
| 888 | #define CFG_QOS_WMM_PKT_CLASSIFY_BASIS_MIN (0) |
| 889 | #define CFG_QOS_WMM_PKT_CLASSIFY_BASIS_MAX (1) |
| 890 | #define CFG_QOS_WMM_PKT_CLASSIFY_BASIS_DEFAULT (0) //DSCP |
| 891 | |
| 892 | /* default TSPEC parameters for AC_VO */ |
| 893 | #define CFG_QOS_WMM_INFRA_DIR_AC_VO_NAME "InfraDirAcVo" |
| 894 | #define CFG_QOS_WMM_INFRA_DIR_AC_VO_MIN (0) |
| 895 | #define CFG_QOS_WMM_INFRA_DIR_AC_VO_MAX (3) |
| 896 | #define CFG_QOS_WMM_INFRA_DIR_AC_VO_DEFAULT (3) //WLAN_QCT_CUST_WMM_TSDIR_BOTH |
| 897 | |
| 898 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VO_NAME "InfraNomMsduSizeAcVo" |
| 899 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VO_MIN (0x0) |
| 900 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VO_MAX (0xFFFF) |
| 901 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VO_DEFAULT (0x80D0) |
| 902 | |
| 903 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VO_NAME "InfraMeanDataRateAcVo" |
| 904 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VO_MIN (0x0) |
| 905 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VO_MAX (0xFFFFFFFF) |
| 906 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VO_DEFAULT (0x14500) |
| 907 | |
| 908 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VO_NAME "InfraMinPhyRateAcVo" |
| 909 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VO_MIN (0x0) |
| 910 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VO_MAX (0xFFFFFFFF) |
| 911 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VO_DEFAULT (0x5B8D80) |
| 912 | |
| 913 | #define CFG_QOS_WMM_INFRA_SBA_AC_VO_NAME "InfraSbaAcVo" |
| 914 | #define CFG_QOS_WMM_INFRA_SBA_AC_VO_MIN (0x2001) |
| 915 | #define CFG_QOS_WMM_INFRA_SBA_AC_VO_MAX (0xFFFF) |
| 916 | #define CFG_QOS_WMM_INFRA_SBA_AC_VO_DEFAULT (0x2001) |
| 917 | |
| 918 | /* default TSPEC parameters for AC_VI */ |
| 919 | #define CFG_QOS_WMM_INFRA_DIR_AC_VI_NAME "InfraDirAcVi" |
| 920 | #define CFG_QOS_WMM_INFRA_DIR_AC_VI_MIN (0) |
| 921 | #define CFG_QOS_WMM_INFRA_DIR_AC_VI_MAX (3) |
| 922 | #define CFG_QOS_WMM_INFRA_DIR_AC_VI_DEFAULT (3) //WLAN_QCT_CUST_WMM_TSDIR_BOTH |
| 923 | |
| 924 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VI_NAME "InfraNomMsduSizeAcVi" |
| 925 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VI_MIN (0x0) |
| 926 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VI_MAX (0xFFFF) |
| 927 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VI_DEFAULT (0x85DC) |
| 928 | |
| 929 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VI_NAME "InfraMeanDataRateAcVi" |
| 930 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VI_MIN (0x0) |
| 931 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VI_MAX (0xFFFFFFFF) |
| 932 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VI_DEFAULT (0x57E40) |
| 933 | |
| 934 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VI_NAME "InfraMinPhyRateAcVi" |
| 935 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VI_MIN (0x0) |
| 936 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VI_MAX (0xFFFFFFFF) |
| 937 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VI_DEFAULT (0x5B8D80) |
| 938 | |
| 939 | #define CFG_QOS_WMM_INFRA_SBA_AC_VI_NAME "InfraSbaAcVi" |
| 940 | #define CFG_QOS_WMM_INFRA_SBA_AC_VI_MIN (0x2001) |
| 941 | #define CFG_QOS_WMM_INFRA_SBA_AC_VI_MAX (0xFFFF) |
| 942 | #define CFG_QOS_WMM_INFRA_SBA_AC_VI_DEFAULT (0x2001) |
| 943 | |
| 944 | /* default TSPEC parameters for AC_BE*/ |
| 945 | #define CFG_QOS_WMM_INFRA_DIR_AC_BE_NAME "InfraDirAcBe" |
| 946 | #define CFG_QOS_WMM_INFRA_DIR_AC_BE_MIN (0) |
| 947 | #define CFG_QOS_WMM_INFRA_DIR_AC_BE_MAX (3) |
| 948 | #define CFG_QOS_WMM_INFRA_DIR_AC_BE_DEFAULT (3) //WLAN_QCT_CUST_WMM_TSDIR_BOTH |
| 949 | |
| 950 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BE_NAME "InfraNomMsduSizeAcBe" |
| 951 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BE_MIN (0x0) |
| 952 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BE_MAX (0xFFFF) |
| 953 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BE_DEFAULT (0x85DC) |
| 954 | |
| 955 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BE_NAME "InfraMeanDataRateAcBe" |
| 956 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BE_MIN (0x0) |
| 957 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BE_MAX (0xFFFFFFFF) |
| 958 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BE_DEFAULT (0x493E0) |
| 959 | |
| 960 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BE_NAME "InfraMinPhyRateAcBe" |
| 961 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BE_MIN (0x0) |
| 962 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BE_MAX (0xFFFFFFFF) |
| 963 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BE_DEFAULT (0x5B8D80) |
| 964 | |
| 965 | #define CFG_QOS_WMM_INFRA_SBA_AC_BE_NAME "InfraSbaAcBe" |
| 966 | #define CFG_QOS_WMM_INFRA_SBA_AC_BE_MIN (0x2001) |
| 967 | #define CFG_QOS_WMM_INFRA_SBA_AC_BE_MAX (0xFFFF) |
| 968 | #define CFG_QOS_WMM_INFRA_SBA_AC_BE_DEFAULT (0x2001) |
| 969 | |
| 970 | /* default TSPEC parameters for AC_Bk*/ |
| 971 | #define CFG_QOS_WMM_INFRA_DIR_AC_BK_NAME "InfraDirAcBk" |
| 972 | #define CFG_QOS_WMM_INFRA_DIR_AC_BK_MIN (0) |
| 973 | #define CFG_QOS_WMM_INFRA_DIR_AC_BK_MAX (3) |
| 974 | #define CFG_QOS_WMM_INFRA_DIR_AC_BK_DEFAULT (3) //WLAN_QCT_CUST_WMM_TSDIR_BOTH |
| 975 | |
| 976 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BK_NAME "InfraNomMsduSizeAcBk" |
| 977 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BK_MIN (0x0) |
| 978 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BK_MAX (0xFFFF) |
| 979 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BK_DEFAULT (0x85DC) |
| 980 | |
| 981 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BK_NAME "InfraMeanDataRateAcBk" |
| 982 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BK_MIN (0x0) |
| 983 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BK_MAX (0xFFFFFFFF) |
| 984 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BK_DEFAULT (0x493E0) |
| 985 | |
| 986 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BK_NAME "InfraMinPhyRateAcBk" |
| 987 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BK_MIN (0x0) |
| 988 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BK_MAX (0xFFFFFFFF) |
| 989 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BK_DEFAULT (0x5B8D80) |
| 990 | |
| 991 | #define CFG_QOS_WMM_INFRA_SBA_AC_BK_NAME "InfraSbaAcBk" |
| 992 | #define CFG_QOS_WMM_INFRA_SBA_AC_BK_MIN (0x2001) |
| 993 | #define CFG_QOS_WMM_INFRA_SBA_AC_BK_MAX (0xFFFF) |
| 994 | #define CFG_QOS_WMM_INFRA_SBA_AC_BK_DEFAULT (0x2001) |
| 995 | |
| 996 | // TL configuration |
| 997 | #define CFG_TL_WFQ_BK_WEIGHT_NAME "WfqBkWeight" |
| 998 | #define CFG_TL_WFQ_BK_WEIGHT_MIN 1 |
| 999 | #define CFG_TL_WFQ_BK_WEIGHT_MAX 0xFF |
| 1000 | #define CFG_TL_WFQ_BK_WEIGHT_DEFAULT 1 |
| 1001 | |
| 1002 | #define CFG_TL_WFQ_BE_WEIGHT_NAME "WfqBeWeight" |
| 1003 | #define CFG_TL_WFQ_BE_WEIGHT_MIN 1 |
| 1004 | #define CFG_TL_WFQ_BE_WEIGHT_MAX 0xFF |
| 1005 | #define CFG_TL_WFQ_BE_WEIGHT_DEFAULT 3 |
| 1006 | |
| 1007 | #define CFG_TL_WFQ_VI_WEIGHT_NAME "WfqViWeight" |
| 1008 | #define CFG_TL_WFQ_VI_WEIGHT_MIN 1 |
| 1009 | #define CFG_TL_WFQ_VI_WEIGHT_MAX 0xFF |
| 1010 | #define CFG_TL_WFQ_VI_WEIGHT_DEFAULT 5 |
| 1011 | |
| 1012 | #define CFG_TL_WFQ_VO_WEIGHT_NAME "WfqVoWeight" |
| 1013 | #define CFG_TL_WFQ_VO_WEIGHT_MIN 1 |
| 1014 | #define CFG_TL_WFQ_VO_WEIGHT_MAX 0xFF |
| 1015 | #define CFG_TL_WFQ_VO_WEIGHT_DEFAULT 7 |
| 1016 | |
| 1017 | #define CFG_TL_DELAYED_TRGR_FRM_INT_NAME "DelayedTriggerFrmInt" |
| 1018 | #define CFG_TL_DELAYED_TRGR_FRM_INT_MIN 1 |
| 1019 | #define CFG_TL_DELAYED_TRGR_FRM_INT_MAX (4294967295UL) |
| 1020 | #define CFG_TL_DELAYED_TRGR_FRM_INT_DEFAULT 3000 |
| 1021 | |
Dhanashri Atre | d8c20a3 | 2014-01-03 17:20:55 -0800 | [diff] [blame] | 1022 | #define CFG_REORDER_TIME_BK_NAME "BkReorderTime" |
| 1023 | #define CFG_REORDER_TIME_BK_MIN 30 |
| 1024 | #define CFG_REORDER_TIME_BK_MAX 1000 |
Dhanashri Atre | 0626a8b | 2014-02-13 15:22:14 -0800 | [diff] [blame] | 1025 | #define CFG_REORDER_TIME_BK_DEFAULT 100 |
Dhanashri Atre | d8c20a3 | 2014-01-03 17:20:55 -0800 | [diff] [blame] | 1026 | |
| 1027 | #define CFG_REORDER_TIME_BE_NAME "BeReorderTime" |
| 1028 | #define CFG_REORDER_TIME_BE_MIN 30 |
| 1029 | #define CFG_REORDER_TIME_BE_MAX 1000 |
Dhanashri Atre | 0626a8b | 2014-02-13 15:22:14 -0800 | [diff] [blame] | 1030 | #define CFG_REORDER_TIME_BE_DEFAULT 100 |
Dhanashri Atre | d8c20a3 | 2014-01-03 17:20:55 -0800 | [diff] [blame] | 1031 | |
| 1032 | #define CFG_REORDER_TIME_VI_NAME "ViReorderTime" |
| 1033 | #define CFG_REORDER_TIME_VI_MIN 30 |
| 1034 | #define CFG_REORDER_TIME_VI_MAX 1000 |
Dhanashri Atre | 0626a8b | 2014-02-13 15:22:14 -0800 | [diff] [blame] | 1035 | #define CFG_REORDER_TIME_VI_DEFAULT 100 |
Dhanashri Atre | d8c20a3 | 2014-01-03 17:20:55 -0800 | [diff] [blame] | 1036 | |
| 1037 | #define CFG_REORDER_TIME_VO_NAME "VoReorderTime" |
| 1038 | #define CFG_REORDER_TIME_VO_MIN 30 |
| 1039 | #define CFG_REORDER_TIME_VO_MAX 1000 |
| 1040 | #define CFG_REORDER_TIME_VO_DEFAULT 40 |
| 1041 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1042 | #if defined WLAN_FEATURE_VOWIFI |
| 1043 | #define CFG_RRM_ENABLE_NAME "gRrmEnable" |
| 1044 | #define CFG_RRM_ENABLE_MIN (0) |
| 1045 | #define CFG_RRM_ENABLE_MAX (1) |
| 1046 | #define CFG_RRM_ENABLE_DEFAULT (0) |
| 1047 | |
| 1048 | #define CFG_RRM_OPERATING_CHAN_MAX_DURATION_NAME "gRrmOperChanMax" //section 11.10.3 IEEE std. 802.11k-2008 |
| 1049 | #define CFG_RRM_OPERATING_CHAN_MAX_DURATION_MIN (0) //Maxduration = 2^(maxDuration - 4) * bcnIntvl. |
| 1050 | #define CFG_RRM_OPERATING_CHAN_MAX_DURATION_MAX (8) |
| 1051 | #define CFG_RRM_OPERATING_CHAN_MAX_DURATION_DEFAULT (3) //max duration = 2^-1 * bcnIntvl (50% of bcn intvl) |
| 1052 | |
| 1053 | #define CFG_RRM_NON_OPERATING_CHAN_MAX_DURATION_NAME "gRrmNonOperChanMax" //Same as above. |
| 1054 | #define CFG_RRM_NON_OPERATING_CHAN_MAX_DURATION_MIN (0) |
| 1055 | #define CFG_RRM_NON_OPERATING_CHAN_MAX_DURATION_MAX (8) |
| 1056 | #define CFG_RRM_NON_OPERATING_CHAN_MAX_DURATION_DEFAULT (3) |
| 1057 | |
| 1058 | #define CFG_RRM_MEAS_RANDOMIZATION_INTVL_NAME "gRrmRandnIntvl" |
| 1059 | #define CFG_RRM_MEAS_RANDOMIZATION_INTVL_MIN (10) |
| 1060 | #define CFG_RRM_MEAS_RANDOMIZATION_INTVL_MAX (100) |
| 1061 | #define CFG_RRM_MEAS_RANDOMIZATION_INTVL_DEFAULT (100) |
| 1062 | #endif |
| 1063 | |
| 1064 | #define CFG_QOS_IMPLICIT_SETUP_ENABLED_NAME "ImplicitQosIsEnabled" |
| 1065 | #define CFG_QOS_IMPLICIT_SETUP_ENABLED_MIN (0) |
| 1066 | #define CFG_QOS_IMPLICIT_SETUP_ENABLED_MAX (1) |
| 1067 | #define CFG_QOS_IMPLICIT_SETUP_ENABLED_DEFAULT (1) |
| 1068 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1069 | #define CFG_ENABLE_LOGP_NAME "gEnableLogp" |
| 1070 | #define CFG_ENABLE_LOGP_MIN ( 0 ) |
| 1071 | #define CFG_ENABLE_LOGP_MAX ( 1 ) |
| 1072 | #define CFG_ENABLE_LOGP_DEFAULT ( 0 ) |
| 1073 | |
| 1074 | #define CFG_BTC_EXECUTION_MODE_NAME "BtcExecutionMode" |
| 1075 | #define CFG_BTC_EXECUTION_MODE_MIN ( 0 ) |
| 1076 | #define CFG_BTC_EXECUTION_MODE_MAX ( 5 ) |
| 1077 | #define CFG_BTC_EXECUTION_MODE_DEFAULT ( 0 ) |
| 1078 | |
| 1079 | #define CFG_BTC_DHCP_PROTECTION_NAME "BtcConsBtSlotToBlockDuringDhcp" |
| 1080 | #define CFG_BTC_DHCP_PROTECTION_MIN ( 0 ) |
| 1081 | #define CFG_BTC_DHCP_PROTECTION_MAX ( 0xFF ) |
| 1082 | #define CFG_BTC_DHCP_PROTECTION_DEFAULT ( 0 ) |
| 1083 | |
| 1084 | #define CFG_BTC_A2DP_DHCP_PROTECTION_NAME "BtcA2DPDhcpProtectLevel" |
| 1085 | #define CFG_BTC_A2DP_DHCP_PROTECTION_MIN ( 0 ) |
| 1086 | #define CFG_BTC_A2DP_DHCP_PROTECTION_MAX ( 0xFF ) |
| 1087 | #define CFG_BTC_A2DP_DHCP_PROTECTION_DEFAULT ( 7 ) |
| 1088 | |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame] | 1089 | #define CFG_BTC_STATIC_LEN_INQ_BT_NAME "btcStaticLenInqBt" |
| 1090 | #define CFG_BTC_STATIC_LEN_INQ_BT_MIN ( 5000 ) |
| 1091 | #define CFG_BTC_STATIC_LEN_INQ_BT_MAX ( 500000 ) |
| 1092 | #define CFG_BTC_STATIC_LEN_INQ_BT_DEFAULT ( 120000 ) |
| 1093 | |
| 1094 | #define CFG_BTC_STATIC_LEN_PAGE_BT_NAME "btcStaticLenPageBt" |
| 1095 | #define CFG_BTC_STATIC_LEN_PAGE_BT_MIN ( 5000 ) |
| 1096 | #define CFG_BTC_STATIC_LEN_PAGE_BT_MAX ( 500000 ) |
Sundaresan Ramachandran | 1298360 | 2013-07-05 15:17:25 +0530 | [diff] [blame] | 1097 | #define CFG_BTC_STATIC_LEN_PAGE_BT_DEFAULT ( 120000 ) |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame] | 1098 | |
| 1099 | #define CFG_BTC_STATIC_LEN_CONN_BT_NAME "btcStaticLenConnBt" |
| 1100 | #define CFG_BTC_STATIC_LEN_CONN_BT_MIN ( 5000 ) |
| 1101 | #define CFG_BTC_STATIC_LEN_CONN_BT_MAX ( 500000 ) |
Sundaresan Ramachandran | 1298360 | 2013-07-05 15:17:25 +0530 | [diff] [blame] | 1102 | #define CFG_BTC_STATIC_LEN_CONN_BT_DEFAULT ( 120000 ) |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame] | 1103 | |
| 1104 | #define CFG_BTC_STATIC_LEN_LE_BT_NAME "btcStaticLenLeBt" |
| 1105 | #define CFG_BTC_STATIC_LEN_LE_BT_MIN ( 5000 ) |
| 1106 | #define CFG_BTC_STATIC_LEN_LE_BT_MAX ( 500000 ) |
Sundaresan Ramachandran | 1298360 | 2013-07-05 15:17:25 +0530 | [diff] [blame] | 1107 | #define CFG_BTC_STATIC_LEN_LE_BT_DEFAULT ( 120000 ) |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame] | 1108 | |
| 1109 | #define CFG_BTC_STATIC_LEN_INQ_WLAN_NAME "btcStaticLenInqWlan" |
| 1110 | #define CFG_BTC_STATIC_LEN_INQ_WLAN_MIN ( 0 ) |
| 1111 | #define CFG_BTC_STATIC_LEN_INQ_WLAN_MAX ( 500000 ) |
| 1112 | #define CFG_BTC_STATIC_LEN_INQ_WLAN_DEFAULT ( 30000 ) |
| 1113 | |
| 1114 | #define CFG_BTC_STATIC_LEN_PAGE_WLAN_NAME "btcStaticLenPageWlan" |
| 1115 | #define CFG_BTC_STATIC_LEN_PAGE_WLAN_MIN ( 0 ) |
| 1116 | #define CFG_BTC_STATIC_LEN_PAGE_WLAN_MAX ( 500000 ) |
Sundaresan Ramachandran | 1298360 | 2013-07-05 15:17:25 +0530 | [diff] [blame] | 1117 | #define CFG_BTC_STATIC_LEN_PAGE_WLAN_DEFAULT ( 30000 ) |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame] | 1118 | |
| 1119 | #define CFG_BTC_STATIC_LEN_CONN_WLAN_NAME "btcStaticLenConnWlan" |
| 1120 | #define CFG_BTC_STATIC_LEN_CONN_WLAN_MIN ( 0 ) |
| 1121 | #define CFG_BTC_STATIC_LEN_CONN_WLAN_MAX ( 500000 ) |
Sundaresan Ramachandran | 1298360 | 2013-07-05 15:17:25 +0530 | [diff] [blame] | 1122 | #define CFG_BTC_STATIC_LEN_CONN_WLAN_DEFAULT ( 30000 ) |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame] | 1123 | |
| 1124 | #define CFG_BTC_STATIC_LEN_LE_WLAN_NAME "btcStaticLenLeWlan" |
| 1125 | #define CFG_BTC_STATIC_LEN_LE_WLAN_MIN ( 0 ) |
| 1126 | #define CFG_BTC_STATIC_LEN_LE_WLAN_MAX ( 500000 ) |
Sundaresan Ramachandran | 1298360 | 2013-07-05 15:17:25 +0530 | [diff] [blame] | 1127 | #define CFG_BTC_STATIC_LEN_LE_WLAN_DEFAULT ( 30000 ) |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame] | 1128 | |
| 1129 | #define CFG_BTC_DYN_MAX_LEN_BT_NAME "btcDynMaxLenBt" |
| 1130 | #define CFG_BTC_DYN_MAX_LEN_BT_MIN ( 25000 ) |
| 1131 | #define CFG_BTC_DYN_MAX_LEN_BT_MAX ( 500000 ) |
| 1132 | #define CFG_BTC_DYN_MAX_LEN_BT_DEFAULT ( 250000 ) |
| 1133 | |
| 1134 | #define CFG_BTC_DYN_MAX_LEN_WLAN_NAME "btcDynMaxLenWlan" |
| 1135 | #define CFG_BTC_DYN_MAX_LEN_WLAN_MIN ( 15000 ) |
| 1136 | #define CFG_BTC_DYN_MAX_LEN_WLAN_MAX ( 500000 ) |
| 1137 | #define CFG_BTC_DYN_MAX_LEN_WLAN_DEFAULT ( 45000 ) |
| 1138 | |
| 1139 | #define CFG_BTC_MAX_SCO_BLOCK_PERC_NAME "btcMaxScoBlockPerc" |
| 1140 | #define CFG_BTC_MAX_SCO_BLOCK_PERC_MIN ( 0 ) |
| 1141 | #define CFG_BTC_MAX_SCO_BLOCK_PERC_MAX ( 100 ) |
| 1142 | #define CFG_BTC_MAX_SCO_BLOCK_PERC_DEFAULT ( 1 ) |
| 1143 | |
| 1144 | #define CFG_BTC_DHCP_PROT_ON_A2DP_NAME "btcDhcpProtOnA2dp" |
| 1145 | #define CFG_BTC_DHCP_PROT_ON_A2DP_MIN ( 0 ) |
| 1146 | #define CFG_BTC_DHCP_PROT_ON_A2DP_MAX ( 1 ) |
| 1147 | #define CFG_BTC_DHCP_PROT_ON_A2DP_DEFAULT ( 1 ) |
| 1148 | |
| 1149 | #define CFG_BTC_DHCP_PROT_ON_SCO_NAME "btcDhcpProtOnSco" |
| 1150 | #define CFG_BTC_DHCP_PROT_ON_SCO_MIN ( 0 ) |
| 1151 | #define CFG_BTC_DHCP_PROT_ON_SCO_MAX ( 1 ) |
| 1152 | #define CFG_BTC_DHCP_PROT_ON_SCO_DEFAULT ( 0 ) |
| 1153 | |
Wilson Tsao | f8b3794 | 2013-09-06 10:49:00 -0700 | [diff] [blame] | 1154 | #define CFG_MWS_COEX_V1_WAN_FREQ_NAME "mwsCoexVictim1WANFreq" |
| 1155 | #define CFG_MWS_COEX_VX_WAN_FREQ_MIN ( 0 ) |
| 1156 | #define CFG_MWS_COEX_VX_WAN_FREQ_MAX ( 0xFFFFFFFF ) |
| 1157 | #define CFG_MWS_COEX_VX_WAN_FREQ_DEFAULT ( 0 ) |
| 1158 | |
| 1159 | #define CFG_MWS_COEX_V1_WLAN_FREQ_NAME "mwsCoexVictim1WLANFreq" |
| 1160 | #define CFG_MWS_COEX_VX_WLAN_FREQ_MIN ( 0 ) |
| 1161 | #define CFG_MWS_COEX_VX_WLAN_FREQ_MAX ( 0xFFFFFFFF ) |
| 1162 | #define CFG_MWS_COEX_VX_WLAN_FREQ_DEFAULT ( 0 ) |
| 1163 | |
| 1164 | #define CFG_MWS_COEX_V1_CONFIG_NAME "mwsCoexVictim1Config" |
| 1165 | #define CFG_MWS_COEX_V1_CONFIG2_NAME "mwsCoexVictim1Config2" |
| 1166 | #define CFG_MWS_COEX_VX_CONFIG_MIN ( 0 ) |
| 1167 | #define CFG_MWS_COEX_VX_CONFIG_MAX ( 0xFFFFFFFF ) |
| 1168 | #define CFG_MWS_COEX_VX_CONFIG_DEFAULT ( 0 ) |
| 1169 | |
| 1170 | #define CFG_MWS_COEX_V2_WAN_FREQ_NAME "mwsCoexVictim2WANFreq" |
| 1171 | #define CFG_MWS_COEX_V2_WLAN_FREQ_NAME "mwsCoexVictim2WLANFreq" |
| 1172 | #define CFG_MWS_COEX_V2_CONFIG_NAME "mwsCoexVictim2Config" |
| 1173 | #define CFG_MWS_COEX_V2_CONFIG2_NAME "mwsCoexVictim2Config2" |
| 1174 | #define CFG_MWS_COEX_V3_WAN_FREQ_NAME "mwsCoexVictim3WANFreq" |
| 1175 | #define CFG_MWS_COEX_V3_WLAN_FREQ_NAME "mwsCoexVictim3WLANFreq" |
| 1176 | #define CFG_MWS_COEX_V3_CONFIG_NAME "mwsCoexVictim3Config" |
| 1177 | #define CFG_MWS_COEX_V3_CONFIG2_NAME "mwsCoexVictim3Config2" |
| 1178 | #define CFG_MWS_COEX_V4_WAN_FREQ_NAME "mwsCoexVictim4WANFreq" |
| 1179 | #define CFG_MWS_COEX_V4_WLAN_FREQ_NAME "mwsCoexVictim4WLANFreq" |
| 1180 | #define CFG_MWS_COEX_V4_CONFIG_NAME "mwsCoexVictim4Config" |
| 1181 | #define CFG_MWS_COEX_V4_CONFIG2_NAME "mwsCoexVictim4Config2" |
| 1182 | #define CFG_MWS_COEX_V5_WAN_FREQ_NAME "mwsCoexVictim5WANFreq" |
| 1183 | #define CFG_MWS_COEX_V5_WLAN_FREQ_NAME "mwsCoexVictim5WLANFreq" |
| 1184 | #define CFG_MWS_COEX_V5_CONFIG_NAME "mwsCoexVictim5Config" |
| 1185 | #define CFG_MWS_COEX_V5_CONFIG2_NAME "mwsCoexVictim5Config2" |
| 1186 | #define CFG_MWS_COEX_V6_WAN_FREQ_NAME "mwsCoexVictim6WANFreq" |
| 1187 | #define CFG_MWS_COEX_V6_WLAN_FREQ_NAME "mwsCoexVictim6WLANFreq" |
| 1188 | #define CFG_MWS_COEX_V6_CONFIG_NAME "mwsCoexVictim6Config" |
| 1189 | #define CFG_MWS_COEX_V6_CONFIG2_NAME "mwsCoexVictim6Config2" |
| 1190 | #define CFG_MWS_COEX_V7_WAN_FREQ_NAME "mwsCoexVictim7WANFreq" |
| 1191 | #define CFG_MWS_COEX_V7_WLAN_FREQ_NAME "mwsCoexVictim7WLANFreq" |
| 1192 | #define CFG_MWS_COEX_V7_CONFIG_NAME "mwsCoexVictim7Config" |
| 1193 | #define CFG_MWS_COEX_V7_CONFIG2_NAME "mwsCoexVictim7Config2" |
| 1194 | #define CFG_MWS_COEX_V8_WAN_FREQ_NAME "mwsCoexVictim8WANFreq" |
| 1195 | #define CFG_MWS_COEX_V8_WLAN_FREQ_NAME "mwsCoexVictim8WLANFreq" |
| 1196 | #define CFG_MWS_COEX_V8_CONFIG_NAME "mwsCoexVictim8Config" |
| 1197 | #define CFG_MWS_COEX_V8_CONFIG2_NAME "mwsCoexVictim8Config2" |
| 1198 | #define CFG_MWS_COEX_V9_WAN_FREQ_NAME "mwsCoexVictim9WANFreq" |
| 1199 | #define CFG_MWS_COEX_V9_WLAN_FREQ_NAME "mwsCoexVictim9WLANFreq" |
| 1200 | #define CFG_MWS_COEX_V9_CONFIG_NAME "mwsCoexVictim9Config" |
| 1201 | #define CFG_MWS_COEX_V9_CONFIG2_NAME "mwsCoexVictim9Config2" |
| 1202 | #define CFG_MWS_COEX_V10_WAN_FREQ_NAME "mwsCoexVictim10WANFreq" |
| 1203 | #define CFG_MWS_COEX_V10_WLAN_FREQ_NAME "mwsCoexVictim10WLANFreq" |
| 1204 | #define CFG_MWS_COEX_V10_CONFIG_NAME "mwsCoexVictim10Config" |
| 1205 | #define CFG_MWS_COEX_V10_CONFIG2_NAME "mwsCoexVictim10Config2" |
| 1206 | |
| 1207 | #define CFG_MWS_COEX_MODEM_BACKOFF_NAME "mwsCoexModemBackoff" |
| 1208 | #define CFG_MWS_COEX_MODEM_BACKOFF_MIN ( 0 ) |
| 1209 | #define CFG_MWS_COEX_MODEM_BACKOFF_MAX ( 0xFFFFFFFF ) |
| 1210 | #define CFG_MWS_COEX_MODEM_BACKOFF_DEFAULT ( 0 ) |
| 1211 | |
| 1212 | #define CFG_MWS_COEX_CONFIG1_NAME "mwsCoexConfig1" |
| 1213 | #define CFG_MWS_COEX_CONFIGX_MIN ( 0 ) |
| 1214 | #define CFG_MWS_COEX_CONFIGX_MAX ( 0xFFFFFFFF ) |
| 1215 | #define CFG_MWS_COEX_CONFIGX_DEFAULT ( 0 ) |
| 1216 | #define CFG_MWS_COEX_CONFIG2_NAME "mwsCoexConfig2" |
| 1217 | #define CFG_MWS_COEX_CONFIG3_NAME "mwsCoexConfig3" |
| 1218 | #define CFG_MWS_COEX_CONFIG4_NAME "mwsCoexConfig4" |
| 1219 | #define CFG_MWS_COEX_CONFIG5_NAME "mwsCoexConfig5" |
| 1220 | #define CFG_MWS_COEX_CONFIG6_NAME "mwsCoexConfig6" |
| 1221 | |
| 1222 | #define CFG_SAR_POWER_BACKOFF_NAME "SARPowerBackoff" |
| 1223 | #define CFG_SAR_POWER_BACKOFF_MIN ( 0 ) |
| 1224 | #define CFG_SAR_POWER_BACKOFF_MAX ( 0xFFFFFFFF ) |
Agarwal Ashish | 7b6e297 | 2014-07-09 17:18:30 +0530 | [diff] [blame] | 1225 | #define CFG_SAR_POWER_BACKOFF_DEFAULT ( 13 ) |
Wilson Tsao | f8b3794 | 2013-09-06 10:49:00 -0700 | [diff] [blame] | 1226 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1227 | #if defined WLAN_FEATURE_VOWIFI_11R |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1228 | #define CFG_FT_RESOURCE_REQ_NAME "gFTResourceReqSupported" |
| 1229 | #define CFG_FT_RESOURCE_REQ_MIN (0) |
| 1230 | #define CFG_FT_RESOURCE_REQ_MAX (1) |
| 1231 | #define CFG_FT_RESOURCE_REQ_DEFAULT (0) |
| 1232 | #endif |
| 1233 | |
| 1234 | #define CFG_TELE_BCN_TRANS_LI_NAME "telescopicBeaconTransListenInterval" |
| 1235 | #define CFG_TELE_BCN_TRANS_LI_MIN ( 0 ) |
| 1236 | #define CFG_TELE_BCN_TRANS_LI_MAX ( 7 ) |
| 1237 | #define CFG_TELE_BCN_TRANS_LI_DEFAULT ( 3 ) |
| 1238 | |
| 1239 | #define CFG_TELE_BCN_TRANS_LI_NUM_IDLE_BCNS_NAME "telescopicBeaconTransListenIntervalNumIdleBcns" |
| 1240 | #define CFG_TELE_BCN_TRANS_LI_NUM_IDLE_BCNS_MIN ( 5 ) |
| 1241 | #define CFG_TELE_BCN_TRANS_LI_NUM_IDLE_BCNS_MAX ( 255 ) |
| 1242 | #define CFG_TELE_BCN_TRANS_LI_NUM_IDLE_BCNS_DEFAULT ( 10 ) |
| 1243 | |
| 1244 | #define CFG_TELE_BCN_MAX_LI_NAME "telescopicBeaconMaxListenInterval" |
| 1245 | #define CFG_TELE_BCN_MAX_LI_MIN ( 0 ) |
| 1246 | #define CFG_TELE_BCN_MAX_LI_MAX ( 7 ) |
| 1247 | #define CFG_TELE_BCN_MAX_LI_DEFAULT ( 5 ) |
| 1248 | |
| 1249 | #define CFG_TELE_BCN_MAX_LI_NUM_IDLE_BCNS_NAME "telescopicBeaconMaxListenIntervalNumIdleBcns" |
| 1250 | #define CFG_TELE_BCN_MAX_LI_NUM_IDLE_BCNS_MIN ( 5 ) |
| 1251 | #define CFG_TELE_BCN_MAX_LI_NUM_IDLE_BCNS_MAX ( 255 ) |
| 1252 | #define CFG_TELE_BCN_MAX_LI_NUM_IDLE_BCNS_DEFAULT ( 15 ) |
| 1253 | |
| 1254 | #define CFG_BCN_EARLY_TERM_WAKE_NAME "beaconEarlyTerminationWakeInterval" |
| 1255 | #define CFG_BCN_EARLY_TERM_WAKE_MIN ( 2 ) |
| 1256 | #define CFG_BCN_EARLY_TERM_WAKE_MAX ( 255 ) |
| 1257 | #define CFG_BCN_EARLY_TERM_WAKE_DEFAULT ( 3 ) |
| 1258 | |
Girish Gowli | bf0e1ab | 2015-01-19 16:05:16 +0530 | [diff] [blame] | 1259 | #define CFG_ENABLE_ROAM_DELAY_STATS "gEnableRoamDelayStats" |
| 1260 | #define CFG_ENABLE_ROAM_DELAY_STATS_MIN ( 0 ) |
| 1261 | #define CFG_ENABLE_ROAM_DELAY_STATS_MAX ( 1 ) |
| 1262 | #define CFG_ENABLE_ROAM_DELAY_STATS_DEFAULT ( 0 ) |
Girish Gowli | bf0e1ab | 2015-01-19 16:05:16 +0530 | [diff] [blame] | 1263 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1264 | #ifdef WLAN_FEATURE_NEIGHBOR_ROAMING |
| 1265 | #define CFG_NEIGHBOR_SCAN_TIMER_PERIOD_NAME "gNeighborScanTimerPeriod" |
Varun Reddy Yeturu | ce114f7 | 2013-06-05 14:09:58 -0700 | [diff] [blame] | 1266 | #define CFG_NEIGHBOR_SCAN_TIMER_PERIOD_MIN (3) |
| 1267 | #define CFG_NEIGHBOR_SCAN_TIMER_PERIOD_MAX (300) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1268 | #define CFG_NEIGHBOR_SCAN_TIMER_PERIOD_DEFAULT (200) |
| 1269 | |
| 1270 | #define CFG_NEIGHBOR_REASSOC_RSSI_THRESHOLD_NAME "gNeighborReassocThreshold" |
| 1271 | #define CFG_NEIGHBOR_REASSOC_RSSI_THRESHOLD_MIN (10) |
| 1272 | #define CFG_NEIGHBOR_REASSOC_RSSI_THRESHOLD_MAX (125) |
Srinivas Girigowda | d42dfce | 2013-06-19 17:33:50 -0700 | [diff] [blame] | 1273 | #define CFG_NEIGHBOR_REASSOC_RSSI_THRESHOLD_DEFAULT (83) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1274 | |
| 1275 | #define CFG_NEIGHBOR_LOOKUP_RSSI_THRESHOLD_NAME "gNeighborLookupThreshold" |
Varun Reddy Yeturu | 6c5e25c | 2014-01-09 21:55:37 -0800 | [diff] [blame] | 1276 | #define CFG_NEIGHBOR_LOOKUP_RSSI_THRESHOLD_MIN (0) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1277 | #define CFG_NEIGHBOR_LOOKUP_RSSI_THRESHOLD_MAX (120) |
Varun Reddy Yeturu | 6c5e25c | 2014-01-09 21:55:37 -0800 | [diff] [blame] | 1278 | #define CFG_NEIGHBOR_LOOKUP_RSSI_THRESHOLD_DEFAULT (0) /*A Zero value indicates the host to calculate |
| 1279 | Adaptive thresold based on the minimum |
| 1280 | supported data rate.*/ |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1281 | |
| 1282 | #define CFG_NEIGHBOR_SCAN_CHAN_LIST_NAME "gNeighborScanChannelList" |
Madan Mohan Koyyalamudi | 470d2cf | 2012-09-28 14:43:44 -0700 | [diff] [blame] | 1283 | #define CFG_NEIGHBOR_SCAN_CHAN_LIST_DEFAULT "" |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1284 | |
| 1285 | #define CFG_NEIGHBOR_SCAN_MIN_CHAN_TIME_NAME "gNeighborScanChannelMinTime" |
| 1286 | #define CFG_NEIGHBOR_SCAN_MIN_CHAN_TIME_MIN (10) |
| 1287 | #define CFG_NEIGHBOR_SCAN_MIN_CHAN_TIME_MAX (40) |
| 1288 | #define CFG_NEIGHBOR_SCAN_MIN_CHAN_TIME_DEFAULT (20) |
| 1289 | |
| 1290 | #define CFG_NEIGHBOR_SCAN_MAX_CHAN_TIME_NAME "gNeighborScanChannelMaxTime" |
Varun Reddy Yeturu | ce114f7 | 2013-06-05 14:09:58 -0700 | [diff] [blame] | 1291 | #define CFG_NEIGHBOR_SCAN_MAX_CHAN_TIME_MIN (3) |
| 1292 | #define CFG_NEIGHBOR_SCAN_MAX_CHAN_TIME_MAX (300) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1293 | #define CFG_NEIGHBOR_SCAN_MAX_CHAN_TIME_DEFAULT (30) |
| 1294 | |
| 1295 | #define CFG_11R_NEIGHBOR_REQ_MAX_TRIES_NAME "gMaxNeighborReqTries" |
| 1296 | #define CFG_11R_NEIGHBOR_REQ_MAX_TRIES_MIN (1) |
| 1297 | #define CFG_11R_NEIGHBOR_REQ_MAX_TRIES_MAX (4) |
Srinivas Girigowda | d42dfce | 2013-06-19 17:33:50 -0700 | [diff] [blame] | 1298 | #define CFG_11R_NEIGHBOR_REQ_MAX_TRIES_DEFAULT (3) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1299 | |
| 1300 | |
| 1301 | #define CFG_NEIGHBOR_SCAN_RESULTS_REFRESH_PERIOD_NAME "gNeighborScanRefreshPeriod" |
| 1302 | #define CFG_NEIGHBOR_SCAN_RESULTS_REFRESH_PERIOD_MIN (1000) |
| 1303 | #define CFG_NEIGHBOR_SCAN_RESULTS_REFRESH_PERIOD_MAX (60000) |
| 1304 | #define CFG_NEIGHBOR_SCAN_RESULTS_REFRESH_PERIOD_DEFAULT (20000) |
Srinivas Girigowda | de69741 | 2013-02-14 16:31:48 -0800 | [diff] [blame] | 1305 | |
| 1306 | #define CFG_EMPTY_SCAN_REFRESH_PERIOD_NAME "gEmptyScanRefreshPeriod" |
Srinivas Girigowda | b8edd1e | 2013-03-19 11:42:08 -0700 | [diff] [blame] | 1307 | #define CFG_EMPTY_SCAN_REFRESH_PERIOD_MIN (0) |
Srinivas Girigowda | de69741 | 2013-02-14 16:31:48 -0800 | [diff] [blame] | 1308 | #define CFG_EMPTY_SCAN_REFRESH_PERIOD_MAX (60000) |
| 1309 | #define CFG_EMPTY_SCAN_REFRESH_PERIOD_DEFAULT (0) |
Mukul Sharma | 20aa658 | 2014-08-07 21:36:12 +0530 | [diff] [blame] | 1310 | |
| 1311 | #define CFG_NEIGHBOR_INITIAL_FORCED_ROAM_TO_5GH_ENABLE_NAME "gNeighborInitialForcedRoamTo5GhEnable" |
| 1312 | #define CFG_NEIGHBOR_INITIAL_FORCED_ROAM_TO_5GH_ENABLE_MIN (0) |
| 1313 | #define CFG_NEIGHBOR_INITIAL_FORCED_ROAM_TO_5GH_ENABLE_MAX (1) |
| 1314 | #define CFG_NEIGHBOR_INITIAL_FORCED_ROAM_TO_5GH_ENABLE_DEFAULT (0) |
| 1315 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1316 | #endif /* WLAN_FEATURE_NEIGHBOR_ROAMING */ |
| 1317 | |
| 1318 | #define CFG_QOS_WMM_BURST_SIZE_DEFN_NAME "burstSizeDefinition" |
| 1319 | #define CFG_QOS_WMM_BURST_SIZE_DEFN_MIN (0) |
| 1320 | #define CFG_QOS_WMM_BURST_SIZE_DEFN_MAX (1) |
| 1321 | #define CFG_QOS_WMM_BURST_SIZE_DEFN_DEFAULT (0) |
| 1322 | |
| 1323 | #define CFG_QOS_WMM_TS_INFO_ACK_POLICY_NAME "tsInfoAckPolicy" |
| 1324 | #define CFG_QOS_WMM_TS_INFO_ACK_POLICY_MIN (0x00) |
| 1325 | #define CFG_QOS_WMM_TS_INFO_ACK_POLICY_MAX (0x01) |
| 1326 | #define CFG_QOS_WMM_TS_INFO_ACK_POLICY_DEFAULT (0x00) |
| 1327 | |
| 1328 | #define CFG_SINGLE_TID_RC_NAME "SingleTIDRC" |
| 1329 | #define CFG_SINGLE_TID_RC_MIN (0) // Seperate replay counter for all TID |
| 1330 | #define CFG_SINGLE_TID_RC_MAX (1) // Single replay counter for all TID |
| 1331 | #define CFG_SINGLE_TID_RC_DEFAULT (1) |
| 1332 | #define CFG_MCAST_BCAST_FILTER_SETTING_NAME "McastBcastFilter" |
| 1333 | #define CFG_MCAST_BCAST_FILTER_SETTING_MIN (0) |
| 1334 | #define CFG_MCAST_BCAST_FILTER_SETTING_MAX (3) |
| 1335 | #define CFG_MCAST_BCAST_FILTER_SETTING_DEFAULT (0) |
| 1336 | |
| 1337 | #define CFG_DYNAMIC_PSPOLL_VALUE_NAME "gDynamicPSPollvalue" |
| 1338 | #define CFG_DYNAMIC_PSPOLL_VALUE_MIN (0) |
| 1339 | #define CFG_DYNAMIC_PSPOLL_VALUE_MAX (255) |
| 1340 | #define CFG_DYNAMIC_PSPOLL_VALUE_DEFAULT (0) |
| 1341 | |
| 1342 | #define CFG_TELE_BCN_WAKEUP_EN_NAME "gTelescopicBeaconWakeupEn" |
| 1343 | #define CFG_TELE_BCN_WAKEUP_EN_MIN (0) |
| 1344 | #define CFG_TELE_BCN_WAKEUP_EN_MAX (1) |
| 1345 | #define CFG_TELE_BCN_WAKEUP_EN_DEFAULT (0) |
| 1346 | |
| 1347 | #define CFG_QOS_ADDTS_WHEN_ACM_IS_OFF_NAME "gAddTSWhenACMIsOff" |
| 1348 | #define CFG_QOS_ADDTS_WHEN_ACM_IS_OFF_MIN (0) |
| 1349 | #define CFG_QOS_ADDTS_WHEN_ACM_IS_OFF_MAX (1) //Send AddTs even when ACM is not set for the AC |
| 1350 | #define CFG_QOS_ADDTS_WHEN_ACM_IS_OFF_DEFAULT (0) |
| 1351 | |
| 1352 | |
| 1353 | #define CFG_VALIDATE_SCAN_LIST_NAME "gValidateScanList" |
| 1354 | #define CFG_VALIDATE_SCAN_LIST_MIN (0) |
| 1355 | #define CFG_VALIDATE_SCAN_LIST_MAX (1) |
| 1356 | #define CFG_VALIDATE_SCAN_LIST_DEFAULT (0) |
| 1357 | |
| 1358 | #define CFG_NULLDATA_AP_RESP_TIMEOUT_NAME "gNullDataApRespTimeout" |
| 1359 | #define CFG_NULLDATA_AP_RESP_TIMEOUT_MIN ( WNI_CFG_PS_NULLDATA_AP_RESP_TIMEOUT_STAMIN ) |
| 1360 | #define CFG_NULLDATA_AP_RESP_TIMEOUT_MAX ( WNI_CFG_PS_NULLDATA_AP_RESP_TIMEOUT_STAMAX ) |
| 1361 | #define CFG_NULLDATA_AP_RESP_TIMEOUT_DEFAULT ( WNI_CFG_PS_NULLDATA_AP_RESP_TIMEOUT_STADEF ) |
| 1362 | |
| 1363 | #define CFG_AP_DATA_AVAIL_POLL_PERIOD_NAME "gApDataAvailPollInterval" |
| 1364 | #define CFG_AP_DATA_AVAIL_POLL_PERIOD_MIN ( WNI_CFG_AP_DATA_AVAIL_POLL_PERIOD_STAMIN ) |
| 1365 | #define CFG_AP_DATA_AVAIL_POLL_PERIOD_MAX ( WNI_CFG_AP_DATA_AVAIL_POLL_PERIOD_STAMAX ) |
| 1366 | #define CFG_AP_DATA_AVAIL_POLL_PERIOD_DEFAULT ( WNI_CFG_AP_DATA_AVAIL_POLL_PERIOD_STADEF ) |
| 1367 | |
| 1368 | #define CFG_ENABLE_HOST_ARPOFFLOAD_NAME "hostArpOffload" |
| 1369 | #define CFG_ENABLE_HOST_ARPOFFLOAD_MIN ( 0 ) |
| 1370 | #define CFG_ENABLE_HOST_ARPOFFLOAD_MAX ( 1 ) |
| 1371 | #define CFG_ENABLE_HOST_ARPOFFLOAD_DEFAULT ( 0 ) |
| 1372 | |
Gopichand Nakkala | 746a945 | 2013-06-11 12:45:54 +0530 | [diff] [blame] | 1373 | #define CFG_ENABLE_HOST_NSOFFLOAD_NAME "hostNSOffload" |
| 1374 | #define CFG_ENABLE_HOST_NSOFFLOAD_MIN ( 0 ) |
| 1375 | #define CFG_ENABLE_HOST_NSOFFLOAD_MAX ( 1 ) |
| 1376 | #define CFG_ENABLE_HOST_NSOFFLOAD_DEFAULT ( 0 ) |
| 1377 | |
| 1378 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1379 | #define CFG_ENABLE_BTAMP_NAME "gEnableBtAmp" |
| 1380 | #define CFG_ENABLE_BTAMP_MIN ( 0 ) |
| 1381 | #define CFG_ENABLE_BTAMP_MAX ( 1 ) |
| 1382 | #define CFG_ENABLE_BTAMP_DEFAULT ( 0 ) |
| 1383 | |
| 1384 | #ifdef WLAN_BTAMP_FEATURE |
| 1385 | #define CFG_BT_AMP_PREFERRED_CHANNEL_NAME "BtAmpPreferredChannel" |
| 1386 | #define CFG_BT_AMP_PREFERRED_CHANNEL_MIN (1) |
| 1387 | #define CFG_BT_AMP_PREFERRED_CHANNEL_MAX (11) |
| 1388 | #define CFG_BT_AMP_PREFERRED_CHANNEL_DEFAULT (1) |
| 1389 | #endif //WLAN_BTAMP_FEATURE |
| 1390 | |
| 1391 | #define CFG_BAND_CAPABILITY_NAME "BandCapability" |
| 1392 | #define CFG_BAND_CAPABILITY_MIN (0) |
| 1393 | #define CFG_BAND_CAPABILITY_MAX (2) |
| 1394 | #define CFG_BAND_CAPABILITY_DEFAULT (1) |
| 1395 | |
| 1396 | #define CFG_ENABLE_BEACON_EARLY_TERMINATION_NAME "enableBeaconEarlyTermination" |
| 1397 | #define CFG_ENABLE_BEACON_EARLY_TERMINATION_MIN ( 0 ) |
| 1398 | #define CFG_ENABLE_BEACON_EARLY_TERMINATION_MAX ( 1 ) |
| 1399 | #define CFG_ENABLE_BEACON_EARLY_TERMINATION_DEFAULT ( 0 ) |
| 1400 | |
| 1401 | #define CFG_ENABLE_CLOSE_LOOP_NAME "gEnableCloseLoop" |
| 1402 | #define CFG_ENABLE_CLOSE_LOOP_MIN WNI_CFG_FIXED_RATE_STAMIN |
| 1403 | #define CFG_ENABLE_CLOSE_LOOP_MAX WNI_CFG_FIXED_RATE_STAMAX |
| 1404 | #define CFG_ENABLE_CLOSE_LOOP_DEFAULT WNI_CFG_FIXED_RATE_STADEF |
| 1405 | |
| 1406 | #define CFG_ENABLE_BYPASS_11D_NAME "gEnableBypass11d" |
| 1407 | #define CFG_ENABLE_BYPASS_11D_MIN ( 0 ) |
| 1408 | #define CFG_ENABLE_BYPASS_11D_MAX ( 1 ) |
Mihir Shete | 17e560a | 2014-02-11 22:19:41 +0530 | [diff] [blame] | 1409 | #define CFG_ENABLE_BYPASS_11D_DEFAULT ( 1 ) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1410 | |
Padma, Santhosh Kumar | 778d838 | 2015-03-04 17:41:22 +0530 | [diff] [blame] | 1411 | /* |
| 1412 | * gEnableDFSChnlScan |
| 1413 | * 0: disable scan on DFS channels |
| 1414 | * 1: enables passive scan on DFS channels |
| 1415 | * 2: enables active scan on DFS channels for static list. |
| 1416 | * Static or cfg list is the channel list set by ioctl SETROAMSCANCHANNELS. |
| 1417 | */ |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1418 | #define CFG_ENABLE_DFS_CHNL_SCAN_NAME "gEnableDFSChnlScan" |
| 1419 | #define CFG_ENABLE_DFS_CHNL_SCAN_MIN ( 0 ) |
Padma, Santhosh Kumar | 778d838 | 2015-03-04 17:41:22 +0530 | [diff] [blame] | 1420 | #define CFG_ENABLE_DFS_CHNL_SCAN_MAX ( 2 ) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1421 | #define CFG_ENABLE_DFS_CHNL_SCAN_DEFAULT ( 1 ) |
| 1422 | |
Sachin Ahuja | 697ba3f | 2014-11-12 18:57:11 +0530 | [diff] [blame] | 1423 | #define CFG_ENABLE_DFS_PNO_CHNL_SCAN_NAME "gEnableDFSPnoChnlScan" |
| 1424 | #define CFG_ENABLE_DFS_PNO_CHNL_SCAN_MIN ( 0 ) |
| 1425 | #define CFG_ENABLE_DFS_PNO_CHNL_SCAN_MAX ( 1 ) |
| 1426 | #define CFG_ENABLE_DFS_PNO_CHNL_SCAN_DEFAULT ( 1 ) |
| 1427 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1428 | typedef enum |
| 1429 | { |
| 1430 | eHDD_LINK_SPEED_REPORT_ACTUAL = 0, |
| 1431 | eHDD_LINK_SPEED_REPORT_MAX = 1, |
| 1432 | eHDD_LINK_SPEED_REPORT_MAX_SCALED = 2, |
| 1433 | }eHddLinkSpeedReportType; |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 1434 | #ifdef WLAN_FEATURE_11AC |
| 1435 | #define CFG_VHT_CHANNEL_WIDTH "gVhtChannelWidth" |
| 1436 | #define CFG_VHT_CHANNEL_WIDTH_MIN ( 0 ) |
| 1437 | #define CFG_VHT_CHANNEL_WIDTH_MAX ( 2 ) |
| 1438 | #define CFG_VHT_CHANNEL_WIDTH_DEFAULT ( 2 ) |
| 1439 | |
| 1440 | #define CFG_VHT_ENABLE_RX_MCS_8_9 "gVhtRxMCS" |
| 1441 | #define CFG_VHT_ENABLE_RX_MCS_8_9_MIN ( 0 ) |
| 1442 | #define CFG_VHT_ENABLE_RX_MCS_8_9_MAX ( 2 ) |
| 1443 | #define CFG_VHT_ENABLE_RX_MCS_8_9_DEFAULT ( 0 ) |
| 1444 | |
| 1445 | #define CFG_VHT_ENABLE_TX_MCS_8_9 "gVhtTxMCS" |
| 1446 | #define CFG_VHT_ENABLE_TX_MCS_8_9_MIN ( 0 ) |
| 1447 | #define CFG_VHT_ENABLE_TX_MCS_8_9_MAX ( 2 ) |
| 1448 | #define CFG_VHT_ENABLE_TX_MCS_8_9_DEFAULT ( 0 ) |
| 1449 | |
| 1450 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1451 | |
| 1452 | #define CFG_REPORT_MAX_LINK_SPEED "gReportMaxLinkSpeed" |
| 1453 | #define CFG_REPORT_MAX_LINK_SPEED_MIN ( eHDD_LINK_SPEED_REPORT_ACTUAL ) |
| 1454 | #define CFG_REPORT_MAX_LINK_SPEED_MAX ( eHDD_LINK_SPEED_REPORT_MAX_SCALED ) |
Leela Venkata Kiran Kumar Reddy Chirala | 911463f | 2013-02-22 18:01:15 -0800 | [diff] [blame] | 1455 | #define CFG_REPORT_MAX_LINK_SPEED_DEFAULT ( eHDD_LINK_SPEED_REPORT_MAX_SCALED ) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1456 | |
| 1457 | /* |
| 1458 | * RSSI Thresholds |
| 1459 | * Used when eHDD_LINK_SPEED_REPORT_SCALED is selected |
| 1460 | */ |
| 1461 | #define CFG_LINK_SPEED_RSSI_HIGH "gLinkSpeedRssiHigh" |
| 1462 | #define CFG_LINK_SPEED_RSSI_HIGH_MIN ( -127 ) |
| 1463 | #define CFG_LINK_SPEED_RSSI_HIGH_MAX ( 0 ) |
| 1464 | #define CFG_LINK_SPEED_RSSI_HIGH_DEFAULT ( -55 ) |
| 1465 | |
Madan Mohan Koyyalamudi | 8df78d5 | 2012-11-02 12:30:06 -0700 | [diff] [blame] | 1466 | #define CFG_LINK_SPEED_RSSI_MID "gLinkSpeedRssiMed" |
| 1467 | #define CFG_LINK_SPEED_RSSI_MID_MIN ( -127 ) |
| 1468 | #define CFG_LINK_SPEED_RSSI_MID_MAX ( 0 ) |
| 1469 | #define CFG_LINK_SPEED_RSSI_MID_DEFAULT ( -65 ) |
| 1470 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1471 | #define CFG_LINK_SPEED_RSSI_LOW "gLinkSpeedRssiLow" |
| 1472 | #define CFG_LINK_SPEED_RSSI_LOW_MIN ( -127 ) |
| 1473 | #define CFG_LINK_SPEED_RSSI_LOW_MAX ( 0 ) |
Madan Mohan Koyyalamudi | 8df78d5 | 2012-11-02 12:30:06 -0700 | [diff] [blame] | 1474 | #define CFG_LINK_SPEED_RSSI_LOW_DEFAULT ( -80 ) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1475 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1476 | #define CFG_P2P_DEVICE_ADDRESS_ADMINISTRATED_NAME "isP2pDeviceAddrAdministrated" |
| 1477 | #define CFG_P2P_DEVICE_ADDRESS_ADMINISTRATED_MIN ( 0 ) |
| 1478 | #define CFG_P2P_DEVICE_ADDRESS_ADMINISTRATED_MAX ( 1 ) |
kalikinkar dhara | c0eda4f | 2013-10-08 16:41:33 -0700 | [diff] [blame] | 1479 | #define CFG_P2P_DEVICE_ADDRESS_ADMINISTRATED_DEFAULT ( 1 ) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1480 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1481 | |
Gopichand Nakkala | e620d5a | 2013-04-26 05:45:57 -0700 | [diff] [blame] | 1482 | #define CFG_ENABLE_SSR "gEnableSSR" |
| 1483 | #define CFG_ENABLE_SSR_MIN ( 0 ) |
| 1484 | #define CFG_ENABLE_SSR_MAX ( 1 ) |
| 1485 | #define CFG_ENABLE_SSR_DEFAULT ( 1 ) |
| 1486 | |
c_hpothu | 6d7dc92 | 2013-12-02 12:36:41 +0530 | [diff] [blame] | 1487 | #define CFG_BTC_ACTIVE_WLAN_LEN_NAME "btcActiveWlanLen" |
| 1488 | #define CFG_BTC_ACTIVE_WLAN_LEN_MIN ( 0 ) |
| 1489 | #define CFG_BTC_ACTIVE_WLAN_LEN_MAX ( 250000 ) |
| 1490 | #define CFG_BTC_ACTIVE_WLAN_LEN_DEFAULT ( 60000 ) |
| 1491 | |
| 1492 | #define CFG_BTC_ACTIVE_BT_LEN_NAME "btcActiveBtLen" |
| 1493 | #define CFG_BTC_ACTIVE_BT_LEN_MIN ( 0 ) |
| 1494 | #define CFG_BTC_ACTIVE_BT_LEN_MAX ( 250000 ) |
| 1495 | #define CFG_BTC_ACTIVE_BT_LEN_DEFAULT ( 90000 ) |
| 1496 | |
| 1497 | #define CFG_BTC_SAP_ACTIVE_WLAN_LEN_NAME "btcSapActiveWlanLen" |
| 1498 | #define CFG_BTC_SAP_ACTIVE_WLAN_LEN_MIN ( 0 ) |
| 1499 | #define CFG_BTC_SAP_ACTIVE_WLAN_LEN_MAX ( 250000 ) |
c_hpothu | 7e62c1a | 2014-09-03 18:46:00 +0530 | [diff] [blame] | 1500 | #define CFG_BTC_SAP_ACTIVE_WLAN_LEN_DEFAULT ( 30000 ) |
c_hpothu | 6d7dc92 | 2013-12-02 12:36:41 +0530 | [diff] [blame] | 1501 | |
| 1502 | #define CFG_BTC_SAP_ACTIVE_BT_LEN_NAME "btcSapActiveBtLen" |
| 1503 | #define CFG_BTC_SAP_ACTIVE_BT_LEN_MIN ( 0 ) |
| 1504 | #define CFG_BTC_SAP_ACTIVE_BT_LEN_MAX ( 250000 ) |
c_hpothu | 7e62c1a | 2014-09-03 18:46:00 +0530 | [diff] [blame] | 1505 | #define CFG_BTC_SAP_ACTIVE_BT_LEN_DEFAULT ( 30000 ) |
c_hpothu | 6d7dc92 | 2013-12-02 12:36:41 +0530 | [diff] [blame] | 1506 | |
Sandeep Puligilla | 04bb8fd | 2014-02-03 23:21:47 +0530 | [diff] [blame] | 1507 | #define CFG_OBSS_HT40_SCAN_ACTIVE_DWELL_TIME_NAME "gObssScanActiveDwellTime" |
| 1508 | #define CFG_OBSS_HT40_SCAN_ACTIVE_DWELL_TIME_MIN ( 5 ) |
| 1509 | #define CFG_OBSS_HT40_SCAN_ACTIVE_DWELL_TIME_MAX ( 1000 ) |
| 1510 | #define CFG_OBSS_HT40_SCAN_ACTIVE_DWELL_TIME_DEFAULT ( 10 ) |
| 1511 | |
| 1512 | #define CFG_OBSS_HT40_SCAN_PASSIVE_DWELL_TIME_NAME "gObssScanPassiveDwellTime" |
| 1513 | #define CFG_OBSS_HT40_SCAN_PASSIVE_DWELL_TIME_MIN ( 10 ) |
| 1514 | #define CFG_OBSS_HT40_SCAN_PASSIVE_DWELL_TIME_MAX ( 1000 ) |
| 1515 | #define CFG_OBSS_HT40_SCAN_PASSIVE_DWELL_TIME_DEFAULT ( 20 ) |
| 1516 | |
| 1517 | #define CFG_OBSS_HT40_SCAN_WIDTH_TRIGGER_INTERVAL_NAME "gObssScanWidthTriggerInterval" |
| 1518 | #define CFG_OBSS_HT40_SCAN_WIDTH_TRIGGER_INTERVAL_MIN ( 10 ) |
| 1519 | #define CFG_OBSS_HT40_SCAN_WIDTH_TRIGGER_INTERVAL_MAX ( 900 ) |
| 1520 | #define CFG_OBSS_HT40_SCAN_WIDTH_TRIGGER_INTERVAL_DEFAULT ( 200 ) |
| 1521 | |
Sushant Kaushik | 215778f | 2015-05-21 14:05:36 +0530 | [diff] [blame] | 1522 | #define CFG_MULTICAST_HOST_FW_MSGS "gMulticastHostMsgs" |
| 1523 | #define CFG_MULTICAST_HOST_FW_MSGS_MIN (0) |
| 1524 | #define CFG_MULTICAST_HOST_FW_MSGS_MAX (1) |
| 1525 | #define CFG_MULTICAST_HOST_FW_MSGS_DEFAULT (1) |
| 1526 | |
| 1527 | |
Abhishek Singh | 8280c4e | 2014-02-18 13:26:34 +0530 | [diff] [blame] | 1528 | /* In cfg.dat 1=1MBPS, 2=2MBPS, 3=5_5MBPS, 4=11MBPS, 5=6MBPS, 6=9MBPS, |
| 1529 | * 7=12MBPS, 8=18MBPS, 9=24MBPS. But 6=9MBPS and 8=18MBPS are not basic |
| 1530 | * 11g rates and should not be set by gDefaultRateIndex24Ghz. So instead |
| 1531 | * of using index 1-9 we will use 1-7 and if user set gDefaultRateIndex24Ghz=6 |
| 1532 | * set 7=12MBPS in CFG and if user set gDefaultRateIndex24Ghz=7 set |
| 1533 | * 9=24MBPS in CFG. |
| 1534 | */ |
| 1535 | |
| 1536 | #define HDD_DEFAULT_RATE_12MBPS 6 |
| 1537 | #define HDD_DEFAULT_RATE_24MBPS 7 |
| 1538 | #define CFG_DEFAULT_RATE_12MBPS 7 |
| 1539 | #define CFG_DEFAULT_RATE_24MBPS 9 |
| 1540 | #define CFG_DEFAULT_RATE_INDEX_24GH "gDefaultRateIndex24Ghz" |
| 1541 | #define CFG_DEFAULT_RATE_INDEX_24GH_MIN ( 1 ) |
| 1542 | #define CFG_DEFAULT_RATE_INDEX_24GH_MAX ( 7 ) |
| 1543 | #define CFG_DEFAULT_RATE_INDEX_24GH_DEFAULT ( 1 ) |
| 1544 | |
| 1545 | static __inline tANI_U32 defHddRateToDefCfgRate( tANI_U32 defRateIndex ) |
| 1546 | { |
| 1547 | switch(defRateIndex){ |
| 1548 | case HDD_DEFAULT_RATE_12MBPS: |
| 1549 | return CFG_DEFAULT_RATE_12MBPS; |
| 1550 | break; |
| 1551 | case HDD_DEFAULT_RATE_24MBPS: |
| 1552 | return CFG_DEFAULT_RATE_24MBPS; |
| 1553 | break; |
| 1554 | default: |
| 1555 | return defRateIndex; |
| 1556 | } |
| 1557 | } |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1558 | /* |
Varun Reddy Yeturu | 587e680 | 2013-01-24 12:21:41 -0800 | [diff] [blame] | 1559 | * VOS Trace Enable Control |
| 1560 | * Notes: |
| 1561 | * the MIN/MAX/DEFAULT values apply for all modules |
| 1562 | * the DEFAULT value is outside the valid range. if the DEFAULT |
| 1563 | * value is not overridden, then no change will be made to the |
| 1564 | * "built in" default values compiled into the code |
| 1565 | * values are a bitmap indicating which log levels are to enabled |
| 1566 | * (must match order of vos_trace_level enumerations) |
| 1567 | * 00000001 FATAL |
| 1568 | * 00000010 ERROR |
| 1569 | * 00000100 WARN |
| 1570 | * 00001000 INFO |
| 1571 | * 00010000 INFO HIGH |
| 1572 | * 00100000 INFO MED |
| 1573 | * 01000000 INFO LOW |
| 1574 | * 10000000 DEBUG |
| 1575 | * |
| 1576 | * hence a value of 0xFF would set all bits (enable all logs) |
| 1577 | */ |
| 1578 | |
| 1579 | #define CFG_VOS_TRACE_ENABLE_BAP_NAME "vosTraceEnableBAP" |
| 1580 | #define CFG_VOS_TRACE_ENABLE_TL_NAME "vosTraceEnableTL" |
| 1581 | #define CFG_VOS_TRACE_ENABLE_WDI_NAME "vosTraceEnableWDI" |
| 1582 | #define CFG_VOS_TRACE_ENABLE_HDD_NAME "vosTraceEnableHDD" |
| 1583 | #define CFG_VOS_TRACE_ENABLE_SME_NAME "vosTraceEnableSME" |
| 1584 | #define CFG_VOS_TRACE_ENABLE_PE_NAME "vosTraceEnablePE" |
Katya Nigam | 70d6833 | 2013-09-16 16:49:45 +0530 | [diff] [blame] | 1585 | #define CFG_VOS_TRACE_ENABLE_PMC_NAME "vosTraceEnablePMC" |
Varun Reddy Yeturu | 587e680 | 2013-01-24 12:21:41 -0800 | [diff] [blame] | 1586 | #define CFG_VOS_TRACE_ENABLE_WDA_NAME "vosTraceEnableWDA" |
| 1587 | #define CFG_VOS_TRACE_ENABLE_SYS_NAME "vosTraceEnableSYS" |
| 1588 | #define CFG_VOS_TRACE_ENABLE_VOSS_NAME "vosTraceEnableVOSS" |
Varun Reddy Yeturu | 587e680 | 2013-01-24 12:21:41 -0800 | [diff] [blame] | 1589 | #define CFG_VOS_TRACE_ENABLE_SAP_NAME "vosTraceEnableSAP" |
| 1590 | #define CFG_VOS_TRACE_ENABLE_HDD_SAP_NAME "vosTraceEnableHDDSAP" |
Varun Reddy Yeturu | 587e680 | 2013-01-24 12:21:41 -0800 | [diff] [blame] | 1591 | |
| 1592 | #define CFG_VOS_TRACE_ENABLE_MIN (0) |
| 1593 | #define CFG_VOS_TRACE_ENABLE_MAX (0xff) |
| 1594 | #define CFG_VOS_TRACE_ENABLE_DEFAULT (0xffff) |
| 1595 | |
| 1596 | /* |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1597 | * WDI Trace Enable Control |
| 1598 | * Notes: |
| 1599 | * the MIN/MAX/DEFAULT values apply for all modules |
| 1600 | * the DEFAULT value is outside the valid range. if the DEFAULT |
| 1601 | * value is not overridden, then no change will be made to the |
| 1602 | * "built in" default values compiled into the code |
| 1603 | * values are a bitmap indicating which log levels are to enabled |
| 1604 | * (must match order of wpt_tracelevel enumerations) |
| 1605 | * 00000001 FATAL |
| 1606 | * 00000010 ERROR |
| 1607 | * 00000100 WARN |
| 1608 | * 00001000 INFO |
| 1609 | * 00010000 INFO HIGH |
| 1610 | * 00100000 INFO MED |
| 1611 | * 01000000 INFO LOW |
| 1612 | * |
| 1613 | * hence a value of 0x7F would set all bits (enable all logs) |
| 1614 | */ |
| 1615 | #define CFG_WDI_TRACE_ENABLE_DAL_NAME "wdiTraceEnableDAL" |
| 1616 | #define CFG_WDI_TRACE_ENABLE_CTL_NAME "wdiTraceEnableCTL" |
| 1617 | #define CFG_WDI_TRACE_ENABLE_DAT_NAME "wdiTraceEnableDAT" |
| 1618 | #define CFG_WDI_TRACE_ENABLE_PAL_NAME "wdiTraceEnablePAL" |
| 1619 | #define CFG_WDI_TRACE_ENABLE_MIN (0) |
| 1620 | #define CFG_WDI_TRACE_ENABLE_MAX (0x7f) |
| 1621 | #define CFG_WDI_TRACE_ENABLE_DEFAULT (0xffffffff) |
| 1622 | |
| 1623 | #define HDD_MCASTBCASTFILTER_FILTER_NONE 0x00 |
| 1624 | #define HDD_MCASTBCASTFILTER_FILTER_ALL_MULTICAST 0x01 |
| 1625 | #define HDD_MCASTBCASTFILTER_FILTER_ALL_BROADCAST 0x02 |
| 1626 | #define HDD_MCASTBCASTFILTER_FILTER_ALL_MULTICAST_BROADCAST 0x03 |
Amar Singhal | f3a6e76 | 2013-02-19 15:06:50 -0800 | [diff] [blame] | 1627 | #define HDD_MULTICAST_FILTER_LIST 0x04 |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1628 | |
| 1629 | /* |
| 1630 | * |
| 1631 | * SAP Auto Channel Enable |
| 1632 | * Notes: |
| 1633 | * Auto Channel selection for SAP configuration |
| 1634 | * 0 - Disable Auto Channel |
| 1635 | * 1 - Enable auto channel selection in auto mode. |
| 1636 | * When enable auto channel, channel provided by Supplicant will be ignored. |
| 1637 | * |
| 1638 | * Default configuration: Auto channel is disabled. |
| 1639 | */ |
| 1640 | |
| 1641 | #define CFG_SAP_AUTO_CHANNEL_SELECTION_NAME "gApAutoChannelSelection" |
| 1642 | |
| 1643 | #define CFG_SAP_AUTO_CHANNEL_SELECTION_MIN ( 0 ) |
| 1644 | #define CFG_SAP_AUTO_CHANNEL_SELECTION_MAX ( 1 ) |
| 1645 | #define CFG_SAP_AUTO_CHANNEL_SELECTION_DEFAULT ( 0 ) |
| 1646 | |
Peng Xu | fc6ad8e | 2014-09-25 13:16:43 +0530 | [diff] [blame] | 1647 | /* ACS Scan band preference |
| 1648 | * 0 -- No preference |
| 1649 | * 1 -- Scan 2.4G first |
| 1650 | * 2 -- Scan 5G first |
| 1651 | */ |
| 1652 | #define CFG_SAP_SCAN_BAND_PREFERENCE "gAcsScanBandPreference" |
| 1653 | #define CFG_SAP_SCAN_BAND_PREFERENCE_MIN (0) |
| 1654 | #define CFG_SAP_SCAN_BAND_PREFERENCE_MAX (2) |
| 1655 | #define CFG_SAP_SCAN_BAND_PREFERENCE_DEFAULT (0) |
Peng Xu | afc34e3 | 2014-09-25 13:23:55 +0530 | [diff] [blame] | 1656 | #define CFG_ACS_BAND_SWITCH_THRESHOLD "gACSBandSwitchThreshold" |
| 1657 | #define CFG_ACS_BAND_SWITCH_THRESHOLD_MIN (0) |
| 1658 | #define CFG_ACS_BAND_SWITCH_THRESHOLD_MAX (4444) |
| 1659 | /* 2 BSS, maximus RSSI -90 */ |
| 1660 | #define CFG_ACS_BAND_SWITCH_THRESHOLD_DEFAULT (296) |
Peng Xu | fc6ad8e | 2014-09-25 13:16:43 +0530 | [diff] [blame] | 1661 | |
Madan Mohan Koyyalamudi | 69b3418 | 2013-01-16 08:51:40 +0530 | [diff] [blame] | 1662 | /*BMPS Logic |
| 1663 | * Notes: |
| 1664 | * 1 - Then Host driver and above layers control the PS mechanism |
| 1665 | * 0 - Diver/Core Stack internally control the Power saving mechanism |
| 1666 | */ |
| 1667 | #define CFG_ANDRIOD_POWER_SAVE_NAME "isAndroidPsEn" |
| 1668 | #define CFG_ANDRIOD_POWER_SAVE_MIN ( 0 ) |
| 1669 | #define CFG_ANDRIOD_POWER_SAVE_MAX ( 1 ) |
| 1670 | #define CFG_ANDRIOD_POWER_SAVE_DEFAULT ( 0 ) |
| 1671 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1672 | |
| 1673 | /* |
| 1674 | * Enable Dynamic DTIM |
| 1675 | * Options |
| 1676 | * 0 -Disable DynamicDTIM |
| 1677 | * 1 to 5 - SLM will switch to DTIM specified here when host suspends and |
| 1678 | * switch DTIM1 when host resumes */ |
| 1679 | #define CFG_ENABLE_DYNAMIC_DTIM_NAME "gEnableDynamicDTIM" |
| 1680 | #define CFG_ENABLE_DYNAMIC_DTIM_MIN ( 0 ) |
| 1681 | #define CFG_ENABLE_DYNAMIC_DTIM_MAX ( 5 ) |
| 1682 | #define CFG_ENABLE_DYNAMIC_DTIM_DEFAULT ( 0 ) |
| 1683 | |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 1684 | /* |
| 1685 | * Enable First Scan 2G Only |
| 1686 | * Options |
| 1687 | * 0 - Disable First Scan 2G Option |
| 1688 | * 1 - Enable First Scan 2G Option |
| 1689 | */ |
| 1690 | #define CFG_ENABLE_FIRST_SCAN_2G_ONLY_NAME "gEnableFirstScan2GOnly" |
| 1691 | #define CFG_ENABLE_FIRST_SCAN_2G_ONLY_MIN ( 0 ) |
| 1692 | #define CFG_ENABLE_FIRST_SCAN_2G_ONLY_MAX ( 1 ) |
| 1693 | #define CFG_ENABLE_FIRST_SCAN_2G_ONLY_DEFAULT ( 0 ) |
| 1694 | |
| 1695 | /* |
| 1696 | * Skip DFS Channel in case of P2P Search |
| 1697 | * Options |
| 1698 | * 0 - Don't Skip DFS Channel in case of P2P Search |
| 1699 | * 1 - Skip DFS Channel in case of P2P Search |
| 1700 | */ |
| 1701 | #define CFG_ENABLE_SKIP_DFS_IN_P2P_SEARCH_NAME "gSkipDfsChannelInP2pSearch" |
| 1702 | #define CFG_ENABLE_SKIP_DFS_IN_P2P_SEARCH_MIN ( 0 ) |
| 1703 | #define CFG_ENABLE_SKIP_DFS_IN_P2P_SEARCH_MAX ( 1 ) |
Leela Venkata Kiran Kumar Reddy Chirala | 911463f | 2013-02-22 18:01:15 -0800 | [diff] [blame] | 1704 | #define CFG_ENABLE_SKIP_DFS_IN_P2P_SEARCH_DEFAULT ( 1 ) |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 1705 | |
| 1706 | /* |
| 1707 | * Ignore Dynamic Dtim in case of P2P |
| 1708 | * Options |
| 1709 | * 0 - Consider Dynamic Dtim incase of P2P |
| 1710 | * 1 - Ignore Dynamic Dtim incase of P2P |
| 1711 | */ |
| 1712 | #define CFG_IGNORE_DYNAMIC_DTIM_IN_P2P_MODE_NAME "gIgnoreDynamicDtimInP2pMode" |
| 1713 | #define CFG_IGNORE_DYNAMIC_DTIM_IN_P2P_MODE_MIN ( 0 ) |
| 1714 | #define CFG_IGNORE_DYNAMIC_DTIM_IN_P2P_MODE_MAX ( 1 ) |
| 1715 | #define CFG_IGNORE_DYNAMIC_DTIM_IN_P2P_MODE_DEFAULT ( 0 ) |
| 1716 | |
| 1717 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1718 | #define CFG_ENABLE_AUTOMATIC_TX_POWER_CONTROL_NAME "gEnableAutomaticTxPowerControl" |
| 1719 | #define CFG_ENABLE_AUTOMATIC_TX_POWER_CONTROL_MIN ( 0 ) |
| 1720 | #define CFG_ENABLE_AUTOMATIC_TX_POWER_CONTROL_MAX ( 1 ) |
| 1721 | #define CFG_ENABLE_AUTOMATIC_TX_POWER_CONTROL_DEFAULT ( 1 ) |
| 1722 | |
| 1723 | #define CFG_SHORT_GI_40MHZ_NAME "gShortGI40Mhz" |
| 1724 | #define CFG_SHORT_GI_40MHZ_MIN 0 |
| 1725 | #define CFG_SHORT_GI_40MHZ_MAX 1 |
| 1726 | #define CFG_SHORT_GI_40MHZ_DEFAULT 1 |
| 1727 | |
| 1728 | /* |
| 1729 | * Enable / Disable MCC feature |
| 1730 | * Default: Enable |
| 1731 | */ |
Sudhir Sattayappa Kohalli | d9a4df6 | 2013-04-04 14:47:54 -0700 | [diff] [blame] | 1732 | #define CFG_ENABLE_MCC_ENABLED_NAME "gEnableMCCMode" |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1733 | #define CFG_ENABLE_MCC_ENABLED_MIN ( 0 ) |
| 1734 | #define CFG_ENABLE_MCC_ENABLED_MAX ( 1 ) |
Sudhir Sattayappa Kohalli | d9a4df6 | 2013-04-04 14:47:54 -0700 | [diff] [blame] | 1735 | #define CFG_ENABLE_MCC_ENABLED_DEFAULT ( 1 ) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1736 | |
| 1737 | /* |
Mohit Khanna | 7ed53f0 | 2012-09-11 17:52:10 -0700 | [diff] [blame] | 1738 | * Allow GO in MCC mode to accept different beacon interval than STA's. |
| 1739 | * Added for Wi-Fi Cert. 5.1.12 |
Sudhir Sattayappa Kohalli | d9a4df6 | 2013-04-04 14:47:54 -0700 | [diff] [blame] | 1740 | * Default: gAllowMCCGODiffBI = 2 |
| 1741 | * If gAllowMCCGODiffBI = 1 // Set to 1 for WFA certification. GO Beacon |
| 1742 | * interval is not changed. MCC GO |
| 1743 | * doesn't work well in optimized way. |
| 1744 | * In worst scenario, it may invite STA |
| 1745 | * disconnection. |
| 1746 | * gAllowMCCGODiffBI = 2 //If set to 2 workaround 1 disassoc all the clients |
Madan Mohan Koyyalamudi | 167b95e | 2012-11-27 15:53:38 -0800 | [diff] [blame] | 1747 | * and update beacon Interval |
| 1748 | * gAllowMCCGODiffBI = 3 //If set to 3 tear down the P2P link in auto/ |
| 1749 | * Non-autonomous -GO case |
Sudhir Sattayappa Kohalli | d9a4df6 | 2013-04-04 14:47:54 -0700 | [diff] [blame] | 1750 | * gAllowMCCGODiffBI = 4 //If set to 4 don't disconnect the P2P client |
| 1751 | * in autonomous/Non-autonomous -GO case update |
| 1752 | * the BI dynamically |
Mohit Khanna | 7ed53f0 | 2012-09-11 17:52:10 -0700 | [diff] [blame] | 1753 | */ |
| 1754 | #define CFG_ALLOW_MCC_GO_DIFF_BI_NAME "gAllowMCCGODiffBI" |
| 1755 | #define CFG_ALLOW_MCC_GO_DIFF_BI_MIN ( 0 ) |
Sudhir Sattayappa Kohalli | d9a4df6 | 2013-04-04 14:47:54 -0700 | [diff] [blame] | 1756 | #define CFG_ALLOW_MCC_GO_DIFF_BI_MAX ( 4 ) |
Sudhir Sattayappa Kohalli | f63bb23 | 2013-05-01 12:28:43 -0700 | [diff] [blame] | 1757 | #define CFG_ALLOW_MCC_GO_DIFF_BI_DEFAULT ( 4 ) |
Mohit Khanna | 7ed53f0 | 2012-09-11 17:52:10 -0700 | [diff] [blame] | 1758 | |
| 1759 | /* |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1760 | * Enable/Disable Thermal Mitigation feature |
| 1761 | * Default: Disable |
| 1762 | */ |
| 1763 | #define CFG_THERMAL_MIGRATION_ENABLE_NAME "gThermalMitigationEnable" |
| 1764 | #define CFG_THERMAL_MIGRATION_ENABLE_MIN ( 0 ) |
| 1765 | #define CFG_THERMAL_MIGRATION_ENABLE_MAX ( 1 ) |
Anand N Sunkad | e7128d1 | 2014-12-31 15:20:09 +0530 | [diff] [blame] | 1766 | #define CFG_THERMAL_MIGRATION_ENABLE_DEFAULT ( 1 ) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1767 | |
| 1768 | /* |
| 1769 | * Enable/Disable Modulated DTIM feature |
| 1770 | * Default: Disable |
| 1771 | */ |
| 1772 | #define CFG_ENABLE_MODULATED_DTIM_NAME "gEnableModulatedDTIM" |
| 1773 | #define CFG_ENABLE_MODULATED_DTIM_MIN ( 0 ) |
| 1774 | #define CFG_ENABLE_MODULATED_DTIM_MAX ( 5 ) |
| 1775 | #define CFG_ENABLE_MODULATED_DTIM_DEFAULT ( 0 ) |
| 1776 | |
Jeff Johnson | d13512a | 2012-07-17 11:42:19 -0700 | [diff] [blame] | 1777 | /* |
| 1778 | * Enable/Disable Multicast MAC Address List feature |
| 1779 | * Default: Disable |
| 1780 | */ |
| 1781 | #define CFG_MC_ADDR_LIST_ENABLE_NAME "gMCAddrListEnable" |
| 1782 | #define CFG_MC_ADDR_LIST_ENABLE_MIN ( 0 ) |
| 1783 | #define CFG_MC_ADDR_LIST_ENABLE_MAX ( 1 ) |
| 1784 | #define CFG_MC_ADDR_LIST_ENABLE_DEFAULT ( 0 ) |
| 1785 | |
Madan Mohan Koyyalamudi | dd11eaf | 2012-11-02 16:04:21 -0700 | [diff] [blame] | 1786 | /* Set number of buffers to be advertised during ADDBA negotiation*/ |
| 1787 | #define CFG_NUM_BUFF_ADVERT_NAME "gNumBuffAdvert" |
| 1788 | #define CFG_NUM_BUFF_ADVERT_MIN ( 0 ) |
| 1789 | #define CFG_NUM_BUFF_ADVERT_MAX ( 128 ) |
Leela Venkata Kiran Kumar Reddy Chirala | 911463f | 2013-02-22 18:01:15 -0800 | [diff] [blame] | 1790 | #define CFG_NUM_BUFF_ADVERT_DEFAULT ( 64 ) |
Madan Mohan Koyyalamudi | dd11eaf | 2012-11-02 16:04:21 -0700 | [diff] [blame] | 1791 | |
Madan Mohan Koyyalamudi | d5f04ca | 2012-11-06 15:51:26 -0800 | [diff] [blame] | 1792 | /* |
| 1793 | * Allow MCC to modify config |
| 1794 | */ |
| 1795 | #define CFG_MCC_CONFIG_PARAM_NAME "gMccAllowCfgModify" |
| 1796 | #define CFG_MCC_CONFIG_PARAM_MIN ( 0x0000 ) |
| 1797 | #define CFG_MCC_CONFIG_PARAM_MAX ( 0x01ff ) |
| 1798 | #define CFG_MCC_CONFIG_PARAM_DEFAULT ( 0x000C ) |
| 1799 | |
Pratik Bhalgat | 6bfd142 | 2012-11-22 17:09:40 +0530 | [diff] [blame] | 1800 | #define CFG_ENABLE_RX_STBC "gEnableRXSTBC" |
| 1801 | #define CFG_ENABLE_RX_STBC_MIN ( 0 ) |
| 1802 | #define CFG_ENABLE_RX_STBC_MAX ( 1 ) |
| 1803 | #define CFG_ENABLE_RX_STBC_DEFAULT ( 1 ) |
| 1804 | |
Gopichand Nakkala | 976e325 | 2013-01-03 15:45:56 -0800 | [diff] [blame] | 1805 | /* |
| 1806 | * Enable/Disable vsta based on MAX Assoc limit |
| 1807 | * defined in WCNSS_qcom_cfg.ini. |
| 1808 | */ |
| 1809 | #ifdef WLAN_SOFTAP_VSTA_FEATURE |
| 1810 | #define CFG_VSTA_SUPPORT_ENABLE "gEnableVSTASupport" |
| 1811 | #define CFG_VSTA_SUPPORT_ENABLE_MIN ( 0 ) |
| 1812 | #define CFG_VSTA_SUPPORT_ENABLE_MAX ( 1 ) |
| 1813 | #define CFG_VSTA_SUPPORT_ENABLE_DEFAULT ( 0 ) |
| 1814 | #endif |
Pratik Bhalgat | 6bfd142 | 2012-11-22 17:09:40 +0530 | [diff] [blame] | 1815 | |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 1816 | #ifdef FEATURE_WLAN_TDLS |
Hoonki Lee | bf870f3 | 2013-01-19 15:53:30 +0530 | [diff] [blame] | 1817 | #define CFG_TDLS_SUPPORT_ENABLE "gEnableTDLSSupport" |
| 1818 | #define CFG_TDLS_SUPPORT_ENABLE_MIN ( 0 ) |
| 1819 | #define CFG_TDLS_SUPPORT_ENABLE_MAX ( 1 ) |
| 1820 | #define CFG_TDLS_SUPPORT_ENABLE_DEFAULT ( 0 ) |
| 1821 | |
| 1822 | #define CFG_TDLS_IMPLICIT_TRIGGER "gEnableTDLSImplicitTrigger" |
| 1823 | #define CFG_TDLS_IMPLICIT_TRIGGER_MIN ( 0 ) |
| 1824 | #define CFG_TDLS_IMPLICIT_TRIGGER_MAX ( 1 ) |
| 1825 | #define CFG_TDLS_IMPLICIT_TRIGGER_DEFAULT ( 0 ) |
| 1826 | |
| 1827 | #define CFG_TDLS_TX_STATS_PERIOD "gTDLSTxStatsPeriod" |
Naresh Jayaram | db4514b | 2013-11-25 18:08:10 +0530 | [diff] [blame] | 1828 | #define CFG_TDLS_TX_STATS_PERIOD_MIN ( 10 ) |
Hoonki Lee | bf870f3 | 2013-01-19 15:53:30 +0530 | [diff] [blame] | 1829 | #define CFG_TDLS_TX_STATS_PERIOD_MAX ( 4294967295UL ) |
Hoonki Lee | 2751190 | 2013-03-14 18:19:06 -0700 | [diff] [blame] | 1830 | #define CFG_TDLS_TX_STATS_PERIOD_DEFAULT ( 5000 ) |
Hoonki Lee | bf870f3 | 2013-01-19 15:53:30 +0530 | [diff] [blame] | 1831 | |
| 1832 | #define CFG_TDLS_TX_PACKET_THRESHOLD "gTDLSTxPacketThreshold" |
| 1833 | #define CFG_TDLS_TX_PACKET_THRESHOLD_MIN ( 0 ) |
| 1834 | #define CFG_TDLS_TX_PACKET_THRESHOLD_MAX ( 4294967295UL ) |
Hoonki Lee | 2751190 | 2013-03-14 18:19:06 -0700 | [diff] [blame] | 1835 | #define CFG_TDLS_TX_PACKET_THRESHOLD_DEFAULT ( 100 ) |
Hoonki Lee | bf870f3 | 2013-01-19 15:53:30 +0530 | [diff] [blame] | 1836 | |
| 1837 | #define CFG_TDLS_DISCOVERY_PERIOD "gTDLSDiscoveryPeriod" |
Hoonki Lee | 2751190 | 2013-03-14 18:19:06 -0700 | [diff] [blame] | 1838 | #define CFG_TDLS_DISCOVERY_PERIOD_MIN ( 5000 ) |
Hoonki Lee | bf870f3 | 2013-01-19 15:53:30 +0530 | [diff] [blame] | 1839 | #define CFG_TDLS_DISCOVERY_PERIOD_MAX ( 4294967295UL ) |
Hoonki Lee | 2751190 | 2013-03-14 18:19:06 -0700 | [diff] [blame] | 1840 | #define CFG_TDLS_DISCOVERY_PERIOD_DEFAULT ( 20000 ) |
Hoonki Lee | bf870f3 | 2013-01-19 15:53:30 +0530 | [diff] [blame] | 1841 | |
| 1842 | #define CFG_TDLS_MAX_DISCOVERY_ATTEMPT "gTDLSMaxDiscoveryAttempt" |
Hoonki Lee | 2751190 | 2013-03-14 18:19:06 -0700 | [diff] [blame] | 1843 | #define CFG_TDLS_MAX_DISCOVERY_ATTEMPT_MIN ( 1 ) |
Hoonki Lee | bf870f3 | 2013-01-19 15:53:30 +0530 | [diff] [blame] | 1844 | #define CFG_TDLS_MAX_DISCOVERY_ATTEMPT_MAX ( 100 ) |
Hoonki Lee | 2751190 | 2013-03-14 18:19:06 -0700 | [diff] [blame] | 1845 | #define CFG_TDLS_MAX_DISCOVERY_ATTEMPT_DEFAULT ( 3 ) |
Hoonki Lee | bf870f3 | 2013-01-19 15:53:30 +0530 | [diff] [blame] | 1846 | |
Chilam Ng | 0112041 | 2013-02-19 18:32:21 -0800 | [diff] [blame] | 1847 | #define CFG_TDLS_IDLE_TIMEOUT "gTDLSIdleTimeout" |
Hoonki Lee | 2751190 | 2013-03-14 18:19:06 -0700 | [diff] [blame] | 1848 | #define CFG_TDLS_IDLE_TIMEOUT_MIN ( 2000 ) |
Chilam Ng | 0112041 | 2013-02-19 18:32:21 -0800 | [diff] [blame] | 1849 | #define CFG_TDLS_IDLE_TIMEOUT_MAX ( 40000 ) |
| 1850 | #define CFG_TDLS_IDLE_TIMEOUT_DEFAULT ( 5000 ) |
| 1851 | |
| 1852 | #define CFG_TDLS_IDLE_PACKET_THRESHOLD "gTDLSIdlePacketThreshold" |
Naresh Jayaram | db4514b | 2013-11-25 18:08:10 +0530 | [diff] [blame] | 1853 | #define CFG_TDLS_IDLE_PACKET_THRESHOLD_MIN ( 0 ) |
Chilam Ng | 0112041 | 2013-02-19 18:32:21 -0800 | [diff] [blame] | 1854 | #define CFG_TDLS_IDLE_PACKET_THRESHOLD_MAX ( 40000 ) |
| 1855 | #define CFG_TDLS_IDLE_PACKET_THRESHOLD_DEFAULT ( 5 ) |
Hoonki Lee | bf870f3 | 2013-01-19 15:53:30 +0530 | [diff] [blame] | 1856 | |
| 1857 | #define CFG_TDLS_RSSI_HYSTERESIS "gTDLSRssiHysteresis" |
| 1858 | #define CFG_TDLS_RSSI_HYSTERESIS_MIN ( 0 ) |
| 1859 | #define CFG_TDLS_RSSI_HYSTERESIS_MAX ( 100 ) |
| 1860 | #define CFG_TDLS_RSSI_HYSTERESIS_DEFAULT ( 100 ) |
Chilam Ng | 0112041 | 2013-02-19 18:32:21 -0800 | [diff] [blame] | 1861 | |
| 1862 | #define CFG_TDLS_RSSI_TRIGGER_THRESHOLD "gTDLSRSSITriggerThreshold" |
| 1863 | #define CFG_TDLS_RSSI_TRIGGER_THRESHOLD_MIN ( -120 ) |
Shailender Karmuchi | 13c0d08 | 2013-03-26 14:41:39 -0700 | [diff] [blame] | 1864 | #define CFG_TDLS_RSSI_TRIGGER_THRESHOLD_MAX ( 0 ) |
| 1865 | #define CFG_TDLS_RSSI_TRIGGER_THRESHOLD_DEFAULT ( -75 ) |
Chilam Ng | 0112041 | 2013-02-19 18:32:21 -0800 | [diff] [blame] | 1866 | |
| 1867 | #define CFG_TDLS_RSSI_TEARDOWN_THRESHOLD "gTDLSRSSITeardownThreshold" |
| 1868 | #define CFG_TDLS_RSSI_TEARDOWN_THRESHOLD_MIN ( -120 ) |
| 1869 | #define CFG_TDLS_RSSI_TEARDOWN_THRESHOLD_MAX ( 0 ) |
| 1870 | #define CFG_TDLS_RSSI_TEARDOWN_THRESHOLD_DEFAULT ( -75 ) |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 1871 | |
| 1872 | #define CFG_TDLS_QOS_WMM_UAPSD_MASK_NAME "gTDLSUapsdMask" // ACs to setup U-APSD for TDLS Sta |
| 1873 | #define CFG_TDLS_QOS_WMM_UAPSD_MASK_MIN (0) |
| 1874 | #define CFG_TDLS_QOS_WMM_UAPSD_MASK_MAX (15) |
| 1875 | #define CFG_TDLS_QOS_WMM_UAPSD_MASK_DEFAULT (0) |
| 1876 | |
| 1877 | #define CFG_TDLS_BUFFER_STA_SUPPORT_ENABLE "gEnableTDLSBufferSta" |
| 1878 | #define CFG_TDLS_BUFFER_STA_SUPPORT_ENABLE_MIN (0) |
| 1879 | #define CFG_TDLS_BUFFER_STA_SUPPORT_ENABLE_MAX (1) |
| 1880 | #define CFG_TDLS_BUFFER_STA_SUPPORT_ENABLE_DEFAULT (1) |
| 1881 | |
| 1882 | #define CFG_TDLS_PUAPSD_INACTIVITY_TIME "gTDLSPuapsdInactivityTime" |
| 1883 | #define CFG_TDLS_PUAPSD_INACTIVITY_TIME_MIN (0) |
| 1884 | #define CFG_TDLS_PUAPSD_INACTIVITY_TIME_MAX (10) |
| 1885 | #define CFG_TDLS_PUAPSD_INACTIVITY_TIME_DEFAULT (0) |
| 1886 | |
| 1887 | #define CFG_TDLS_PUAPSD_RX_FRAME_THRESHOLD "gTDLSPuapsdRxFrameThreshold" |
| 1888 | #define CFG_TDLS_PUAPSD_RX_FRAME_THRESHOLD_MIN (10) |
| 1889 | #define CFG_TDLS_PUAPSD_RX_FRAME_THRESHOLD_MAX (20) |
| 1890 | #define CFG_TDLS_PUAPSD_RX_FRAME_THRESHOLD_DEFAULT (10) |
Sunil Dutt | 41de4e2 | 2013-11-14 18:09:02 +0530 | [diff] [blame] | 1891 | |
| 1892 | #define CFG_TDLS_EXTERNAL_CONTROL "gTDLSExternalControl" |
| 1893 | #define CFG_TDLS_EXTERNAL_CONTROL_MIN (0) |
| 1894 | #define CFG_TDLS_EXTERNAL_CONTROL_MAX (1) |
| 1895 | #define CFG_TDLS_EXTERNAL_CONTROL_DEFAULT (0) |
Naresh Jayaram | f73f376 | 2014-02-04 16:13:20 +0530 | [diff] [blame] | 1896 | |
| 1897 | #define CFG_TDLS_OFF_CHANNEL_SUPPORT_ENABLE "gEnableTDLSOffChannel" |
| 1898 | #define CFG_TDLS_OFF_CHANNEL_SUPPORT_ENABLE_MIN (0) |
| 1899 | #define CFG_TDLS_OFF_CHANNEL_SUPPORT_ENABLE_MAX (1) |
Pradeep Reddy POTTETI | 60ad240 | 2015-02-26 16:48:21 +0530 | [diff] [blame] | 1900 | #define CFG_TDLS_OFF_CHANNEL_SUPPORT_ENABLE_DEFAULT (1) |
Pradeep Reddy POTTETI | a9c80d5 | 2014-05-09 18:05:29 +0530 | [diff] [blame] | 1901 | |
| 1902 | #define CFG_TDLS_WMM_MODE_ENABLE "gEnableTDLSWmmMode" |
| 1903 | #define CFG_TDLS_WMM_MODE_ENABLE_MIN (0) |
| 1904 | #define CFG_TDLS_WMM_MODE_ENABLE_MAX (1) |
Deepthi Gowri | 2bb29a6 | 2014-12-29 19:24:44 +0530 | [diff] [blame] | 1905 | #define CFG_TDLS_WMM_MODE_ENABLE_DEFAULT (1) |
Pradeep Reddy POTTETI | edaeb5f | 2014-05-22 23:34:41 +0530 | [diff] [blame] | 1906 | |
| 1907 | #define CFG_TDLS_SCAN_COEX_SUPPORT_ENABLE "gEnableTDLSScanCoexistence" |
| 1908 | #define CFG_TDLS_SCAN_COEX_SUPPORT_ENABLE_MIN (0) |
| 1909 | #define CFG_TDLS_SCAN_COEX_SUPPORT_ENABLE_MAX (1) |
| 1910 | #define CFG_TDLS_SCAN_COEX_SUPPORT_ENABLE_DEFAULT (0) |
Agarwal Ashish | ef54a18 | 2014-12-16 15:07:31 +0530 | [diff] [blame] | 1911 | |
| 1912 | |
| 1913 | /* if gEnableTDLSScan |
| 1914 | * 0: Same as gEnableTDLSScanCoexistence ; driver will do disconnect if |
| 1915 | * Peer is not buffer STA capable. |
| 1916 | * 1: Dut will scan in all cases. |
| 1917 | * 2: If peer is not buffer STA capable, use CTS2self to do scan. |
| 1918 | */ |
| 1919 | #define CFG_TDLS_SCAN_ENABLE "gEnableTDLSScan" |
| 1920 | #define CFG_TDLS_SCAN_ENABLE_MIN (0) |
| 1921 | #define CFG_TDLS_SCAN_ENABLE_MAX (2) |
| 1922 | #define CFG_TDLS_SCAN_ENABLE_DEFAULT (0) |
Gopichand Nakkala | 3164967 | 2013-02-27 12:15:51 -0800 | [diff] [blame] | 1923 | #endif |
Gopichand Nakkala | fda520a | 2013-02-26 16:41:58 -0800 | [diff] [blame] | 1924 | |
Dino Mycle | df0a5d9 | 2014-07-04 09:41:55 +0530 | [diff] [blame] | 1925 | #ifdef WLAN_FEATURE_LINK_LAYER_STATS |
| 1926 | #define CFG_LINK_LAYER_STATS_ENABLE "gEnableLLStats" |
| 1927 | #define CFG_LINK_LAYER_STATS_ENABLE_MIN (0) |
| 1928 | #define CFG_LINK_LAYER_STATS_ENABLE_MAX (1) |
| 1929 | #define CFG_LINK_LAYER_STATS_ENABLE_DEFAULT (0) |
| 1930 | #endif |
| 1931 | |
Dino Mycle | e8843b3 | 2014-07-04 14:21:45 +0530 | [diff] [blame] | 1932 | #ifdef WLAN_FEATURE_EXTSCAN |
| 1933 | #define CFG_EXTSCAN_ENABLE "gEnableEXTScan" |
| 1934 | #define CFG_EXTSCAN_ENABLE_MIN (0) |
| 1935 | #define CFG_EXTSCAN_ENABLE_MAX (1) |
| 1936 | #define CFG_EXTSCAN_ENABLE_DEFAULT (0) |
| 1937 | #endif |
| 1938 | |
Gopichand Nakkala | 3164967 | 2013-02-27 12:15:51 -0800 | [diff] [blame] | 1939 | #ifdef WLAN_ACTIVEMODE_OFFLOAD_FEATURE |
Leela Venkata Kiran Kumar Reddy Chirala | 911463f | 2013-02-22 18:01:15 -0800 | [diff] [blame] | 1940 | #define CFG_ACTIVEMODE_OFFLOAD_ENABLE "gEnableActiveModeOffload" |
| 1941 | #define CFG_ACTIVEMODE_OFFLOAD_ENABLE_MIN ( 0 ) |
| 1942 | #define CFG_ACTIVEMODE_OFFLOAD_ENABLE_MAX ( 1 ) |
| 1943 | #define CFG_ACTIVEMODE_OFFLOAD_ENABLE_DEFAULT ( 1 ) |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 1944 | #endif |
Madan Mohan Koyyalamudi | 0d40e66 | 2012-12-07 14:24:14 -0800 | [diff] [blame] | 1945 | |
| 1946 | /* Enable/Disable LPWR Image(cMEM uBSP) Transition */ |
| 1947 | #define CFG_ENABLE_LPWR_IMG_TRANSITION_NAME "gEnableLpwrImgTransition" |
| 1948 | #define CFG_ENABLE_LPWR_IMG_TRANSITION_MIN ( 0 ) |
| 1949 | #define CFG_ENABLE_LPWR_IMG_TRANSITION_MAX ( 1 ) |
c_hpothu | 8b81712 | 2014-05-30 19:30:36 +0530 | [diff] [blame] | 1950 | #define CFG_ENABLE_LPWR_IMG_TRANSITION_DEFAULT ( 1 ) |
Madan Mohan Koyyalamudi | 0d40e66 | 2012-12-07 14:24:14 -0800 | [diff] [blame] | 1951 | |
| 1952 | |
Sandeep Puligilla | 2b6dc63 | 2012-12-17 14:44:16 -0800 | [diff] [blame] | 1953 | /* |
| 1954 | * Scan Aging timeout value in seconds |
| 1955 | */ |
| 1956 | #define CFG_SCAN_AGING_PARAM_NAME "gScanAgingTime" |
| 1957 | #define CFG_SCAN_AGING_PARAM_MIN ( 0 ) |
| 1958 | #define CFG_SCAN_AGING_PARAM_MAX ( 200 ) |
| 1959 | #define CFG_SCAN_AGING_PARAM_DEFAULT ( 60 ) |
| 1960 | |
Gopichand Nakkala | b2d2c31 | 2013-01-04 11:41:02 -0800 | [diff] [blame] | 1961 | /* Config Param to enable the txLdpc capability |
| 1962 | * 0 - disable |
| 1963 | * 1 - HT LDPC enable |
| 1964 | * 2 - VHT LDPC enable |
| 1965 | * 3 - HT & VHT LDPC enable */ |
| 1966 | #define CFG_TX_LDPC_ENABLE_FEATURE "gTxLdpcEnable" |
| 1967 | #define CFG_TX_LDPC_ENABLE_FEATURE_MIN ( 0 ) |
| 1968 | #define CFG_TX_LDPC_ENABLE_FEATURE_MAX ( 3 ) |
| 1969 | #define CFG_TX_LDPC_ENABLE_FEATURE_DEFAULT ( 0 ) |
Madan Mohan Koyyalamudi | 01cba04 | 2013-01-10 21:56:05 -0800 | [diff] [blame] | 1970 | |
| 1971 | /* |
| 1972 | * Enable / Disable MCC Adaptive Scheduler feature |
| 1973 | * Default: Enable |
| 1974 | */ |
| 1975 | #define CFG_ENABLE_MCC_ADATIVE_SCHEDULER_ENABLED_NAME "gEnableMCCAdaptiveScheduler" |
| 1976 | #define CFG_ENABLE_MCC_ADATIVE_SCHEDULER_ENABLED_MIN ( 0 ) |
| 1977 | #define CFG_ENABLE_MCC_ADATIVE_SCHEDULER_ENABLED_MAX ( 1 ) |
Bansidhar Gopalachari | a31c502 | 2013-08-01 15:21:05 -0700 | [diff] [blame] | 1978 | #define CFG_ENABLE_MCC_ADATIVE_SCHEDULER_ENABLED_DEFAULT ( 1 ) |
Madan Mohan Koyyalamudi | 01cba04 | 2013-01-10 21:56:05 -0800 | [diff] [blame] | 1979 | |
Shailender Karmuchi | 08f87c2 | 2013-01-17 12:51:24 -0800 | [diff] [blame] | 1980 | #ifdef WLAN_FEATURE_11AC |
| 1981 | #define CFG_VHT_SU_BEAMFORMEE_CAP_FEATURE "gTxBFEnable" |
| 1982 | #define CFG_VHT_SU_BEAMFORMEE_CAP_FEATURE_MIN ( WNI_CFG_VHT_SU_BEAMFORMEE_CAP_STAMIN ) |
| 1983 | #define CFG_VHT_SU_BEAMFORMEE_CAP_FEATURE_MAX ( WNI_CFG_VHT_SU_BEAMFORMEE_CAP_STAMAX ) |
| 1984 | #define CFG_VHT_SU_BEAMFORMEE_CAP_FEATURE_DEFAULT ( WNI_CFG_VHT_SU_BEAMFORMEE_CAP_STADEF ) |
Shailender Karmuchi | cc3fe44 | 2013-02-16 18:18:33 -0800 | [diff] [blame] | 1985 | |
| 1986 | #define CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED "gTxBFCsnValue" |
| 1987 | #define CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_MIN ( WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_STAMIN ) |
Abhishek Singh | cb4d15c | 2014-11-04 16:09:49 +0530 | [diff] [blame] | 1988 | #define CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_MAX ( WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_STAMAX - 1 ) |
| 1989 | #define CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_DEFAULT ( WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_STAMAX - 1 ) |
Shailender Karmuchi | cc3fe44 | 2013-02-16 18:18:33 -0800 | [diff] [blame] | 1990 | |
Abhishek Singh | 6d5d29c | 2014-07-03 14:25:22 +0530 | [diff] [blame] | 1991 | #define CFG_VHT_ENABLE_MU_BFORMEE_CAP_FEATURE "gEnableMuBformee" |
| 1992 | #define CFG_VHT_ENABLE_MU_BFORMEE_CAP_FEATURE_MIN ( 0 ) |
| 1993 | #define CFG_VHT_ENABLE_MU_BFORMEE_CAP_FEATURE_MAX ( 1 ) |
| 1994 | #define CFG_VHT_ENABLE_MU_BFORMEE_CAP_FEATURE_DEFAULT ( 1 ) |
| 1995 | |
Abhishek Singh | aa63bf2 | 2014-10-30 17:09:45 +0530 | [diff] [blame] | 1996 | #define CFG_VHT_AMPDU_LEN_EXP_NAME "gVhtMaxAmpduLenExp" |
| 1997 | #define CFG_VHT_AMPDU_LEN_EXP_MIN ( 0 ) |
| 1998 | #define CFG_VHT_AMPDU_LEN_EXP_MAX ( 7 ) |
Sushant Kaushik | 98ffee8 | 2015-01-08 17:15:40 +0530 | [diff] [blame] | 1999 | #define CFG_VHT_AMPDU_LEN_EXP_DEFAULT ( 7 ) |
Abhishek Singh | aa63bf2 | 2014-10-30 17:09:45 +0530 | [diff] [blame] | 2000 | |
Shailender Karmuchi | 08f87c2 | 2013-01-17 12:51:24 -0800 | [diff] [blame] | 2001 | #endif |
| 2002 | |
Leela V Kiran Kumar Reddy Chirala | b1f7d34 | 2013-02-11 00:27:02 -0800 | [diff] [blame] | 2003 | |
Madan Mohan Koyylamudi | 64267f7 | 2013-02-05 14:07:08 +0530 | [diff] [blame] | 2004 | /* |
| 2005 | * SAP ALLOW All Channels |
| 2006 | */ |
| 2007 | #define CFG_SAP_ALLOW_ALL_CHANNEL_PARAM_NAME "gSapAllowAllChannel" |
| 2008 | #define CFG_SAP_ALLOW_ALL_CHANNEL_PARAM_MIN ( 0 ) |
| 2009 | #define CFG_SAP_ALLOW_ALL_CHANNEL_PARAM_MAX ( 1 ) |
| 2010 | #define CFG_SAP_ALLOW_ALL_CHANNEL_PARAM_DEFAULT ( 0 ) |
| 2011 | |
| 2012 | |
Leela V Kiran Kumar Reddy Chirala | b1f7d34 | 2013-02-11 00:27:02 -0800 | [diff] [blame] | 2013 | #ifdef WLAN_FEATURE_11AC |
| 2014 | #define CFG_DISABLE_LDPC_WITH_TXBF_AP "gDisableLDPCWithTxbfAP" |
| 2015 | #define CFG_DISABLE_LDPC_WITH_TXBF_AP_MIN ( 0 ) |
| 2016 | #define CFG_DISABLE_LDPC_WITH_TXBF_AP_MAX ( 1 ) |
Leela Venkata Kiran Kumar Reddy Chirala | 6930009 | 2013-03-29 14:31:57 -0700 | [diff] [blame] | 2017 | #define CFG_DISABLE_LDPC_WITH_TXBF_AP_DEFAULT ( 0 ) |
Leela V Kiran Kumar Reddy Chirala | b1f7d34 | 2013-02-11 00:27:02 -0800 | [diff] [blame] | 2018 | #endif |
Tushnim Bhattacharyya | 9cdf608 | 2013-04-21 16:33:30 -0700 | [diff] [blame] | 2019 | |
| 2020 | #define CFG_LIST_OF_NON_DFS_COUNTRY_CODE "gListOfNonDfsCountryCode" |
| 2021 | #define CFG_LIST_OF_NON_DFS_COUNTRY_CODE_DEFAULT "JO,MA" |
| 2022 | |
Madan Mohan Koyyalamudi | ba793b6 | 2013-05-09 17:45:51 -0700 | [diff] [blame] | 2023 | /* |
| 2024 | * IBSS Operating Channels for 2.4G and 5GHz channels |
| 2025 | */ |
| 2026 | #define CFG_IBSS_ADHOC_CHANNEL_5GHZ_NAME "gAdHocChannel5G" |
| 2027 | #define CFG_IBSS_ADHOC_CHANNEL_5GHZ_MIN ( 36 ) |
| 2028 | #define CFG_IBSS_ADHOC_CHANNEL_5GHZ_MAX ( 165 ) |
| 2029 | #define CFG_IBSS_ADHOC_CHANNEL_5GHZ_DEFAULT ( 44 ) |
| 2030 | |
| 2031 | #define CFG_IBSS_ADHOC_CHANNEL_24GHZ_NAME "gAdHocChannel24G" |
| 2032 | #define CFG_IBSS_ADHOC_CHANNEL_24GHZ_MIN ( 1 ) |
| 2033 | #define CFG_IBSS_ADHOC_CHANNEL_24GHZ_MAX ( 14 ) |
| 2034 | #define CFG_IBSS_ADHOC_CHANNEL_24GHZ_DEFAULT ( 6 ) |
Shailender Karmuchi | a734f33 | 2013-04-19 14:02:48 -0700 | [diff] [blame] | 2035 | |
Ravi Joshi | 83bfaa1 | 2013-05-28 22:12:08 -0700 | [diff] [blame] | 2036 | #define CFG_LIST_OF_NON_11AC_COUNTRY_CODE "gListOfNon11acCountryCode" |
| 2037 | #define CFG_LIST_OF_NON_11AC_COUNTRY_CODE_DEFAULT "RU,UA,ZA" |
| 2038 | |
| 2039 | /* Parameter to control VHT support in 2.4 GHz band */ |
| 2040 | #define CFG_ENABLE_VHT_FOR_24GHZ_NAME "gEnableVhtFor24GHzBand" |
| 2041 | #define CFG_ENABLE_VHT_FOR_24GHZ_MIN (0) |
| 2042 | #define CFG_ENABLE_VHT_FOR_24GHZ_MAX (1) |
| 2043 | #define CFG_ENABLE_VHT_FOR_24GHZ_DEFAULT (0) |
| 2044 | |
Gopichand Nakkala | dacbcb5 | 2013-04-18 16:41:54 +0530 | [diff] [blame] | 2045 | |
Gopichand Nakkala | 42bc89e | 2013-05-27 12:49:09 +0530 | [diff] [blame] | 2046 | #define CFG_MAX_MEDIUM_TIME "gMaxMediumTime" |
| 2047 | #define CFG_MAX_MEDIUM_TIME_STAMIN WNI_CFG_MAX_MEDIUM_TIME_STAMIN |
| 2048 | #define CFG_MAX_MEDIUM_TIME_STAMAX WNI_CFG_MAX_MEDIUM_TIME_STAMAX |
| 2049 | #define CFG_MAX_MEDIUM_TIME_STADEFAULT WNI_CFG_MAX_MEDIUM_TIME_STADEF |
| 2050 | |
Leo Chang | 64d68bc | 2013-06-04 15:40:52 -0700 | [diff] [blame] | 2051 | /* |
| 2052 | * SAP/P2P-GO mode traffic monitor |
| 2053 | */ |
| 2054 | #define CFG_ENABLE_TRAFFIC_MONITOR "gEnableTrafficMonitor" |
| 2055 | #define CFG_ENABLE_TRAFFIC_MONITOR_MIN ( 0 ) |
| 2056 | #define CFG_ENABLE_TRAFFIC_MONITOR_MAX ( 1 ) |
| 2057 | #define CFG_ENABLE_TRAFFIC_MONITOR_DEFAULT ( 0 ) |
| 2058 | |
| 2059 | #define CFG_TRAFFIC_IDLE_TIMEOUT "gTrafficIdleTimeout" |
| 2060 | #define CFG_TRAFFIC_IDLE_TIMEOUT_MIN ( 3000 ) |
| 2061 | #define CFG_TRAFFIC_IDLE_TIMEOUT_MAX ( 10000 ) |
| 2062 | #define CFG_TRAFFIC_IDLE_TIMEOUT_DEFAULT ( 5000 ) |
| 2063 | |
Gopichand Nakkala | 154bda2 | 2013-06-11 17:41:22 +0530 | [diff] [blame] | 2064 | /* |
| 2065 | * SCAN Offload |
| 2066 | */ |
| 2067 | #define CFG_SCAN_OFFLOAD_NAME "gEnableDirectedScanOffload" |
| 2068 | #define CFG_SCAN_OFFLOAD_DISABLE ( 0 ) |
| 2069 | #define CFG_SCAN_OFFLOAD_ENABLE ( 1 ) |
| 2070 | #define CFG_SCAN_OFFLOAD_DEFAULT ( CFG_SCAN_OFFLOAD_DISABLE ) |
| 2071 | |
Srinivas Girigowda | 830bbd0 | 2013-06-13 19:44:16 -0700 | [diff] [blame] | 2072 | /* |
| 2073 | * Enable legacy fast roaming (LFR) on STA link during concurrent sessions |
| 2074 | */ |
| 2075 | #ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD |
| 2076 | #define CFG_ENABLE_FAST_ROAM_IN_CONCURRENCY "gEnableFastRoamInConcurrency" |
| 2077 | #define CFG_ENABLE_FAST_ROAM_IN_CONCURRENCY_MIN ( 0 ) |
| 2078 | #define CFG_ENABLE_FAST_ROAM_IN_CONCURRENCY_MAX ( 1 ) |
| 2079 | #define CFG_ENABLE_FAST_ROAM_IN_CONCURRENCY_DEFAULT ( 1 ) |
| 2080 | #endif |
| 2081 | |
Yue Ma | 0fd2387 | 2013-08-01 15:56:47 -0700 | [diff] [blame] | 2082 | /* |
| 2083 | * FlexConnectPowerFactor parameter |
| 2084 | * Default: Disable (0) |
| 2085 | */ |
| 2086 | #define CFG_FLEX_CONNECT_POWER_FACTOR_NAME "gFlexConnectPowerFactor" |
| 2087 | #define CFG_FLEX_CONNECT_POWER_FACTOR_MIN ( 0 ) |
| 2088 | #define CFG_FLEX_CONNECT_POWER_FACTOR_MAX ( 9 ) |
| 2089 | #define CFG_FLEX_CONNECT_POWER_FACTOR_DEFAULT ( 0 ) |
| 2090 | |
Ravi Joshi | d2ca7c4 | 2013-07-23 08:37:49 -0700 | [diff] [blame] | 2091 | /* |
| 2092 | * Enable heart beat monitoring offload to FW |
| 2093 | */ |
| 2094 | #define CFG_ENABLE_HEART_BEAT_OFFLOAD "gEnableIbssHeartBeatOffload" |
| 2095 | #define CFG_ENABLE_HEART_BEAT_OFFLOAD_MIN ( 0 ) |
| 2096 | #define CFG_ENABLE_HEART_BEAT_OFFLOAD_MAX ( 1 ) |
| 2097 | #define CFG_ENABLE_HEART_BEAT_OFFLOAD_DEFAULT ( 1 ) |
| 2098 | |
Madan Mohan Koyyalamudi | ca45457 | 2013-08-07 19:57:03 +0530 | [diff] [blame] | 2099 | #define CFG_ANTENNA_DIVERSITY_PARAM_NAME "gAntennaDiversity" |
| 2100 | #define CFG_ANTENNA_DIVERSITY_PARAM_MIN ( 0 ) |
| 2101 | #define CFG_ANTENNA_DIVERSITY_PARAM_MAX ( 3 ) |
| 2102 | #define CFG_ANTENNA_DIVERSITY_PARAM_DEFAULT ( 0 ) |
| 2103 | |
Madan Mohan Koyyalamudi | d9383fd | 2013-08-13 09:27:30 +0530 | [diff] [blame] | 2104 | #define CFG_ENABLE_SNR_MONITORING_NAME "gEnableSNRMonitoring" |
| 2105 | #define CFG_ENABLE_SNR_MONITORING_MIN ( 0 ) |
| 2106 | #define CFG_ENABLE_SNR_MONITORING_MAX ( 1 ) |
| 2107 | #define CFG_ENABLE_SNR_MONITORING_DEFAULT ( 0 ) |
Sudhir Sattayappa Kohalli | 3762069 | 2013-08-05 14:02:26 -0700 | [diff] [blame] | 2108 | //Macro to enable/disable dynamic timer |
| 2109 | #define CFG_DYNAMIC_SPLIT_SCAN_NAME "gEnableDynSplitScan" |
| 2110 | #define CFG_DYNAMIC_SPLIT_SCAN_MIN ( 0 ) |
| 2111 | #define CFG_DYNAMIC_SPLIT_SCAN_MAX ( 1 ) |
| 2112 | #define CFG_DYNAMIC_SPLIT_SCAN_DEFAULT ( 1 ) |
| 2113 | |
| 2114 | //Macro to monitor the packet count |
| 2115 | #define CFG_SPLIT_SCAN_TRAFFIC_MONITOR_THRSHLD_NAME "gSplitScanTxRxThreshold" |
| 2116 | #define CFG_SPLIT_SCAN_TRAFFIC_MONITOR_THRSHLD_MIN ( 10 ) |
| 2117 | #define CFG_SPLIT_SCAN_TRAFFIC_MONITOR_THRSHLD_MAX ( 100 ) |
| 2118 | #define CFG_SPLIT_SCAN_TRAFFIC_MONITOR_THRSHLD_DEFAULT ( 50 ) |
| 2119 | |
| 2120 | //Macro to handle the monitor timer value in milliseconds |
| 2121 | #define CFG_SPLIT_SCAN_TRAFFIC_MONITOR_TIMER_NAME "gSplitScanTxRxTimer" |
| 2122 | #define CFG_SPLIT_SCAN_TRAFFIC_MONITOR_TIMER_MIN ( 1000 ) |
| 2123 | #define CFG_SPLIT_SCAN_TRAFFIC_MONITOR_TIMER_MAX ( 10000 ) |
| 2124 | #define CFG_SPLIT_SCAN_TRAFFIC_MONITOR_TIMER_DEFAULT ( 5000 ) |
| 2125 | |
Madan Mohan Koyyalamudi | 1d16f46 | 2013-08-27 16:25:34 +0530 | [diff] [blame] | 2126 | #ifdef FEATURE_WLAN_SCAN_PNO |
Hardik Kantilal Patel | 3dfd879 | 2013-11-13 20:34:57 +0530 | [diff] [blame] | 2127 | #define CFG_PNO_SCAN_SUPPORT "gPNOScanSupport" |
| 2128 | #define CFG_PNO_SCAN_SUPPORT_ENABLE ( 1 ) |
| 2129 | #define CFG_PNO_SCAN_SUPPORT_DISABLE ( 0 ) |
| 2130 | #define CFG_PNO_SCAN_SUPPORT_DEFAULT ( 1 ) |
| 2131 | |
Madan Mohan Koyyalamudi | 1d16f46 | 2013-08-27 16:25:34 +0530 | [diff] [blame] | 2132 | #define CFG_PNO_SCAN_TIMER_REPEAT_VALUE "gPNOScanTimerRepeatValue" |
| 2133 | #define CFG_PNO_SCAN_TIMER_REPEAT_VALUE_DEFAULT ( 6 ) |
| 2134 | #define CFG_PNO_SCAN_TIMER_REPEAT_VALUE_MIN ( 0 ) |
| 2135 | #define CFG_PNO_SCAN_TIMER_REPEAT_VALUE_MAX ( 0xffffffff ) |
| 2136 | #endif |
| 2137 | |
Agarwal Ashish | 8fa003e | 2014-11-14 17:20:32 +0530 | [diff] [blame] | 2138 | /* Not supporting this feature in pronto */ |
krunal soni | 5afa96c | 2013-09-06 22:19:02 -0700 | [diff] [blame] | 2139 | #define CFG_AMSDU_SUPPORT_IN_AMPDU_NAME "gAmsduSupportInAMPDU" |
| 2140 | #define CFG_AMSDU_SUPPORT_IN_AMPDU_MIN (0) |
Agarwal Ashish | 8fa003e | 2014-11-14 17:20:32 +0530 | [diff] [blame] | 2141 | #define CFG_AMSDU_SUPPORT_IN_AMPDU_MAX (0) |
krunal soni | 5afa96c | 2013-09-06 22:19:02 -0700 | [diff] [blame] | 2142 | #define CFG_AMSDU_SUPPORT_IN_AMPDU_DEFAULT (0) //disabled |
| 2143 | |
Srinivas Girigowda | 41c7c5f | 2013-10-21 19:01:38 -0700 | [diff] [blame] | 2144 | /* Prefer connecting to 5G AP even if its RSSI is lower by |
| 2145 | gSelect5GHzMargin dBm than 2.4G AP. |
| 2146 | This feature requires the dependent cfg.ini "gRoamPrefer5GHz" set to 1 */ |
| 2147 | #define CFG_STRICT_5GHZ_PREF_BY_MARGIN "gSelect5GHzMargin" |
| 2148 | #define CFG_STRICT_5GHZ_PREF_BY_MARGIN_MIN (0) |
| 2149 | #define CFG_STRICT_5GHZ_PREF_BY_MARGIN_MAX (60) |
| 2150 | #define CFG_STRICT_5GHZ_PREF_BY_MARGIN_DEFAULT (0) //set 0 to disable |
| 2151 | |
krunal soni | e9002db | 2013-11-25 14:24:17 -0800 | [diff] [blame] | 2152 | #define CFG_COALESING_IN_IBSS_NAME "gCoalesingInIBSS" |
| 2153 | #define CFG_COALESING_IN_IBSS_MIN (0) |
| 2154 | #define CFG_COALESING_IN_IBSS_MAX (1) |
| 2155 | #define CFG_COALESING_IN_IBSS_DEFAULT (0) //disabled |
| 2156 | |
Kiet Lam | 4bbd3cb | 2013-11-07 20:03:49 +0530 | [diff] [blame] | 2157 | #define CFG_DISABLE_ATH_NAME "gAthDisable" |
| 2158 | #define CFG_DISABLE_ATH_MIN (0) |
| 2159 | #define CFG_DISABLE_ATH_MAX (1) |
| 2160 | #define CFG_DISABLE_ATH_DEFAULT (0) |
| 2161 | |
Arif Hussain | d521891 | 2013-12-05 01:10:55 -0800 | [diff] [blame] | 2162 | //Enable Memory Debug |
| 2163 | #ifdef MEMORY_DEBUG |
| 2164 | #define CFG_ENABLE_MEMORY_DEBUG_NAME "gEnableMemoryDebug" |
| 2165 | #define CFG_ENABLE_MEMORY_DEBUG_MIN (0) |
| 2166 | #define CFG_ENABLE_MEMORY_DEBUG_MAX (1) |
| 2167 | #define CFG_ENABLE_MEMORY_DEBUG_DEFAULT (0) |
| 2168 | #endif |
| 2169 | |
Tushnim Bhattacharyya | 9889e79 | 2013-12-19 18:18:36 -0800 | [diff] [blame] | 2170 | #define CFG_OVERRIDE_COUNTRY_CODE "gStaCountryCode" |
| 2171 | #define CFG_OVERRIDE_COUNTRY_CODE_DEFAULT "000" |
| 2172 | |
AnjaneeDevi Kapparapu | 50239e3 | 2014-01-07 18:09:33 +0530 | [diff] [blame] | 2173 | /*Once the period expires the RSSI will be compared with Threshold |
| 2174 | * and if needed trigger events will be raised |
| 2175 | */ |
| 2176 | #define CFG_ASD_PROBE_INTERVAL_NAME "gAsdProbeInterval" |
| 2177 | #define CFG_ASD_PROBE_INTERVAL_DEFAULT (50) |
Anand N Sunkad | 9511cd2 | 2015-03-10 16:49:34 +0530 | [diff] [blame] | 2178 | #define CFG_ASD_PROBE_INTERVAL_MIN (1) |
| 2179 | #define CFG_ASD_PROBE_INTERVAL_MAX (500) |
AnjaneeDevi Kapparapu | 50239e3 | 2014-01-07 18:09:33 +0530 | [diff] [blame] | 2180 | |
| 2181 | /* RSSI Threshold used to trigger probing activity/selection process*/ |
| 2182 | #define CFG_ASD_TRIGGER_THRESHOLD_NAME "gAsdTriggerThreshold" |
Anand N Sunkad | 9511cd2 | 2015-03-10 16:49:34 +0530 | [diff] [blame] | 2183 | #define CFG_ASD_TRIGGER_THRESHOLD_DEFAULT (-60) |
| 2184 | #define CFG_ASD_TRIGGER_THRESHOLD_MIN (-100) |
| 2185 | #define CFG_ASD_TRIGGER_THRESHOLD_MAX (-10) |
AnjaneeDevi Kapparapu | 50239e3 | 2014-01-07 18:09:33 +0530 | [diff] [blame] | 2186 | |
| 2187 | /*RSSI Hysteresis Threshold for RSSI-RTT*/ |
| 2188 | #define CFG_ASD_RTT_RSSI_HYST_THRESHOLD_NAME "gAsdRTTRssiHystThreshold" |
Anand N Sunkad | 9511cd2 | 2015-03-10 16:49:34 +0530 | [diff] [blame] | 2189 | #define CFG_ASD_RTT_RSSI_HYST_THRESHOLD_DEFAULT (3) |
AnjaneeDevi Kapparapu | 50239e3 | 2014-01-07 18:09:33 +0530 | [diff] [blame] | 2190 | #define CFG_ASD_RTT_RSSI_HYST_THRESHOLD_MIN (0) |
Anand N Sunkad | 9511cd2 | 2015-03-10 16:49:34 +0530 | [diff] [blame] | 2191 | #define CFG_ASD_RTT_RSSI_HYST_THRESHOLD_MAX (5) |
Kiet Lam | d83bd8f | 2014-01-14 22:17:30 -0800 | [diff] [blame] | 2192 | |
Leela Venkata Kiran Kumar Reddy Chirala | 22c159b | 2013-12-23 18:19:13 -0800 | [diff] [blame] | 2193 | //Enable debug for remain on channel issues |
| 2194 | #define CFG_DEBUG_P2P_REMAIN_ON_CHANNEL_NAME "gDebugP2pRemainOnChannel" |
| 2195 | #define CFG_DEBUG_P2P_REMAIN_ON_CHANNEL_DEFAULT ( 0 ) |
| 2196 | #define CFG_DEBUG_P2P_REMAIN_ON_CHANNEL_MIN ( 0 ) |
| 2197 | #define CFG_DEBUG_P2P_REMAIN_ON_CHANNEL_MAX ( 1 ) |
| 2198 | |
| 2199 | #define CFG_CTS2S_DURING_BTC_SCO_NAME "btcCTS2SduringSCO" |
| 2200 | #define CFG_CTS2S_DURING_BTC_SCO_DEFAULT WNI_CFG_BTC_CTS2S_DURING_SCO_STADEF |
| 2201 | #define CFG_CTS2S_DURING_BTC_SCO_MIN WNI_CFG_BTC_CTS2S_DURING_SCO_STAMIN |
| 2202 | #define CFG_CTS2S_DURING_BTC_SCO_MAX WNI_CFG_BTC_CTS2S_DURING_SCO_STAMAX |
Tushnim Bhattacharyya | a3ba5a5 | 2014-01-30 11:37:33 -0800 | [diff] [blame] | 2203 | |
Naresh Jayaram | f5bbe3f | 2014-12-29 18:32:47 +0530 | [diff] [blame] | 2204 | #define CFG_BTC_FAST_WLAN_CONN_PREF "gBtcFastWlanConnPref" |
| 2205 | #define CFG_BTC_FAST_WLAN_CONN_PREF_DEFAULT ( 1 ) |
| 2206 | #define CFG_BTC_FAST_WLAN_CONN_PREF_MIN ( 0 ) |
Hanumantha Reddy Pothula | 155c042 | 2015-04-30 17:56:25 +0530 | [diff] [blame] | 2207 | #define CFG_BTC_FAST_WLAN_CONN_PREF_MAX ( 5 ) |
Kalikinkar dhara | d73a9bd | 2014-01-28 22:42:34 -0800 | [diff] [blame] | 2208 | |
Sachin Ahuja | 41b6190 | 2015-06-18 18:32:15 +0530 | [diff] [blame] | 2209 | #define CFG_BTC_STATIC_OPP_WLAN_IDLE_WLAN_LEN "gBtcStaticOppWlanIdleWlanLen" |
| 2210 | #define CFG_BTC_STATIC_OPP_WLAN_IDLE_WLAN_LEN_DEFAULT ( 40000 ) |
| 2211 | #define CFG_BTC_STATIC_OPP_WLAN_IDLE_WLAN_LEN_MIN ( 0 ) |
| 2212 | #define CFG_BTC_STATIC_OPP_WLAN_IDLE_WLAN_LEN_MAX ( 250000 ) |
| 2213 | |
| 2214 | |
| 2215 | #define CFG_BTC_STATIC_OPP_WLAN_IDLE_BT_LEN "gBtcStaticOppWlanIdleBtLen" |
| 2216 | #define CFG_BTC_STATIC_OPP_WLAN_IDLE_BT_LEN_DEFAULT ( 40000 ) |
| 2217 | #define CFG_BTC_STATIC_OPP_WLAN_IDLE_BT_LEN_MIN ( 0 ) |
| 2218 | #define CFG_BTC_STATIC_OPP_WLAN_IDLE_BT_LEN_MAX ( 250000 ) |
Tushnim Bhattacharyya | a3ba5a5 | 2014-01-30 11:37:33 -0800 | [diff] [blame] | 2219 | /* |
| 2220 | * Connection related log Enable/Disable. |
| 2221 | * 0x1 - Enable mgmt pkt logs (no probe req/rsp). |
| 2222 | * 0x2 - Enable EAPOL pkt logs. |
| 2223 | * 0x4 - Enable DHCP pkt logs. |
| 2224 | * 0x0 - Disable all the above connection related logs. |
| 2225 | */ |
| 2226 | #define CFG_ENABLE_DEBUG_CONNECT_ISSUE "gEnableDebugLog" |
| 2227 | #define CFG_ENABLE_DEBUG_CONNECT_ISSUE_MIN (0) |
| 2228 | #define CFG_ENABLE_DEBUG_CONNECT_ISSUE_MAX (0xFF) |
| 2229 | #define CFG_ENABLE_DEBUG_CONNECT_ISSUE_DEFAULT (0) |
| 2230 | |
Kalikinkar dhara | d73a9bd | 2014-01-28 22:42:34 -0800 | [diff] [blame] | 2231 | #define CFG_ENABLE_STRICT_REGULATORY_FOR_FCC_NAME "gEnableStrictRegulatoryForFCC" |
| 2232 | #define CFG_ENABLE_STRICT_REGULATORY_FOR_FCC_MIN ( 0 ) |
| 2233 | #define CFG_ENABLE_STRICT_REGULATORY_FOR_FCC_MAX ( 1 ) |
Agarwal Ashish | 0661dcd | 2014-05-20 20:16:41 +0530 | [diff] [blame] | 2234 | #define CFG_ENABLE_STRICT_REGULATORY_FOR_FCC_DEFAULT ( 0 ) |
Kalikinkar dhara | d73a9bd | 2014-01-28 22:42:34 -0800 | [diff] [blame] | 2235 | |
Rashmi Ramanna | bd3feb7 | 2014-02-25 16:14:48 +0530 | [diff] [blame] | 2236 | #define CFG_ADVERTISE_CONCURRENT_OPERATION_NAME "gAdvertiseConcurrentOperation" |
| 2237 | #define CFG_ADVERTISE_CONCURRENT_OPERATION_DEFAULT ( 1 ) |
| 2238 | #define CFG_ADVERTISE_CONCURRENT_OPERATION_MIN ( 0 ) |
| 2239 | #define CFG_ADVERTISE_CONCURRENT_OPERATION_MAX ( 1 ) |
Kalikinkar dhara | d73a9bd | 2014-01-28 22:42:34 -0800 | [diff] [blame] | 2240 | |
c_hpothu | 5bd1ae4 | 2014-03-07 20:28:22 +0530 | [diff] [blame] | 2241 | #define CFG_RA_FILTER_ENABLE_NAME "gRAFilterEnable" |
c_hpothu | bb73fc4 | 2014-08-06 17:25:15 +0530 | [diff] [blame] | 2242 | #define CFG_RA_FILTER_ENABLE_DEFAULT (0) |
c_hpothu | 5bd1ae4 | 2014-03-07 20:28:22 +0530 | [diff] [blame] | 2243 | #define CFG_RA_FILTER_ENABLE_MIN (0) |
| 2244 | #define CFG_RA_FILTER_ENABLE_MAX (1) |
| 2245 | |
| 2246 | #define CFG_RA_RATE_LIMIT_INTERVAL_NAME "gRARateLimitInterval" |
| 2247 | #define CFG_RA_RATE_LIMIT_INTERVAL_DEFAULT (60) |
| 2248 | #define CFG_RA_RATE_LIMIT_INTERVAL_MIN (0) |
| 2249 | #define CFG_RA_RATE_LIMIT_INTERVAL_MAX (60) |
| 2250 | |
Sandeep Puligilla | c80f26e | 2014-03-11 18:36:10 +0530 | [diff] [blame] | 2251 | #define CFG_ROAMING_DFS_CHANNEL_NAME "gAllowDFSChannelRoam" |
| 2252 | #define CFG_ROAMING_DFS_CHANNEL_MIN (0) |
| 2253 | #define CFG_ROAMING_DFS_CHANNEL_MAX (1) |
Kanchanapally, Vidyullatha | 76d8c28 | 2015-04-06 18:56:01 +0530 | [diff] [blame] | 2254 | #define CFG_ROAMING_DFS_CHANNEL_DEFAULT (1) |
Sandeep Puligilla | c80f26e | 2014-03-11 18:36:10 +0530 | [diff] [blame] | 2255 | |
c_hpothu | 059edb0 | 2014-03-12 21:44:28 +0530 | [diff] [blame] | 2256 | |
Vinay Krishna Eranna | d938c42 | 2014-03-10 17:14:21 +0530 | [diff] [blame] | 2257 | #ifdef WLAN_LOGGING_SOCK_SVC_ENABLE |
| 2258 | //Enable WLAN Logging to app space |
| 2259 | #define CFG_WLAN_LOGGING_SUPPORT_NAME "wlanLoggingEnable" |
| 2260 | #define CFG_WLAN_LOGGING_SUPPORT_ENABLE ( 1 ) |
| 2261 | #define CFG_WLAN_LOGGING_SUPPORT_DISABLE ( 0 ) |
| 2262 | #define CFG_WLAN_LOGGING_SUPPORT_DEFAULT ( 1 ) |
| 2263 | |
| 2264 | //Enable FATAL and ERROR logs for kmsg console |
| 2265 | #define CFG_WLAN_LOGGING_FE_CONSOLE_SUPPORT_NAME "wlanLoggingFEToConsole" |
| 2266 | #define CFG_WLAN_LOGGING_FE_CONSOLE_SUPPORT_ENABLE ( 1 ) |
| 2267 | #define CFG_WLAN_LOGGING_FE_CONSOLE_SUPPORT_DISABLE ( 0 ) |
Vinay Krishna Eranna | 8233736 | 2014-09-06 18:19:03 +0530 | [diff] [blame] | 2268 | #define CFG_WLAN_LOGGING_FE_CONSOLE_SUPPORT_DEFAULT ( 1 ) |
Vinay Krishna Eranna | d938c42 | 2014-03-10 17:14:21 +0530 | [diff] [blame] | 2269 | |
| 2270 | //Number of buffers to be used for WLAN logging |
| 2271 | #define CFG_WLAN_LOGGING_NUM_BUF_NAME "wlanLoggingNumBuf" |
Vinay Krishna Eranna | 0b11262 | 2014-04-21 20:17:57 +0530 | [diff] [blame] | 2272 | #define CFG_WLAN_LOGGING_NUM_BUF_MIN ( 4 ) |
Vinay Krishna Eranna | d938c42 | 2014-03-10 17:14:21 +0530 | [diff] [blame] | 2273 | #define CFG_WLAN_LOGGING_NUM_BUF_MAX ( 64 ) |
| 2274 | #define CFG_WLAN_LOGGING_NUM_BUF_DEFAULT ( 32 ) |
| 2275 | #endif //WLAN_LOGGING_SOCK_SVC_ENABLE |
| 2276 | |
Abhishek Singh | c98534e | 2015-06-12 10:44:34 +0530 | [diff] [blame] | 2277 | #define CFG_IGNORE_PEER_ERP_INFO_NAME "gIgnorePeerErpInfo" |
| 2278 | #define CFG_IGNORE_PEER_ERP_INFO_MIN ( 0 ) |
| 2279 | #define CFG_IGNORE_PEER_ERP_INFO_MAX ( 1 ) |
| 2280 | #define CFG_IGNORE_PEER_ERP_INFO_DEFAULT ( 0 ) |
| 2281 | |
c_hpothu | 059edb0 | 2014-03-12 21:44:28 +0530 | [diff] [blame] | 2282 | #define CFG_INITIAL_DWELL_TIME_NAME "gInitialDwellTime" |
| 2283 | #define CFG_INITIAL_DWELL_TIME_DEFAULT (0) |
| 2284 | #define CFG_INITIAL_DWELL_TIME_MIN (0) |
| 2285 | #define CFG_INITIAL_DWELL_TIME_MAX (100) |
| 2286 | |
c_hpothu | 0d5a735 | 2014-03-22 12:30:25 +0530 | [diff] [blame] | 2287 | #define CFG_INITIAL_SCAN_SKIP_DFS_CH_NAME "gInitialScanSkipDFSCh" |
| 2288 | #define CFG_INITIAL_SCAN_SKIP_DFS_CH_DEFAULT (1) |
| 2289 | #define CFG_INITIAL_SCAN_SKIP_DFS_CH_MIN (0) |
| 2290 | #define CFG_INITIAL_SCAN_SKIP_DFS_CH_MAX (1) |
c_hpothu | 059edb0 | 2014-03-12 21:44:28 +0530 | [diff] [blame] | 2291 | |
c_hpothu | 2d0f1c4 | 2014-04-01 18:38:51 +0530 | [diff] [blame] | 2292 | #define CFG_BTC_FATAL_HID_NSNIFF_BLK_GUIDANCE_NAME "btcFatalHidnSniffBlkGuidance" |
| 2293 | #define CFG_BTC_FATAL_HID_NSNIFF_BLK_GUIDANCE_MIN ( 0 ) |
| 2294 | #define CFG_BTC_FATAL_HID_NSNIFF_BLK_GUIDANCE_MAX ( 2 ) |
| 2295 | #define CFG_BTC_FATAL_HID_NSNIFF_BLK_GUIDANCE_DEFAULT ( 2 ) |
| 2296 | |
| 2297 | #define CFG_BTC_CRITICAL_HID_NSNIFF_BLK_GUIDANCE_NAME "btcCriticalHidnSniffBlkGuidance" |
| 2298 | #define CFG_BTC_CRITICAL_HID_NSNIFF_BLK_GUIDANCE_MIN ( 0 ) |
| 2299 | #define CFG_BTC_CRITICAL_HID_NSNIFF_BLK_GUIDANCE_MAX ( 1 ) |
| 2300 | #define CFG_BTC_CRITICAL_HID_NSNIFF_BLK_GUIDANCE_DEFAULT ( 1 ) |
| 2301 | |
| 2302 | #define CFG_BTC_DYN_A2DP_TX_QUEUE_THOLD_NAME "btcA2dpTxQueueThold" |
| 2303 | #define CFG_BTC_DYN_A2DP_TX_QUEUE_THOLD_MIN ( 0 ) |
| 2304 | #define CFG_BTC_DYN_A2DP_TX_QUEUE_THOLD_MAX ( 1 ) |
| 2305 | #define CFG_BTC_DYN_A2DP_TX_QUEUE_THOLD_DEFAULT ( 0 ) |
| 2306 | |
| 2307 | #define CFG_BTC_DYN_OPP_TX_QUEUE_THOLD_NAME "btcOppTxQueueThold" |
| 2308 | #define CFG_BTC_DYN_OPP_TX_QUEUE_THOLD_MIN ( 0 ) |
| 2309 | #define CFG_BTC_DYN_OPP_TX_QUEUE_THOLD_MAX ( 3 ) |
| 2310 | #define CFG_BTC_DYN_OPP_TX_QUEUE_THOLD_DEFAULT ( 1 ) |
| 2311 | |
Chet Lanctot | fadc8e3 | 2014-04-24 14:50:52 -0700 | [diff] [blame] | 2312 | #ifdef WLAN_FEATURE_11W |
| 2313 | #define CFG_PMF_SA_QUERY_MAX_RETRIES_NAME "pmfSaQueryMaxRetries" |
| 2314 | #define CFG_PMF_SA_QUERY_MAX_RETRIES_DEFAULT ( 5 ) |
| 2315 | #define CFG_PMF_SA_QUERY_MAX_RETRIES_MIN ( 0 ) |
| 2316 | #define CFG_PMF_SA_QUERY_MAX_RETRIES_MAX ( 20 ) |
| 2317 | |
| 2318 | #define CFG_PMF_SA_QUERY_RETRY_INTERVAL_NAME "pmfSaQueryRetryInterval" |
| 2319 | #define CFG_PMF_SA_QUERY_RETRY_INTERVAL_DEFAULT ( 200 ) |
| 2320 | #define CFG_PMF_SA_QUERY_RETRY_INTERVAL_MIN ( 0 ) |
| 2321 | #define CFG_PMF_SA_QUERY_RETRY_INTERVAL_MAX ( 2000 ) |
| 2322 | #endif |
| 2323 | |
Rashmi Ramanna | 68b309c | 2014-05-20 11:52:22 +0530 | [diff] [blame] | 2324 | #define CFG_DEFER_IMPS_FOR_TIME_NAME "gDeferIMPStime" |
| 2325 | #define CFG_DEFER_IMPS_FOR_TIME_MIN (0) |
| 2326 | #define CFG_DEFER_IMPS_FOR_TIME_MAX (500) |
| 2327 | #define CFG_DEFER_IMPS_FOR_TIME_DEFAULT (200) |
| 2328 | |
Abhishek Singh | de51a41 | 2014-05-20 19:17:26 +0530 | [diff] [blame] | 2329 | /* If last disconnection was due to HB failure and we reconnect |
| 2330 | * to same AP next time, send Deauth before starting connection |
| 2331 | */ |
| 2332 | #define CFG_ENABLE_DEAUTH_BEFORE_CONNECTION "gSendDeauthBeforeCon" |
| 2333 | #define CFG_ENABLE_DEAUTH_BEFORE_CONNECTION_MIN (0) |
| 2334 | #define CFG_ENABLE_DEAUTH_BEFORE_CONNECTION_MAX (1) |
| 2335 | #define CFG_ENABLE_DEAUTH_BEFORE_CONNECTION_DEFAULT (0) |
Rashmi Ramanna | 68b309c | 2014-05-20 11:52:22 +0530 | [diff] [blame] | 2336 | |
Siddharth Bhal | a3a5cb4 | 2014-09-29 21:13:13 +0530 | [diff] [blame] | 2337 | #define CFG_ENABLE_MAC_ADDR_SPOOFING "gEnableMacAddrSpoof" |
| 2338 | #define CFG_ENABLE_MAC_ADDR_SPOOFING_MIN (0) |
| 2339 | #define CFG_ENABLE_MAC_ADDR_SPOOFING_MAX (1) |
| 2340 | #define CFG_ENABLE_MAC_ADDR_SPOOFING_DEFAULT (0) |
| 2341 | |
Siddharth Bhal | 4a43255 | 2015-02-27 01:09:31 +0530 | [diff] [blame] | 2342 | #define CFG_ENABLE_MGMT_LOGGING "gEnableMgmtLogging" |
| 2343 | #define CFG_ENABLE_MGMT_LOGGING_MIN (0) |
| 2344 | #define CFG_ENABLE_MGMT_LOGGING_MAX (1) |
Mihir Shete | b7d351f | 2015-04-17 12:25:32 +0530 | [diff] [blame] | 2345 | #define CFG_ENABLE_MGMT_LOGGING_DEFAULT (0) |
Siddharth Bhal | 4a43255 | 2015-02-27 01:09:31 +0530 | [diff] [blame] | 2346 | |
| 2347 | #define CFG_ENABLE_BMUHW_TRACING "gEnableBMUHWtracing" |
| 2348 | #define CFG_ENABLE_BMUHW_TRACING_MIN (0) |
| 2349 | #define CFG_ENABLE_BMUHW_TRACING_MAX (1) |
Sachin Ahuja | 084313e | 2015-05-21 17:57:10 +0530 | [diff] [blame] | 2350 | #define CFG_ENABLE_BMUHW_TRACING_DEFAULT (1) |
Siddharth Bhal | 4a43255 | 2015-02-27 01:09:31 +0530 | [diff] [blame] | 2351 | |
Siddharth Bhal | d1be97f | 2015-05-27 22:39:59 +0530 | [diff] [blame] | 2352 | #define CFG_ENABLE_FW_LOGGING "gEnableFWLogging" |
| 2353 | #define CFG_ENABLE_FW_LOGGING_MIN (0) |
| 2354 | #define CFG_ENABLE_FW_LOGGING_MAX (1) |
Swaroop Golti | 11fd666 | 2015-07-30 01:23:18 +0530 | [diff] [blame] | 2355 | #define CFG_ENABLE_FW_LOGGING_DEFAULT (1) |
Siddharth Bhal | d1be97f | 2015-05-27 22:39:59 +0530 | [diff] [blame] | 2356 | |
| 2357 | // firmware will wakeup the host to send logs always |
| 2358 | #define CFG_ENABLE_FW_CONTINIOUS_LOGGING "gEnableContFWLogging" |
| 2359 | #define CFG_ENABLE_FW_CONTINIOUS_LOGGING_MIN (0) |
| 2360 | #define CFG_ENABLE_FW_CONTINIOUS_LOGGING_MAX (1) |
| 2361 | #define CFG_ENABLE_FW_CONTINIOUS_LOGGING_DEFAULT (0) |
| 2362 | |
| 2363 | /* when firmware log reaches this threshold and |
| 2364 | * if host is awake it will push the logs. |
| 2365 | */ |
| 2366 | #define CFG_MIN_LOGGING_BUFFER_SIZE "gMinLoggingBufferSize" |
| 2367 | #define CFG_MIN_LOGGING_BUFFER_SIZE_MIN (0) |
| 2368 | #define CFG_MIN_LOGGING_BUFFER_SIZE_MAX (6) |
| 2369 | #define CFG_MIN_LOGGING_BUFFER_SIZE_DEFAULT (1) |
| 2370 | |
| 2371 | // Max ring size in firmware to log msgs when host is suspended state |
| 2372 | #define CFG_MAX_LOGGING_BUFFER_SIZE "gMaxLoggingBufferSize" |
| 2373 | #define CFG_MAX_LOGGING_BUFFER_SIZE_MIN (0) |
| 2374 | #define CFG_MAX_LOGGING_BUFFER_SIZE_MAX (6) |
| 2375 | #define CFG_MAX_LOGGING_BUFFER_SIZE_DEFAULT (6) |
| 2376 | |
Pradeep Reddy POTTETI | 5c2e16d | 2014-06-27 16:47:38 +0530 | [diff] [blame] | 2377 | #define CFG_ENABLE_CH_AVOID "gEnableChannelAvoidance" |
| 2378 | #define CFG_ENABLE_CH_AVOID_MIN ( 0 ) |
| 2379 | #define CFG_ENABLE_CH_AVOID_MAX ( 1 ) |
| 2380 | #define CFG_ENABLE_CH_AVOID_DEFAULT ( 1 ) |
| 2381 | |
Agarwal Ashish | 51325b5 | 2014-06-16 16:50:49 +0530 | [diff] [blame] | 2382 | #define CFG_MAX_CONCURRENT_CONNECTIONS_NAME "gMaxConcurrentActiveSessions" |
| 2383 | #define CFG_MAX_CONCURRENT_CONNECTIONS_DEFAULT ( 2 ) |
| 2384 | #define CFG_MAX_CONCURRENT_CONNECTIONS_MIN ( 1 ) |
| 2385 | #define CFG_MAX_CONCURRENT_CONNECTIONS_MAX ( 4 ) |
| 2386 | |
Hardik Kantilal Patel | 086e0a3 | 2014-11-20 14:56:26 +0530 | [diff] [blame] | 2387 | #ifdef WLAN_FEATURE_AP_HT40_24G |
| 2388 | #define CFG_ENABLE_HT_2040_COEX "gApHT4024G" |
| 2389 | #define CFG_ENABLE_HT_2040_COEX_MIN ( 0 ) |
| 2390 | #define CFG_ENABLE_HT_2040_COEX_MAX ( 1 ) |
| 2391 | #define CFG_ENABLE_HT_2040_COEX_DEFAULT ( 0 ) |
| 2392 | #endif |
| 2393 | |
Mihir Shete | c34258c | 2014-07-30 17:50:27 +0530 | [diff] [blame] | 2394 | //Enable Dynamic WMM PS support |
| 2395 | #define CFG_ENABLE_DYNAMIC_WMMPS_NAME "gEnableDynamicWMMPS" |
| 2396 | #define CFG_ENABLE_DYNAMIC_WMM_PS_MIN (0) |
| 2397 | #define CFG_ENABLE_DYNAMIC_WMM_PS_MAX (1) |
| 2398 | #define CFG_ENABLE_DYNAMIC_WMM_PS_DEFAULT (1) |
| 2399 | |
| 2400 | /* |
| 2401 | * If the number of consecutive SPs for which the firmware has sent |
| 2402 | * trigger frame (because more data bit was set to 1 at end of SP) |
| 2403 | * when dynamic WMM PS support is enabled exceeds this value then |
| 2404 | * firmware will come out of power save mode |
| 2405 | */ |
| 2406 | #define CFG_MAX_UAPSD_CONSEC_SP_NAME "gMaxUapsdConsecSP" |
| 2407 | #define CFG_MAX_UAPSD_CONSEC_SP_DEFAULT ( 10 ) |
| 2408 | #define CFG_MAX_UAPSD_CONSEC_SP_MIN ( 0 ) |
| 2409 | #define CFG_MAX_UAPSD_CONSEC_SP_MAX ( 500 ) |
| 2410 | |
| 2411 | /* |
| 2412 | * If the number of frames received in the "gUapsdConsecRxCntMeasWindow" |
| 2413 | * exceeds this value then firmware will come out of power save mode. |
| 2414 | * Comes into effect only when dynamic WMM PS is enabled. |
| 2415 | */ |
| 2416 | #define CFG_MAX_UAPSD_CONSEC_RX_CNT_NAME "gMaxUapsdConsecRxCnt" |
| 2417 | #define CFG_MAX_UAPSD_CONSEC_RX_CNT_DEFAULT ( 50 ) |
| 2418 | #define CFG_MAX_UAPSD_CONSEC_RX_CNT_MIN ( 0 ) |
| 2419 | #define CFG_MAX_UAPSD_CONSEC_RX_CNT_MAX ( 5000 ) |
| 2420 | |
| 2421 | /* |
| 2422 | * If the number of frames transmitted in the "gUapsdConsecTxCntMeasWindow" |
| 2423 | * exceeds this value then firmware will come out of power save mode. |
| 2424 | * Comes into effect only when dynamic WMM PS is enabled. |
| 2425 | */ |
| 2426 | #define CFG_MAX_UAPSD_CONSEC_TX_CNT_NAME "gMaxUapsdConsecTxCnt" |
| 2427 | #define CFG_MAX_UAPSD_CONSEC_TX_CNT_DEFAULT ( 50 ) |
| 2428 | #define CFG_MAX_UAPSD_CONSEC_TX_CNT_MIN ( 0 ) |
| 2429 | #define CFG_MAX_UAPSD_CONSEC_TX_CNT_MAX ( 5000 ) |
| 2430 | |
| 2431 | // Read the description in "gMaxUapsdConsecRxCnt", the interval is in msec |
| 2432 | #define CFG_UAPSD_CONSEC_RX_CNT_MEAS_WINDOW_NAME "gUapsdConsecRxCntMeasWindow" |
| 2433 | #define CFG_UAPSD_CONSEC_RX_CNT_MEAS_WINDOW_DEFAULT ( 500 ) |
| 2434 | #define CFG_UAPSD_CONSEC_RX_CNT_MEAS_WINDOW_MIN ( 50 ) |
| 2435 | #define CFG_UAPSD_CONSEC_RX_CNT_MEAS_WINDOW_MAX ( 50000 ) |
| 2436 | |
| 2437 | // Read the description in "gMaxUapsdConsecTxCnt", the interval is in msec |
| 2438 | #define CFG_UAPSD_CONSEC_TX_CNT_MEAS_WINDOW_NAME "gUapsdConsecTxCntMeasWindow" |
| 2439 | #define CFG_UAPSD_CONSEC_TX_CNT_MEAS_WINDOW_DEFAULT ( 500 ) |
| 2440 | #define CFG_UAPSD_CONSEC_TX_CNT_MEAS_WINDOW_MIN ( 50 ) |
| 2441 | #define CFG_UAPSD_CONSEC_TX_CNT_MEAS_WINDOW_MAX ( 50000 ) |
| 2442 | |
| 2443 | /* |
| 2444 | * number of PS poll frames that can be sent by the firmware to retrieve |
| 2445 | * Data before the firmware comes out of power save mode for an AC |
| 2446 | * which is neither Delivery or Trigger enabled when dynamic WMM PS |
| 2447 | * is configured. |
| 2448 | * Comes into effect only when dynamic WMM PS is enabled. |
| 2449 | */ |
| 2450 | #define CFG_UAPSD_PSPOLL_NAME "gMaxPsPollInWmmUapsdMode" |
| 2451 | #define CFG_UAPSD_PSPOLL_MIN (0) |
| 2452 | #define CFG_UAPSD_PSPOLL_MAX (255) |
| 2453 | #define CFG_UAPSD_PSPOLL_DEFAULT (0) |
| 2454 | |
| 2455 | /* |
| 2456 | * If the number of itervals for which the firmware detects no activity |
| 2457 | * on the WMM PS enabled ACs exceeds this value then the firmware will |
| 2458 | * go to power save mode. The length of the interval is dynamically |
| 2459 | * calculated by the firmware depending on the configured service |
| 2460 | * intervals. |
| 2461 | * Comes into effect only when dynamic WMM PS is enabled. |
| 2462 | */ |
| 2463 | #define CFG_MAX_UAPSD_INACT_INTVL_NAME "gMaxUapsdInactivityIntervals" |
| 2464 | #define CFG_MAX_UAPSD_INACT_INTVL_MIN (1) |
| 2465 | #define CFG_MAX_UAPSD_INACT_INTVL_MAX (255) |
| 2466 | #define CFG_MAX_UAPSD_INACT_INTVL_DEFAULT (10) |
Dino Mycle | d9b7cc1 | 2014-09-04 18:43:07 +0530 | [diff] [blame] | 2467 | |
c_hpothu | 03d961b | 2014-09-19 16:45:00 +0530 | [diff] [blame] | 2468 | #define CFG_BURST_MODE_BE_TXOP_VALUE "gBurstModeTXOPValue" |
| 2469 | #define CFG_BURST_MODE_BE_TXOP_VALUE_MIN ( 0 ) |
| 2470 | #define CFG_BURST_MODE_BE_TXOP_VALUE_MAX ( 12288 ) |
| 2471 | #define CFG_BURST_MODE_BE_TXOP_VALUE_DEFAULT ( 0 ) |
| 2472 | |
Ganesh Kondabattini | babfb49 | 2014-12-17 20:25:29 +0530 | [diff] [blame] | 2473 | #define CFG_P2P_LISTEN_DEFER_INTERVAL_NAME "gP2PListenDeferInterval" |
| 2474 | #define CFG_P2P_LISTEN_DEFER_INTERVAL_MIN ( 100 ) |
| 2475 | #define CFG_P2P_LISTEN_DEFER_INTERVAL_MAX ( 200 ) |
| 2476 | #define CFG_P2P_LISTEN_DEFER_INTERVAL_DEFAULT ( 100 ) |
Chandrasekaran, Manishekar | 5cb0acd | 2014-12-23 20:06:52 +0530 | [diff] [blame] | 2477 | |
| 2478 | #define CFG_BTC_ENABLE_IND_TIMER_VALUE "gBtcEnableIndTimerVal" |
| 2479 | #define CFG_BTC_ENABLE_IND_TIMER_VALUE_MIN ( 5 ) |
| 2480 | #define CFG_BTC_ENABLE_IND_TIMER_VALUE_MAX ( 60 ) |
| 2481 | #define CFG_BTC_ENABLE_IND_TIMER_VALUE_DEFAULT ( 60 ) |
| 2482 | |
Katya Nigam | a6fbf66 | 2015-03-17 18:35:47 +0530 | [diff] [blame] | 2483 | #define CFG_DXE_REPLENISH_RX_TIMER_VALUE "gDXEReplenishRXTimerVal" |
| 2484 | #define CFG_DXE_REPLENISH_RX_TIMER_VALUE_MIN ( 0 ) |
| 2485 | #define CFG_DXE_REPLENISH_RX_TIMER_VALUE_MAX ( 20000 ) |
| 2486 | #define CFG_DXE_REPLENISH_RX_TIMER_VALUE_DEFAULT ( 6000 ) |
| 2487 | |
| 2488 | #define CFG_DXE_SSR_ENABLE "gDxeSSREnable" |
| 2489 | #define CFG_DXE_SSR_ENABLE_DEFAULT ( 1 ) |
| 2490 | #define CFG_DXE_SSR_ENABLE_MIN ( 0 ) |
| 2491 | #define CFG_DXE_SSR_ENABLE_MAX ( 1 ) |
| 2492 | |
Hanumantha Reddy Pothula | ee001fc | 2015-05-26 15:21:53 +0530 | [diff] [blame] | 2493 | #define CFG_TOGGLE_ARP_BDRATES_NAME "gToggleArpBDRates" |
| 2494 | #define CFG_TOGGLE_ARP_BDRATES_MIN 0 |
| 2495 | #define CFG_TOGGLE_ARP_BDRATES_MAX 1 |
| 2496 | #define CFG_TOGGLE_ARP_BDRATES_DEFAULT 0 |
| 2497 | |
Hanumantha Reddy Pothula | 9a8ccab | 2015-07-03 14:33:17 +0530 | [diff] [blame] | 2498 | /* |
| 2499 | * If within gLinkFailTimeout period(values is mentioned in msec) if FW |
| 2500 | * doesn't receive acks for gLinkFailTxCnt number of packets, then link will |
| 2501 | * be disconnected. |
| 2502 | */ |
Abhishek Singh | c98534e | 2015-06-12 10:44:34 +0530 | [diff] [blame] | 2503 | |
Hanumantha Reddy Pothula | 9a8ccab | 2015-07-03 14:33:17 +0530 | [diff] [blame] | 2504 | #define CFG_LINK_FAIL_TIMEOUT_NAME "gLinkFailTimeout" |
| 2505 | #define CFG_LINK_FAIL_TIMEOUT_MIN ( 1000 ) |
| 2506 | #define CFG_LINK_FAIL_TIMEOUT_MAX ( 60000 ) |
| 2507 | #define CFG_LINK_FAIL_TIMEOUT_DEF ( 6000 ) |
| 2508 | |
| 2509 | #define CFG_LINK_FAIL_TX_CNT_NAME "gLinkFailTxCnt" |
| 2510 | #define CFG_LINK_FAIL_TX_CNT_MIN ( 50 ) |
| 2511 | #define CFG_LINK_FAIL_TX_CNT_MAX ( 1000 ) |
| 2512 | #define CFG_LINK_FAIL_TX_CNT_DEF ( 200 ) |
Abhishek Singh | c98534e | 2015-06-12 10:44:34 +0530 | [diff] [blame] | 2513 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2514 | /*--------------------------------------------------------------------------- |
| 2515 | Type declarations |
| 2516 | -------------------------------------------------------------------------*/ |
| 2517 | |
| 2518 | typedef struct |
| 2519 | { |
| 2520 | //Bitmap to track what is explicitly configured |
| 2521 | DECLARE_BITMAP(bExplicitCfg, MAX_CFG_INI_ITEMS); |
| 2522 | |
| 2523 | //Config parameters |
| 2524 | v_U32_t RTSThreshold; |
| 2525 | v_U32_t FragmentationThreshold; |
| 2526 | v_U32_t nCheckForHangTime; |
| 2527 | v_U32_t Calibration; |
| 2528 | v_U32_t CalibrationPeriod; |
| 2529 | v_U8_t OperatingChannel; |
| 2530 | v_BOOL_t ShortSlotTimeEnabled; |
| 2531 | v_BOOL_t Is11dSupportEnabled; |
Madan Mohan Koyyalamudi | 8db1c94 | 2013-01-10 15:24:29 -0800 | [diff] [blame] | 2532 | v_BOOL_t Is11hSupportEnabled; |
Agarwal Ashish | bd3e10b | 2014-11-24 19:19:46 +0530 | [diff] [blame] | 2533 | v_U32_t nDeferScanTimeInterval; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2534 | v_BOOL_t fEnforce11dChannels; |
| 2535 | v_BOOL_t fSupplicantCountryCodeHasPriority; |
| 2536 | v_BOOL_t fEnforceCountryCodeMatch; |
| 2537 | v_BOOL_t fEnforceDefaultDomain; |
| 2538 | v_U32_t Cfg1Id; |
| 2539 | v_U32_t Cfg2Id; |
| 2540 | v_U32_t Cfg3Id; |
| 2541 | v_U32_t Cfg4Id; |
| 2542 | v_U32_t Cfg5Id; |
| 2543 | v_U32_t Cfg1Value; |
| 2544 | v_U32_t Cfg2Value; |
| 2545 | v_U32_t Cfg3Value; |
| 2546 | v_U32_t Cfg4Value; |
| 2547 | v_U32_t Cfg5Value; |
| 2548 | v_U32_t HeartbeatThresh24; |
| 2549 | char PowerUsageControl[4]; |
| 2550 | v_U8_t nEnableSuspend; |
| 2551 | v_U8_t nEnableDriverStop; |
| 2552 | v_BOOL_t fIsImpsEnabled; |
Pradeep Kumar Goudagunta | 22d8e4d | 2014-07-17 15:03:51 +0530 | [diff] [blame] | 2553 | v_BOOL_t fIsSsrPanicOnFailure; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2554 | v_BOOL_t fIsLogpEnabled; |
| 2555 | v_U8_t btcExecutionMode; |
| 2556 | v_U8_t btcConsBtSlotsToBlockDuringDhcp; |
| 2557 | v_U8_t btcA2DPBtSubIntervalsDuringDhcp; |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame] | 2558 | v_U32_t btcStaticLenInqBt; |
| 2559 | v_U32_t btcStaticLenPageBt; |
| 2560 | v_U32_t btcStaticLenConnBt; |
| 2561 | v_U32_t btcStaticLenLeBt; |
| 2562 | v_U32_t btcStaticLenInqWlan; |
| 2563 | v_U32_t btcStaticLenPageWlan; |
| 2564 | v_U32_t btcStaticLenConnWlan; |
| 2565 | v_U32_t btcStaticLenLeWlan; |
| 2566 | v_U32_t btcDynMaxLenBt; |
| 2567 | v_U32_t btcDynMaxLenWlan; |
| 2568 | v_U32_t btcMaxScoBlockPerc; |
| 2569 | v_U32_t btcDhcpProtOnA2dp; |
| 2570 | v_U32_t btcDhcpProtOnSco; |
Wilson Tsao | f8b3794 | 2013-09-06 10:49:00 -0700 | [diff] [blame] | 2571 | v_U32_t mwsCoexVictimWANFreq[10]; |
| 2572 | v_U32_t mwsCoexVictimWLANFreq[10]; |
| 2573 | v_U32_t mwsCoexVictimConfig[10]; |
| 2574 | v_U32_t mwsCoexVictimConfig2[10]; |
| 2575 | v_U32_t mwsCoexModemBackoff; |
| 2576 | v_U32_t mwsCoexConfig[6]; |
| 2577 | v_U32_t SARPowerBackoff; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2578 | v_U32_t nImpsModSleepTime; |
| 2579 | v_U32_t nImpsMaxSleepTime; |
| 2580 | v_U32_t nImpsMinSleepTime; |
| 2581 | v_BOOL_t fIsBmpsEnabled; |
| 2582 | v_U32_t nBmpsModListenInterval; |
| 2583 | v_U32_t nBmpsMaxListenInterval; |
| 2584 | v_U32_t nBmpsMinListenInterval; |
| 2585 | v_BOOL_t fIsAutoBmpsTimerEnabled; |
| 2586 | v_U32_t nAutoBmpsTimerValue; |
| 2587 | eHddDot11Mode dot11Mode; |
| 2588 | v_U32_t nChannelBondingMode24GHz; |
| 2589 | v_U32_t nChannelBondingMode5GHz; |
| 2590 | v_U32_t MaxRxAmpduFactor; |
| 2591 | v_U32_t nBAAgingTimerInterval; |
| 2592 | v_U16_t TxRate; |
| 2593 | v_U32_t AdaptiveThresholdAlgo; |
| 2594 | v_U32_t ShortGI20MhzEnable; |
| 2595 | v_U32_t BlockAckAutoSetup; |
| 2596 | v_U32_t ScanResultAgeCount; |
| 2597 | v_U32_t nScanAgeTimeNCNPS; |
| 2598 | v_U32_t nScanAgeTimeNCPS; |
| 2599 | v_U32_t nScanAgeTimeCNPS; |
| 2600 | v_U32_t nScanAgeTimeCPS; |
| 2601 | v_U8_t nRssiCatGap; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2602 | v_BOOL_t fIsShortPreamble; |
| 2603 | v_BOOL_t fIsAutoIbssBssid; |
| 2604 | v_MACADDR_t IbssBssid; |
Shailender Karmuchi | a734f33 | 2013-04-19 14:02:48 -0700 | [diff] [blame] | 2605 | v_U32_t AdHocChannel5G; |
| 2606 | v_U32_t AdHocChannel24G; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2607 | v_U8_t intfAddrMask; |
| 2608 | v_MACADDR_t intfMacAddr[VOS_MAX_CONCURRENCY_PERSONA]; |
| 2609 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2610 | v_BOOL_t apUapsdEnabled; |
Madan Mohan Koyyalamudi | 3ff2a0b | 2012-10-15 14:33:46 -0700 | [diff] [blame] | 2611 | v_BOOL_t apRandomBssidEnabled; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2612 | v_BOOL_t apProtEnabled; |
| 2613 | v_U16_t apProtection; |
| 2614 | v_BOOL_t apOBSSProtEnabled; |
| 2615 | v_U8_t MinFramesProcThres; |
| 2616 | v_U8_t apCntryCode[4]; |
| 2617 | v_BOOL_t apDisableIntraBssFwd; |
Amar Singhal | fddc28c | 2013-09-05 13:03:40 -0700 | [diff] [blame] | 2618 | v_U8_t nEnableListenMode; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2619 | v_U32_t nAPAutoShutOff; |
| 2620 | v_U8_t apStartChannelNum; |
| 2621 | v_U8_t apEndChannelNum; |
| 2622 | v_U8_t apOperatingBand; |
| 2623 | v_BOOL_t apAutoChannelSelection; |
| 2624 | v_U8_t enableLTECoex; |
| 2625 | v_U32_t apKeepAlivePeriod; |
| 2626 | v_U32_t goKeepAlivePeriod; |
Sejal Chauhan | bcde8bc | 2013-03-04 18:06:36 +0530 | [diff] [blame] | 2627 | v_U32_t apLinkMonitorPeriod; |
Madan Mohan Koyyalamudi | 2558bc9 | 2013-08-24 16:54:31 +0530 | [diff] [blame] | 2628 | v_U32_t goLinkMonitorPeriod; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2629 | v_U32_t nBeaconInterval; |
| 2630 | v_U8_t nTxPowerCap; //In dBm |
| 2631 | v_BOOL_t fIsLowGainOverride; |
| 2632 | v_U8_t disablePacketFilter; |
| 2633 | #if defined WLAN_FEATURE_VOWIFI |
| 2634 | v_BOOL_t fRrmEnable; |
| 2635 | v_U8_t nInChanMeasMaxDuration; |
| 2636 | v_U8_t nOutChanMeasMaxDuration; |
| 2637 | v_U16_t nRrmRandnIntvl; |
| 2638 | #endif |
| 2639 | |
| 2640 | #ifdef WLAN_FEATURE_VOWIFI_11R |
| 2641 | //Vowifi 11r params |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2642 | v_BOOL_t fFTResourceReqSupported; |
| 2643 | #endif |
| 2644 | |
Girish Gowli | bf0e1ab | 2015-01-19 16:05:16 +0530 | [diff] [blame] | 2645 | v_BOOL_t gEnableRoamDelayStats; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2646 | #ifdef WLAN_FEATURE_NEIGHBOR_ROAMING |
| 2647 | v_U16_t nNeighborScanPeriod; |
Srinivas Girigowda | de69741 | 2013-02-14 16:31:48 -0800 | [diff] [blame] | 2648 | v_U8_t nNeighborReassocRssiThreshold; |
| 2649 | v_U8_t nNeighborLookupRssiThreshold; |
| 2650 | v_U8_t neighborScanChanList[WNI_CFG_VALID_CHANNEL_LIST_LEN]; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2651 | v_U16_t nNeighborScanMinChanTime; |
| 2652 | v_U16_t nNeighborScanMaxChanTime; |
| 2653 | v_U16_t nMaxNeighborReqTries; |
Srinivas Girigowda | de69741 | 2013-02-14 16:31:48 -0800 | [diff] [blame] | 2654 | v_U16_t nNeighborResultsRefreshPeriod; |
| 2655 | v_U16_t nEmptyScanRefreshPeriod; |
Mukul Sharma | 20aa658 | 2014-08-07 21:36:12 +0530 | [diff] [blame] | 2656 | v_U8_t nNeighborInitialForcedRoamTo5GhEnable; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2657 | #endif |
| 2658 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2659 | //Additional Handoff params |
| 2660 | v_BOOL_t nEnableIdleScan; |
| 2661 | v_U32_t nRoamingTime; |
| 2662 | v_U16_t nVccRssiTrigger; |
| 2663 | v_U32_t nVccUlMacLossThreshold; |
| 2664 | |
| 2665 | v_U32_t nPassiveMinChnTime; //in units of milliseconds |
| 2666 | v_U32_t nPassiveMaxChnTime; //in units of milliseconds |
| 2667 | v_U32_t nActiveMinChnTime; //in units of milliseconds |
| 2668 | v_U32_t nActiveMaxChnTime; //in units of milliseconds |
| 2669 | |
c_hpothu | 059edb0 | 2014-03-12 21:44:28 +0530 | [diff] [blame] | 2670 | v_U32_t nInitialDwellTime; //in units of milliseconds |
| 2671 | |
Kiran Kumar Lokere | 3527f0c | 2013-02-24 22:21:28 -0800 | [diff] [blame] | 2672 | v_U32_t nActiveMinChnTimeBtc; //in units of milliseconds |
| 2673 | v_U32_t nActiveMaxChnTimeBtc; //in units of milliseconds |
Madan Mohan Koyyalamudi | 4ff9cd6 | 2012-10-30 17:48:57 -0700 | [diff] [blame] | 2674 | #ifdef WLAN_AP_STA_CONCURRENCY |
| 2675 | v_U32_t nPassiveMinChnTimeConc; //in units of milliseconds |
| 2676 | v_U32_t nPassiveMaxChnTimeConc; //in units of milliseconds |
| 2677 | v_U32_t nActiveMinChnTimeConc; //in units of milliseconds |
| 2678 | v_U32_t nActiveMaxChnTimeConc; //in units of milliseconds |
| 2679 | v_U32_t nRestTimeConc; //in units of milliseconds |
Sudhir Sattayappa Kohalli | eb97d50 | 2013-05-22 23:16:42 -0700 | [diff] [blame] | 2680 | v_U8_t nNumStaChanCombinedConc; //number of channels combined for |
| 2681 | //STA in each split scan operation |
| 2682 | v_U8_t nNumP2PChanCombinedConc; //number of channels combined for |
| 2683 | //P2P in each split scan operation |
Madan Mohan Koyyalamudi | 4ff9cd6 | 2012-10-30 17:48:57 -0700 | [diff] [blame] | 2684 | #endif |
| 2685 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2686 | v_U8_t nMaxPsPoll; |
| 2687 | |
| 2688 | v_U8_t nRssiFilterPeriod; |
| 2689 | v_BOOL_t fIgnoreDtim; |
Yue Ma | c24062f | 2013-05-13 17:01:29 -0700 | [diff] [blame] | 2690 | v_U8_t fMaxLIModulatedDTIM; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2691 | |
| 2692 | v_U8_t nRxAnt; |
| 2693 | v_U8_t fEnableFwHeartBeatMonitoring; |
| 2694 | v_U8_t fEnableFwBeaconFiltering; |
Gopichand Nakkala | 98a98af | 2012-12-31 14:38:47 -0800 | [diff] [blame] | 2695 | v_BOOL_t fEnableFwRssiMonitoring; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2696 | v_U8_t nDataInactivityTimeout; |
| 2697 | v_U8_t nthBeaconFilter; |
| 2698 | |
| 2699 | //WMM QoS Configuration |
| 2700 | hdd_wmm_user_mode_t WmmMode; |
| 2701 | v_BOOL_t b80211eIsEnabled; |
| 2702 | v_U8_t UapsdMask; // what ACs to setup U-APSD for at assoc |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2703 | v_U32_t InfraUapsdVoSrvIntv; |
| 2704 | v_U32_t InfraUapsdVoSuspIntv; |
| 2705 | v_U32_t InfraUapsdViSrvIntv; |
| 2706 | v_U32_t InfraUapsdViSuspIntv; |
| 2707 | v_U32_t InfraUapsdBeSrvIntv; |
| 2708 | v_U32_t InfraUapsdBeSuspIntv; |
| 2709 | v_U32_t InfraUapsdBkSrvIntv; |
| 2710 | v_U32_t InfraUapsdBkSuspIntv; |
Jeff Johnson | 04dd8a8 | 2012-06-29 20:41:40 -0700 | [diff] [blame] | 2711 | #ifdef FEATURE_WLAN_LFR |
| 2712 | v_BOOL_t isFastRoamIniFeatureEnabled; |
Sameer Thalappil | 4ae66ec | 2013-11-05 14:17:35 -0800 | [diff] [blame] | 2713 | v_BOOL_t MAWCEnabled; |
Jeff Johnson | 04dd8a8 | 2012-06-29 20:41:40 -0700 | [diff] [blame] | 2714 | #endif |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 2715 | #ifdef FEATURE_WLAN_ESE |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2716 | v_U32_t InfraInactivityInterval; |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 2717 | v_BOOL_t isEseIniFeatureEnabled; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2718 | #endif |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 2719 | #if defined (WLAN_FEATURE_VOWIFI_11R) || defined (FEATURE_WLAN_ESE) || defined(FEATURE_WLAN_LFR) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2720 | v_BOOL_t isFastTransitionEnabled; |
Jeff Johnson | 43971f5 | 2012-07-17 12:26:56 -0700 | [diff] [blame] | 2721 | v_U8_t RoamRssiDiff; |
Madan Mohan Koyyalamudi | 62b55b0 | 2012-12-03 16:45:39 -0800 | [diff] [blame] | 2722 | v_U8_t nImmediateRoamRssiDiff; |
Srinivas Girigowda | ad34ca9 | 2013-10-22 10:54:29 -0700 | [diff] [blame] | 2723 | v_BOOL_t isWESModeEnabled; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2724 | #endif |
Srinivas Girigowda | bbd16eb | 2013-03-21 12:34:46 -0700 | [diff] [blame] | 2725 | #ifdef FEATURE_WLAN_OKC |
| 2726 | v_BOOL_t isOkcIniFeatureEnabled; |
| 2727 | #endif |
Varun Reddy Yeturu | d0a3f25 | 2013-04-15 21:58:13 -0700 | [diff] [blame] | 2728 | #ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD |
| 2729 | v_BOOL_t isRoamOffloadScanEnabled; |
| 2730 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2731 | hdd_wmm_classification_t PktClassificationBasis; // DSCP or 802.1Q |
| 2732 | v_BOOL_t bImplicitQosEnabled; |
| 2733 | |
| 2734 | /* default TSPEC parameters for AC_VO */ |
| 2735 | sme_QosWmmDirType InfraDirAcVo; |
| 2736 | v_U16_t InfraNomMsduSizeAcVo; |
| 2737 | v_U32_t InfraMeanDataRateAcVo; |
| 2738 | v_U32_t InfraMinPhyRateAcVo; |
| 2739 | v_U16_t InfraSbaAcVo; |
| 2740 | |
| 2741 | /* default TSPEC parameters for AC_VI */ |
| 2742 | sme_QosWmmDirType InfraDirAcVi; |
| 2743 | v_U16_t InfraNomMsduSizeAcVi; |
| 2744 | v_U32_t InfraMeanDataRateAcVi; |
| 2745 | v_U32_t InfraMinPhyRateAcVi; |
| 2746 | v_U16_t InfraSbaAcVi; |
| 2747 | |
| 2748 | /* default TSPEC parameters for AC_BE */ |
| 2749 | sme_QosWmmDirType InfraDirAcBe; |
| 2750 | v_U16_t InfraNomMsduSizeAcBe; |
| 2751 | v_U32_t InfraMeanDataRateAcBe; |
| 2752 | v_U32_t InfraMinPhyRateAcBe; |
| 2753 | v_U16_t InfraSbaAcBe; |
| 2754 | |
| 2755 | /* default TSPEC parameters for AC_BK */ |
| 2756 | sme_QosWmmDirType InfraDirAcBk; |
| 2757 | v_U16_t InfraNomMsduSizeAcBk; |
| 2758 | v_U32_t InfraMeanDataRateAcBk; |
| 2759 | v_U32_t InfraMinPhyRateAcBk; |
| 2760 | v_U16_t InfraSbaAcBk; |
| 2761 | |
| 2762 | /* TL related configuration */ |
| 2763 | v_U8_t WfqBkWeight; |
| 2764 | v_U8_t WfqBeWeight; |
| 2765 | v_U8_t WfqViWeight; |
| 2766 | v_U8_t WfqVoWeight; |
| 2767 | v_U32_t DelayedTriggerFrmInt; |
Dhanashri Atre | d8c20a3 | 2014-01-03 17:20:55 -0800 | [diff] [blame] | 2768 | v_U16_t BkReorderAgingTime; |
| 2769 | v_U16_t BeReorderAgingTime; |
| 2770 | v_U16_t ViReorderAgingTime; |
| 2771 | v_U16_t VoReorderAgingTime; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2772 | |
| 2773 | /* Wowl pattern */ |
| 2774 | char wowlPattern[1024]; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2775 | |
| 2776 | /* Control for Replay counetr. value 1 means |
| 2777 | single replay counter for all TID*/ |
| 2778 | v_BOOL_t bSingleTidRc; |
| 2779 | v_U8_t mcastBcastFilterSetting; |
| 2780 | v_BOOL_t fhostArpOffload; |
Gopichand Nakkala | 746a945 | 2013-06-11 12:45:54 +0530 | [diff] [blame] | 2781 | v_BOOL_t fhostNSOffload; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2782 | v_BOOL_t burstSizeDefinition; |
| 2783 | v_U8_t tsInfoAckPolicy; |
| 2784 | |
| 2785 | /* RF Settling Time Clock */ |
| 2786 | v_U32_t rfSettlingTimeUs; |
| 2787 | v_U8_t enableBtAmp; |
| 2788 | #ifdef WLAN_BTAMP_FEATURE |
| 2789 | v_U8_t preferredChannel; |
| 2790 | #endif //WLAN_BTAMP_FEATURE |
| 2791 | |
| 2792 | v_U8_t dynamicPsPollValue; |
| 2793 | v_BOOL_t AddTSWhenACMIsOff; |
| 2794 | v_BOOL_t fValidateScanList; |
| 2795 | |
| 2796 | v_U32_t infraStaKeepAlivePeriod; |
| 2797 | v_U8_t nNullDataApRespTimeout; |
| 2798 | v_U8_t nBandCapability; |
| 2799 | |
| 2800 | v_U32_t apDataAvailPollPeriodInMs; |
| 2801 | v_BOOL_t fEnableBeaconEarlyTermination; |
| 2802 | v_BOOL_t teleBcnWakeupEn; |
| 2803 | |
Varun Reddy Yeturu | 587e680 | 2013-01-24 12:21:41 -0800 | [diff] [blame] | 2804 | /* VOS Trace Control*/ |
| 2805 | v_U16_t vosTraceEnableBAP; |
| 2806 | v_U16_t vosTraceEnableTL; |
| 2807 | v_U16_t vosTraceEnableWDI; |
| 2808 | v_U16_t vosTraceEnableHDD; |
| 2809 | v_U16_t vosTraceEnableSME; |
| 2810 | v_U16_t vosTraceEnablePE; |
Katya Nigam | 70d6833 | 2013-09-16 16:49:45 +0530 | [diff] [blame] | 2811 | v_U16_t vosTraceEnablePMC; |
Varun Reddy Yeturu | 587e680 | 2013-01-24 12:21:41 -0800 | [diff] [blame] | 2812 | v_U16_t vosTraceEnableWDA; |
| 2813 | v_U16_t vosTraceEnableSYS; |
| 2814 | v_U16_t vosTraceEnableVOSS; |
Varun Reddy Yeturu | 587e680 | 2013-01-24 12:21:41 -0800 | [diff] [blame] | 2815 | v_U16_t vosTraceEnableSAP; |
| 2816 | v_U16_t vosTraceEnableHDDSAP; |
Varun Reddy Yeturu | 587e680 | 2013-01-24 12:21:41 -0800 | [diff] [blame] | 2817 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2818 | /* WDI Trace Control */ |
| 2819 | v_U32_t wdiTraceEnableDAL; |
| 2820 | v_U32_t wdiTraceEnableCTL; |
| 2821 | v_U32_t wdiTraceEnableDAT; |
| 2822 | v_U32_t wdiTraceEnablePAL; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2823 | v_U16_t nTeleBcnTransListenInterval; |
| 2824 | v_U16_t nTeleBcnMaxListenInterval; |
| 2825 | v_U16_t nTeleBcnTransLiNumIdleBeacons; |
| 2826 | v_U16_t nTeleBcnMaxLiNumIdleBeacons; |
| 2827 | v_U8_t bcnEarlyTermWakeInterval; |
| 2828 | v_U32_t enableCloseLoop; |
| 2829 | v_U8_t enableBypass11d; |
| 2830 | v_U8_t enableDFSChnlScan; |
Sachin Ahuja | 697ba3f | 2014-11-12 18:57:11 +0530 | [diff] [blame] | 2831 | v_U8_t enableDFSPnoChnlScan; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2832 | v_U8_t enableDynamicDTIM; |
| 2833 | v_U8_t enableAutomaticTxPowerControl; |
| 2834 | v_U8_t ShortGI40MhzEnable; |
| 2835 | eHddLinkSpeedReportType reportMaxLinkSpeed; |
| 2836 | v_S31_t linkSpeedRssiHigh; |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 2837 | #if defined (WLAN_FEATURE_VOWIFI_11R) || defined (FEATURE_WLAN_ESE) || defined(FEATURE_WLAN_LFR) |
Madan Mohan Koyyalamudi | d502607 | 2012-11-30 14:56:21 -0800 | [diff] [blame] | 2838 | v_BOOL_t nRoamPrefer5GHz; |
Srinivas Girigowda | bbd16eb | 2013-03-21 12:34:46 -0700 | [diff] [blame] | 2839 | v_BOOL_t nRoamIntraBand; |
Varun Reddy Yeturu | 920df21 | 2013-05-22 08:07:23 -0700 | [diff] [blame] | 2840 | v_U8_t nProbes; |
| 2841 | v_U16_t nRoamScanHomeAwayTime; |
Madan Mohan Koyyalamudi | d502607 | 2012-11-30 14:56:21 -0800 | [diff] [blame] | 2842 | #endif |
Madan Mohan Koyyalamudi | 8df78d5 | 2012-11-02 12:30:06 -0700 | [diff] [blame] | 2843 | v_S31_t linkSpeedRssiMid; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2844 | v_S31_t linkSpeedRssiLow; |
| 2845 | v_U8_t enableMCC; |
Mohit Khanna | 7ed53f0 | 2012-09-11 17:52:10 -0700 | [diff] [blame] | 2846 | v_U8_t allowMCCGODiffBI; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2847 | v_BOOL_t isP2pDeviceAddrAdministrated; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2848 | v_U8_t thermalMitigationEnable; |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 2849 | #ifdef WLAN_FEATURE_11AC |
| 2850 | v_U8_t vhtChannelWidth; |
| 2851 | v_U8_t vhtRxMCS; |
| 2852 | v_U8_t vhtTxMCS; |
Shailender Karmuchi | 08f87c2 | 2013-01-17 12:51:24 -0800 | [diff] [blame] | 2853 | v_BOOL_t enableTxBF; |
Shailender Karmuchi | cc3fe44 | 2013-02-16 18:18:33 -0800 | [diff] [blame] | 2854 | v_U8_t txBFCsnValue; |
Abhishek Singh | 6d5d29c | 2014-07-03 14:25:22 +0530 | [diff] [blame] | 2855 | v_BOOL_t enableMuBformee; |
Abhishek Singh | aa63bf2 | 2014-10-30 17:09:45 +0530 | [diff] [blame] | 2856 | v_U8_t gVhtMaxAmpduLenExp; |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 2857 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2858 | v_U8_t enableModulatedDTIM; |
Jeff Johnson | d13512a | 2012-07-17 11:42:19 -0700 | [diff] [blame] | 2859 | v_U32_t fEnableMCAddrList; |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 2860 | v_BOOL_t enableFirstScan2GOnly; |
| 2861 | v_BOOL_t skipDfsChnlInP2pSearch; |
| 2862 | v_BOOL_t ignoreDynamicDtimInP2pMode; |
Madan Mohan Koyyalamudi | d5f04ca | 2012-11-06 15:51:26 -0800 | [diff] [blame] | 2863 | v_U16_t configMccParam; |
Madan Mohan Koyyalamudi | dd11eaf | 2012-11-02 16:04:21 -0700 | [diff] [blame] | 2864 | v_U32_t numBuffAdvert; |
Pratik Bhalgat | 6bfd142 | 2012-11-22 17:09:40 +0530 | [diff] [blame] | 2865 | v_BOOL_t enableRxSTBC; |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 2866 | #ifdef FEATURE_WLAN_TDLS |
| 2867 | v_BOOL_t fEnableTDLSSupport; |
Hoonki Lee | bf870f3 | 2013-01-19 15:53:30 +0530 | [diff] [blame] | 2868 | v_BOOL_t fEnableTDLSImplicitTrigger; |
| 2869 | v_U32_t fTDLSTxStatsPeriod; |
| 2870 | v_U32_t fTDLSTxPacketThreshold; |
| 2871 | v_U32_t fTDLSDiscoveryPeriod; |
| 2872 | v_U32_t fTDLSMaxDiscoveryAttempt; |
Chilam Ng | 0112041 | 2013-02-19 18:32:21 -0800 | [diff] [blame] | 2873 | v_U32_t fTDLSIdleTimeout; |
| 2874 | v_U32_t fTDLSIdlePacketThreshold; |
| 2875 | v_U32_t fTDLSRSSIHysteresis; |
| 2876 | v_S31_t fTDLSRSSITriggerThreshold; |
| 2877 | v_S31_t fTDLSRSSITeardownThreshold; |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 2878 | v_U32_t fTDLSUapsdMask; // what ACs to setup U-APSD for TDLS |
| 2879 | v_U32_t fEnableTDLSBufferSta; |
| 2880 | v_U32_t fTDLSPuapsdInactivityTimer; |
| 2881 | v_U32_t fTDLSRxFrameThreshold; |
Sunil Dutt | 41de4e2 | 2013-11-14 18:09:02 +0530 | [diff] [blame] | 2882 | v_BOOL_t fTDLSExternalControl; |
Naresh Jayaram | f73f376 | 2014-02-04 16:13:20 +0530 | [diff] [blame] | 2883 | v_U32_t fEnableTDLSOffChannel; |
Pradeep Reddy POTTETI | a9c80d5 | 2014-05-09 18:05:29 +0530 | [diff] [blame] | 2884 | v_U32_t fEnableTDLSWmmMode; |
Pradeep Reddy POTTETI | edaeb5f | 2014-05-22 23:34:41 +0530 | [diff] [blame] | 2885 | v_BOOL_t fEnableTDLSScanCoexSupport; |
Agarwal Ashish | ef54a18 | 2014-12-16 15:07:31 +0530 | [diff] [blame] | 2886 | v_BOOL_t fEnableTDLSScan; |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 2887 | #endif |
Dino Mycle | df0a5d9 | 2014-07-04 09:41:55 +0530 | [diff] [blame] | 2888 | #ifdef WLAN_FEATURE_LINK_LAYER_STATS |
| 2889 | v_BOOL_t fEnableLLStats; |
| 2890 | #endif |
Dino Mycle | e8843b3 | 2014-07-04 14:21:45 +0530 | [diff] [blame] | 2891 | #ifdef WLAN_FEATURE_EXTSCAN |
| 2892 | v_BOOL_t fEnableEXTScan; |
| 2893 | #endif |
Gopichand Nakkala | 976e325 | 2013-01-03 15:45:56 -0800 | [diff] [blame] | 2894 | #ifdef WLAN_SOFTAP_VSTA_FEATURE |
| 2895 | v_BOOL_t fEnableVSTASupport; |
| 2896 | #endif |
Yathish | 9f22e66 | 2012-12-10 14:21:35 -0800 | [diff] [blame] | 2897 | #ifdef WLAN_ACTIVEMODE_OFFLOAD_FEATURE |
| 2898 | v_BOOL_t fEnableActiveModeOffload; |
| 2899 | #endif |
Dino Mycle | df0a5d9 | 2014-07-04 09:41:55 +0530 | [diff] [blame] | 2900 | v_U32_t enableLpwrImgTransition; |
Sandeep Puligilla | 2b6dc63 | 2012-12-17 14:44:16 -0800 | [diff] [blame] | 2901 | v_U8_t scanAgingTimeout; |
Gopichand Nakkala | b2d2c31 | 2013-01-04 11:41:02 -0800 | [diff] [blame] | 2902 | v_BOOL_t enableTxLdpc; |
Leela V Kiran Kumar Reddy Chirala | b1f7d34 | 2013-02-11 00:27:02 -0800 | [diff] [blame] | 2903 | v_U8_t disableLDPCWithTxbfAP; |
Madan Mohan Koyyalamudi | 01cba04 | 2013-01-10 21:56:05 -0800 | [diff] [blame] | 2904 | v_U8_t enableMCCAdaptiveScheduler; |
Madan Mohan Koyyalamudi | 69b3418 | 2013-01-16 08:51:40 +0530 | [diff] [blame] | 2905 | v_BOOL_t isAndroidPsEn; |
Madan Mohan Koyylamudi | 64267f7 | 2013-02-05 14:07:08 +0530 | [diff] [blame] | 2906 | v_BOOL_t sapAllowAllChannel; |
Kiran Kumar Lokere | 1f39e95 | 2013-04-03 18:34:30 -0700 | [diff] [blame] | 2907 | v_U8_t retryLimitZero; |
| 2908 | v_U8_t retryLimitOne; |
| 2909 | v_U8_t retryLimitTwo; |
Kiran Kumar Lokere | 458d732 | 2013-05-29 14:29:43 -0700 | [diff] [blame] | 2910 | v_U8_t disableAggWithBtc; |
Tushnim Bhattacharyya | 9cdf608 | 2013-04-21 16:33:30 -0700 | [diff] [blame] | 2911 | char listOfNonDfsCountryCode[128]; |
Gopichand Nakkala | e620d5a | 2013-04-26 05:45:57 -0700 | [diff] [blame] | 2912 | v_BOOL_t enableSSR; |
Gopichand Nakkala | dacbcb5 | 2013-04-18 16:41:54 +0530 | [diff] [blame] | 2913 | char listOfNon11acCountryCode[128]; |
Gopichand Nakkala | 42bc89e | 2013-05-27 12:49:09 +0530 | [diff] [blame] | 2914 | v_U32_t cfgMaxMediumTime; |
Leo Chang | 64d68bc | 2013-06-04 15:40:52 -0700 | [diff] [blame] | 2915 | v_U8_t enableTrafficMonitor; |
| 2916 | v_U32_t trafficIdleTimeout; |
Ravi Joshi | 83bfaa1 | 2013-05-28 22:12:08 -0700 | [diff] [blame] | 2917 | v_BOOL_t enableVhtFor24GHzBand; |
Gopichand Nakkala | 154bda2 | 2013-06-11 17:41:22 +0530 | [diff] [blame] | 2918 | v_U8_t fScanOffload; |
Srinivas Girigowda | 830bbd0 | 2013-06-13 19:44:16 -0700 | [diff] [blame] | 2919 | #ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD |
| 2920 | /* Flag indicating whether legacy fast roam during concurrency is enabled in cfg.ini or not */ |
| 2921 | v_BOOL_t bFastRoamInConIniFeatureEnabled; |
| 2922 | #endif |
Sudhir Sattayappa Kohalli | da1be20 | 2013-07-11 12:04:30 -0700 | [diff] [blame] | 2923 | v_BOOL_t fEnableAdaptRxDrain; |
Sudhir Sattayappa Kohalli | 3762069 | 2013-08-05 14:02:26 -0700 | [diff] [blame] | 2924 | //TX and RX traffic threshold for split scan |
| 2925 | v_U8_t txRxThresholdForSplitScan; |
| 2926 | v_U8_t dynSplitscan; //Enable/Disable dynamic |
| 2927 | //splitscan |
| 2928 | //Traffic monitor timer for split scan |
| 2929 | v_U32_t trafficMntrTmrForSplitScan; |
Yue Ma | 0fd2387 | 2013-08-01 15:56:47 -0700 | [diff] [blame] | 2930 | v_U8_t flexConnectPowerFactor; |
Ravi Joshi | d2ca7c4 | 2013-07-23 08:37:49 -0700 | [diff] [blame] | 2931 | v_BOOL_t enableIbssHeartBeatOffload; |
Madan Mohan Koyyalamudi | ca45457 | 2013-08-07 19:57:03 +0530 | [diff] [blame] | 2932 | v_U32_t antennaDiversity; |
Madan Mohan Koyyalamudi | d9383fd | 2013-08-13 09:27:30 +0530 | [diff] [blame] | 2933 | v_BOOL_t fEnableSNRMonitoring; |
Madan Mohan Koyyalamudi | 1d16f46 | 2013-08-27 16:25:34 +0530 | [diff] [blame] | 2934 | /*PNO related parameters */ |
Manjunathappa Prakash | 4f1d5a5 | 2013-11-11 16:22:19 -0800 | [diff] [blame] | 2935 | #ifdef FEATURE_WLAN_SCAN_PNO |
Hardik Kantilal Patel | 3dfd879 | 2013-11-13 20:34:57 +0530 | [diff] [blame] | 2936 | v_BOOL_t configPNOScanSupport; |
Madan Mohan Koyyalamudi | 1d16f46 | 2013-08-27 16:25:34 +0530 | [diff] [blame] | 2937 | v_U32_t configPNOScanTimerRepeatValue; |
| 2938 | #endif |
krunal soni | 5afa96c | 2013-09-06 22:19:02 -0700 | [diff] [blame] | 2939 | v_U8_t isAmsduSupportInAMPDU; |
Srinivas Girigowda | 41c7c5f | 2013-10-21 19:01:38 -0700 | [diff] [blame] | 2940 | v_U8_t nSelect5GHzMargin; |
krunal soni | e9002db | 2013-11-25 14:24:17 -0800 | [diff] [blame] | 2941 | v_U8_t isCoalesingInIBSSAllowed; |
Kiet Lam | 4bbd3cb | 2013-11-07 20:03:49 +0530 | [diff] [blame] | 2942 | v_BOOL_t cfgAthDisable; |
c_hpothu | 6d7dc92 | 2013-12-02 12:36:41 +0530 | [diff] [blame] | 2943 | v_U32_t cfgBtcActiveWlanLen; |
| 2944 | v_U32_t cfgBtcActiveBtLen; |
| 2945 | v_U32_t cfgBtcSapActiveWlanLen; |
| 2946 | v_U32_t cfgBtcSapActiveBtLen; |
Arif Hussain | d521891 | 2013-12-05 01:10:55 -0800 | [diff] [blame] | 2947 | #ifdef MEMORY_DEBUG |
| 2948 | v_BOOL_t IsMemoryDebugSupportEnabled; |
| 2949 | #endif |
Tushnim Bhattacharyya | 9889e79 | 2013-12-19 18:18:36 -0800 | [diff] [blame] | 2950 | char overrideCountryCode[4]; |
AnjaneeDevi Kapparapu | 50239e3 | 2014-01-07 18:09:33 +0530 | [diff] [blame] | 2951 | v_U32_t gAsdProbeInterval; |
c_hpothu | 1c4405a | 2014-12-10 18:16:16 +0530 | [diff] [blame] | 2952 | v_S7_t gAsdTriggerThreshold; |
AnjaneeDevi Kapparapu | 50239e3 | 2014-01-07 18:09:33 +0530 | [diff] [blame] | 2953 | v_U32_t gAsdRTTRssiHystThreshold; |
Leela Venkata Kiran Kumar Reddy Chirala | 22c159b | 2013-12-23 18:19:13 -0800 | [diff] [blame] | 2954 | v_BOOL_t debugP2pRemainOnChannel; |
| 2955 | v_U32_t cfgBtcCTS2SduringSCO; |
Tushnim Bhattacharyya | a3ba5a5 | 2014-01-30 11:37:33 -0800 | [diff] [blame] | 2956 | v_U32_t gEnableDebugLog; |
Sandeep Puligilla | 04bb8fd | 2014-02-03 23:21:47 +0530 | [diff] [blame] | 2957 | v_U16_t nOBSSScanActiveDwellTime; |
| 2958 | v_U16_t nOBSSScanPassiveDwellTime; |
| 2959 | v_U16_t nOBSSScanWidthTriggerInterval; |
Kalikinkar dhara | d73a9bd | 2014-01-28 22:42:34 -0800 | [diff] [blame] | 2960 | v_BOOL_t gEnableStrictRegulatoryForFCC; |
Rashmi Ramanna | bd3feb7 | 2014-02-25 16:14:48 +0530 | [diff] [blame] | 2961 | v_BOOL_t advertiseConcurrentOperation; |
Abhishek Singh | 8280c4e | 2014-02-18 13:26:34 +0530 | [diff] [blame] | 2962 | v_U32_t defaultRateIndex24Ghz; |
Sushant Kaushik | 7dc0327 | 2015-02-18 11:25:12 +0530 | [diff] [blame] | 2963 | v_BOOL_t sapEnable11AC; |
c_hpothu | 5bd1ae4 | 2014-03-07 20:28:22 +0530 | [diff] [blame] | 2964 | v_BOOL_t cfgRAFilterEnable; |
| 2965 | v_U16_t cfgRARateLimitInterval; |
Sandeep Puligilla | c80f26e | 2014-03-11 18:36:10 +0530 | [diff] [blame] | 2966 | v_U8_t allowDFSChannelRoam; |
Vinay Krishna Eranna | d938c42 | 2014-03-10 17:14:21 +0530 | [diff] [blame] | 2967 | |
| 2968 | #ifdef WLAN_LOGGING_SOCK_SVC_ENABLE |
| 2969 | //WLAN Logging |
| 2970 | v_U32_t wlanLoggingEnable; |
| 2971 | v_U32_t wlanLoggingFEToConsole; |
| 2972 | v_U32_t wlanLoggingNumBuf; |
| 2973 | #endif |
Abhishek Singh | c98534e | 2015-06-12 10:44:34 +0530 | [diff] [blame] | 2974 | v_BOOL_t ignorePeerErpInfo; |
c_hpothu | 0d5a735 | 2014-03-22 12:30:25 +0530 | [diff] [blame] | 2975 | v_BOOL_t initialScanSkipDFSCh; |
c_hpothu | 2d0f1c4 | 2014-04-01 18:38:51 +0530 | [diff] [blame] | 2976 | v_U32_t cfgBtcFatalHidnSniffBlkGuidance; |
| 2977 | v_U32_t cfgBtcCriticalHidnSniffBlkGuidance; |
| 2978 | v_U32_t cfgBtcA2dpTxQueueThold; |
| 2979 | v_U32_t cfgBtcOppTxQueueThold; |
Chet Lanctot | fadc8e3 | 2014-04-24 14:50:52 -0700 | [diff] [blame] | 2980 | |
| 2981 | #ifdef WLAN_FEATURE_11W |
| 2982 | v_U32_t pmfSaQueryMaxRetries; |
| 2983 | v_U32_t pmfSaQueryRetryInterval; |
| 2984 | #endif |
Rashmi Ramanna | 68b309c | 2014-05-20 11:52:22 +0530 | [diff] [blame] | 2985 | v_U32_t deferImpsTime; |
Abhishek Singh | de51a41 | 2014-05-20 19:17:26 +0530 | [diff] [blame] | 2986 | v_BOOL_t sendDeauthBeforeCon; |
Siddharth Bhal | a3a5cb4 | 2014-09-29 21:13:13 +0530 | [diff] [blame] | 2987 | v_BOOL_t enableMacSpoofing; |
Siddharth Bhal | 4a43255 | 2015-02-27 01:09:31 +0530 | [diff] [blame] | 2988 | v_BOOL_t enableMgmtLogging; |
| 2989 | v_BOOL_t enableBMUHWtracing; |
Siddharth Bhal | d1be97f | 2015-05-27 22:39:59 +0530 | [diff] [blame] | 2990 | v_BOOL_t enableFWLogging; |
| 2991 | v_BOOL_t enableContFWLogging; |
| 2992 | v_U8_t minLoggingBufferSize; |
| 2993 | v_U8_t maxLoggingBufferSize; |
Pradeep Reddy POTTETI | 5c2e16d | 2014-06-27 16:47:38 +0530 | [diff] [blame] | 2994 | v_BOOL_t fenableCHAvoidance; |
Agarwal Ashish | 51325b5 | 2014-06-16 16:50:49 +0530 | [diff] [blame] | 2995 | v_U8_t gMaxConcurrentActiveSessions; |
Mihir Shete | c34258c | 2014-07-30 17:50:27 +0530 | [diff] [blame] | 2996 | |
| 2997 | v_U32_t enableDynamicWMMPS; |
| 2998 | v_U32_t maxUapsdConsecSP; |
| 2999 | v_U32_t maxUapsdConsecRxCnt; |
| 3000 | v_U32_t maxUapsdConsecTxCnt; |
| 3001 | v_U32_t uapsdConsecRxCntMeasWindow; |
| 3002 | v_U32_t uapsdConsecTxCntMeasWindow; |
| 3003 | v_U32_t maxPsPollInWmmUapsdMode; |
| 3004 | v_U32_t maxUapsdInactivityIntervals; |
c_hpothu | 03d961b | 2014-09-19 16:45:00 +0530 | [diff] [blame] | 3005 | v_U32_t burstModeTXOPValue; |
Peng Xu | fc6ad8e | 2014-09-25 13:16:43 +0530 | [diff] [blame] | 3006 | v_U8_t acsScanBandPreference; |
Peng Xu | afc34e3 | 2014-09-25 13:23:55 +0530 | [diff] [blame] | 3007 | v_U16_t acsBandSwitchThreshold; |
Deepthi Gowri | 9025aa6 | 2014-11-07 19:45:36 +0530 | [diff] [blame] | 3008 | v_U32_t enableDynamicRAStartRate; |
jagadeesh | af2d0ce | 2015-03-31 11:45:30 +0530 | [diff] [blame] | 3009 | v_U32_t enableRtsCtsHtVht; |
Hardik Kantilal Patel | 086e0a3 | 2014-11-20 14:56:26 +0530 | [diff] [blame] | 3010 | #ifdef WLAN_FEATURE_AP_HT40_24G |
| 3011 | v_BOOL_t apHT40_24GEnabled; |
| 3012 | #endif |
Ganesh Kondabattini | babfb49 | 2014-12-17 20:25:29 +0530 | [diff] [blame] | 3013 | v_U16_t gP2PListenDeferInterval; |
Chandrasekaran, Manishekar | 5cb0acd | 2014-12-23 20:06:52 +0530 | [diff] [blame] | 3014 | v_U8_t btcEnableIndTimerVal; |
Hanumantha Reddy Pothula | 155c042 | 2015-04-30 17:56:25 +0530 | [diff] [blame] | 3015 | v_U8_t btcFastWlanConnPref; |
Katya Nigam | a6fbf66 | 2015-03-17 18:35:47 +0530 | [diff] [blame] | 3016 | v_U32_t dxeReplenishRXTimerVal; |
| 3017 | v_U32_t dxeSSREnable; |
Sushant Kaushik | 215778f | 2015-05-21 14:05:36 +0530 | [diff] [blame] | 3018 | v_U8_t multicast_host_msgs; |
Hanumantha Reddy Pothula | ee001fc | 2015-05-26 15:21:53 +0530 | [diff] [blame] | 3019 | v_BOOL_t toggleArpBDRates; |
Sachin Ahuja | 41b6190 | 2015-06-18 18:32:15 +0530 | [diff] [blame] | 3020 | v_U32_t btcStaticOppWlanIdleWlanLen; |
| 3021 | v_U32_t btcStaticOppWlanIdleBtLen; |
Hanumantha Reddy Pothula | 9a8ccab | 2015-07-03 14:33:17 +0530 | [diff] [blame] | 3022 | v_U32_t linkFailTimeout; |
| 3023 | v_U32_t linkFailTxCnt; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3024 | } hdd_config_t; |
| 3025 | /*--------------------------------------------------------------------------- |
| 3026 | Function declarations and documenation |
| 3027 | -------------------------------------------------------------------------*/ |
| 3028 | VOS_STATUS hdd_parse_config_ini(hdd_context_t *pHddCtx); |
| 3029 | VOS_STATUS hdd_set_sme_config( hdd_context_t *pHddCtx ); |
| 3030 | v_BOOL_t hdd_update_config_dat ( hdd_context_t *pHddCtx ); |
| 3031 | VOS_STATUS hdd_cfg_get_config(hdd_context_t *pHddCtx, char *pBuf, int buflen); |
| 3032 | eCsrPhyMode hdd_cfg_xlate_to_csr_phy_mode( eHddDot11Mode dot11Mode ); |
| 3033 | VOS_STATUS hdd_execute_config_command(hdd_context_t *pHddCtx, char *command); |
Srinivas Girigowda | bbd16eb | 2013-03-21 12:34:46 -0700 | [diff] [blame] | 3034 | tANI_BOOLEAN hdd_is_okc_mode_enabled(hdd_context_t *pHddCtx); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3035 | |
Jeff Johnson | 247f9b1 | 2013-11-20 13:39:43 -0800 | [diff] [blame] | 3036 | #define VAR_OFFSET( _Struct, _Var ) (offsetof(_Struct, _Var)) |
| 3037 | #define VAR_SIZE( _Struct, _Var ) (sizeof(((_Struct *)0)->_Var)) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 3038 | |
| 3039 | #define VAR_FLAGS_NONE ( 0 ) |
| 3040 | #define VAR_FLAGS_REQUIRED ( 1 << 0 ) // bit 0 is Required or Optional |
| 3041 | #define VAR_FLAGS_OPTIONAL ( 0 << 0 ) |
| 3042 | |
| 3043 | #define VAR_FLAGS_RANGE_CHECK ( 1 << 1 ) // bit 1 tells if range checking is required. |
| 3044 | // If less than MIN, assume MIN. |
| 3045 | // If greater than MAX, assume MAX. |
| 3046 | |
| 3047 | #define VAR_FLAGS_RANGE_CHECK_ASSUME_MINMAX ( VAR_FLAGS_RANGE_CHECK ) |
| 3048 | |
| 3049 | #define VAR_FLAGS_RANGE_CHECK_ASSUME_DEFAULT ( 1 << 2 ) // bit 2 is range checking that assumes the DEFAULT value |
| 3050 | // If less than MIN, assume DEFAULT, |
| 3051 | // If grateer than MAX, assume DEFAULT. |
| 3052 | |
| 3053 | #define VAR_FLAGS_DYNAMIC_CFG ( 1 << 3 ) // Bit 3 indicates that |
| 3054 | // the config item can be |
| 3055 | // modified dynamicially |
| 3056 | // on a running system |
| 3057 | |
| 3058 | typedef enum |
| 3059 | { |
| 3060 | WLAN_PARAM_Integer, |
| 3061 | WLAN_PARAM_SignedInteger, |
| 3062 | WLAN_PARAM_HexInteger, |
| 3063 | WLAN_PARAM_String, |
| 3064 | WLAN_PARAM_MacAddr, |
| 3065 | }WLAN_PARAMETER_TYPE; |
| 3066 | |
| 3067 | #define REG_VARIABLE( _Name, _Type, _Struct, _VarName, \ |
| 3068 | _Flags, _Default, _Min, _Max ) \ |
| 3069 | { \ |
| 3070 | ( _Name ), \ |
| 3071 | ( _Type ), \ |
| 3072 | ( _Flags ), \ |
| 3073 | VAR_OFFSET( _Struct, _VarName ), \ |
| 3074 | VAR_SIZE( _Struct, _VarName ), \ |
| 3075 | ( _Default ), \ |
| 3076 | ( _Min ), \ |
| 3077 | ( _Max ), \ |
| 3078 | NULL, \ |
| 3079 | 0 \ |
| 3080 | } |
| 3081 | |
| 3082 | #define REG_DYNAMIC_VARIABLE( _Name, _Type, _Struct, _VarName, \ |
| 3083 | _Flags, _Default, _Min, _Max, \ |
| 3084 | _CBFunc, _CBParam ) \ |
| 3085 | { \ |
| 3086 | ( _Name ), \ |
| 3087 | ( _Type ), \ |
| 3088 | ( VAR_FLAGS_DYNAMIC_CFG | ( _Flags ) ), \ |
| 3089 | VAR_OFFSET( _Struct, _VarName ), \ |
| 3090 | VAR_SIZE( _Struct, _VarName ), \ |
| 3091 | ( _Default ), \ |
| 3092 | ( _Min ), \ |
| 3093 | ( _Max ), \ |
| 3094 | ( _CBFunc ), \ |
| 3095 | ( _CBParam ) \ |
| 3096 | } |
| 3097 | |
| 3098 | #define REG_VARIABLE_STRING( _Name, _Type, _Struct, _VarName, \ |
| 3099 | _Flags, _Default ) \ |
| 3100 | { \ |
| 3101 | ( _Name ), \ |
| 3102 | ( _Type ), \ |
| 3103 | ( _Flags ), \ |
| 3104 | VAR_OFFSET( _Struct, _VarName ), \ |
| 3105 | VAR_SIZE( _Struct, _VarName ), \ |
| 3106 | (unsigned long)( _Default ), \ |
| 3107 | 0, \ |
| 3108 | 0, \ |
| 3109 | NULL, \ |
| 3110 | 0 \ |
| 3111 | } |
| 3112 | |
| 3113 | typedef struct tREG_TABLE_ENTRY { |
| 3114 | |
| 3115 | char* RegName; // variable name in the qcom_cfg.ini file |
| 3116 | WLAN_PARAMETER_TYPE RegType; // variable type in the hdd_config_t structure |
| 3117 | unsigned long Flags; // Specify optional parms and if RangeCheck is performed |
| 3118 | unsigned short VarOffset; // offset to field from the base address of the structure |
| 3119 | unsigned short VarSize; // size (in bytes) of the field |
| 3120 | unsigned long VarDefault; // default value to use |
| 3121 | unsigned long VarMin; // minimum value, for range checking |
| 3122 | unsigned long VarMax; // maximum value, for range checking |
| 3123 | // Dynamic modification notifier |
| 3124 | void (*pfnDynamicNotify)(hdd_context_t *pHddCtx, unsigned long NotifyId); |
| 3125 | unsigned long NotifyId; // Dynamic modification identifier |
| 3126 | } REG_TABLE_ENTRY; |
| 3127 | |
| 3128 | static __inline unsigned long utilMin( unsigned long a, unsigned long b ) |
| 3129 | { |
| 3130 | return( ( a < b ) ? a : b ); |
| 3131 | } |
| 3132 | |
| 3133 | #endif |