Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1 | /* |
Gopichand Nakkala | 92f07d8 | 2013-01-08 21:16:34 -0800 | [diff] [blame] | 2 | * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
| 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 | /* |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame] | 22 | * Copyright (c) 2012, The Linux Foundation. All rights reserved. |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 23 | * |
| 24 | * Previously licensed under the ISC license by Qualcomm Atheros, Inc. |
| 25 | * |
| 26 | * |
| 27 | * Permission to use, copy, modify, and/or distribute this software for |
| 28 | * any purpose with or without fee is hereby granted, provided that the |
| 29 | * above copyright notice and this permission notice appear in all |
| 30 | * copies. |
| 31 | * |
| 32 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL |
| 33 | * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED |
| 34 | * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE |
| 35 | * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL |
| 36 | * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR |
| 37 | * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
| 38 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
| 39 | * PERFORMANCE OF THIS SOFTWARE. |
| 40 | */ |
| 41 | |
| 42 | #if !defined( HDD_CONFIG_H__ ) |
| 43 | #define HDD_CONFIG_H__ |
| 44 | |
| 45 | /**=========================================================================== |
| 46 | |
| 47 | \file hdd_Config.h |
| 48 | |
| 49 | \brief Android WLAN Adapter Configuration functions |
| 50 | |
| 51 | Copyright 2008 (c) Qualcomm, Incorporated. |
| 52 | All Rights Reserved. |
| 53 | Qualcomm Confidential and Proprietary. |
| 54 | |
| 55 | ==========================================================================*/ |
| 56 | |
| 57 | /* $HEADER$ */ |
| 58 | |
| 59 | /*--------------------------------------------------------------------------- |
| 60 | Include files |
| 61 | -------------------------------------------------------------------------*/ |
| 62 | #include <wlan_hdd_includes.h> |
| 63 | #include <wlan_hdd_wmm.h> |
| 64 | #include <vos_types.h> |
| 65 | #include <csrApi.h> |
| 66 | |
| 67 | //Number of items that can be configured |
Jeff Johnson | 9d12960 | 2013-03-07 17:28:22 -0800 | [diff] [blame] | 68 | #define MAX_CFG_INI_ITEMS 320 |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 69 | |
| 70 | // Defines for all of the things we read from the configuration (registry). |
| 71 | |
| 72 | #define CFG_RTS_THRESHOLD_NAME "RTSThreshold" |
| 73 | #define CFG_RTS_THRESHOLD_MIN WNI_CFG_RTS_THRESHOLD_STAMIN // min is 0, meaning always use RTS. |
| 74 | #define CFG_RTS_THRESHOLD_MAX WNI_CFG_RTS_THRESHOLD_STAMAX // max is the max frame size |
| 75 | #define CFG_RTS_THRESHOLD_DEFAULT WNI_CFG_RTS_THRESHOLD_STADEF |
| 76 | |
| 77 | #define CFG_FRAG_THRESHOLD_NAME "gFragmentationThreshold" |
| 78 | #define CFG_FRAG_THRESHOLD_MIN WNI_CFG_FRAGMENTATION_THRESHOLD_STAMIN |
| 79 | #define CFG_FRAG_THRESHOLD_MAX WNI_CFG_FRAGMENTATION_THRESHOLD_STAMAX |
| 80 | #define CFG_FRAG_THRESHOLD_DEFAULT WNI_CFG_FRAGMENTATION_THRESHOLD_STADEF |
| 81 | |
| 82 | #define CFG_CALIBRATION_NAME "gCalibration" |
| 83 | #define CFG_CALIBRATION_MIN ( 0 ) |
| 84 | #define CFG_CALIBRATION_MAX ( 1 ) |
| 85 | #define CFG_CALIBRATION_MAC_DEFAULT ( 1 ) |
| 86 | #define CFG_CALIBRATION_DEFAULT CFG_CALIBRATION_MAC_DEFAULT |
| 87 | |
| 88 | #define CFG_CALIBRATION_PERIOD_NAME "gCalibrationPeriod" |
| 89 | #define CFG_CALIBRATION_PERIOD_MIN ( 2 ) |
| 90 | #define CFG_CALIBRATION_PERIOD_MAX ( 10 ) |
| 91 | #define CFG_CALIBRATION_PERIOD_MAC_DEFAULT ( 5 ) |
| 92 | #define CFG_CALIBRATION_PERIOD_DEFAULT CFG_CALIBRATION_PERIOD_MAC_DEFAULT |
| 93 | |
| 94 | #define CFG_OPERATING_CHANNEL_NAME "gOperatingChannel" |
| 95 | #define CFG_OPERATING_CHANNEL_MIN ( 0 ) |
| 96 | #define CFG_OPERATING_CHANNEL_MAX ( 14 ) |
| 97 | #define CFG_OPERATING_CHANNEL_DEFAULT ( 1 ) |
| 98 | |
| 99 | #define CFG_SHORT_SLOT_TIME_ENABLED_NAME "gShortSlotTimeEnabled" |
| 100 | #define CFG_SHORT_SLOT_TIME_ENABLED_MIN WNI_CFG_SHORT_SLOT_TIME_STAMIN |
| 101 | #define CFG_SHORT_SLOT_TIME_ENABLED_MAX WNI_CFG_SHORT_SLOT_TIME_STAMAX |
| 102 | #define CFG_SHORT_SLOT_TIME_ENABLED_DEFAULT WNI_CFG_SHORT_SLOT_TIME_STADEF |
| 103 | |
| 104 | #define CFG_11D_SUPPORT_ENABLED_NAME "g11dSupportEnabled" |
| 105 | #define CFG_11D_SUPPORT_ENABLED_MIN WNI_CFG_11D_ENABLED_STAMIN |
| 106 | #define CFG_11D_SUPPORT_ENABLED_MAX WNI_CFG_11D_ENABLED_STAMAX |
| 107 | #define CFG_11D_SUPPORT_ENABLED_DEFAULT WNI_CFG_11D_ENABLED_STADEF // Default is ON |
| 108 | |
Madan Mohan Koyyalamudi | 8db1c94 | 2013-01-10 15:24:29 -0800 | [diff] [blame] | 109 | #define CFG_11H_SUPPORT_ENABLED_NAME "g11hSupportEnabled" |
| 110 | #define CFG_11H_SUPPORT_ENABLED_MIN ( 0 ) |
| 111 | #define CFG_11H_SUPPORT_ENABLED_MAX ( 1 ) |
| 112 | #define CFG_11H_SUPPORT_ENABLED_DEFAULT ( 1 ) // Default is ON |
| 113 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 114 | #define CFG_ENFORCE_11D_CHANNELS_NAME "gEnforce11dChannel" |
| 115 | #define CFG_ENFORCE_11D_CHANNELS_MIN ( 0 ) |
| 116 | #define CFG_ENFORCE_11D_CHANNELS_MAX ( 1 ) |
| 117 | #define CFG_ENFORCE_11D_CHANNELS_DEFAULT ( 0 ) |
| 118 | |
| 119 | //COUNTRY Code Priority |
| 120 | #define CFG_COUNTRY_CODE_PRIORITY_NAME "gCountryCodePriority" |
| 121 | #define CFG_COUNTRY_CODE_PRIORITY_MIN ( 0 ) |
| 122 | #define CFG_COUNTRY_CODE_PRIORITY_MAX ( 1 ) |
| 123 | #define CFG_COUNTRY_CODE_PRIORITY_DEFAULT ( 0 ) |
| 124 | |
| 125 | #define CFG_ENFORCE_COUNTRY_CODE_MATCH_NAME "gEnforceCountryCodeMatch" |
| 126 | #define CFG_ENFORCE_COUNTRY_CODE_MATCH_MIN ( 0 ) |
| 127 | #define CFG_ENFORCE_COUNTRY_CODE_MATCH_MAX ( 1 ) |
| 128 | #define CFG_ENFORCE_COUNTRY_CODE_MATCH_DEFAULT ( 0 ) |
| 129 | |
| 130 | #define CFG_ENFORCE_DEFAULT_DOMAIN_NAME "gEnforceDefaultDomain" |
| 131 | #define CFG_ENFORCE_DEFAULT_DOMAIN_MIN ( 0 ) |
| 132 | #define CFG_ENFORCE_DEFAULT_DOMAIN_MAX ( 1 ) |
| 133 | #define CFG_ENFORCE_DEFAULT_DOMAIN_DEFAULT ( 0 ) |
| 134 | |
| 135 | #define CFG_GENERIC_ID1_NAME "gCfg1Id" |
| 136 | #define CFG_GENERIC_ID1_MIN ( 0 ) |
| 137 | #define CFG_GENERIC_ID1_MAX ( 0xffffffff ) |
| 138 | #define CFG_GENERIC_ID1_DEFAULT ( 0 ) |
| 139 | |
| 140 | #define CFG_GENERIC_ID2_NAME "gCfg2Id" |
| 141 | #define CFG_GENERIC_ID2_MIN ( 0 ) |
| 142 | #define CFG_GENERIC_ID2_MAX ( 0xffffffff ) |
| 143 | #define CFG_GENERIC_ID2_DEFAULT ( 0 ) |
| 144 | |
| 145 | #define CFG_GENERIC_ID3_NAME "gCfg3Id" |
| 146 | #define CFG_GENERIC_ID3_MIN ( 0 ) |
| 147 | #define CFG_GENERIC_ID3_MAX ( 0xffffffff ) |
| 148 | #define CFG_GENERIC_ID3_DEFAULT ( 0 ) |
| 149 | |
| 150 | #define CFG_GENERIC_ID4_NAME "gCfg4Id" |
| 151 | #define CFG_GENERIC_ID4_MIN ( 0 ) |
| 152 | #define CFG_GENERIC_ID4_MAX ( 0xffffffff ) |
| 153 | #define CFG_GENERIC_ID4_DEFAULT ( 0 ) |
| 154 | |
| 155 | #define CFG_GENERIC_ID5_NAME "gCfg5Id" |
| 156 | #define CFG_GENERIC_ID5_MIN ( 0 ) |
| 157 | #define CFG_GENERIC_ID5_MAX ( 0xffffffff ) |
| 158 | #define CFG_GENERIC_ID5_DEFAULT ( 0 ) |
| 159 | |
| 160 | #define CFG_GENERIC_VALUE1_NAME "gCfg1Value" |
| 161 | #define CFG_GENERIC_VALUE1_MIN ( 0 ) |
| 162 | #define CFG_GENERIC_VALUE1_MAX ( 0xffffffff ) |
| 163 | #define CFG_GENERIC_VALUE1_DEFAULT ( 0 ) |
| 164 | |
| 165 | #define CFG_GENERIC_VALUE2_NAME "gCfg2Value" |
| 166 | #define CFG_GENERIC_VALUE2_MIN ( 0 ) |
| 167 | #define CFG_GENERIC_VALUE2_MAX ( 0xffffffff ) |
| 168 | #define CFG_GENERIC_VALUE2_DEFAULT ( 0 ) |
| 169 | |
| 170 | #define CFG_GENERIC_VALUE3_NAME "gCfg3Value" |
| 171 | #define CFG_GENERIC_VALUE3_MIN ( 0 ) |
| 172 | #define CFG_GENERIC_VALUE3_MAX ( 0xffffffff ) |
| 173 | #define CFG_GENERIC_VALUE3_DEFAULT ( 0 ) |
| 174 | |
| 175 | #define CFG_GENERIC_VALUE4_NAME "gCfg4Value" |
| 176 | #define CFG_GENERIC_VALUE4_MIN ( 0 ) |
| 177 | #define CFG_GENERIC_VALUE4_MAX ( 0xffffffff ) |
| 178 | #define CFG_GENERIC_VALUE4_DEFAULT ( 0 ) |
| 179 | |
| 180 | #define CFG_GENERIC_VALUE5_NAME "gCfg5Value" |
| 181 | #define CFG_GENERIC_VALUE5_MIN ( 0 ) |
| 182 | #define CFG_GENERIC_VALUE5_MAX ( 0xffffffff ) |
| 183 | #define CFG_GENERIC_VALUE5_DEFAULT ( 0 ) |
| 184 | |
| 185 | #define CFG_HEARTBEAT_THRESH_24_NAME "gHeartbeat24" |
| 186 | #define CFG_HEARTBEAT_THRESH_24_MIN WNI_CFG_HEART_BEAT_THRESHOLD_STAMIN |
| 187 | #define CFG_HEARTBEAT_THRESH_24_MAX WNI_CFG_HEART_BEAT_THRESHOLD_STAMAX |
| 188 | #define CFG_HEARTBEAT_THRESH_24_DEFAULT WNI_CFG_HEART_BEAT_THRESHOLD_STADEF |
| 189 | |
| 190 | #define CFG_POWER_USAGE_NAME "gPowerUsage" |
| 191 | #define CFG_POWER_USAGE_MIN "Min" //Minimum Power Save |
| 192 | #define CFG_POWER_USAGE_MAX "Max" //Maximum Power Save |
| 193 | #define CFG_POWER_USAGE_DEFAULT "Mod" //Moderate Power Save |
| 194 | |
| 195 | //Enable suspend on Android |
| 196 | #define CFG_ENABLE_SUSPEND_NAME "gEnableSuspend" |
| 197 | #define CFG_ENABLE_SUSPEND_MIN ( 0 ) //No support for suspend |
| 198 | #define CFG_ENABLE_SUSPEND_MAX ( 3 ) //Map to Deep Sleep |
| 199 | #define CFG_ENABLE_SUSPEND_DEFAULT ( 1 ) //Map to Standby |
| 200 | |
| 201 | //Driver start/stop command mappings |
| 202 | #define CFG_ENABLE_ENABLE_DRIVER_STOP_NAME "gEnableDriverStop" |
| 203 | #define CFG_ENABLE_ENABLE_DRIVER_STOP_MIN ( 0 ) //No support for stop |
| 204 | #define CFG_ENABLE_ENABLE_DRIVER_STOP_MAX ( 2 ) //Map to Deep Sleep |
| 205 | #define CFG_ENABLE_ENABLE_DRIVER_STOP_DEFAULT ( 0 ) |
| 206 | |
| 207 | #define CFG_WOWL_PATTERN_NAME "gWowlPattern" |
| 208 | #define CFG_WOWL_PATTERN_DEFAULT "" |
| 209 | |
| 210 | //IMPS = IdleModePowerSave |
| 211 | #define CFG_ENABLE_IMPS_NAME "gEnableImps" |
| 212 | #define CFG_ENABLE_IMPS_MIN ( 0 ) |
| 213 | #define CFG_ENABLE_IMPS_MAX ( 1 ) |
| 214 | #define CFG_ENABLE_IMPS_DEFAULT ( 1 ) |
| 215 | |
| 216 | #define CFG_IMPS_MINIMUM_SLEEP_TIME_NAME "gImpsMinSleepTime" |
| 217 | #define CFG_IMPS_MINIMUM_SLEEP_TIME_MIN ( 0 ) |
| 218 | #define CFG_IMPS_MINIMUM_SLEEP_TIME_MAX ( 65535 ) |
| 219 | #define CFG_IMPS_MINIMUM_SLEEP_TIME_DEFAULT ( 5 ) |
| 220 | |
| 221 | #define CFG_IMPS_MODERATE_SLEEP_TIME_NAME "gImpsModSleepTime" |
| 222 | #define CFG_IMPS_MODERATE_SLEEP_TIME_MIN ( 0 ) |
| 223 | #define CFG_IMPS_MODERATE_SLEEP_TIME_MAX ( 65535 ) |
| 224 | #define CFG_IMPS_MODERATE_SLEEP_TIME_DEFAULT ( 10) |
| 225 | |
| 226 | #define CFG_IMPS_MAXIMUM_SLEEP_TIME_NAME "gImpsMaxSleepTime" |
| 227 | #define CFG_IMPS_MAXIMUM_SLEEP_TIME_MIN ( 0 ) |
| 228 | #define CFG_IMPS_MAXIMUM_SLEEP_TIME_MAX ( 65535 ) |
| 229 | #define CFG_IMPS_MAXIMUM_SLEEP_TIME_DEFAULT ( 15 ) |
| 230 | |
| 231 | //BMPS = BeaconModePowerSave |
| 232 | #define CFG_ENABLE_BMPS_NAME "gEnableBmps" |
| 233 | #define CFG_ENABLE_BMPS_MIN ( 0 ) |
| 234 | #define CFG_ENABLE_BMPS_MAX ( 1 ) |
| 235 | #define CFG_ENABLE_BMPS_DEFAULT ( 1 ) |
| 236 | |
| 237 | #define CFG_BMPS_MINIMUM_LI_NAME "gBmpsMinListenInterval" |
| 238 | #define CFG_BMPS_MINIMUM_LI_MIN ( 1 ) |
| 239 | #define CFG_BMPS_MINIMUM_LI_MAX ( 65535 ) |
| 240 | #define CFG_BMPS_MINIMUM_LI_DEFAULT ( 1 ) |
| 241 | |
| 242 | #define CFG_BMPS_MODERATE_LI_NAME "gBmpsModListenInterval" |
| 243 | #define CFG_BMPS_MODERATE_LI_MIN ( 1 ) |
| 244 | #define CFG_BMPS_MODERATE_LI_MAX ( 65535 ) |
| 245 | #define CFG_BMPS_MODERATE_LI_DEFAULT ( 1 ) |
| 246 | |
| 247 | #define CFG_BMPS_MAXIMUM_LI_NAME "gBmpsMaxListenInterval" |
| 248 | #define CFG_BMPS_MAXIMUM_LI_MIN ( 1 ) |
| 249 | #define CFG_BMPS_MAXIMUM_LI_MAX ( 65535 ) |
| 250 | #define CFG_BMPS_MAXIMUM_LI_DEFAULT ( 1 ) |
| 251 | |
| 252 | // gEnableAutoBmpsTimer has been previously published as an externally |
| 253 | // configurable parameter. See analysis of CR 178211 for detailed info |
| 254 | // on why we want to *always* set this to 1 i.e. we no longer want |
| 255 | // this parameter to be configurable. the clean solution would be for |
| 256 | // users to not define this item in winreg so that the default value |
| 257 | // (which needs to be changed to 1) gets picked up but we cannot rely on that |
| 258 | // since this item has been published already hence the proposed |
| 259 | // solution to change the name of the item along with the change in the |
| 260 | // default value. also we could decide to not read this item from registry |
| 261 | // but leaving open the option of being able to configure this item for |
| 262 | // ASW's internal use |
| 263 | #define CFG_ENABLE_AUTO_BMPS_TIMER_NAME "gEnableAutoBmpsTimer_INTERNAL" |
| 264 | #define CFG_ENABLE_AUTO_BMPS_TIMER_MIN ( 0 ) |
| 265 | #define CFG_ENABLE_AUTO_BMPS_TIMER_MAX ( 1 ) |
| 266 | #define CFG_ENABLE_AUTO_BMPS_TIMER_DEFAULT ( 1 ) |
| 267 | |
| 268 | #define CFG_AUTO_BMPS_TIMER_VALUE_NAME "gAutoBmpsTimerValue" |
| 269 | #define CFG_AUTO_BMPS_TIMER_VALUE_MIN ( 1000 ) |
| 270 | #define CFG_AUTO_BMPS_TIMER_VALUE_MAX ( 4294967295UL ) |
| 271 | #define CFG_AUTO_BMPS_TIMER_VALUE_DEFAULT ( 1000 ) |
| 272 | |
| 273 | #define CFG_MAX_RX_AMPDU_FACTOR_NAME "gMaxRxAmpduFactor" |
| 274 | #define CFG_MAX_RX_AMPDU_FACTOR_MIN WNI_CFG_MAX_RX_AMPDU_FACTOR_STAMIN |
| 275 | #define CFG_MAX_RX_AMPDU_FACTOR_MAX WNI_CFG_MAX_RX_AMPDU_FACTOR_STAMAX |
| 276 | #define CFG_MAX_RX_AMPDU_FACTOR_DEFAULT WNI_CFG_MAX_RX_AMPDU_FACTOR_STADEF |
| 277 | |
Sudhir Sattayappa Kohalli | da1be20 | 2013-07-11 12:04:30 -0700 | [diff] [blame] | 278 | //Configuration added to enable/disable CTS2SELF in |
| 279 | //Adaptive RX drain feature |
| 280 | #define CFG_ENABLE_ADAPT_RX_DRAIN_NAME "gEnableAdaptRxDrain" |
| 281 | #define CFG_ENABLE_ADAPT_RX_DRAIN_MIN WNI_CFG_ENABLE_ADAPT_RX_DRAIN_STAMIN |
| 282 | #define CFG_ENABLE_ADAPT_RX_DRAIN_MAX WNI_CFG_ENABLE_ADAPT_RX_DRAIN_STAMAX |
| 283 | #define CFG_ENABLE_ADAPT_RX_DRAIN_DEFAULT WNI_CFG_ENABLE_ADAPT_RX_DRAIN_STADEF |
| 284 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 285 | typedef enum |
| 286 | { |
| 287 | eHDD_DOT11_MODE_AUTO = 0, //covers all things we support |
| 288 | eHDD_DOT11_MODE_abg, //11a/b/g only, no HT, no proprietary |
| 289 | eHDD_DOT11_MODE_11b, |
| 290 | eHDD_DOT11_MODE_11g, |
| 291 | eHDD_DOT11_MODE_11n, |
| 292 | eHDD_DOT11_MODE_11g_ONLY, |
| 293 | eHDD_DOT11_MODE_11n_ONLY, |
| 294 | eHDD_DOT11_MODE_11b_ONLY, |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 295 | #ifdef WLAN_FEATURE_11AC |
| 296 | eHDD_DOT11_MODE_11ac_ONLY, |
| 297 | eHDD_DOT11_MODE_11ac, |
| 298 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 299 | }eHddDot11Mode; |
| 300 | |
| 301 | #define CFG_DOT11_MODE_NAME "gDot11Mode" |
| 302 | #define CFG_DOT11_MODE_MIN eHDD_DOT11_MODE_AUTO |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 303 | #ifdef WLAN_FEATURE_11AC |
| 304 | #define CFG_DOT11_MODE_MAX eHDD_DOT11_MODE_11ac |
| 305 | #define CFG_DOT11_MODE_DEFAULT eHDD_DOT11_MODE_11ac |
| 306 | #else |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 307 | #define CFG_DOT11_MODE_MAX eHDD_DOT11_MODE_11b_ONLY |
| 308 | #define CFG_DOT11_MODE_DEFAULT eHDD_DOT11_MODE_11n |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 309 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 310 | |
| 311 | #define CFG_CHANNEL_BONDING_MODE_24GHZ_NAME "gChannelBondingMode24GHz" |
| 312 | #define CFG_CHANNEL_BONDING_MODE_MIN WNI_CFG_CHANNEL_BONDING_MODE_STAMIN |
| 313 | #define CFG_CHANNEL_BONDING_MODE_MAX WNI_CFG_CHANNEL_BONDING_MODE_STAMAX |
| 314 | #define CFG_CHANNEL_BONDING_MODE_DEFAULT WNI_CFG_CHANNEL_BONDING_MODE_STADEF |
| 315 | |
| 316 | #define CFG_CHANNEL_BONDING_MODE_5GHZ_NAME "gChannelBondingMode5GHz" |
| 317 | #define CFG_CHANNEL_BONDING_MODE_MIN WNI_CFG_CHANNEL_BONDING_MODE_STAMIN |
| 318 | #define CFG_CHANNEL_BONDING_MODE_MAX WNI_CFG_CHANNEL_BONDING_MODE_STAMAX |
| 319 | #define CFG_CHANNEL_BONDING_MODE_DEFAULT WNI_CFG_CHANNEL_BONDING_MODE_STADEF |
| 320 | |
| 321 | #define CFG_FIXED_RATE_NAME "gFixedRate" |
| 322 | #define CFG_FIXED_RATE_MIN WNI_CFG_FIXED_RATE_STAMIN |
| 323 | #define CFG_FIXED_RATE_MAX WNI_CFG_FIXED_RATE_STAMAX |
| 324 | #define CFG_FIXED_RATE_DEFAULT WNI_CFG_FIXED_RATE_STADEF |
| 325 | |
| 326 | #define CFG_SHORT_GI_20MHZ_NAME "gShortGI20Mhz" |
| 327 | #define CFG_SHORT_GI_20MHZ_MIN WNI_CFG_SHORT_GI_20MHZ_STAMIN |
| 328 | #define CFG_SHORT_GI_20MHZ_MAX WNI_CFG_SHORT_GI_20MHZ_STAMAX |
| 329 | #define CFG_SHORT_GI_20MHZ_DEFAULT WNI_CFG_SHORT_GI_20MHZ_STADEF |
| 330 | |
| 331 | #define CFG_BLOCK_ACK_AUTO_SETUP_NAME "gBlockAckAutoSetup" |
| 332 | #define CFG_BLOCK_ACK_AUTO_SETUP_MIN ( 0 ) |
| 333 | #define CFG_BLOCK_ACK_AUTO_SETUP_MAX ( 1 ) |
| 334 | #define CFG_BLOCK_ACK_AUTO_SETUP_DEFAULT ( 1 ) |
| 335 | |
| 336 | #define CFG_SCAN_RESULT_AGE_COUNT_NAME "gScanResultAgeCount" |
| 337 | #define CFG_SCAN_RESULT_AGE_COUNT_MIN ( 1 ) |
| 338 | #define CFG_SCAN_RESULT_AGE_COUNT_MAX ( 100 ) |
| 339 | #define CFG_SCAN_RESULT_AGE_COUNT_DEFAULT ( 3 ) |
| 340 | |
| 341 | //All in seconds |
| 342 | //Not Connect, No Power Save |
| 343 | #define CFG_SCAN_RESULT_AGE_TIME_NCNPS_NAME "gScanResultAgeNCNPS" |
| 344 | #define CFG_SCAN_RESULT_AGE_TIME_NCNPS_MIN ( 10 ) |
| 345 | #define CFG_SCAN_RESULT_AGE_TIME_NCNPS_MAX ( 10000 ) |
| 346 | #define CFG_SCAN_RESULT_AGE_TIME_NCNPS_DEFAULT ( 50 ) |
| 347 | //Not Connect, Power Save |
| 348 | #define CFG_SCAN_RESULT_AGE_TIME_NCPS_NAME "gScanResultAgeNCPS" |
| 349 | #define CFG_SCAN_RESULT_AGE_TIME_NCPS_MIN ( 10 ) |
| 350 | #define CFG_SCAN_RESULT_AGE_TIME_NCPS_MAX ( 10000 ) |
| 351 | #define CFG_SCAN_RESULT_AGE_TIME_NCPS_DEFAULT ( 300 ) |
| 352 | //Connect, No Power Save |
| 353 | #define CFG_SCAN_RESULT_AGE_TIME_CNPS_NAME "gScanResultAgeCNPS" |
| 354 | #define CFG_SCAN_RESULT_AGE_TIME_CNPS_MIN ( 10 ) |
| 355 | #define CFG_SCAN_RESULT_AGE_TIME_CNPS_MAX ( 10000 ) |
| 356 | #define CFG_SCAN_RESULT_AGE_TIME_CNPS_DEFAULT ( 150 ) |
| 357 | //Connect, Power Save |
| 358 | #define CFG_SCAN_RESULT_AGE_TIME_CPS_NAME "gScanResultAgeCPS" |
| 359 | #define CFG_SCAN_RESULT_AGE_TIME_CPS_MIN ( 10 ) |
| 360 | #define CFG_SCAN_RESULT_AGE_TIME_CPS_MAX ( 10000 ) |
| 361 | #define CFG_SCAN_RESULT_AGE_TIME_CPS_DEFAULT ( 600 ) |
| 362 | |
| 363 | #define CFG_RSSI_CATEGORY_GAP_NAME "gRssiCatGap" |
Madan Mohan Koyyalamudi | 4c8c635 | 2012-10-15 16:40:16 -0700 | [diff] [blame] | 364 | #define CFG_RSSI_CATEGORY_GAP_MIN ( 5 ) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 365 | #define CFG_RSSI_CATEGORY_GAP_MAX ( 100 ) |
Srinivas Girigowda | de69741 | 2013-02-14 16:31:48 -0800 | [diff] [blame] | 366 | #define CFG_RSSI_CATEGORY_GAP_DEFAULT ( 5 ) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 367 | |
Madan Mohan Koyyalamudi | d502607 | 2012-11-30 14:56:21 -0800 | [diff] [blame] | 368 | #if defined (WLAN_FEATURE_VOWIFI_11R) || defined (FEATURE_WLAN_CCX) || defined(FEATURE_WLAN_LFR) |
| 369 | #define CFG_ROAM_PREFER_5GHZ "gRoamPrefer5GHz" |
| 370 | #define CFG_ROAM_PREFER_5GHZ_MIN ( 0 ) |
| 371 | #define CFG_ROAM_PREFER_5GHZ_MAX ( 1 ) |
| 372 | #define CFG_ROAM_PREFER_5GHZ_DEFAULT ( 1 ) |
Srinivas Girigowda | bbd16eb | 2013-03-21 12:34:46 -0700 | [diff] [blame] | 373 | |
Srinivas Girigowda | d42dfce | 2013-06-19 17:33:50 -0700 | [diff] [blame] | 374 | /* |
| 375 | To enable, set gRoamIntraBand=1 (Roaming within band) |
| 376 | To disable, set gRoamIntraBand=0 (Roaming across band) |
| 377 | */ |
Srinivas Girigowda | bbd16eb | 2013-03-21 12:34:46 -0700 | [diff] [blame] | 378 | #define CFG_ROAM_INTRA_BAND "gRoamIntraBand" |
| 379 | #define CFG_ROAM_INTRA_BAND_MIN ( 0 ) |
| 380 | #define CFG_ROAM_INTRA_BAND_MAX ( 1 ) |
| 381 | #define CFG_ROAM_INTRA_BAND_DEFAULT ( 0 ) |
Madan Mohan Koyyalamudi | d502607 | 2012-11-30 14:56:21 -0800 | [diff] [blame] | 382 | #endif |
| 383 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 384 | #define CFG_SHORT_PREAMBLE_NAME "gShortPreamble" |
| 385 | #define CFG_SHORT_PREAMBLE_MIN WNI_CFG_SHORT_PREAMBLE_STAMIN |
| 386 | #define CFG_SHORT_PREAMBLE_MAX WNI_CFG_SHORT_PREAMBLE_STAMAX |
| 387 | #define CFG_SHORT_PREAMBLE_DEFAULT WNI_CFG_SHORT_PREAMBLE_STADEF |
| 388 | |
| 389 | #define CFG_IBSS_AUTO_BSSID_NAME "gAutoIbssBssid" |
| 390 | #define CFG_IBSS_AUTO_BSSID_MIN WNI_CFG_IBSS_AUTO_BSSID_STAMIN |
| 391 | #define CFG_IBSS_AUTO_BSSID_MAX WNI_CFG_IBSS_AUTO_BSSID_STAMAX |
| 392 | #define CFG_IBSS_AUTO_BSSID_DEFAULT WNI_CFG_IBSS_AUTO_BSSID_STADEF |
| 393 | |
| 394 | #define CFG_IBSS_BSSID_NAME "gIbssBssid" |
| 395 | #define CFG_IBSS_BSSID_MIN "000000000000" |
| 396 | #define CFG_IBSS_BSSID_MAX "ffffffffffff" |
| 397 | #define CFG_IBSS_BSSID_DEFAULT "000AF5040506" |
| 398 | |
| 399 | #define CFG_INTF0_MAC_ADDR_NAME "Intf0MacAddress" |
| 400 | #define CFG_INTF0_MAC_ADDR_MIN "000000000000" |
| 401 | #define CFG_INTF0_MAC_ADDR_MAX "ffffffffffff" |
| 402 | #define CFG_INTF0_MAC_ADDR_DEFAULT "000AF5898980" |
| 403 | |
| 404 | #define CFG_INTF1_MAC_ADDR_NAME "Intf1MacAddress" |
| 405 | #define CFG_INTF1_MAC_ADDR_MIN "000000000000" |
| 406 | #define CFG_INTF1_MAC_ADDR_MAX "ffffffffffff" |
| 407 | #define CFG_INTF1_MAC_ADDR_DEFAULT "000AF5898981" |
| 408 | |
| 409 | #define CFG_INTF2_MAC_ADDR_NAME "Intf2MacAddress" |
| 410 | #define CFG_INTF2_MAC_ADDR_MIN "000000000000" |
| 411 | #define CFG_INTF2_MAC_ADDR_MAX "ffffffffffff" |
| 412 | #define CFG_INTF2_MAC_ADDR_DEFAULT "000AF5898982" |
| 413 | |
| 414 | #define CFG_INTF3_MAC_ADDR_NAME "Intf3MacAddress" |
| 415 | #define CFG_INTF3_MAC_ADDR_MIN "000000000000" |
| 416 | #define CFG_INTF3_MAC_ADDR_MAX "ffffffffffff" |
| 417 | #define CFG_INTF3_MAC_ADDR_DEFAULT "000AF5898983" |
| 418 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 419 | #define CFG_AP_QOS_UAPSD_MODE_NAME "gEnableApUapsd" // ACs to setup U-APSD for at assoc |
| 420 | #define CFG_AP_QOS_UAPSD_MODE_MIN ( 0 ) |
| 421 | #define CFG_AP_QOS_UAPSD_MODE_MAX ( 1 ) |
| 422 | #define CFG_AP_QOS_UAPSD_MODE_DEFAULT ( 1 ) |
| 423 | |
| 424 | #define CFG_AP_COUNTRY_CODE "gAPCntryCode" |
| 425 | #define CFG_AP_COUNTRY_CODE_MIN "USI" |
| 426 | #define CFG_AP_COUNTRY_CODE_MAX "USI" |
| 427 | #define CFG_AP_COUNTRY_CODE_DEFAULT "FFF" |
| 428 | |
Madan Mohan Koyyalamudi | 3ff2a0b | 2012-10-15 14:33:46 -0700 | [diff] [blame] | 429 | #define CFG_AP_ENABLE_RANDOM_BSSID_NAME "gEnableApRandomBssid" |
| 430 | #define CFG_AP_ENABLE_RANDOM_BSSID_MIN ( 0 ) |
| 431 | #define CFG_AP_ENABLE_RANDOM_BSSID_MAX ( 1 ) |
| 432 | #define CFG_AP_ENABLE_RANDOM_BSSID_DEFAULT ( 0 ) |
| 433 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 434 | #define CFG_AP_ENABLE_PROTECTION_MODE_NAME "gEnableApProt" |
| 435 | #define CFG_AP_ENABLE_PROTECTION_MODE_MIN ( 0 ) |
| 436 | #define CFG_AP_ENABLE_PROTECTION_MODE_MAX ( 1 ) |
| 437 | #define CFG_AP_ENABLE_PROTECTION_MODE_DEFAULT ( 1 ) |
| 438 | |
| 439 | // Bit map for CFG_AP_PROTECTION_MODE_DEFAULT |
| 440 | // LOWER byte for associated stations |
| 441 | // UPPER byte for overlapping stations |
| 442 | // each byte will have the following info |
| 443 | // bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8 |
| 444 | // OBSS RIFS LSIG_TXOP NON_GF HT20 FROM_11G FROM_11B FROM_11A |
| 445 | // bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 |
| 446 | // OBSS RIFS LSIG_TXOP NON_GF HT_20 FROM_11G FROM_11B FROM_11A |
| 447 | #define CFG_AP_PROTECTION_MODE_NAME "gApProtection" |
| 448 | #define CFG_AP_PROTECTION_MODE_MIN ( 0x0 ) |
| 449 | #define CFG_AP_PROTECTION_MODE_MAX ( 0xFFFF ) |
| 450 | #define CFG_AP_PROTECTION_MODE_DEFAULT ( 0xBFFF ) |
| 451 | |
| 452 | #define CFG_AP_OBSS_PROTECTION_MODE_NAME "gEnableApOBSSProt" |
| 453 | #define CFG_AP_OBSS_PROTECTION_MODE_MIN ( 0 ) |
| 454 | #define CFG_AP_OBSS_PROTECTION_MODE_MAX ( 1 ) |
| 455 | #define CFG_AP_OBSS_PROTECTION_MODE_DEFAULT ( 0 ) |
| 456 | |
| 457 | #define CFG_AP_STA_SECURITY_SEPERATION_NAME "gDisableIntraBssFwd" |
| 458 | #define CFG_AP_STA_SECURITY_SEPERATION_MIN ( 0 ) |
| 459 | #define CFG_AP_STA_SECURITY_SEPERATION_MAX ( 1 ) |
| 460 | #define CFG_AP_STA_SECURITY_SEPERATION_DEFAULT ( 0 ) |
| 461 | |
| 462 | #define CFG_AP_LISTEN_MODE_NAME "gEnablePhyAgcListenMode" |
| 463 | #define CFG_AP_LISTEN_MODE_MIN (0) |
| 464 | #define CFG_AP_LISTEN_MODE_MAX (128) |
| 465 | #define CFG_AP_LISTEN_MODE_DEFAULT (128) |
| 466 | |
| 467 | #define CFG_AP_AUTO_SHUT_OFF "gAPAutoShutOff" |
| 468 | #define CFG_AP_AUTO_SHUT_OFF_MIN ( 0 ) |
| 469 | #define CFG_AP_AUTO_SHUT_OFF_MAX ( 4294967295UL ) |
| 470 | #define CFG_AP_AUTO_SHUT_OFF_DEFAULT ( 0 ) |
| 471 | |
| 472 | #define CFG_FRAMES_PROCESSING_TH_MODE_NAME "gMinFramesProcThres" |
| 473 | #define CFG_FRAMES_PROCESSING_TH_MIN ( 0 ) |
| 474 | #define CFG_FRAMES_PROCESSING_TH_MAX ( 39 ) |
| 475 | #define CFG_FRAMES_PROCESSING_TH_DEFAULT ( 0 ) |
| 476 | |
| 477 | #define CFG_SAP_CHANNEL_SELECT_START_CHANNEL "gAPChannelSelectStartChannel" |
| 478 | #define CFG_SAP_CHANNEL_SELECT_START_CHANNEL_MIN (0) |
| 479 | #define CFG_SAP_CHANNEL_SELECT_START_CHANNEL_MAX (0xFF) |
| 480 | #define CFG_SAP_CHANNEL_SELECT_START_CHANNEL_DEFAULT (0) |
| 481 | |
| 482 | #define CFG_SAP_CHANNEL_SELECT_END_CHANNEL "gAPChannelSelectEndChannel" |
| 483 | #define CFG_SAP_CHANNEL_SELECT_END_CHANNEL_MIN (0) |
| 484 | #define CFG_SAP_CHANNEL_SELECT_END_CHANNEL_MAX (0xFF) |
| 485 | #define CFG_SAP_CHANNEL_SELECT_END_CHANNEL_DEFAULT (11) |
| 486 | |
| 487 | #define CFG_SAP_CHANNEL_SELECT_OPERATING_BAND "gAPChannelSelectOperatingBand" |
| 488 | #define CFG_SAP_CHANNEL_SELECT_OPERATING_BAND_MIN (0) |
| 489 | #define CFG_SAP_CHANNEL_SELECT_OPERATING_BAND_MAX (0x4) |
| 490 | #define CFG_SAP_CHANNEL_SELECT_OPERATING_BAND_DEFAULT (0) |
| 491 | |
| 492 | #define CFG_DISABLE_PACKET_FILTER "gDisablePacketFilter" |
| 493 | #define CFG_DISABLE_PACKET_FILTER_MIN (0) |
| 494 | #define CFG_DISABLE_PACKET_FILTER_MAX (0x1) |
| 495 | #define CFG_DISABLE_PACKET_FILTER_DEFAULT (0) |
| 496 | |
| 497 | #define CFG_ENABLE_LTE_COEX "gEnableLTECoex" |
| 498 | #define CFG_ENABLE_LTE_COEX_MIN ( 0 ) |
| 499 | #define CFG_ENABLE_LTE_COEX_MAX ( 1 ) |
| 500 | #define CFG_ENABLE_LTE_COEX_DEFAULT ( 0 ) |
| 501 | |
| 502 | #define CFG_AP_KEEP_ALIVE_PERIOD_NAME "gApKeepAlivePeriod" |
Madan Mohan Koyyalamudi | 2558bc9 | 2013-08-24 16:54:31 +0530 | [diff] [blame] | 503 | #define CFG_AP_KEEP_ALIVE_PERIOD_MIN ( 3 ) |
| 504 | #define CFG_AP_KEEP_ALIVE_PERIOD_MAX ( 20 ) |
| 505 | #define CFG_AP_KEEP_ALIVE_PERIOD_DEFAULT ( 5 ) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 506 | |
| 507 | #define CFG_GO_KEEP_ALIVE_PERIOD_NAME "gGoKeepAlivePeriod" |
Madan Mohan Koyyalamudi | 2558bc9 | 2013-08-24 16:54:31 +0530 | [diff] [blame] | 508 | #define CFG_GO_KEEP_ALIVE_PERIOD_MIN ( 3 ) |
| 509 | #define CFG_GO_KEEP_ALIVE_PERIOD_MAX ( 20 ) |
| 510 | #define CFG_GO_KEEP_ALIVE_PERIOD_DEFAULT ( 5 ) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 511 | |
Sejal Chauhan | bcde8bc | 2013-03-04 18:06:36 +0530 | [diff] [blame] | 512 | #define CFG_AP_LINK_MONITOR_PERIOD_NAME "gApLinkMonitorPeriod" |
Madan Mohan Koyyalamudi | 2558bc9 | 2013-08-24 16:54:31 +0530 | [diff] [blame] | 513 | #define CFG_AP_LINK_MONITOR_PERIOD_MIN ( 3 ) |
| 514 | #define CFG_AP_LINK_MONITOR_PERIOD_MAX ( 50 ) |
| 515 | #define CFG_AP_LINK_MONITOR_PERIOD_DEFAULT ( 10 ) |
| 516 | |
| 517 | /* gGoLinkMonitorPeriod is period where link is idle and where |
| 518 | * we send NULL frame |
| 519 | */ |
| 520 | #define CFG_GO_LINK_MONITOR_PERIOD_NAME "gGoLinkMonitorPeriod" |
| 521 | #define CFG_GO_LINK_MONITOR_PERIOD_MIN ( 3 ) |
| 522 | #define CFG_GO_LINK_MONITOR_PERIOD_MAX ( 50 ) |
| 523 | #define CFG_GO_LINK_MONITOR_PERIOD_DEFAULT ( 10 ) |
| 524 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 525 | |
| 526 | #define CFG_BEACON_INTERVAL_NAME "gBeaconInterval" |
| 527 | #define CFG_BEACON_INTERVAL_MIN WNI_CFG_BEACON_INTERVAL_STAMIN |
| 528 | #define CFG_BEACON_INTERVAL_MAX WNI_CFG_BEACON_INTERVAL_STAMAX |
| 529 | #define CFG_BEACON_INTERVAL_DEFAULT WNI_CFG_BEACON_INTERVAL_STADEF |
| 530 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 531 | //Additional Handoff related Parameters |
| 532 | #define CFG_ENABLE_IDLE_SCAN_NAME "gEnableIdleScan" |
| 533 | #define CFG_ENABLE_IDLE_SCAN_MIN ( 0 ) |
| 534 | #define CFG_ENABLE_IDLE_SCAN_MAX ( 1 ) |
| 535 | #define CFG_ENABLE_IDLE_SCAN_DEFAULT ( 1 ) |
| 536 | |
| 537 | #define CFG_ROAMING_TIME_NAME "gRoamingTime" |
| 538 | #define CFG_ROAMING_TIME_MIN ( 0 ) |
| 539 | #define CFG_ROAMING_TIME_MAX ( 4294967UL ) |
| 540 | #define CFG_ROAMING_TIME_DEFAULT ( 10 ) |
| 541 | |
| 542 | #define CFG_VCC_RSSI_TRIGGER_NAME "gVccRssiTrigger" |
| 543 | #define CFG_VCC_RSSI_TRIGGER_MIN ( 0 ) |
| 544 | #define CFG_VCC_RSSI_TRIGGER_MAX ( 80 ) |
| 545 | #define CFG_VCC_RSSI_TRIGGER_DEFAULT ( 80 ) |
| 546 | |
| 547 | #define CFG_VCC_UL_MAC_LOSS_THRESH_NAME "gVccUlMacLossThresh" |
| 548 | #define CFG_VCC_UL_MAC_LOSS_THRESH_MIN ( 0 ) |
| 549 | #define CFG_VCC_UL_MAC_LOSS_THRESH_MAX ( 9 ) |
| 550 | #define CFG_VCC_UL_MAC_LOSS_THRESH_DEFAULT ( 9 ) |
| 551 | |
| 552 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_NAME "gPassiveMaxChannelTime" |
| 553 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_MIN ( 0 ) |
| 554 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_MAX ( 10000 ) |
| 555 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_DEFAULT ( 110 ) |
| 556 | |
| 557 | #define CFG_PASSIVE_MIN_CHANNEL_TIME_NAME "gPassiveMinChannelTime" |
| 558 | #define CFG_PASSIVE_MIN_CHANNEL_TIME_MIN ( 0 ) |
| 559 | #define CFG_PASSIVE_MIN_CHANNEL_TIME_MAX ( 10000 ) |
| 560 | #define CFG_PASSIVE_MIN_CHANNEL_TIME_DEFAULT ( 60 ) |
| 561 | |
| 562 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_NAME "gActiveMaxChannelTime" |
| 563 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_MIN ( 0 ) |
| 564 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_MAX ( 10000 ) |
| 565 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_DEFAULT ( 40 ) |
| 566 | |
| 567 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_NAME "gActiveMinChannelTime" |
| 568 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_MIN ( 0 ) |
| 569 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_MAX ( 10000 ) |
| 570 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_DEFAULT ( 20 ) |
| 571 | |
Kiran Kumar Lokere | 3527f0c | 2013-02-24 22:21:28 -0800 | [diff] [blame] | 572 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_BTC_NAME "gActiveMaxChannelTimeBtc" |
| 573 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_BTC_MIN ( 0 ) |
| 574 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_BTC_MAX ( 10000 ) |
| 575 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_BTC_DEFAULT ( 120 ) |
| 576 | |
| 577 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_BTC_NAME "gActiveMinChannelTimeBtc" |
| 578 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_BTC_MIN ( 0 ) |
| 579 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_BTC_MAX ( 10000 ) |
| 580 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_BTC_DEFAULT ( 60 ) |
| 581 | |
Kiran Kumar Lokere | 1f39e95 | 2013-04-03 18:34:30 -0700 | [diff] [blame] | 582 | #define CFG_RETRY_LIMIT_ZERO_NAME "gRetryLimitZero" |
| 583 | #define CFG_RETRY_LIMIT_ZERO_MIN ( 0 ) |
| 584 | #define CFG_RETRY_LIMIT_ZERO_MAX ( 15 ) |
| 585 | #define CFG_RETRY_LIMIT_ZERO_DEFAULT ( 5 ) |
| 586 | |
| 587 | #define CFG_RETRY_LIMIT_ONE_NAME "gRetryLimitOne" |
| 588 | #define CFG_RETRY_LIMIT_ONE_MIN ( 0 ) |
| 589 | #define CFG_RETRY_LIMIT_ONE_MAX ( 15 ) |
| 590 | #define CFG_RETRY_LIMIT_ONE_DEFAULT ( 10 ) |
| 591 | |
| 592 | #define CFG_RETRY_LIMIT_TWO_NAME "gRetryLimitTwo" |
| 593 | #define CFG_RETRY_LIMIT_TWO_MIN ( 0 ) |
| 594 | #define CFG_RETRY_LIMIT_TWO_MAX ( 15 ) |
| 595 | #define CFG_RETRY_LIMIT_TWO_DEFAULT ( 15 ) |
| 596 | |
Kiran Kumar Lokere | 458d732 | 2013-05-29 14:29:43 -0700 | [diff] [blame] | 597 | #define CFG_DISABLE_AGG_WITH_BTC_NAME "gDisableAggWithBTC" |
| 598 | #define CFG_DISABLE_AGG_WITH_BTC_MIN ( 0 ) |
| 599 | #define CFG_DISABLE_AGG_WITH_BTC_MAX ( 1 ) |
| 600 | #define CFG_DISABLE_AGG_WITH_BTC_DEFAULT ( 1 ) |
| 601 | |
Madan Mohan Koyyalamudi | 4ff9cd6 | 2012-10-30 17:48:57 -0700 | [diff] [blame] | 602 | #ifdef WLAN_AP_STA_CONCURRENCY |
| 603 | |
| 604 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_CONC_NAME "gPassiveMaxChannelTimeConc" |
| 605 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_CONC_MIN ( 0 ) |
| 606 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_CONC_MAX ( 10000 ) |
| 607 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_CONC_DEFAULT ( 110 ) |
| 608 | |
| 609 | #define CFG_PASSIVE_MIN_CHANNEL_TIME_CONC_NAME "gPassiveMinChannelTimeConc" |
| 610 | #define CFG_PASSIVE_MIN_CHANNEL_TIME_CONC_MIN ( 0 ) |
| 611 | #define CFG_PASSIVE_MIN_CHANNEL_TIME_CONC_MAX ( 10000 ) |
| 612 | #define CFG_PASSIVE_MIN_CHANNEL_TIME_CONC_DEFAULT ( 60 ) |
| 613 | |
| 614 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_CONC_NAME "gActiveMaxChannelTimeConc" |
| 615 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_CONC_MIN ( 0 ) |
| 616 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_CONC_MAX ( 10000 ) |
Viral Modi | 0e06f19 | 2013-03-05 19:05:04 -0800 | [diff] [blame] | 617 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_CONC_DEFAULT ( 40 ) |
Madan Mohan Koyyalamudi | 4ff9cd6 | 2012-10-30 17:48:57 -0700 | [diff] [blame] | 618 | |
| 619 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_CONC_NAME "gActiveMinChannelTimeConc" |
| 620 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_CONC_MIN ( 0 ) |
| 621 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_CONC_MAX ( 10000 ) |
| 622 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_CONC_DEFAULT ( 20 ) |
| 623 | |
| 624 | #define CFG_REST_TIME_CONC_NAME "gRestTimeConc" |
| 625 | #define CFG_REST_TIME_CONC_MIN ( 0 ) |
| 626 | #define CFG_REST_TIME_CONC_MAX ( 10000 ) |
Madan Mohan Koyyalamudi | 4805fa8 | 2012-11-09 17:53:39 -0800 | [diff] [blame] | 627 | #define CFG_REST_TIME_CONC_DEFAULT ( 100 ) |
Madan Mohan Koyyalamudi | 4ff9cd6 | 2012-10-30 17:48:57 -0700 | [diff] [blame] | 628 | |
Sudhir Sattayappa Kohalli | eb97d50 | 2013-05-22 23:16:42 -0700 | [diff] [blame] | 629 | #define CFG_NUM_STA_CHAN_COMBINED_CONC_NAME "gNumStaChanCombinedConc" |
| 630 | #define CFG_NUM_STA_CHAN_COMBINED_CONC_MIN ( 1 ) |
| 631 | #define CFG_NUM_STA_CHAN_COMBINED_CONC_MAX ( 255 ) |
| 632 | #define CFG_NUM_STA_CHAN_COMBINED_CONC_DEFAULT ( 3 ) |
| 633 | |
| 634 | #define CFG_NUM_P2P_CHAN_COMBINED_CONC_NAME "gNumP2PChanCombinedConc" |
| 635 | #define CFG_NUM_P2P_CHAN_COMBINED_CONC_MIN ( 1 ) |
| 636 | #define CFG_NUM_P2P_CHAN_COMBINED_CONC_MAX ( 255 ) |
| 637 | #define CFG_NUM_P2P_CHAN_COMBINED_CONC_DEFAULT ( 1 ) |
Vinay Malekal | 05fdc81 | 2012-12-17 13:04:30 -0800 | [diff] [blame] | 638 | |
Madan Mohan Koyyalamudi | 4ff9cd6 | 2012-10-30 17:48:57 -0700 | [diff] [blame] | 639 | #endif |
| 640 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 641 | #define CFG_MAX_PS_POLL_NAME "gMaxPsPoll" |
| 642 | #define CFG_MAX_PS_POLL_MIN WNI_CFG_MAX_PS_POLL_STAMIN |
| 643 | #define CFG_MAX_PS_POLL_MAX WNI_CFG_MAX_PS_POLL_STAMAX |
| 644 | #define CFG_MAX_PS_POLL_DEFAULT WNI_CFG_MAX_PS_POLL_STADEF |
| 645 | |
| 646 | #define CFG_MAX_TX_POWER_NAME "gTxPowerCap" |
| 647 | #define CFG_MAX_TX_POWER_MIN WNI_CFG_CURRENT_TX_POWER_LEVEL_STAMIN |
| 648 | #define CFG_MAX_TX_POWER_MAX WNI_CFG_CURRENT_TX_POWER_LEVEL_STAMAX |
| 649 | //Not to use CFG default because if no registry setting, this is ignored by SME. |
| 650 | #define CFG_MAX_TX_POWER_DEFAULT WNI_CFG_CURRENT_TX_POWER_LEVEL_STAMAX |
| 651 | |
| 652 | |
| 653 | #define CFG_LOW_GAIN_OVERRIDE_NAME "gLowGainOverride" |
| 654 | #define CFG_LOW_GAIN_OVERRIDE_MIN WNI_CFG_LOW_GAIN_OVERRIDE_STAMIN |
| 655 | #define CFG_LOW_GAIN_OVERRIDE_MAX WNI_CFG_LOW_GAIN_OVERRIDE_STAMAX |
| 656 | #define CFG_LOW_GAIN_OVERRIDE_DEFAULT WNI_CFG_LOW_GAIN_OVERRIDE_STADEF |
| 657 | |
| 658 | #define CFG_RSSI_FILTER_PERIOD_NAME "gRssiFilterPeriod" |
| 659 | #define CFG_RSSI_FILTER_PERIOD_MIN WNI_CFG_RSSI_FILTER_PERIOD_STAMIN |
| 660 | #define CFG_RSSI_FILTER_PERIOD_MAX WNI_CFG_RSSI_FILTER_PERIOD_STAMAX |
| 661 | // Increased this value for Non-CCX AP. This is cause FW RSSI Monitoring |
| 662 | // the consumer of this value is ON by default. So to impact power numbers |
| 663 | // we are setting this to a high value. |
| 664 | #define CFG_RSSI_FILTER_PERIOD_DEFAULT WNI_CFG_RSSI_FILTER_PERIOD_STADEF |
| 665 | |
| 666 | #define CFG_IGNORE_DTIM_NAME "gIgnoreDtim" |
| 667 | #define CFG_IGNORE_DTIM_MIN WNI_CFG_IGNORE_DTIM_STAMIN |
| 668 | #define CFG_IGNORE_DTIM_MAX WNI_CFG_IGNORE_DTIM_STAMAX |
| 669 | #define CFG_IGNORE_DTIM_DEFAULT WNI_CFG_IGNORE_DTIM_STADEF |
| 670 | |
Yue Ma | c24062f | 2013-05-13 17:01:29 -0700 | [diff] [blame] | 671 | #define CFG_MAX_LI_MODULATED_DTIM_NAME "gMaxLIModulatedDTIM" |
| 672 | #define CFG_MAX_LI_MODULATED_DTIM_MIN ( 1 ) |
| 673 | #define CFG_MAX_LI_MODULATED_DTIM_MAX ( 10 ) |
| 674 | #define CFG_MAX_LI_MODULATED_DTIM_DEFAULT ( 10 ) |
| 675 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 676 | #define CFG_RX_ANT_CONFIGURATION_NAME "gNumRxAnt" |
| 677 | #define CFG_RX_ANT_CONFIGURATION_NAME_MIN ( 1 ) |
| 678 | #define CFG_RX_ANT_CONFIGURATION_NAME_MAX ( 2 ) |
| 679 | #define CFG_RX_ANT_CONFIGURATION_NAME_DEFAULT ( 2 ) |
| 680 | |
| 681 | #define CFG_FW_HEART_BEAT_MONITORING_NAME "gEnableFWHeartBeatMonitoring" |
| 682 | #define CFG_FW_HEART_BEAT_MONITORING_MIN ( 0 ) |
| 683 | #define CFG_FW_HEART_BEAT_MONITORING_MAX ( 1 ) |
| 684 | #define CFG_FW_HEART_BEAT_MONITORING_DEFAULT ( 1 ) |
| 685 | |
| 686 | #define CFG_FW_BEACON_FILTERING_NAME "gEnableFWBeaconFiltering" |
| 687 | #define CFG_FW_BEACON_FILTERING_MIN ( 0 ) |
| 688 | #define CFG_FW_BEACON_FILTERING_MAX ( 1 ) |
| 689 | #define CFG_FW_BEACON_FILTERING_DEFAULT ( 1 ) |
| 690 | |
| 691 | #define CFG_FW_RSSI_MONITORING_NAME "gEnableFWRssiMonitoring" |
| 692 | #define CFG_FW_RSSI_MONITORING_MIN ( 0 ) |
| 693 | #define CFG_FW_RSSI_MONITORING_MAX ( 1 ) |
Srinivas Girigowda | ba17369 | 2013-08-07 11:55:38 -0700 | [diff] [blame] | 694 | #define CFG_FW_RSSI_MONITORING_DEFAULT ( 1 ) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 695 | |
| 696 | #define CFG_DATA_INACTIVITY_TIMEOUT_NAME "gDataInactivityTimeout" |
| 697 | #define CFG_DATA_INACTIVITY_TIMEOUT_MIN ( 1 ) |
| 698 | #define CFG_DATA_INACTIVITY_TIMEOUT_MAX ( 255 ) |
| 699 | #define CFG_DATA_INACTIVITY_TIMEOUT_DEFAULT ( 20 ) |
| 700 | |
| 701 | #define CFG_NTH_BEACON_FILTER_NAME "gNthBeaconFilter" |
| 702 | #define CFG_NTH_BEACON_FILTER_MIN ( WNI_CFG_NTH_BEACON_FILTER_STAMIN ) |
| 703 | #define CFG_NTH_BEACON_FILTER_MAX ( WNI_CFG_NTH_BEACON_FILTER_STAMAX ) |
| 704 | #define CFG_NTH_BEACON_FILTER_DEFAULT ( WNI_CFG_NTH_BEACON_FILTER_STADEF ) |
| 705 | |
| 706 | #define CFG_RF_SETTLING_TIME_CLK_NAME "rfSettlingTimeUs" |
| 707 | #define CFG_RF_SETTLING_TIME_CLK_MIN ( 0 ) |
| 708 | #define CFG_RF_SETTLING_TIME_CLK_MAX ( 60000 ) |
| 709 | #define CFG_RF_SETTLING_TIME_CLK_DEFAULT ( 1500 ) |
| 710 | |
| 711 | #define CFG_INFRA_STA_KEEP_ALIVE_PERIOD_NAME "gStaKeepAlivePeriod" |
| 712 | #define CFG_INFRA_STA_KEEP_ALIVE_PERIOD_MIN ( 0 ) |
| 713 | #define CFG_INFRA_STA_KEEP_ALIVE_PERIOD_MAX ( 65535) |
| 714 | #define CFG_INFRA_STA_KEEP_ALIVE_PERIOD_DEFAULT ( 0 ) |
| 715 | |
| 716 | //WMM configuration |
| 717 | #define CFG_QOS_WMM_MODE_NAME "WmmIsEnabled" |
| 718 | #define CFG_QOS_WMM_MODE_MIN (0) |
| 719 | #define CFG_QOS_WMM_MODE_MAX (2) //HDD_WMM_NO_QOS |
| 720 | #define CFG_QOS_WMM_MODE_DEFAULT (0) //HDD_WMM_AUTO |
| 721 | |
| 722 | #define CFG_QOS_WMM_80211E_ENABLED_NAME "80211eIsEnabled" |
| 723 | #define CFG_QOS_WMM_80211E_ENABLED_MIN (0) |
| 724 | #define CFG_QOS_WMM_80211E_ENABLED_MAX (1) |
| 725 | #define CFG_QOS_WMM_80211E_ENABLED_DEFAULT (0) |
| 726 | |
| 727 | #define CFG_QOS_WMM_UAPSD_MASK_NAME "UapsdMask" // ACs to setup U-APSD for at assoc |
| 728 | #define CFG_QOS_WMM_UAPSD_MASK_MIN (0x00) |
| 729 | #define CFG_QOS_WMM_UAPSD_MASK_MAX (0xFF) |
| 730 | #define CFG_QOS_WMM_UAPSD_MASK_DEFAULT (0x00) |
| 731 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 732 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SRV_INTV_NAME "InfraUapsdVoSrvIntv" |
| 733 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SRV_INTV_MIN (0) |
| 734 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SRV_INTV_MAX (4294967295UL ) |
| 735 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SRV_INTV_DEFAULT (20) |
| 736 | |
| 737 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SUS_INTV_NAME "InfraUapsdVoSuspIntv" |
| 738 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SUS_INTV_MIN (0) |
| 739 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SUS_INTV_MAX (4294967295UL ) |
| 740 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SUS_INTV_DEFAULT (2000) |
| 741 | |
| 742 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SRV_INTV_NAME "InfraUapsdViSrvIntv" |
| 743 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SRV_INTV_MIN (0) |
| 744 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SRV_INTV_MAX (4294967295UL) |
| 745 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SRV_INTV_DEFAULT (300) |
| 746 | |
| 747 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SUS_INTV_NAME "InfraUapsdViSuspIntv" |
| 748 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SUS_INTV_MIN (0) |
| 749 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SUS_INTV_MAX (4294967295UL) |
| 750 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SUS_INTV_DEFAULT (2000) |
| 751 | |
| 752 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SRV_INTV_NAME "InfraUapsdBeSrvIntv" |
| 753 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SRV_INTV_MIN (0) |
| 754 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SRV_INTV_MAX (4294967295UL) |
| 755 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SRV_INTV_DEFAULT (300) |
| 756 | |
| 757 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SUS_INTV_NAME "InfraUapsdBeSuspIntv" |
| 758 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SUS_INTV_MIN (0) |
| 759 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SUS_INTV_MAX (4294967295UL) |
| 760 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SUS_INTV_DEFAULT (2000) |
| 761 | |
| 762 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SRV_INTV_NAME "InfraUapsdBkSrvIntv" |
| 763 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SRV_INTV_MIN (0) |
| 764 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SRV_INTV_MAX (4294967295UL) |
| 765 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SRV_INTV_DEFAULT (300) |
| 766 | |
| 767 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SUS_INTV_NAME "InfraUapsdBkSuspIntv" |
| 768 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SUS_INTV_MIN (0) |
| 769 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SUS_INTV_MAX (4294967295UL) |
| 770 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SUS_INTV_DEFAULT (2000) |
| 771 | |
| 772 | #ifdef FEATURE_WLAN_CCX |
| 773 | #define CFG_QOS_WMM_INFRA_INACTIVITY_INTERVAL_NAME "InfraInactivityInterval" |
| 774 | #define CFG_QOS_WMM_INFRA_INACTIVITY_INTERVAL_MIN (0) |
| 775 | #define CFG_QOS_WMM_INFRA_INACTIVITY_INTERVAL_MAX (4294967295UL) |
| 776 | #define CFG_QOS_WMM_INFRA_INACTIVITY_INTERVAL_DEFAULT (0) //disabled |
| 777 | |
| 778 | #define CFG_CCX_FEATURE_ENABLED_NAME "CcxEnabled" |
| 779 | #define CFG_CCX_FEATURE_ENABLED_MIN (0) |
| 780 | #define CFG_CCX_FEATURE_ENABLED_MAX (1) |
| 781 | #define CFG_CCX_FEATURE_ENABLED_DEFAULT (0) //disabled |
| 782 | #endif // FEATURE_WLAN_CCX |
| 783 | |
Jeff Johnson | 04dd8a8 | 2012-06-29 20:41:40 -0700 | [diff] [blame] | 784 | #ifdef FEATURE_WLAN_LFR |
| 785 | #define CFG_LFR_FEATURE_ENABLED_NAME "FastRoamEnabled" |
| 786 | #define CFG_LFR_FEATURE_ENABLED_MIN (0) |
| 787 | #define CFG_LFR_FEATURE_ENABLED_MAX (1) |
| 788 | #define CFG_LFR_FEATURE_ENABLED_DEFAULT (0) //disabled |
| 789 | #endif // FEATURE_WLAN_LFR |
| 790 | |
| 791 | #if defined (WLAN_FEATURE_VOWIFI_11R) || defined (FEATURE_WLAN_CCX) || defined(FEATURE_WLAN_LFR) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 792 | // This flag will control fasttransition in case of 11r and ccx. |
| 793 | // Basically with this the whole neighbor roam, pre-auth, reassoc |
| 794 | // can be turned ON/OFF. |
| 795 | // With this turned OFF 11r will completely not work. |
| 796 | // For 11r this flag has to be ON. |
| 797 | // For CCX fastroam will not work. |
| 798 | #define CFG_FAST_TRANSITION_ENABLED_NAME "FastTransitionEnabled" |
| 799 | #define CFG_FAST_TRANSITION_ENABLED_NAME_MIN (0) |
| 800 | #define CFG_FAST_TRANSITION_ENABLED_NAME_MAX (1) |
| 801 | #define CFG_FAST_TRANSITION_ENABLED_NAME_DEFAULT (0) //disabled |
Jeff Johnson | 43971f5 | 2012-07-17 12:26:56 -0700 | [diff] [blame] | 802 | |
| 803 | /* This parameter is used to decide whether to Roam or not. |
| 804 | * AP1 is the currently associated AP and AP2 is chosen for roaming. |
| 805 | * The Roaming will happen only if AP2 has better Signal Quality and it has a RSSI better than AP1 |
| 806 | * in terms of RoamRssiDiff,and RoamRssiDiff is the number of units (typically measured in dB) AP2 |
| 807 | * is better than AP1. |
| 808 | * This check is not done if the value is Zero */ |
| 809 | #define CFG_ROAM_RSSI_DIFF_NAME "RoamRssiDiff" |
| 810 | #define CFG_ROAM_RSSI_DIFF_MIN (0) |
Srinivas Girigowda | de69741 | 2013-02-14 16:31:48 -0800 | [diff] [blame] | 811 | #define CFG_ROAM_RSSI_DIFF_MAX (30) |
Srinivas Girigowda | d42dfce | 2013-06-19 17:33:50 -0700 | [diff] [blame] | 812 | #define CFG_ROAM_RSSI_DIFF_DEFAULT (5) |
Madan Mohan Koyyalamudi | 62b55b0 | 2012-12-03 16:45:39 -0800 | [diff] [blame] | 813 | |
| 814 | /* |
| 815 | * Following a scan and if potential roam candidate(s) are found, |
| 816 | * then determine whether to register for reassoc threshold or roam |
| 817 | * immediately based on this configuration parameter. If the RSSI |
| 818 | * of any available candidate is better than the currently associated |
| 819 | * AP by at least gImmediateRoamRssiDiff, then being to roam |
| 820 | * immediately. |
Srinivas Girigowda | d42dfce | 2013-06-19 17:33:50 -0700 | [diff] [blame] | 821 | * 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] | 822 | */ |
| 823 | #define CFG_IMMEDIATE_ROAM_RSSI_DIFF_NAME "gImmediateRoamRssiDiff" |
| 824 | #define CFG_IMMEDIATE_ROAM_RSSI_DIFF_MIN (0) |
| 825 | #define CFG_IMMEDIATE_ROAM_RSSI_DIFF_MAX (125) |
Srinivas Girigowda | d42dfce | 2013-06-19 17:33:50 -0700 | [diff] [blame] | 826 | #define CFG_IMMEDIATE_ROAM_RSSI_DIFF_DEFAULT (0) |
Srinivas Girigowda | bbd16eb | 2013-03-21 12:34:46 -0700 | [diff] [blame] | 827 | |
Srinivas Girigowda | ad34ca9 | 2013-10-22 10:54:29 -0700 | [diff] [blame] | 828 | /*This parameter is used to set Wireless Extended Security Mode.*/ |
| 829 | #define CFG_ENABLE_WES_MODE_NAME "gWESModeEnabled" |
| 830 | #define CFG_ENABLE_WES_MODE_NAME_MIN (0) |
| 831 | #define CFG_ENABLE_WES_MODE_NAME_MAX (1) |
| 832 | #define CFG_ENABLE_WES_MODE_NAME_DEFAULT (0) |
| 833 | |
Varun Reddy Yeturu | 920df21 | 2013-05-22 08:07:23 -0700 | [diff] [blame] | 834 | #define CFG_ROAM_SCAN_N_PROBES "gRoamScanNProbes" |
| 835 | #define CFG_ROAM_SCAN_N_PROBES_MIN (1) |
| 836 | #define CFG_ROAM_SCAN_N_PROBES_MAX (10) |
| 837 | #define CFG_ROAM_SCAN_N_PROBES_DEFAULT (2) |
| 838 | |
| 839 | #define CFG_ROAM_SCAN_HOME_AWAY_TIME "gRoamScanHomeAwayTime" |
| 840 | #define CFG_ROAM_SCAN_HOME_AWAY_TIME_MIN (3) |
| 841 | #define CFG_ROAM_SCAN_HOME_AWAY_TIME_MAX (300) |
Srinivas Girigowda | 6cf0b82 | 2013-06-27 14:00:20 -0700 | [diff] [blame] | 842 | #define CFG_ROAM_SCAN_HOME_AWAY_TIME_DEFAULT (CFG_ROAM_SCAN_HOME_AWAY_TIME_MIN) |
Jeff Johnson | 43971f5 | 2012-07-17 12:26:56 -0700 | [diff] [blame] | 843 | #endif /* (WLAN_FEATURE_VOWIFI_11R) || defined (FEATURE_WLAN_CCX) || defined(FEATURE_WLAN_LFR) */ |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 844 | |
Srinivas Girigowda | bbd16eb | 2013-03-21 12:34:46 -0700 | [diff] [blame] | 845 | #ifdef FEATURE_WLAN_OKC |
| 846 | #define CFG_OKC_FEATURE_ENABLED_NAME "OkcEnabled" |
| 847 | #define CFG_OKC_FEATURE_ENABLED_MIN (0) |
| 848 | #define CFG_OKC_FEATURE_ENABLED_MAX (1) |
| 849 | #define CFG_OKC_FEATURE_ENABLED_DEFAULT (1) |
| 850 | #endif |
| 851 | |
Varun Reddy Yeturu | d0a3f25 | 2013-04-15 21:58:13 -0700 | [diff] [blame] | 852 | #ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD |
| 853 | #define CFG_ROAM_SCAN_OFFLOAD_ENABLED "gRoamScanOffloadEnabled" |
| 854 | #define CFG_ROAM_SCAN_OFFLOAD_ENABLED_MIN (0) |
| 855 | #define CFG_ROAM_SCAN_OFFLOAD_ENABLED_MAX (1) |
| 856 | #define CFG_ROAM_SCAN_OFFLOAD_ENABLED_DEFAULT (1) |
| 857 | #endif |
| 858 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 859 | #define CFG_QOS_WMM_PKT_CLASSIFY_BASIS_NAME "PktClassificationBasis" // DSCP or 802.1Q |
| 860 | #define CFG_QOS_WMM_PKT_CLASSIFY_BASIS_MIN (0) |
| 861 | #define CFG_QOS_WMM_PKT_CLASSIFY_BASIS_MAX (1) |
| 862 | #define CFG_QOS_WMM_PKT_CLASSIFY_BASIS_DEFAULT (0) //DSCP |
| 863 | |
| 864 | /* default TSPEC parameters for AC_VO */ |
| 865 | #define CFG_QOS_WMM_INFRA_DIR_AC_VO_NAME "InfraDirAcVo" |
| 866 | #define CFG_QOS_WMM_INFRA_DIR_AC_VO_MIN (0) |
| 867 | #define CFG_QOS_WMM_INFRA_DIR_AC_VO_MAX (3) |
| 868 | #define CFG_QOS_WMM_INFRA_DIR_AC_VO_DEFAULT (3) //WLAN_QCT_CUST_WMM_TSDIR_BOTH |
| 869 | |
| 870 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VO_NAME "InfraNomMsduSizeAcVo" |
| 871 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VO_MIN (0x0) |
| 872 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VO_MAX (0xFFFF) |
| 873 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VO_DEFAULT (0x80D0) |
| 874 | |
| 875 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VO_NAME "InfraMeanDataRateAcVo" |
| 876 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VO_MIN (0x0) |
| 877 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VO_MAX (0xFFFFFFFF) |
| 878 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VO_DEFAULT (0x14500) |
| 879 | |
| 880 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VO_NAME "InfraMinPhyRateAcVo" |
| 881 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VO_MIN (0x0) |
| 882 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VO_MAX (0xFFFFFFFF) |
| 883 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VO_DEFAULT (0x5B8D80) |
| 884 | |
| 885 | #define CFG_QOS_WMM_INFRA_SBA_AC_VO_NAME "InfraSbaAcVo" |
| 886 | #define CFG_QOS_WMM_INFRA_SBA_AC_VO_MIN (0x2001) |
| 887 | #define CFG_QOS_WMM_INFRA_SBA_AC_VO_MAX (0xFFFF) |
| 888 | #define CFG_QOS_WMM_INFRA_SBA_AC_VO_DEFAULT (0x2001) |
| 889 | |
| 890 | /* default TSPEC parameters for AC_VI */ |
| 891 | #define CFG_QOS_WMM_INFRA_DIR_AC_VI_NAME "InfraDirAcVi" |
| 892 | #define CFG_QOS_WMM_INFRA_DIR_AC_VI_MIN (0) |
| 893 | #define CFG_QOS_WMM_INFRA_DIR_AC_VI_MAX (3) |
| 894 | #define CFG_QOS_WMM_INFRA_DIR_AC_VI_DEFAULT (3) //WLAN_QCT_CUST_WMM_TSDIR_BOTH |
| 895 | |
| 896 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VI_NAME "InfraNomMsduSizeAcVi" |
| 897 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VI_MIN (0x0) |
| 898 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VI_MAX (0xFFFF) |
| 899 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VI_DEFAULT (0x85DC) |
| 900 | |
| 901 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VI_NAME "InfraMeanDataRateAcVi" |
| 902 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VI_MIN (0x0) |
| 903 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VI_MAX (0xFFFFFFFF) |
| 904 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VI_DEFAULT (0x57E40) |
| 905 | |
| 906 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VI_NAME "InfraMinPhyRateAcVi" |
| 907 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VI_MIN (0x0) |
| 908 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VI_MAX (0xFFFFFFFF) |
| 909 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VI_DEFAULT (0x5B8D80) |
| 910 | |
| 911 | #define CFG_QOS_WMM_INFRA_SBA_AC_VI_NAME "InfraSbaAcVi" |
| 912 | #define CFG_QOS_WMM_INFRA_SBA_AC_VI_MIN (0x2001) |
| 913 | #define CFG_QOS_WMM_INFRA_SBA_AC_VI_MAX (0xFFFF) |
| 914 | #define CFG_QOS_WMM_INFRA_SBA_AC_VI_DEFAULT (0x2001) |
| 915 | |
| 916 | /* default TSPEC parameters for AC_BE*/ |
| 917 | #define CFG_QOS_WMM_INFRA_DIR_AC_BE_NAME "InfraDirAcBe" |
| 918 | #define CFG_QOS_WMM_INFRA_DIR_AC_BE_MIN (0) |
| 919 | #define CFG_QOS_WMM_INFRA_DIR_AC_BE_MAX (3) |
| 920 | #define CFG_QOS_WMM_INFRA_DIR_AC_BE_DEFAULT (3) //WLAN_QCT_CUST_WMM_TSDIR_BOTH |
| 921 | |
| 922 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BE_NAME "InfraNomMsduSizeAcBe" |
| 923 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BE_MIN (0x0) |
| 924 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BE_MAX (0xFFFF) |
| 925 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BE_DEFAULT (0x85DC) |
| 926 | |
| 927 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BE_NAME "InfraMeanDataRateAcBe" |
| 928 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BE_MIN (0x0) |
| 929 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BE_MAX (0xFFFFFFFF) |
| 930 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BE_DEFAULT (0x493E0) |
| 931 | |
| 932 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BE_NAME "InfraMinPhyRateAcBe" |
| 933 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BE_MIN (0x0) |
| 934 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BE_MAX (0xFFFFFFFF) |
| 935 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BE_DEFAULT (0x5B8D80) |
| 936 | |
| 937 | #define CFG_QOS_WMM_INFRA_SBA_AC_BE_NAME "InfraSbaAcBe" |
| 938 | #define CFG_QOS_WMM_INFRA_SBA_AC_BE_MIN (0x2001) |
| 939 | #define CFG_QOS_WMM_INFRA_SBA_AC_BE_MAX (0xFFFF) |
| 940 | #define CFG_QOS_WMM_INFRA_SBA_AC_BE_DEFAULT (0x2001) |
| 941 | |
| 942 | /* default TSPEC parameters for AC_Bk*/ |
| 943 | #define CFG_QOS_WMM_INFRA_DIR_AC_BK_NAME "InfraDirAcBk" |
| 944 | #define CFG_QOS_WMM_INFRA_DIR_AC_BK_MIN (0) |
| 945 | #define CFG_QOS_WMM_INFRA_DIR_AC_BK_MAX (3) |
| 946 | #define CFG_QOS_WMM_INFRA_DIR_AC_BK_DEFAULT (3) //WLAN_QCT_CUST_WMM_TSDIR_BOTH |
| 947 | |
| 948 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BK_NAME "InfraNomMsduSizeAcBk" |
| 949 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BK_MIN (0x0) |
| 950 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BK_MAX (0xFFFF) |
| 951 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BK_DEFAULT (0x85DC) |
| 952 | |
| 953 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BK_NAME "InfraMeanDataRateAcBk" |
| 954 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BK_MIN (0x0) |
| 955 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BK_MAX (0xFFFFFFFF) |
| 956 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BK_DEFAULT (0x493E0) |
| 957 | |
| 958 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BK_NAME "InfraMinPhyRateAcBk" |
| 959 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BK_MIN (0x0) |
| 960 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BK_MAX (0xFFFFFFFF) |
| 961 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BK_DEFAULT (0x5B8D80) |
| 962 | |
| 963 | #define CFG_QOS_WMM_INFRA_SBA_AC_BK_NAME "InfraSbaAcBk" |
| 964 | #define CFG_QOS_WMM_INFRA_SBA_AC_BK_MIN (0x2001) |
| 965 | #define CFG_QOS_WMM_INFRA_SBA_AC_BK_MAX (0xFFFF) |
| 966 | #define CFG_QOS_WMM_INFRA_SBA_AC_BK_DEFAULT (0x2001) |
| 967 | |
| 968 | // TL configuration |
| 969 | #define CFG_TL_WFQ_BK_WEIGHT_NAME "WfqBkWeight" |
| 970 | #define CFG_TL_WFQ_BK_WEIGHT_MIN 1 |
| 971 | #define CFG_TL_WFQ_BK_WEIGHT_MAX 0xFF |
| 972 | #define CFG_TL_WFQ_BK_WEIGHT_DEFAULT 1 |
| 973 | |
| 974 | #define CFG_TL_WFQ_BE_WEIGHT_NAME "WfqBeWeight" |
| 975 | #define CFG_TL_WFQ_BE_WEIGHT_MIN 1 |
| 976 | #define CFG_TL_WFQ_BE_WEIGHT_MAX 0xFF |
| 977 | #define CFG_TL_WFQ_BE_WEIGHT_DEFAULT 3 |
| 978 | |
| 979 | #define CFG_TL_WFQ_VI_WEIGHT_NAME "WfqViWeight" |
| 980 | #define CFG_TL_WFQ_VI_WEIGHT_MIN 1 |
| 981 | #define CFG_TL_WFQ_VI_WEIGHT_MAX 0xFF |
| 982 | #define CFG_TL_WFQ_VI_WEIGHT_DEFAULT 5 |
| 983 | |
| 984 | #define CFG_TL_WFQ_VO_WEIGHT_NAME "WfqVoWeight" |
| 985 | #define CFG_TL_WFQ_VO_WEIGHT_MIN 1 |
| 986 | #define CFG_TL_WFQ_VO_WEIGHT_MAX 0xFF |
| 987 | #define CFG_TL_WFQ_VO_WEIGHT_DEFAULT 7 |
| 988 | |
| 989 | #define CFG_TL_DELAYED_TRGR_FRM_INT_NAME "DelayedTriggerFrmInt" |
| 990 | #define CFG_TL_DELAYED_TRGR_FRM_INT_MIN 1 |
| 991 | #define CFG_TL_DELAYED_TRGR_FRM_INT_MAX (4294967295UL) |
| 992 | #define CFG_TL_DELAYED_TRGR_FRM_INT_DEFAULT 3000 |
| 993 | |
| 994 | #if defined WLAN_FEATURE_VOWIFI |
| 995 | #define CFG_RRM_ENABLE_NAME "gRrmEnable" |
| 996 | #define CFG_RRM_ENABLE_MIN (0) |
| 997 | #define CFG_RRM_ENABLE_MAX (1) |
| 998 | #define CFG_RRM_ENABLE_DEFAULT (0) |
| 999 | |
| 1000 | #define CFG_RRM_OPERATING_CHAN_MAX_DURATION_NAME "gRrmOperChanMax" //section 11.10.3 IEEE std. 802.11k-2008 |
| 1001 | #define CFG_RRM_OPERATING_CHAN_MAX_DURATION_MIN (0) //Maxduration = 2^(maxDuration - 4) * bcnIntvl. |
| 1002 | #define CFG_RRM_OPERATING_CHAN_MAX_DURATION_MAX (8) |
| 1003 | #define CFG_RRM_OPERATING_CHAN_MAX_DURATION_DEFAULT (3) //max duration = 2^-1 * bcnIntvl (50% of bcn intvl) |
| 1004 | |
| 1005 | #define CFG_RRM_NON_OPERATING_CHAN_MAX_DURATION_NAME "gRrmNonOperChanMax" //Same as above. |
| 1006 | #define CFG_RRM_NON_OPERATING_CHAN_MAX_DURATION_MIN (0) |
| 1007 | #define CFG_RRM_NON_OPERATING_CHAN_MAX_DURATION_MAX (8) |
| 1008 | #define CFG_RRM_NON_OPERATING_CHAN_MAX_DURATION_DEFAULT (3) |
| 1009 | |
| 1010 | #define CFG_RRM_MEAS_RANDOMIZATION_INTVL_NAME "gRrmRandnIntvl" |
| 1011 | #define CFG_RRM_MEAS_RANDOMIZATION_INTVL_MIN (10) |
| 1012 | #define CFG_RRM_MEAS_RANDOMIZATION_INTVL_MAX (100) |
| 1013 | #define CFG_RRM_MEAS_RANDOMIZATION_INTVL_DEFAULT (100) |
| 1014 | #endif |
| 1015 | |
| 1016 | #define CFG_QOS_IMPLICIT_SETUP_ENABLED_NAME "ImplicitQosIsEnabled" |
| 1017 | #define CFG_QOS_IMPLICIT_SETUP_ENABLED_MIN (0) |
| 1018 | #define CFG_QOS_IMPLICIT_SETUP_ENABLED_MAX (1) |
| 1019 | #define CFG_QOS_IMPLICIT_SETUP_ENABLED_DEFAULT (1) |
| 1020 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1021 | #define CFG_ENABLE_LOGP_NAME "gEnableLogp" |
| 1022 | #define CFG_ENABLE_LOGP_MIN ( 0 ) |
| 1023 | #define CFG_ENABLE_LOGP_MAX ( 1 ) |
| 1024 | #define CFG_ENABLE_LOGP_DEFAULT ( 0 ) |
| 1025 | |
| 1026 | #define CFG_BTC_EXECUTION_MODE_NAME "BtcExecutionMode" |
| 1027 | #define CFG_BTC_EXECUTION_MODE_MIN ( 0 ) |
| 1028 | #define CFG_BTC_EXECUTION_MODE_MAX ( 5 ) |
| 1029 | #define CFG_BTC_EXECUTION_MODE_DEFAULT ( 0 ) |
| 1030 | |
| 1031 | #define CFG_BTC_DHCP_PROTECTION_NAME "BtcConsBtSlotToBlockDuringDhcp" |
| 1032 | #define CFG_BTC_DHCP_PROTECTION_MIN ( 0 ) |
| 1033 | #define CFG_BTC_DHCP_PROTECTION_MAX ( 0xFF ) |
| 1034 | #define CFG_BTC_DHCP_PROTECTION_DEFAULT ( 0 ) |
| 1035 | |
| 1036 | #define CFG_BTC_A2DP_DHCP_PROTECTION_NAME "BtcA2DPDhcpProtectLevel" |
| 1037 | #define CFG_BTC_A2DP_DHCP_PROTECTION_MIN ( 0 ) |
| 1038 | #define CFG_BTC_A2DP_DHCP_PROTECTION_MAX ( 0xFF ) |
| 1039 | #define CFG_BTC_A2DP_DHCP_PROTECTION_DEFAULT ( 7 ) |
| 1040 | |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame] | 1041 | #define CFG_BTC_STATIC_LEN_INQ_BT_NAME "btcStaticLenInqBt" |
| 1042 | #define CFG_BTC_STATIC_LEN_INQ_BT_MIN ( 5000 ) |
| 1043 | #define CFG_BTC_STATIC_LEN_INQ_BT_MAX ( 500000 ) |
| 1044 | #define CFG_BTC_STATIC_LEN_INQ_BT_DEFAULT ( 120000 ) |
| 1045 | |
| 1046 | #define CFG_BTC_STATIC_LEN_PAGE_BT_NAME "btcStaticLenPageBt" |
| 1047 | #define CFG_BTC_STATIC_LEN_PAGE_BT_MIN ( 5000 ) |
| 1048 | #define CFG_BTC_STATIC_LEN_PAGE_BT_MAX ( 500000 ) |
Sundaresan Ramachandran | 1298360 | 2013-07-05 15:17:25 +0530 | [diff] [blame] | 1049 | #define CFG_BTC_STATIC_LEN_PAGE_BT_DEFAULT ( 120000 ) |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame] | 1050 | |
| 1051 | #define CFG_BTC_STATIC_LEN_CONN_BT_NAME "btcStaticLenConnBt" |
| 1052 | #define CFG_BTC_STATIC_LEN_CONN_BT_MIN ( 5000 ) |
| 1053 | #define CFG_BTC_STATIC_LEN_CONN_BT_MAX ( 500000 ) |
Sundaresan Ramachandran | 1298360 | 2013-07-05 15:17:25 +0530 | [diff] [blame] | 1054 | #define CFG_BTC_STATIC_LEN_CONN_BT_DEFAULT ( 120000 ) |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame] | 1055 | |
| 1056 | #define CFG_BTC_STATIC_LEN_LE_BT_NAME "btcStaticLenLeBt" |
| 1057 | #define CFG_BTC_STATIC_LEN_LE_BT_MIN ( 5000 ) |
| 1058 | #define CFG_BTC_STATIC_LEN_LE_BT_MAX ( 500000 ) |
Sundaresan Ramachandran | 1298360 | 2013-07-05 15:17:25 +0530 | [diff] [blame] | 1059 | #define CFG_BTC_STATIC_LEN_LE_BT_DEFAULT ( 120000 ) |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame] | 1060 | |
| 1061 | #define CFG_BTC_STATIC_LEN_INQ_WLAN_NAME "btcStaticLenInqWlan" |
| 1062 | #define CFG_BTC_STATIC_LEN_INQ_WLAN_MIN ( 0 ) |
| 1063 | #define CFG_BTC_STATIC_LEN_INQ_WLAN_MAX ( 500000 ) |
| 1064 | #define CFG_BTC_STATIC_LEN_INQ_WLAN_DEFAULT ( 30000 ) |
| 1065 | |
| 1066 | #define CFG_BTC_STATIC_LEN_PAGE_WLAN_NAME "btcStaticLenPageWlan" |
| 1067 | #define CFG_BTC_STATIC_LEN_PAGE_WLAN_MIN ( 0 ) |
| 1068 | #define CFG_BTC_STATIC_LEN_PAGE_WLAN_MAX ( 500000 ) |
Sundaresan Ramachandran | 1298360 | 2013-07-05 15:17:25 +0530 | [diff] [blame] | 1069 | #define CFG_BTC_STATIC_LEN_PAGE_WLAN_DEFAULT ( 30000 ) |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame] | 1070 | |
| 1071 | #define CFG_BTC_STATIC_LEN_CONN_WLAN_NAME "btcStaticLenConnWlan" |
| 1072 | #define CFG_BTC_STATIC_LEN_CONN_WLAN_MIN ( 0 ) |
| 1073 | #define CFG_BTC_STATIC_LEN_CONN_WLAN_MAX ( 500000 ) |
Sundaresan Ramachandran | 1298360 | 2013-07-05 15:17:25 +0530 | [diff] [blame] | 1074 | #define CFG_BTC_STATIC_LEN_CONN_WLAN_DEFAULT ( 30000 ) |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame] | 1075 | |
| 1076 | #define CFG_BTC_STATIC_LEN_LE_WLAN_NAME "btcStaticLenLeWlan" |
| 1077 | #define CFG_BTC_STATIC_LEN_LE_WLAN_MIN ( 0 ) |
| 1078 | #define CFG_BTC_STATIC_LEN_LE_WLAN_MAX ( 500000 ) |
Sundaresan Ramachandran | 1298360 | 2013-07-05 15:17:25 +0530 | [diff] [blame] | 1079 | #define CFG_BTC_STATIC_LEN_LE_WLAN_DEFAULT ( 30000 ) |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame] | 1080 | |
| 1081 | #define CFG_BTC_DYN_MAX_LEN_BT_NAME "btcDynMaxLenBt" |
| 1082 | #define CFG_BTC_DYN_MAX_LEN_BT_MIN ( 25000 ) |
| 1083 | #define CFG_BTC_DYN_MAX_LEN_BT_MAX ( 500000 ) |
| 1084 | #define CFG_BTC_DYN_MAX_LEN_BT_DEFAULT ( 250000 ) |
| 1085 | |
| 1086 | #define CFG_BTC_DYN_MAX_LEN_WLAN_NAME "btcDynMaxLenWlan" |
| 1087 | #define CFG_BTC_DYN_MAX_LEN_WLAN_MIN ( 15000 ) |
| 1088 | #define CFG_BTC_DYN_MAX_LEN_WLAN_MAX ( 500000 ) |
| 1089 | #define CFG_BTC_DYN_MAX_LEN_WLAN_DEFAULT ( 45000 ) |
| 1090 | |
| 1091 | #define CFG_BTC_MAX_SCO_BLOCK_PERC_NAME "btcMaxScoBlockPerc" |
| 1092 | #define CFG_BTC_MAX_SCO_BLOCK_PERC_MIN ( 0 ) |
| 1093 | #define CFG_BTC_MAX_SCO_BLOCK_PERC_MAX ( 100 ) |
| 1094 | #define CFG_BTC_MAX_SCO_BLOCK_PERC_DEFAULT ( 1 ) |
| 1095 | |
| 1096 | #define CFG_BTC_DHCP_PROT_ON_A2DP_NAME "btcDhcpProtOnA2dp" |
| 1097 | #define CFG_BTC_DHCP_PROT_ON_A2DP_MIN ( 0 ) |
| 1098 | #define CFG_BTC_DHCP_PROT_ON_A2DP_MAX ( 1 ) |
| 1099 | #define CFG_BTC_DHCP_PROT_ON_A2DP_DEFAULT ( 1 ) |
| 1100 | |
| 1101 | #define CFG_BTC_DHCP_PROT_ON_SCO_NAME "btcDhcpProtOnSco" |
| 1102 | #define CFG_BTC_DHCP_PROT_ON_SCO_MIN ( 0 ) |
| 1103 | #define CFG_BTC_DHCP_PROT_ON_SCO_MAX ( 1 ) |
| 1104 | #define CFG_BTC_DHCP_PROT_ON_SCO_DEFAULT ( 0 ) |
| 1105 | |
Wilson Tsao | f8b3794 | 2013-09-06 10:49:00 -0700 | [diff] [blame] | 1106 | #define CFG_MWS_COEX_V1_WAN_FREQ_NAME "mwsCoexVictim1WANFreq" |
| 1107 | #define CFG_MWS_COEX_VX_WAN_FREQ_MIN ( 0 ) |
| 1108 | #define CFG_MWS_COEX_VX_WAN_FREQ_MAX ( 0xFFFFFFFF ) |
| 1109 | #define CFG_MWS_COEX_VX_WAN_FREQ_DEFAULT ( 0 ) |
| 1110 | |
| 1111 | #define CFG_MWS_COEX_V1_WLAN_FREQ_NAME "mwsCoexVictim1WLANFreq" |
| 1112 | #define CFG_MWS_COEX_VX_WLAN_FREQ_MIN ( 0 ) |
| 1113 | #define CFG_MWS_COEX_VX_WLAN_FREQ_MAX ( 0xFFFFFFFF ) |
| 1114 | #define CFG_MWS_COEX_VX_WLAN_FREQ_DEFAULT ( 0 ) |
| 1115 | |
| 1116 | #define CFG_MWS_COEX_V1_CONFIG_NAME "mwsCoexVictim1Config" |
| 1117 | #define CFG_MWS_COEX_V1_CONFIG2_NAME "mwsCoexVictim1Config2" |
| 1118 | #define CFG_MWS_COEX_VX_CONFIG_MIN ( 0 ) |
| 1119 | #define CFG_MWS_COEX_VX_CONFIG_MAX ( 0xFFFFFFFF ) |
| 1120 | #define CFG_MWS_COEX_VX_CONFIG_DEFAULT ( 0 ) |
| 1121 | |
| 1122 | #define CFG_MWS_COEX_V2_WAN_FREQ_NAME "mwsCoexVictim2WANFreq" |
| 1123 | #define CFG_MWS_COEX_V2_WLAN_FREQ_NAME "mwsCoexVictim2WLANFreq" |
| 1124 | #define CFG_MWS_COEX_V2_CONFIG_NAME "mwsCoexVictim2Config" |
| 1125 | #define CFG_MWS_COEX_V2_CONFIG2_NAME "mwsCoexVictim2Config2" |
| 1126 | #define CFG_MWS_COEX_V3_WAN_FREQ_NAME "mwsCoexVictim3WANFreq" |
| 1127 | #define CFG_MWS_COEX_V3_WLAN_FREQ_NAME "mwsCoexVictim3WLANFreq" |
| 1128 | #define CFG_MWS_COEX_V3_CONFIG_NAME "mwsCoexVictim3Config" |
| 1129 | #define CFG_MWS_COEX_V3_CONFIG2_NAME "mwsCoexVictim3Config2" |
| 1130 | #define CFG_MWS_COEX_V4_WAN_FREQ_NAME "mwsCoexVictim4WANFreq" |
| 1131 | #define CFG_MWS_COEX_V4_WLAN_FREQ_NAME "mwsCoexVictim4WLANFreq" |
| 1132 | #define CFG_MWS_COEX_V4_CONFIG_NAME "mwsCoexVictim4Config" |
| 1133 | #define CFG_MWS_COEX_V4_CONFIG2_NAME "mwsCoexVictim4Config2" |
| 1134 | #define CFG_MWS_COEX_V5_WAN_FREQ_NAME "mwsCoexVictim5WANFreq" |
| 1135 | #define CFG_MWS_COEX_V5_WLAN_FREQ_NAME "mwsCoexVictim5WLANFreq" |
| 1136 | #define CFG_MWS_COEX_V5_CONFIG_NAME "mwsCoexVictim5Config" |
| 1137 | #define CFG_MWS_COEX_V5_CONFIG2_NAME "mwsCoexVictim5Config2" |
| 1138 | #define CFG_MWS_COEX_V6_WAN_FREQ_NAME "mwsCoexVictim6WANFreq" |
| 1139 | #define CFG_MWS_COEX_V6_WLAN_FREQ_NAME "mwsCoexVictim6WLANFreq" |
| 1140 | #define CFG_MWS_COEX_V6_CONFIG_NAME "mwsCoexVictim6Config" |
| 1141 | #define CFG_MWS_COEX_V6_CONFIG2_NAME "mwsCoexVictim6Config2" |
| 1142 | #define CFG_MWS_COEX_V7_WAN_FREQ_NAME "mwsCoexVictim7WANFreq" |
| 1143 | #define CFG_MWS_COEX_V7_WLAN_FREQ_NAME "mwsCoexVictim7WLANFreq" |
| 1144 | #define CFG_MWS_COEX_V7_CONFIG_NAME "mwsCoexVictim7Config" |
| 1145 | #define CFG_MWS_COEX_V7_CONFIG2_NAME "mwsCoexVictim7Config2" |
| 1146 | #define CFG_MWS_COEX_V8_WAN_FREQ_NAME "mwsCoexVictim8WANFreq" |
| 1147 | #define CFG_MWS_COEX_V8_WLAN_FREQ_NAME "mwsCoexVictim8WLANFreq" |
| 1148 | #define CFG_MWS_COEX_V8_CONFIG_NAME "mwsCoexVictim8Config" |
| 1149 | #define CFG_MWS_COEX_V8_CONFIG2_NAME "mwsCoexVictim8Config2" |
| 1150 | #define CFG_MWS_COEX_V9_WAN_FREQ_NAME "mwsCoexVictim9WANFreq" |
| 1151 | #define CFG_MWS_COEX_V9_WLAN_FREQ_NAME "mwsCoexVictim9WLANFreq" |
| 1152 | #define CFG_MWS_COEX_V9_CONFIG_NAME "mwsCoexVictim9Config" |
| 1153 | #define CFG_MWS_COEX_V9_CONFIG2_NAME "mwsCoexVictim9Config2" |
| 1154 | #define CFG_MWS_COEX_V10_WAN_FREQ_NAME "mwsCoexVictim10WANFreq" |
| 1155 | #define CFG_MWS_COEX_V10_WLAN_FREQ_NAME "mwsCoexVictim10WLANFreq" |
| 1156 | #define CFG_MWS_COEX_V10_CONFIG_NAME "mwsCoexVictim10Config" |
| 1157 | #define CFG_MWS_COEX_V10_CONFIG2_NAME "mwsCoexVictim10Config2" |
| 1158 | |
| 1159 | #define CFG_MWS_COEX_MODEM_BACKOFF_NAME "mwsCoexModemBackoff" |
| 1160 | #define CFG_MWS_COEX_MODEM_BACKOFF_MIN ( 0 ) |
| 1161 | #define CFG_MWS_COEX_MODEM_BACKOFF_MAX ( 0xFFFFFFFF ) |
| 1162 | #define CFG_MWS_COEX_MODEM_BACKOFF_DEFAULT ( 0 ) |
| 1163 | |
| 1164 | #define CFG_MWS_COEX_CONFIG1_NAME "mwsCoexConfig1" |
| 1165 | #define CFG_MWS_COEX_CONFIGX_MIN ( 0 ) |
| 1166 | #define CFG_MWS_COEX_CONFIGX_MAX ( 0xFFFFFFFF ) |
| 1167 | #define CFG_MWS_COEX_CONFIGX_DEFAULT ( 0 ) |
| 1168 | #define CFG_MWS_COEX_CONFIG2_NAME "mwsCoexConfig2" |
| 1169 | #define CFG_MWS_COEX_CONFIG3_NAME "mwsCoexConfig3" |
| 1170 | #define CFG_MWS_COEX_CONFIG4_NAME "mwsCoexConfig4" |
| 1171 | #define CFG_MWS_COEX_CONFIG5_NAME "mwsCoexConfig5" |
| 1172 | #define CFG_MWS_COEX_CONFIG6_NAME "mwsCoexConfig6" |
| 1173 | |
| 1174 | #define CFG_SAR_POWER_BACKOFF_NAME "SARPowerBackoff" |
| 1175 | #define CFG_SAR_POWER_BACKOFF_MIN ( 0 ) |
| 1176 | #define CFG_SAR_POWER_BACKOFF_MAX ( 0xFFFFFFFF ) |
| 1177 | #define CFG_SAR_POWER_BACKOFF_DEFAULT ( 0 ) |
| 1178 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1179 | #if defined WLAN_FEATURE_VOWIFI_11R |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1180 | #define CFG_FT_RESOURCE_REQ_NAME "gFTResourceReqSupported" |
| 1181 | #define CFG_FT_RESOURCE_REQ_MIN (0) |
| 1182 | #define CFG_FT_RESOURCE_REQ_MAX (1) |
| 1183 | #define CFG_FT_RESOURCE_REQ_DEFAULT (0) |
| 1184 | #endif |
| 1185 | |
| 1186 | #define CFG_TELE_BCN_TRANS_LI_NAME "telescopicBeaconTransListenInterval" |
| 1187 | #define CFG_TELE_BCN_TRANS_LI_MIN ( 0 ) |
| 1188 | #define CFG_TELE_BCN_TRANS_LI_MAX ( 7 ) |
| 1189 | #define CFG_TELE_BCN_TRANS_LI_DEFAULT ( 3 ) |
| 1190 | |
| 1191 | #define CFG_TELE_BCN_TRANS_LI_NUM_IDLE_BCNS_NAME "telescopicBeaconTransListenIntervalNumIdleBcns" |
| 1192 | #define CFG_TELE_BCN_TRANS_LI_NUM_IDLE_BCNS_MIN ( 5 ) |
| 1193 | #define CFG_TELE_BCN_TRANS_LI_NUM_IDLE_BCNS_MAX ( 255 ) |
| 1194 | #define CFG_TELE_BCN_TRANS_LI_NUM_IDLE_BCNS_DEFAULT ( 10 ) |
| 1195 | |
| 1196 | #define CFG_TELE_BCN_MAX_LI_NAME "telescopicBeaconMaxListenInterval" |
| 1197 | #define CFG_TELE_BCN_MAX_LI_MIN ( 0 ) |
| 1198 | #define CFG_TELE_BCN_MAX_LI_MAX ( 7 ) |
| 1199 | #define CFG_TELE_BCN_MAX_LI_DEFAULT ( 5 ) |
| 1200 | |
| 1201 | #define CFG_TELE_BCN_MAX_LI_NUM_IDLE_BCNS_NAME "telescopicBeaconMaxListenIntervalNumIdleBcns" |
| 1202 | #define CFG_TELE_BCN_MAX_LI_NUM_IDLE_BCNS_MIN ( 5 ) |
| 1203 | #define CFG_TELE_BCN_MAX_LI_NUM_IDLE_BCNS_MAX ( 255 ) |
| 1204 | #define CFG_TELE_BCN_MAX_LI_NUM_IDLE_BCNS_DEFAULT ( 15 ) |
| 1205 | |
| 1206 | #define CFG_BCN_EARLY_TERM_WAKE_NAME "beaconEarlyTerminationWakeInterval" |
| 1207 | #define CFG_BCN_EARLY_TERM_WAKE_MIN ( 2 ) |
| 1208 | #define CFG_BCN_EARLY_TERM_WAKE_MAX ( 255 ) |
| 1209 | #define CFG_BCN_EARLY_TERM_WAKE_DEFAULT ( 3 ) |
| 1210 | |
| 1211 | #ifdef WLAN_FEATURE_NEIGHBOR_ROAMING |
| 1212 | #define CFG_NEIGHBOR_SCAN_TIMER_PERIOD_NAME "gNeighborScanTimerPeriod" |
Varun Reddy Yeturu | ce114f7 | 2013-06-05 14:09:58 -0700 | [diff] [blame] | 1213 | #define CFG_NEIGHBOR_SCAN_TIMER_PERIOD_MIN (3) |
| 1214 | #define CFG_NEIGHBOR_SCAN_TIMER_PERIOD_MAX (300) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1215 | #define CFG_NEIGHBOR_SCAN_TIMER_PERIOD_DEFAULT (200) |
| 1216 | |
| 1217 | #define CFG_NEIGHBOR_REASSOC_RSSI_THRESHOLD_NAME "gNeighborReassocThreshold" |
| 1218 | #define CFG_NEIGHBOR_REASSOC_RSSI_THRESHOLD_MIN (10) |
| 1219 | #define CFG_NEIGHBOR_REASSOC_RSSI_THRESHOLD_MAX (125) |
Srinivas Girigowda | d42dfce | 2013-06-19 17:33:50 -0700 | [diff] [blame] | 1220 | #define CFG_NEIGHBOR_REASSOC_RSSI_THRESHOLD_DEFAULT (83) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1221 | |
| 1222 | #define CFG_NEIGHBOR_LOOKUP_RSSI_THRESHOLD_NAME "gNeighborLookupThreshold" |
| 1223 | #define CFG_NEIGHBOR_LOOKUP_RSSI_THRESHOLD_MIN (10) |
| 1224 | #define CFG_NEIGHBOR_LOOKUP_RSSI_THRESHOLD_MAX (120) |
Srinivas Girigowda | d42dfce | 2013-06-19 17:33:50 -0700 | [diff] [blame] | 1225 | #define CFG_NEIGHBOR_LOOKUP_RSSI_THRESHOLD_DEFAULT (78) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1226 | |
| 1227 | #define CFG_NEIGHBOR_SCAN_CHAN_LIST_NAME "gNeighborScanChannelList" |
Madan Mohan Koyyalamudi | 470d2cf | 2012-09-28 14:43:44 -0700 | [diff] [blame] | 1228 | #define CFG_NEIGHBOR_SCAN_CHAN_LIST_DEFAULT "" |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1229 | |
| 1230 | #define CFG_NEIGHBOR_SCAN_MIN_CHAN_TIME_NAME "gNeighborScanChannelMinTime" |
| 1231 | #define CFG_NEIGHBOR_SCAN_MIN_CHAN_TIME_MIN (10) |
| 1232 | #define CFG_NEIGHBOR_SCAN_MIN_CHAN_TIME_MAX (40) |
| 1233 | #define CFG_NEIGHBOR_SCAN_MIN_CHAN_TIME_DEFAULT (20) |
| 1234 | |
| 1235 | #define CFG_NEIGHBOR_SCAN_MAX_CHAN_TIME_NAME "gNeighborScanChannelMaxTime" |
Varun Reddy Yeturu | ce114f7 | 2013-06-05 14:09:58 -0700 | [diff] [blame] | 1236 | #define CFG_NEIGHBOR_SCAN_MAX_CHAN_TIME_MIN (3) |
| 1237 | #define CFG_NEIGHBOR_SCAN_MAX_CHAN_TIME_MAX (300) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1238 | #define CFG_NEIGHBOR_SCAN_MAX_CHAN_TIME_DEFAULT (30) |
| 1239 | |
| 1240 | #define CFG_11R_NEIGHBOR_REQ_MAX_TRIES_NAME "gMaxNeighborReqTries" |
| 1241 | #define CFG_11R_NEIGHBOR_REQ_MAX_TRIES_MIN (1) |
| 1242 | #define CFG_11R_NEIGHBOR_REQ_MAX_TRIES_MAX (4) |
Srinivas Girigowda | d42dfce | 2013-06-19 17:33:50 -0700 | [diff] [blame] | 1243 | #define CFG_11R_NEIGHBOR_REQ_MAX_TRIES_DEFAULT (3) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1244 | |
| 1245 | |
| 1246 | #define CFG_NEIGHBOR_SCAN_RESULTS_REFRESH_PERIOD_NAME "gNeighborScanRefreshPeriod" |
| 1247 | #define CFG_NEIGHBOR_SCAN_RESULTS_REFRESH_PERIOD_MIN (1000) |
| 1248 | #define CFG_NEIGHBOR_SCAN_RESULTS_REFRESH_PERIOD_MAX (60000) |
| 1249 | #define CFG_NEIGHBOR_SCAN_RESULTS_REFRESH_PERIOD_DEFAULT (20000) |
Srinivas Girigowda | de69741 | 2013-02-14 16:31:48 -0800 | [diff] [blame] | 1250 | |
| 1251 | #define CFG_EMPTY_SCAN_REFRESH_PERIOD_NAME "gEmptyScanRefreshPeriod" |
Srinivas Girigowda | b8edd1e | 2013-03-19 11:42:08 -0700 | [diff] [blame] | 1252 | #define CFG_EMPTY_SCAN_REFRESH_PERIOD_MIN (0) |
Srinivas Girigowda | de69741 | 2013-02-14 16:31:48 -0800 | [diff] [blame] | 1253 | #define CFG_EMPTY_SCAN_REFRESH_PERIOD_MAX (60000) |
| 1254 | #define CFG_EMPTY_SCAN_REFRESH_PERIOD_DEFAULT (0) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1255 | #endif /* WLAN_FEATURE_NEIGHBOR_ROAMING */ |
| 1256 | |
| 1257 | #define CFG_QOS_WMM_BURST_SIZE_DEFN_NAME "burstSizeDefinition" |
| 1258 | #define CFG_QOS_WMM_BURST_SIZE_DEFN_MIN (0) |
| 1259 | #define CFG_QOS_WMM_BURST_SIZE_DEFN_MAX (1) |
| 1260 | #define CFG_QOS_WMM_BURST_SIZE_DEFN_DEFAULT (0) |
| 1261 | |
| 1262 | #define CFG_QOS_WMM_TS_INFO_ACK_POLICY_NAME "tsInfoAckPolicy" |
| 1263 | #define CFG_QOS_WMM_TS_INFO_ACK_POLICY_MIN (0x00) |
| 1264 | #define CFG_QOS_WMM_TS_INFO_ACK_POLICY_MAX (0x01) |
| 1265 | #define CFG_QOS_WMM_TS_INFO_ACK_POLICY_DEFAULT (0x00) |
| 1266 | |
| 1267 | #define CFG_SINGLE_TID_RC_NAME "SingleTIDRC" |
| 1268 | #define CFG_SINGLE_TID_RC_MIN (0) // Seperate replay counter for all TID |
| 1269 | #define CFG_SINGLE_TID_RC_MAX (1) // Single replay counter for all TID |
| 1270 | #define CFG_SINGLE_TID_RC_DEFAULT (1) |
| 1271 | #define CFG_MCAST_BCAST_FILTER_SETTING_NAME "McastBcastFilter" |
| 1272 | #define CFG_MCAST_BCAST_FILTER_SETTING_MIN (0) |
| 1273 | #define CFG_MCAST_BCAST_FILTER_SETTING_MAX (3) |
| 1274 | #define CFG_MCAST_BCAST_FILTER_SETTING_DEFAULT (0) |
| 1275 | |
| 1276 | #define CFG_DYNAMIC_PSPOLL_VALUE_NAME "gDynamicPSPollvalue" |
| 1277 | #define CFG_DYNAMIC_PSPOLL_VALUE_MIN (0) |
| 1278 | #define CFG_DYNAMIC_PSPOLL_VALUE_MAX (255) |
| 1279 | #define CFG_DYNAMIC_PSPOLL_VALUE_DEFAULT (0) |
| 1280 | |
| 1281 | #define CFG_TELE_BCN_WAKEUP_EN_NAME "gTelescopicBeaconWakeupEn" |
| 1282 | #define CFG_TELE_BCN_WAKEUP_EN_MIN (0) |
| 1283 | #define CFG_TELE_BCN_WAKEUP_EN_MAX (1) |
| 1284 | #define CFG_TELE_BCN_WAKEUP_EN_DEFAULT (0) |
| 1285 | |
| 1286 | #define CFG_QOS_ADDTS_WHEN_ACM_IS_OFF_NAME "gAddTSWhenACMIsOff" |
| 1287 | #define CFG_QOS_ADDTS_WHEN_ACM_IS_OFF_MIN (0) |
| 1288 | #define CFG_QOS_ADDTS_WHEN_ACM_IS_OFF_MAX (1) //Send AddTs even when ACM is not set for the AC |
| 1289 | #define CFG_QOS_ADDTS_WHEN_ACM_IS_OFF_DEFAULT (0) |
| 1290 | |
| 1291 | |
| 1292 | #define CFG_VALIDATE_SCAN_LIST_NAME "gValidateScanList" |
| 1293 | #define CFG_VALIDATE_SCAN_LIST_MIN (0) |
| 1294 | #define CFG_VALIDATE_SCAN_LIST_MAX (1) |
| 1295 | #define CFG_VALIDATE_SCAN_LIST_DEFAULT (0) |
| 1296 | |
| 1297 | #define CFG_NULLDATA_AP_RESP_TIMEOUT_NAME "gNullDataApRespTimeout" |
| 1298 | #define CFG_NULLDATA_AP_RESP_TIMEOUT_MIN ( WNI_CFG_PS_NULLDATA_AP_RESP_TIMEOUT_STAMIN ) |
| 1299 | #define CFG_NULLDATA_AP_RESP_TIMEOUT_MAX ( WNI_CFG_PS_NULLDATA_AP_RESP_TIMEOUT_STAMAX ) |
| 1300 | #define CFG_NULLDATA_AP_RESP_TIMEOUT_DEFAULT ( WNI_CFG_PS_NULLDATA_AP_RESP_TIMEOUT_STADEF ) |
| 1301 | |
| 1302 | #define CFG_AP_DATA_AVAIL_POLL_PERIOD_NAME "gApDataAvailPollInterval" |
| 1303 | #define CFG_AP_DATA_AVAIL_POLL_PERIOD_MIN ( WNI_CFG_AP_DATA_AVAIL_POLL_PERIOD_STAMIN ) |
| 1304 | #define CFG_AP_DATA_AVAIL_POLL_PERIOD_MAX ( WNI_CFG_AP_DATA_AVAIL_POLL_PERIOD_STAMAX ) |
| 1305 | #define CFG_AP_DATA_AVAIL_POLL_PERIOD_DEFAULT ( WNI_CFG_AP_DATA_AVAIL_POLL_PERIOD_STADEF ) |
| 1306 | |
| 1307 | #define CFG_ENABLE_HOST_ARPOFFLOAD_NAME "hostArpOffload" |
| 1308 | #define CFG_ENABLE_HOST_ARPOFFLOAD_MIN ( 0 ) |
| 1309 | #define CFG_ENABLE_HOST_ARPOFFLOAD_MAX ( 1 ) |
| 1310 | #define CFG_ENABLE_HOST_ARPOFFLOAD_DEFAULT ( 0 ) |
| 1311 | |
Gopichand Nakkala | 746a945 | 2013-06-11 12:45:54 +0530 | [diff] [blame] | 1312 | #define CFG_ENABLE_HOST_NSOFFLOAD_NAME "hostNSOffload" |
| 1313 | #define CFG_ENABLE_HOST_NSOFFLOAD_MIN ( 0 ) |
| 1314 | #define CFG_ENABLE_HOST_NSOFFLOAD_MAX ( 1 ) |
| 1315 | #define CFG_ENABLE_HOST_NSOFFLOAD_DEFAULT ( 0 ) |
| 1316 | |
| 1317 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1318 | #define CFG_ENABLE_BTAMP_NAME "gEnableBtAmp" |
| 1319 | #define CFG_ENABLE_BTAMP_MIN ( 0 ) |
| 1320 | #define CFG_ENABLE_BTAMP_MAX ( 1 ) |
| 1321 | #define CFG_ENABLE_BTAMP_DEFAULT ( 0 ) |
| 1322 | |
| 1323 | #ifdef WLAN_BTAMP_FEATURE |
| 1324 | #define CFG_BT_AMP_PREFERRED_CHANNEL_NAME "BtAmpPreferredChannel" |
| 1325 | #define CFG_BT_AMP_PREFERRED_CHANNEL_MIN (1) |
| 1326 | #define CFG_BT_AMP_PREFERRED_CHANNEL_MAX (11) |
| 1327 | #define CFG_BT_AMP_PREFERRED_CHANNEL_DEFAULT (1) |
| 1328 | #endif //WLAN_BTAMP_FEATURE |
| 1329 | |
| 1330 | #define CFG_BAND_CAPABILITY_NAME "BandCapability" |
| 1331 | #define CFG_BAND_CAPABILITY_MIN (0) |
| 1332 | #define CFG_BAND_CAPABILITY_MAX (2) |
| 1333 | #define CFG_BAND_CAPABILITY_DEFAULT (1) |
| 1334 | |
| 1335 | #define CFG_ENABLE_BEACON_EARLY_TERMINATION_NAME "enableBeaconEarlyTermination" |
| 1336 | #define CFG_ENABLE_BEACON_EARLY_TERMINATION_MIN ( 0 ) |
| 1337 | #define CFG_ENABLE_BEACON_EARLY_TERMINATION_MAX ( 1 ) |
| 1338 | #define CFG_ENABLE_BEACON_EARLY_TERMINATION_DEFAULT ( 0 ) |
| 1339 | |
| 1340 | #define CFG_ENABLE_CLOSE_LOOP_NAME "gEnableCloseLoop" |
| 1341 | #define CFG_ENABLE_CLOSE_LOOP_MIN WNI_CFG_FIXED_RATE_STAMIN |
| 1342 | #define CFG_ENABLE_CLOSE_LOOP_MAX WNI_CFG_FIXED_RATE_STAMAX |
| 1343 | #define CFG_ENABLE_CLOSE_LOOP_DEFAULT WNI_CFG_FIXED_RATE_STADEF |
| 1344 | |
| 1345 | #define CFG_ENABLE_BYPASS_11D_NAME "gEnableBypass11d" |
| 1346 | #define CFG_ENABLE_BYPASS_11D_MIN ( 0 ) |
| 1347 | #define CFG_ENABLE_BYPASS_11D_MAX ( 1 ) |
| 1348 | #define CFG_ENABLE_BYPASS_11D_DEFAULT ( 0 ) |
| 1349 | |
| 1350 | #define CFG_ENABLE_DFS_CHNL_SCAN_NAME "gEnableDFSChnlScan" |
| 1351 | #define CFG_ENABLE_DFS_CHNL_SCAN_MIN ( 0 ) |
| 1352 | #define CFG_ENABLE_DFS_CHNL_SCAN_MAX ( 1 ) |
| 1353 | #define CFG_ENABLE_DFS_CHNL_SCAN_DEFAULT ( 1 ) |
| 1354 | |
| 1355 | typedef enum |
| 1356 | { |
| 1357 | eHDD_LINK_SPEED_REPORT_ACTUAL = 0, |
| 1358 | eHDD_LINK_SPEED_REPORT_MAX = 1, |
| 1359 | eHDD_LINK_SPEED_REPORT_MAX_SCALED = 2, |
| 1360 | }eHddLinkSpeedReportType; |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 1361 | #ifdef WLAN_FEATURE_11AC |
| 1362 | #define CFG_VHT_CHANNEL_WIDTH "gVhtChannelWidth" |
| 1363 | #define CFG_VHT_CHANNEL_WIDTH_MIN ( 0 ) |
| 1364 | #define CFG_VHT_CHANNEL_WIDTH_MAX ( 2 ) |
| 1365 | #define CFG_VHT_CHANNEL_WIDTH_DEFAULT ( 2 ) |
| 1366 | |
| 1367 | #define CFG_VHT_ENABLE_RX_MCS_8_9 "gVhtRxMCS" |
| 1368 | #define CFG_VHT_ENABLE_RX_MCS_8_9_MIN ( 0 ) |
| 1369 | #define CFG_VHT_ENABLE_RX_MCS_8_9_MAX ( 2 ) |
| 1370 | #define CFG_VHT_ENABLE_RX_MCS_8_9_DEFAULT ( 0 ) |
| 1371 | |
| 1372 | #define CFG_VHT_ENABLE_TX_MCS_8_9 "gVhtTxMCS" |
| 1373 | #define CFG_VHT_ENABLE_TX_MCS_8_9_MIN ( 0 ) |
| 1374 | #define CFG_VHT_ENABLE_TX_MCS_8_9_MAX ( 2 ) |
| 1375 | #define CFG_VHT_ENABLE_TX_MCS_8_9_DEFAULT ( 0 ) |
| 1376 | |
| 1377 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1378 | |
| 1379 | #define CFG_REPORT_MAX_LINK_SPEED "gReportMaxLinkSpeed" |
| 1380 | #define CFG_REPORT_MAX_LINK_SPEED_MIN ( eHDD_LINK_SPEED_REPORT_ACTUAL ) |
| 1381 | #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] | 1382 | #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] | 1383 | |
| 1384 | /* |
| 1385 | * RSSI Thresholds |
| 1386 | * Used when eHDD_LINK_SPEED_REPORT_SCALED is selected |
| 1387 | */ |
| 1388 | #define CFG_LINK_SPEED_RSSI_HIGH "gLinkSpeedRssiHigh" |
| 1389 | #define CFG_LINK_SPEED_RSSI_HIGH_MIN ( -127 ) |
| 1390 | #define CFG_LINK_SPEED_RSSI_HIGH_MAX ( 0 ) |
| 1391 | #define CFG_LINK_SPEED_RSSI_HIGH_DEFAULT ( -55 ) |
| 1392 | |
Madan Mohan Koyyalamudi | 8df78d5 | 2012-11-02 12:30:06 -0700 | [diff] [blame] | 1393 | #define CFG_LINK_SPEED_RSSI_MID "gLinkSpeedRssiMed" |
| 1394 | #define CFG_LINK_SPEED_RSSI_MID_MIN ( -127 ) |
| 1395 | #define CFG_LINK_SPEED_RSSI_MID_MAX ( 0 ) |
| 1396 | #define CFG_LINK_SPEED_RSSI_MID_DEFAULT ( -65 ) |
| 1397 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1398 | #define CFG_LINK_SPEED_RSSI_LOW "gLinkSpeedRssiLow" |
| 1399 | #define CFG_LINK_SPEED_RSSI_LOW_MIN ( -127 ) |
| 1400 | #define CFG_LINK_SPEED_RSSI_LOW_MAX ( 0 ) |
Madan Mohan Koyyalamudi | 8df78d5 | 2012-11-02 12:30:06 -0700 | [diff] [blame] | 1401 | #define CFG_LINK_SPEED_RSSI_LOW_DEFAULT ( -80 ) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1402 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1403 | #define CFG_P2P_DEVICE_ADDRESS_ADMINISTRATED_NAME "isP2pDeviceAddrAdministrated" |
| 1404 | #define CFG_P2P_DEVICE_ADDRESS_ADMINISTRATED_MIN ( 0 ) |
| 1405 | #define CFG_P2P_DEVICE_ADDRESS_ADMINISTRATED_MAX ( 1 ) |
kalikinkar dhara | c0eda4f | 2013-10-08 16:41:33 -0700 | [diff] [blame] | 1406 | #define CFG_P2P_DEVICE_ADDRESS_ADMINISTRATED_DEFAULT ( 1 ) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1407 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1408 | |
Gopichand Nakkala | e620d5a | 2013-04-26 05:45:57 -0700 | [diff] [blame] | 1409 | #define CFG_ENABLE_SSR "gEnableSSR" |
| 1410 | #define CFG_ENABLE_SSR_MIN ( 0 ) |
| 1411 | #define CFG_ENABLE_SSR_MAX ( 1 ) |
| 1412 | #define CFG_ENABLE_SSR_DEFAULT ( 1 ) |
| 1413 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1414 | /* |
Varun Reddy Yeturu | 587e680 | 2013-01-24 12:21:41 -0800 | [diff] [blame] | 1415 | * VOS Trace Enable Control |
| 1416 | * Notes: |
| 1417 | * the MIN/MAX/DEFAULT values apply for all modules |
| 1418 | * the DEFAULT value is outside the valid range. if the DEFAULT |
| 1419 | * value is not overridden, then no change will be made to the |
| 1420 | * "built in" default values compiled into the code |
| 1421 | * values are a bitmap indicating which log levels are to enabled |
| 1422 | * (must match order of vos_trace_level enumerations) |
| 1423 | * 00000001 FATAL |
| 1424 | * 00000010 ERROR |
| 1425 | * 00000100 WARN |
| 1426 | * 00001000 INFO |
| 1427 | * 00010000 INFO HIGH |
| 1428 | * 00100000 INFO MED |
| 1429 | * 01000000 INFO LOW |
| 1430 | * 10000000 DEBUG |
| 1431 | * |
| 1432 | * hence a value of 0xFF would set all bits (enable all logs) |
| 1433 | */ |
| 1434 | |
| 1435 | #define CFG_VOS_TRACE_ENABLE_BAP_NAME "vosTraceEnableBAP" |
| 1436 | #define CFG_VOS_TRACE_ENABLE_TL_NAME "vosTraceEnableTL" |
| 1437 | #define CFG_VOS_TRACE_ENABLE_WDI_NAME "vosTraceEnableWDI" |
| 1438 | #define CFG_VOS_TRACE_ENABLE_HDD_NAME "vosTraceEnableHDD" |
| 1439 | #define CFG_VOS_TRACE_ENABLE_SME_NAME "vosTraceEnableSME" |
| 1440 | #define CFG_VOS_TRACE_ENABLE_PE_NAME "vosTraceEnablePE" |
Katya Nigam | 70d6833 | 2013-09-16 16:49:45 +0530 | [diff] [blame] | 1441 | #define CFG_VOS_TRACE_ENABLE_PMC_NAME "vosTraceEnablePMC" |
Varun Reddy Yeturu | 587e680 | 2013-01-24 12:21:41 -0800 | [diff] [blame] | 1442 | #define CFG_VOS_TRACE_ENABLE_WDA_NAME "vosTraceEnableWDA" |
| 1443 | #define CFG_VOS_TRACE_ENABLE_SYS_NAME "vosTraceEnableSYS" |
| 1444 | #define CFG_VOS_TRACE_ENABLE_VOSS_NAME "vosTraceEnableVOSS" |
Varun Reddy Yeturu | 587e680 | 2013-01-24 12:21:41 -0800 | [diff] [blame] | 1445 | #define CFG_VOS_TRACE_ENABLE_SAP_NAME "vosTraceEnableSAP" |
| 1446 | #define CFG_VOS_TRACE_ENABLE_HDD_SAP_NAME "vosTraceEnableHDDSAP" |
Varun Reddy Yeturu | 587e680 | 2013-01-24 12:21:41 -0800 | [diff] [blame] | 1447 | |
| 1448 | #define CFG_VOS_TRACE_ENABLE_MIN (0) |
| 1449 | #define CFG_VOS_TRACE_ENABLE_MAX (0xff) |
| 1450 | #define CFG_VOS_TRACE_ENABLE_DEFAULT (0xffff) |
| 1451 | |
| 1452 | /* |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1453 | * WDI Trace Enable Control |
| 1454 | * Notes: |
| 1455 | * the MIN/MAX/DEFAULT values apply for all modules |
| 1456 | * the DEFAULT value is outside the valid range. if the DEFAULT |
| 1457 | * value is not overridden, then no change will be made to the |
| 1458 | * "built in" default values compiled into the code |
| 1459 | * values are a bitmap indicating which log levels are to enabled |
| 1460 | * (must match order of wpt_tracelevel enumerations) |
| 1461 | * 00000001 FATAL |
| 1462 | * 00000010 ERROR |
| 1463 | * 00000100 WARN |
| 1464 | * 00001000 INFO |
| 1465 | * 00010000 INFO HIGH |
| 1466 | * 00100000 INFO MED |
| 1467 | * 01000000 INFO LOW |
| 1468 | * |
| 1469 | * hence a value of 0x7F would set all bits (enable all logs) |
| 1470 | */ |
| 1471 | #define CFG_WDI_TRACE_ENABLE_DAL_NAME "wdiTraceEnableDAL" |
| 1472 | #define CFG_WDI_TRACE_ENABLE_CTL_NAME "wdiTraceEnableCTL" |
| 1473 | #define CFG_WDI_TRACE_ENABLE_DAT_NAME "wdiTraceEnableDAT" |
| 1474 | #define CFG_WDI_TRACE_ENABLE_PAL_NAME "wdiTraceEnablePAL" |
| 1475 | #define CFG_WDI_TRACE_ENABLE_MIN (0) |
| 1476 | #define CFG_WDI_TRACE_ENABLE_MAX (0x7f) |
| 1477 | #define CFG_WDI_TRACE_ENABLE_DEFAULT (0xffffffff) |
| 1478 | |
| 1479 | #define HDD_MCASTBCASTFILTER_FILTER_NONE 0x00 |
| 1480 | #define HDD_MCASTBCASTFILTER_FILTER_ALL_MULTICAST 0x01 |
| 1481 | #define HDD_MCASTBCASTFILTER_FILTER_ALL_BROADCAST 0x02 |
| 1482 | #define HDD_MCASTBCASTFILTER_FILTER_ALL_MULTICAST_BROADCAST 0x03 |
Amar Singhal | f3a6e76 | 2013-02-19 15:06:50 -0800 | [diff] [blame] | 1483 | #define HDD_MULTICAST_FILTER_LIST 0x04 |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1484 | |
| 1485 | /* |
| 1486 | * |
| 1487 | * SAP Auto Channel Enable |
| 1488 | * Notes: |
| 1489 | * Auto Channel selection for SAP configuration |
| 1490 | * 0 - Disable Auto Channel |
| 1491 | * 1 - Enable auto channel selection in auto mode. |
| 1492 | * When enable auto channel, channel provided by Supplicant will be ignored. |
| 1493 | * |
| 1494 | * Default configuration: Auto channel is disabled. |
| 1495 | */ |
| 1496 | |
| 1497 | #define CFG_SAP_AUTO_CHANNEL_SELECTION_NAME "gApAutoChannelSelection" |
| 1498 | |
| 1499 | #define CFG_SAP_AUTO_CHANNEL_SELECTION_MIN ( 0 ) |
| 1500 | #define CFG_SAP_AUTO_CHANNEL_SELECTION_MAX ( 1 ) |
| 1501 | #define CFG_SAP_AUTO_CHANNEL_SELECTION_DEFAULT ( 0 ) |
| 1502 | |
Madan Mohan Koyyalamudi | 69b3418 | 2013-01-16 08:51:40 +0530 | [diff] [blame] | 1503 | /*BMPS Logic |
| 1504 | * Notes: |
| 1505 | * 1 - Then Host driver and above layers control the PS mechanism |
| 1506 | * 0 - Diver/Core Stack internally control the Power saving mechanism |
| 1507 | */ |
| 1508 | #define CFG_ANDRIOD_POWER_SAVE_NAME "isAndroidPsEn" |
| 1509 | #define CFG_ANDRIOD_POWER_SAVE_MIN ( 0 ) |
| 1510 | #define CFG_ANDRIOD_POWER_SAVE_MAX ( 1 ) |
| 1511 | #define CFG_ANDRIOD_POWER_SAVE_DEFAULT ( 0 ) |
| 1512 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1513 | |
| 1514 | /* |
| 1515 | * Enable Dynamic DTIM |
| 1516 | * Options |
| 1517 | * 0 -Disable DynamicDTIM |
| 1518 | * 1 to 5 - SLM will switch to DTIM specified here when host suspends and |
| 1519 | * switch DTIM1 when host resumes */ |
| 1520 | #define CFG_ENABLE_DYNAMIC_DTIM_NAME "gEnableDynamicDTIM" |
| 1521 | #define CFG_ENABLE_DYNAMIC_DTIM_MIN ( 0 ) |
| 1522 | #define CFG_ENABLE_DYNAMIC_DTIM_MAX ( 5 ) |
| 1523 | #define CFG_ENABLE_DYNAMIC_DTIM_DEFAULT ( 0 ) |
| 1524 | |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 1525 | /* |
| 1526 | * Enable First Scan 2G Only |
| 1527 | * Options |
| 1528 | * 0 - Disable First Scan 2G Option |
| 1529 | * 1 - Enable First Scan 2G Option |
| 1530 | */ |
| 1531 | #define CFG_ENABLE_FIRST_SCAN_2G_ONLY_NAME "gEnableFirstScan2GOnly" |
| 1532 | #define CFG_ENABLE_FIRST_SCAN_2G_ONLY_MIN ( 0 ) |
| 1533 | #define CFG_ENABLE_FIRST_SCAN_2G_ONLY_MAX ( 1 ) |
| 1534 | #define CFG_ENABLE_FIRST_SCAN_2G_ONLY_DEFAULT ( 0 ) |
| 1535 | |
| 1536 | /* |
| 1537 | * Skip DFS Channel in case of P2P Search |
| 1538 | * Options |
| 1539 | * 0 - Don't Skip DFS Channel in case of P2P Search |
| 1540 | * 1 - Skip DFS Channel in case of P2P Search |
| 1541 | */ |
| 1542 | #define CFG_ENABLE_SKIP_DFS_IN_P2P_SEARCH_NAME "gSkipDfsChannelInP2pSearch" |
| 1543 | #define CFG_ENABLE_SKIP_DFS_IN_P2P_SEARCH_MIN ( 0 ) |
| 1544 | #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] | 1545 | #define CFG_ENABLE_SKIP_DFS_IN_P2P_SEARCH_DEFAULT ( 1 ) |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 1546 | |
| 1547 | /* |
| 1548 | * Ignore Dynamic Dtim in case of P2P |
| 1549 | * Options |
| 1550 | * 0 - Consider Dynamic Dtim incase of P2P |
| 1551 | * 1 - Ignore Dynamic Dtim incase of P2P |
| 1552 | */ |
| 1553 | #define CFG_IGNORE_DYNAMIC_DTIM_IN_P2P_MODE_NAME "gIgnoreDynamicDtimInP2pMode" |
| 1554 | #define CFG_IGNORE_DYNAMIC_DTIM_IN_P2P_MODE_MIN ( 0 ) |
| 1555 | #define CFG_IGNORE_DYNAMIC_DTIM_IN_P2P_MODE_MAX ( 1 ) |
| 1556 | #define CFG_IGNORE_DYNAMIC_DTIM_IN_P2P_MODE_DEFAULT ( 0 ) |
| 1557 | |
| 1558 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1559 | #define CFG_ENABLE_AUTOMATIC_TX_POWER_CONTROL_NAME "gEnableAutomaticTxPowerControl" |
| 1560 | #define CFG_ENABLE_AUTOMATIC_TX_POWER_CONTROL_MIN ( 0 ) |
| 1561 | #define CFG_ENABLE_AUTOMATIC_TX_POWER_CONTROL_MAX ( 1 ) |
| 1562 | #define CFG_ENABLE_AUTOMATIC_TX_POWER_CONTROL_DEFAULT ( 1 ) |
| 1563 | |
| 1564 | #define CFG_SHORT_GI_40MHZ_NAME "gShortGI40Mhz" |
| 1565 | #define CFG_SHORT_GI_40MHZ_MIN 0 |
| 1566 | #define CFG_SHORT_GI_40MHZ_MAX 1 |
| 1567 | #define CFG_SHORT_GI_40MHZ_DEFAULT 1 |
| 1568 | |
| 1569 | /* |
| 1570 | * Enable / Disable MCC feature |
| 1571 | * Default: Enable |
| 1572 | */ |
Sudhir Sattayappa Kohalli | d9a4df6 | 2013-04-04 14:47:54 -0700 | [diff] [blame] | 1573 | #define CFG_ENABLE_MCC_ENABLED_NAME "gEnableMCCMode" |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1574 | #define CFG_ENABLE_MCC_ENABLED_MIN ( 0 ) |
| 1575 | #define CFG_ENABLE_MCC_ENABLED_MAX ( 1 ) |
Sudhir Sattayappa Kohalli | d9a4df6 | 2013-04-04 14:47:54 -0700 | [diff] [blame] | 1576 | #define CFG_ENABLE_MCC_ENABLED_DEFAULT ( 1 ) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1577 | |
| 1578 | /* |
Mohit Khanna | 7ed53f0 | 2012-09-11 17:52:10 -0700 | [diff] [blame] | 1579 | * Allow GO in MCC mode to accept different beacon interval than STA's. |
| 1580 | * Added for Wi-Fi Cert. 5.1.12 |
Sudhir Sattayappa Kohalli | d9a4df6 | 2013-04-04 14:47:54 -0700 | [diff] [blame] | 1581 | * Default: gAllowMCCGODiffBI = 2 |
| 1582 | * If gAllowMCCGODiffBI = 1 // Set to 1 for WFA certification. GO Beacon |
| 1583 | * interval is not changed. MCC GO |
| 1584 | * doesn't work well in optimized way. |
| 1585 | * In worst scenario, it may invite STA |
| 1586 | * disconnection. |
| 1587 | * 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] | 1588 | * and update beacon Interval |
| 1589 | * gAllowMCCGODiffBI = 3 //If set to 3 tear down the P2P link in auto/ |
| 1590 | * Non-autonomous -GO case |
Sudhir Sattayappa Kohalli | d9a4df6 | 2013-04-04 14:47:54 -0700 | [diff] [blame] | 1591 | * gAllowMCCGODiffBI = 4 //If set to 4 don't disconnect the P2P client |
| 1592 | * in autonomous/Non-autonomous -GO case update |
| 1593 | * the BI dynamically |
Mohit Khanna | 7ed53f0 | 2012-09-11 17:52:10 -0700 | [diff] [blame] | 1594 | */ |
| 1595 | #define CFG_ALLOW_MCC_GO_DIFF_BI_NAME "gAllowMCCGODiffBI" |
| 1596 | #define CFG_ALLOW_MCC_GO_DIFF_BI_MIN ( 0 ) |
Sudhir Sattayappa Kohalli | d9a4df6 | 2013-04-04 14:47:54 -0700 | [diff] [blame] | 1597 | #define CFG_ALLOW_MCC_GO_DIFF_BI_MAX ( 4 ) |
Sudhir Sattayappa Kohalli | f63bb23 | 2013-05-01 12:28:43 -0700 | [diff] [blame] | 1598 | #define CFG_ALLOW_MCC_GO_DIFF_BI_DEFAULT ( 4 ) |
Mohit Khanna | 7ed53f0 | 2012-09-11 17:52:10 -0700 | [diff] [blame] | 1599 | |
| 1600 | /* |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1601 | * Enable/Disable Thermal Mitigation feature |
| 1602 | * Default: Disable |
| 1603 | */ |
| 1604 | #define CFG_THERMAL_MIGRATION_ENABLE_NAME "gThermalMitigationEnable" |
| 1605 | #define CFG_THERMAL_MIGRATION_ENABLE_MIN ( 0 ) |
| 1606 | #define CFG_THERMAL_MIGRATION_ENABLE_MAX ( 1 ) |
| 1607 | #define CFG_THERMAL_MIGRATION_ENABLE_DEFAULT ( 0 ) |
| 1608 | |
| 1609 | /* |
| 1610 | * Enable/Disable Modulated DTIM feature |
| 1611 | * Default: Disable |
| 1612 | */ |
| 1613 | #define CFG_ENABLE_MODULATED_DTIM_NAME "gEnableModulatedDTIM" |
| 1614 | #define CFG_ENABLE_MODULATED_DTIM_MIN ( 0 ) |
| 1615 | #define CFG_ENABLE_MODULATED_DTIM_MAX ( 5 ) |
| 1616 | #define CFG_ENABLE_MODULATED_DTIM_DEFAULT ( 0 ) |
| 1617 | |
Jeff Johnson | d13512a | 2012-07-17 11:42:19 -0700 | [diff] [blame] | 1618 | /* |
| 1619 | * Enable/Disable Multicast MAC Address List feature |
| 1620 | * Default: Disable |
| 1621 | */ |
| 1622 | #define CFG_MC_ADDR_LIST_ENABLE_NAME "gMCAddrListEnable" |
| 1623 | #define CFG_MC_ADDR_LIST_ENABLE_MIN ( 0 ) |
| 1624 | #define CFG_MC_ADDR_LIST_ENABLE_MAX ( 1 ) |
| 1625 | #define CFG_MC_ADDR_LIST_ENABLE_DEFAULT ( 0 ) |
| 1626 | |
Madan Mohan Koyyalamudi | dd11eaf | 2012-11-02 16:04:21 -0700 | [diff] [blame] | 1627 | /* Set number of buffers to be advertised during ADDBA negotiation*/ |
| 1628 | #define CFG_NUM_BUFF_ADVERT_NAME "gNumBuffAdvert" |
| 1629 | #define CFG_NUM_BUFF_ADVERT_MIN ( 0 ) |
| 1630 | #define CFG_NUM_BUFF_ADVERT_MAX ( 128 ) |
Leela Venkata Kiran Kumar Reddy Chirala | 911463f | 2013-02-22 18:01:15 -0800 | [diff] [blame] | 1631 | #define CFG_NUM_BUFF_ADVERT_DEFAULT ( 64 ) |
Madan Mohan Koyyalamudi | dd11eaf | 2012-11-02 16:04:21 -0700 | [diff] [blame] | 1632 | |
Madan Mohan Koyyalamudi | d5f04ca | 2012-11-06 15:51:26 -0800 | [diff] [blame] | 1633 | /* |
| 1634 | * Allow MCC to modify config |
| 1635 | */ |
| 1636 | #define CFG_MCC_CONFIG_PARAM_NAME "gMccAllowCfgModify" |
| 1637 | #define CFG_MCC_CONFIG_PARAM_MIN ( 0x0000 ) |
| 1638 | #define CFG_MCC_CONFIG_PARAM_MAX ( 0x01ff ) |
| 1639 | #define CFG_MCC_CONFIG_PARAM_DEFAULT ( 0x000C ) |
| 1640 | |
Pratik Bhalgat | 6bfd142 | 2012-11-22 17:09:40 +0530 | [diff] [blame] | 1641 | #define CFG_ENABLE_RX_STBC "gEnableRXSTBC" |
| 1642 | #define CFG_ENABLE_RX_STBC_MIN ( 0 ) |
| 1643 | #define CFG_ENABLE_RX_STBC_MAX ( 1 ) |
| 1644 | #define CFG_ENABLE_RX_STBC_DEFAULT ( 1 ) |
| 1645 | |
Gopichand Nakkala | 976e325 | 2013-01-03 15:45:56 -0800 | [diff] [blame] | 1646 | /* |
| 1647 | * Enable/Disable vsta based on MAX Assoc limit |
| 1648 | * defined in WCNSS_qcom_cfg.ini. |
| 1649 | */ |
| 1650 | #ifdef WLAN_SOFTAP_VSTA_FEATURE |
| 1651 | #define CFG_VSTA_SUPPORT_ENABLE "gEnableVSTASupport" |
| 1652 | #define CFG_VSTA_SUPPORT_ENABLE_MIN ( 0 ) |
| 1653 | #define CFG_VSTA_SUPPORT_ENABLE_MAX ( 1 ) |
| 1654 | #define CFG_VSTA_SUPPORT_ENABLE_DEFAULT ( 0 ) |
| 1655 | #endif |
Pratik Bhalgat | 6bfd142 | 2012-11-22 17:09:40 +0530 | [diff] [blame] | 1656 | |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 1657 | #ifdef FEATURE_WLAN_TDLS |
Hoonki Lee | bf870f3 | 2013-01-19 15:53:30 +0530 | [diff] [blame] | 1658 | #define CFG_TDLS_SUPPORT_ENABLE "gEnableTDLSSupport" |
| 1659 | #define CFG_TDLS_SUPPORT_ENABLE_MIN ( 0 ) |
| 1660 | #define CFG_TDLS_SUPPORT_ENABLE_MAX ( 1 ) |
| 1661 | #define CFG_TDLS_SUPPORT_ENABLE_DEFAULT ( 0 ) |
| 1662 | |
| 1663 | #define CFG_TDLS_IMPLICIT_TRIGGER "gEnableTDLSImplicitTrigger" |
| 1664 | #define CFG_TDLS_IMPLICIT_TRIGGER_MIN ( 0 ) |
| 1665 | #define CFG_TDLS_IMPLICIT_TRIGGER_MAX ( 1 ) |
| 1666 | #define CFG_TDLS_IMPLICIT_TRIGGER_DEFAULT ( 0 ) |
| 1667 | |
| 1668 | #define CFG_TDLS_TX_STATS_PERIOD "gTDLSTxStatsPeriod" |
Hoonki Lee | 2751190 | 2013-03-14 18:19:06 -0700 | [diff] [blame] | 1669 | #define CFG_TDLS_TX_STATS_PERIOD_MIN ( 2000 ) |
Hoonki Lee | bf870f3 | 2013-01-19 15:53:30 +0530 | [diff] [blame] | 1670 | #define CFG_TDLS_TX_STATS_PERIOD_MAX ( 4294967295UL ) |
Hoonki Lee | 2751190 | 2013-03-14 18:19:06 -0700 | [diff] [blame] | 1671 | #define CFG_TDLS_TX_STATS_PERIOD_DEFAULT ( 5000 ) |
Hoonki Lee | bf870f3 | 2013-01-19 15:53:30 +0530 | [diff] [blame] | 1672 | |
| 1673 | #define CFG_TDLS_TX_PACKET_THRESHOLD "gTDLSTxPacketThreshold" |
| 1674 | #define CFG_TDLS_TX_PACKET_THRESHOLD_MIN ( 0 ) |
| 1675 | #define CFG_TDLS_TX_PACKET_THRESHOLD_MAX ( 4294967295UL ) |
Hoonki Lee | 2751190 | 2013-03-14 18:19:06 -0700 | [diff] [blame] | 1676 | #define CFG_TDLS_TX_PACKET_THRESHOLD_DEFAULT ( 100 ) |
Hoonki Lee | bf870f3 | 2013-01-19 15:53:30 +0530 | [diff] [blame] | 1677 | |
| 1678 | #define CFG_TDLS_DISCOVERY_PERIOD "gTDLSDiscoveryPeriod" |
Hoonki Lee | 2751190 | 2013-03-14 18:19:06 -0700 | [diff] [blame] | 1679 | #define CFG_TDLS_DISCOVERY_PERIOD_MIN ( 5000 ) |
Hoonki Lee | bf870f3 | 2013-01-19 15:53:30 +0530 | [diff] [blame] | 1680 | #define CFG_TDLS_DISCOVERY_PERIOD_MAX ( 4294967295UL ) |
Hoonki Lee | 2751190 | 2013-03-14 18:19:06 -0700 | [diff] [blame] | 1681 | #define CFG_TDLS_DISCOVERY_PERIOD_DEFAULT ( 20000 ) |
Hoonki Lee | bf870f3 | 2013-01-19 15:53:30 +0530 | [diff] [blame] | 1682 | |
| 1683 | #define CFG_TDLS_MAX_DISCOVERY_ATTEMPT "gTDLSMaxDiscoveryAttempt" |
Hoonki Lee | 2751190 | 2013-03-14 18:19:06 -0700 | [diff] [blame] | 1684 | #define CFG_TDLS_MAX_DISCOVERY_ATTEMPT_MIN ( 1 ) |
Hoonki Lee | bf870f3 | 2013-01-19 15:53:30 +0530 | [diff] [blame] | 1685 | #define CFG_TDLS_MAX_DISCOVERY_ATTEMPT_MAX ( 100 ) |
Hoonki Lee | 2751190 | 2013-03-14 18:19:06 -0700 | [diff] [blame] | 1686 | #define CFG_TDLS_MAX_DISCOVERY_ATTEMPT_DEFAULT ( 3 ) |
Hoonki Lee | bf870f3 | 2013-01-19 15:53:30 +0530 | [diff] [blame] | 1687 | |
Chilam Ng | 0112041 | 2013-02-19 18:32:21 -0800 | [diff] [blame] | 1688 | #define CFG_TDLS_IDLE_TIMEOUT "gTDLSIdleTimeout" |
Hoonki Lee | 2751190 | 2013-03-14 18:19:06 -0700 | [diff] [blame] | 1689 | #define CFG_TDLS_IDLE_TIMEOUT_MIN ( 2000 ) |
Chilam Ng | 0112041 | 2013-02-19 18:32:21 -0800 | [diff] [blame] | 1690 | #define CFG_TDLS_IDLE_TIMEOUT_MAX ( 40000 ) |
| 1691 | #define CFG_TDLS_IDLE_TIMEOUT_DEFAULT ( 5000 ) |
| 1692 | |
| 1693 | #define CFG_TDLS_IDLE_PACKET_THRESHOLD "gTDLSIdlePacketThreshold" |
Hoonki Lee | 2751190 | 2013-03-14 18:19:06 -0700 | [diff] [blame] | 1694 | #define CFG_TDLS_IDLE_PACKET_THRESHOLD_MIN ( 1 ) |
Chilam Ng | 0112041 | 2013-02-19 18:32:21 -0800 | [diff] [blame] | 1695 | #define CFG_TDLS_IDLE_PACKET_THRESHOLD_MAX ( 40000 ) |
| 1696 | #define CFG_TDLS_IDLE_PACKET_THRESHOLD_DEFAULT ( 5 ) |
Hoonki Lee | bf870f3 | 2013-01-19 15:53:30 +0530 | [diff] [blame] | 1697 | |
| 1698 | #define CFG_TDLS_RSSI_HYSTERESIS "gTDLSRssiHysteresis" |
| 1699 | #define CFG_TDLS_RSSI_HYSTERESIS_MIN ( 0 ) |
| 1700 | #define CFG_TDLS_RSSI_HYSTERESIS_MAX ( 100 ) |
| 1701 | #define CFG_TDLS_RSSI_HYSTERESIS_DEFAULT ( 100 ) |
Chilam Ng | 0112041 | 2013-02-19 18:32:21 -0800 | [diff] [blame] | 1702 | |
| 1703 | #define CFG_TDLS_RSSI_TRIGGER_THRESHOLD "gTDLSRSSITriggerThreshold" |
| 1704 | #define CFG_TDLS_RSSI_TRIGGER_THRESHOLD_MIN ( -120 ) |
Shailender Karmuchi | 13c0d08 | 2013-03-26 14:41:39 -0700 | [diff] [blame] | 1705 | #define CFG_TDLS_RSSI_TRIGGER_THRESHOLD_MAX ( 0 ) |
| 1706 | #define CFG_TDLS_RSSI_TRIGGER_THRESHOLD_DEFAULT ( -75 ) |
Chilam Ng | 0112041 | 2013-02-19 18:32:21 -0800 | [diff] [blame] | 1707 | |
| 1708 | #define CFG_TDLS_RSSI_TEARDOWN_THRESHOLD "gTDLSRSSITeardownThreshold" |
| 1709 | #define CFG_TDLS_RSSI_TEARDOWN_THRESHOLD_MIN ( -120 ) |
| 1710 | #define CFG_TDLS_RSSI_TEARDOWN_THRESHOLD_MAX ( 0 ) |
| 1711 | #define CFG_TDLS_RSSI_TEARDOWN_THRESHOLD_DEFAULT ( -75 ) |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 1712 | |
| 1713 | #define CFG_TDLS_QOS_WMM_UAPSD_MASK_NAME "gTDLSUapsdMask" // ACs to setup U-APSD for TDLS Sta |
| 1714 | #define CFG_TDLS_QOS_WMM_UAPSD_MASK_MIN (0) |
| 1715 | #define CFG_TDLS_QOS_WMM_UAPSD_MASK_MAX (15) |
| 1716 | #define CFG_TDLS_QOS_WMM_UAPSD_MASK_DEFAULT (0) |
| 1717 | |
| 1718 | #define CFG_TDLS_BUFFER_STA_SUPPORT_ENABLE "gEnableTDLSBufferSta" |
| 1719 | #define CFG_TDLS_BUFFER_STA_SUPPORT_ENABLE_MIN (0) |
| 1720 | #define CFG_TDLS_BUFFER_STA_SUPPORT_ENABLE_MAX (1) |
| 1721 | #define CFG_TDLS_BUFFER_STA_SUPPORT_ENABLE_DEFAULT (1) |
| 1722 | |
| 1723 | #define CFG_TDLS_PUAPSD_INACTIVITY_TIME "gTDLSPuapsdInactivityTime" |
| 1724 | #define CFG_TDLS_PUAPSD_INACTIVITY_TIME_MIN (0) |
| 1725 | #define CFG_TDLS_PUAPSD_INACTIVITY_TIME_MAX (10) |
| 1726 | #define CFG_TDLS_PUAPSD_INACTIVITY_TIME_DEFAULT (0) |
| 1727 | |
| 1728 | #define CFG_TDLS_PUAPSD_RX_FRAME_THRESHOLD "gTDLSPuapsdRxFrameThreshold" |
| 1729 | #define CFG_TDLS_PUAPSD_RX_FRAME_THRESHOLD_MIN (10) |
| 1730 | #define CFG_TDLS_PUAPSD_RX_FRAME_THRESHOLD_MAX (20) |
| 1731 | #define CFG_TDLS_PUAPSD_RX_FRAME_THRESHOLD_DEFAULT (10) |
Gopichand Nakkala | 3164967 | 2013-02-27 12:15:51 -0800 | [diff] [blame] | 1732 | #endif |
Gopichand Nakkala | fda520a | 2013-02-26 16:41:58 -0800 | [diff] [blame] | 1733 | |
Gopichand Nakkala | 3164967 | 2013-02-27 12:15:51 -0800 | [diff] [blame] | 1734 | #ifdef WLAN_ACTIVEMODE_OFFLOAD_FEATURE |
Leela Venkata Kiran Kumar Reddy Chirala | 911463f | 2013-02-22 18:01:15 -0800 | [diff] [blame] | 1735 | #define CFG_ACTIVEMODE_OFFLOAD_ENABLE "gEnableActiveModeOffload" |
| 1736 | #define CFG_ACTIVEMODE_OFFLOAD_ENABLE_MIN ( 0 ) |
| 1737 | #define CFG_ACTIVEMODE_OFFLOAD_ENABLE_MAX ( 1 ) |
| 1738 | #define CFG_ACTIVEMODE_OFFLOAD_ENABLE_DEFAULT ( 1 ) |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 1739 | #endif |
Madan Mohan Koyyalamudi | 0d40e66 | 2012-12-07 14:24:14 -0800 | [diff] [blame] | 1740 | |
| 1741 | /* Enable/Disable LPWR Image(cMEM uBSP) Transition */ |
| 1742 | #define CFG_ENABLE_LPWR_IMG_TRANSITION_NAME "gEnableLpwrImgTransition" |
| 1743 | #define CFG_ENABLE_LPWR_IMG_TRANSITION_MIN ( 0 ) |
| 1744 | #define CFG_ENABLE_LPWR_IMG_TRANSITION_MAX ( 1 ) |
| 1745 | #define CFG_ENABLE_LPWR_IMG_TRANSITION_DEFAULT ( 0 ) |
| 1746 | |
| 1747 | |
Sandeep Puligilla | 2b6dc63 | 2012-12-17 14:44:16 -0800 | [diff] [blame] | 1748 | /* |
| 1749 | * Scan Aging timeout value in seconds |
| 1750 | */ |
| 1751 | #define CFG_SCAN_AGING_PARAM_NAME "gScanAgingTime" |
| 1752 | #define CFG_SCAN_AGING_PARAM_MIN ( 0 ) |
| 1753 | #define CFG_SCAN_AGING_PARAM_MAX ( 200 ) |
| 1754 | #define CFG_SCAN_AGING_PARAM_DEFAULT ( 60 ) |
| 1755 | |
Gopichand Nakkala | b2d2c31 | 2013-01-04 11:41:02 -0800 | [diff] [blame] | 1756 | /* Config Param to enable the txLdpc capability |
| 1757 | * 0 - disable |
| 1758 | * 1 - HT LDPC enable |
| 1759 | * 2 - VHT LDPC enable |
| 1760 | * 3 - HT & VHT LDPC enable */ |
| 1761 | #define CFG_TX_LDPC_ENABLE_FEATURE "gTxLdpcEnable" |
| 1762 | #define CFG_TX_LDPC_ENABLE_FEATURE_MIN ( 0 ) |
| 1763 | #define CFG_TX_LDPC_ENABLE_FEATURE_MAX ( 3 ) |
| 1764 | #define CFG_TX_LDPC_ENABLE_FEATURE_DEFAULT ( 0 ) |
Madan Mohan Koyyalamudi | 01cba04 | 2013-01-10 21:56:05 -0800 | [diff] [blame] | 1765 | |
| 1766 | /* |
| 1767 | * Enable / Disable MCC Adaptive Scheduler feature |
| 1768 | * Default: Enable |
| 1769 | */ |
| 1770 | #define CFG_ENABLE_MCC_ADATIVE_SCHEDULER_ENABLED_NAME "gEnableMCCAdaptiveScheduler" |
| 1771 | #define CFG_ENABLE_MCC_ADATIVE_SCHEDULER_ENABLED_MIN ( 0 ) |
| 1772 | #define CFG_ENABLE_MCC_ADATIVE_SCHEDULER_ENABLED_MAX ( 1 ) |
Bansidhar Gopalachari | a31c502 | 2013-08-01 15:21:05 -0700 | [diff] [blame] | 1773 | #define CFG_ENABLE_MCC_ADATIVE_SCHEDULER_ENABLED_DEFAULT ( 1 ) |
Madan Mohan Koyyalamudi | 01cba04 | 2013-01-10 21:56:05 -0800 | [diff] [blame] | 1774 | |
Shailender Karmuchi | 08f87c2 | 2013-01-17 12:51:24 -0800 | [diff] [blame] | 1775 | #ifdef WLAN_FEATURE_11AC |
| 1776 | #define CFG_VHT_SU_BEAMFORMEE_CAP_FEATURE "gTxBFEnable" |
| 1777 | #define CFG_VHT_SU_BEAMFORMEE_CAP_FEATURE_MIN ( WNI_CFG_VHT_SU_BEAMFORMEE_CAP_STAMIN ) |
| 1778 | #define CFG_VHT_SU_BEAMFORMEE_CAP_FEATURE_MAX ( WNI_CFG_VHT_SU_BEAMFORMEE_CAP_STAMAX ) |
| 1779 | #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] | 1780 | |
| 1781 | #define CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED "gTxBFCsnValue" |
| 1782 | #define CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_MIN ( WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_STAMIN ) |
| 1783 | #define CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_MAX ( WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_STAMAX ) |
| 1784 | #define CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_DEFAULT ( WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_STAMAX - 1) |
| 1785 | |
Shailender Karmuchi | 08f87c2 | 2013-01-17 12:51:24 -0800 | [diff] [blame] | 1786 | #endif |
| 1787 | |
Leela V Kiran Kumar Reddy Chirala | b1f7d34 | 2013-02-11 00:27:02 -0800 | [diff] [blame] | 1788 | |
Madan Mohan Koyylamudi | 64267f7 | 2013-02-05 14:07:08 +0530 | [diff] [blame] | 1789 | /* |
| 1790 | * SAP ALLOW All Channels |
| 1791 | */ |
| 1792 | #define CFG_SAP_ALLOW_ALL_CHANNEL_PARAM_NAME "gSapAllowAllChannel" |
| 1793 | #define CFG_SAP_ALLOW_ALL_CHANNEL_PARAM_MIN ( 0 ) |
| 1794 | #define CFG_SAP_ALLOW_ALL_CHANNEL_PARAM_MAX ( 1 ) |
| 1795 | #define CFG_SAP_ALLOW_ALL_CHANNEL_PARAM_DEFAULT ( 0 ) |
| 1796 | |
| 1797 | |
Leela V Kiran Kumar Reddy Chirala | b1f7d34 | 2013-02-11 00:27:02 -0800 | [diff] [blame] | 1798 | #ifdef WLAN_FEATURE_11AC |
| 1799 | #define CFG_DISABLE_LDPC_WITH_TXBF_AP "gDisableLDPCWithTxbfAP" |
| 1800 | #define CFG_DISABLE_LDPC_WITH_TXBF_AP_MIN ( 0 ) |
| 1801 | #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] | 1802 | #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] | 1803 | #endif |
Tushnim Bhattacharyya | 9cdf608 | 2013-04-21 16:33:30 -0700 | [diff] [blame] | 1804 | |
| 1805 | #define CFG_LIST_OF_NON_DFS_COUNTRY_CODE "gListOfNonDfsCountryCode" |
| 1806 | #define CFG_LIST_OF_NON_DFS_COUNTRY_CODE_DEFAULT "JO,MA" |
| 1807 | |
Madan Mohan Koyyalamudi | ba793b6 | 2013-05-09 17:45:51 -0700 | [diff] [blame] | 1808 | /* |
| 1809 | * IBSS Operating Channels for 2.4G and 5GHz channels |
| 1810 | */ |
| 1811 | #define CFG_IBSS_ADHOC_CHANNEL_5GHZ_NAME "gAdHocChannel5G" |
| 1812 | #define CFG_IBSS_ADHOC_CHANNEL_5GHZ_MIN ( 36 ) |
| 1813 | #define CFG_IBSS_ADHOC_CHANNEL_5GHZ_MAX ( 165 ) |
| 1814 | #define CFG_IBSS_ADHOC_CHANNEL_5GHZ_DEFAULT ( 44 ) |
| 1815 | |
| 1816 | #define CFG_IBSS_ADHOC_CHANNEL_24GHZ_NAME "gAdHocChannel24G" |
| 1817 | #define CFG_IBSS_ADHOC_CHANNEL_24GHZ_MIN ( 1 ) |
| 1818 | #define CFG_IBSS_ADHOC_CHANNEL_24GHZ_MAX ( 14 ) |
| 1819 | #define CFG_IBSS_ADHOC_CHANNEL_24GHZ_DEFAULT ( 6 ) |
Shailender Karmuchi | a734f33 | 2013-04-19 14:02:48 -0700 | [diff] [blame] | 1820 | |
Ravi Joshi | 83bfaa1 | 2013-05-28 22:12:08 -0700 | [diff] [blame] | 1821 | #define CFG_LIST_OF_NON_11AC_COUNTRY_CODE "gListOfNon11acCountryCode" |
| 1822 | #define CFG_LIST_OF_NON_11AC_COUNTRY_CODE_DEFAULT "RU,UA,ZA" |
| 1823 | |
| 1824 | /* Parameter to control VHT support in 2.4 GHz band */ |
| 1825 | #define CFG_ENABLE_VHT_FOR_24GHZ_NAME "gEnableVhtFor24GHzBand" |
| 1826 | #define CFG_ENABLE_VHT_FOR_24GHZ_MIN (0) |
| 1827 | #define CFG_ENABLE_VHT_FOR_24GHZ_MAX (1) |
| 1828 | #define CFG_ENABLE_VHT_FOR_24GHZ_DEFAULT (0) |
| 1829 | |
Gopichand Nakkala | dacbcb5 | 2013-04-18 16:41:54 +0530 | [diff] [blame] | 1830 | |
Gopichand Nakkala | 42bc89e | 2013-05-27 12:49:09 +0530 | [diff] [blame] | 1831 | #define CFG_MAX_MEDIUM_TIME "gMaxMediumTime" |
| 1832 | #define CFG_MAX_MEDIUM_TIME_STAMIN WNI_CFG_MAX_MEDIUM_TIME_STAMIN |
| 1833 | #define CFG_MAX_MEDIUM_TIME_STAMAX WNI_CFG_MAX_MEDIUM_TIME_STAMAX |
| 1834 | #define CFG_MAX_MEDIUM_TIME_STADEFAULT WNI_CFG_MAX_MEDIUM_TIME_STADEF |
| 1835 | |
Leo Chang | 64d68bc | 2013-06-04 15:40:52 -0700 | [diff] [blame] | 1836 | /* |
| 1837 | * SAP/P2P-GO mode traffic monitor |
| 1838 | */ |
| 1839 | #define CFG_ENABLE_TRAFFIC_MONITOR "gEnableTrafficMonitor" |
| 1840 | #define CFG_ENABLE_TRAFFIC_MONITOR_MIN ( 0 ) |
| 1841 | #define CFG_ENABLE_TRAFFIC_MONITOR_MAX ( 1 ) |
| 1842 | #define CFG_ENABLE_TRAFFIC_MONITOR_DEFAULT ( 0 ) |
| 1843 | |
| 1844 | #define CFG_TRAFFIC_IDLE_TIMEOUT "gTrafficIdleTimeout" |
| 1845 | #define CFG_TRAFFIC_IDLE_TIMEOUT_MIN ( 3000 ) |
| 1846 | #define CFG_TRAFFIC_IDLE_TIMEOUT_MAX ( 10000 ) |
| 1847 | #define CFG_TRAFFIC_IDLE_TIMEOUT_DEFAULT ( 5000 ) |
| 1848 | |
Gopichand Nakkala | 154bda2 | 2013-06-11 17:41:22 +0530 | [diff] [blame] | 1849 | /* |
| 1850 | * SCAN Offload |
| 1851 | */ |
| 1852 | #define CFG_SCAN_OFFLOAD_NAME "gEnableDirectedScanOffload" |
| 1853 | #define CFG_SCAN_OFFLOAD_DISABLE ( 0 ) |
| 1854 | #define CFG_SCAN_OFFLOAD_ENABLE ( 1 ) |
| 1855 | #define CFG_SCAN_OFFLOAD_DEFAULT ( CFG_SCAN_OFFLOAD_DISABLE ) |
| 1856 | |
Srinivas Girigowda | 830bbd0 | 2013-06-13 19:44:16 -0700 | [diff] [blame] | 1857 | /* |
| 1858 | * Enable legacy fast roaming (LFR) on STA link during concurrent sessions |
| 1859 | */ |
| 1860 | #ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD |
| 1861 | #define CFG_ENABLE_FAST_ROAM_IN_CONCURRENCY "gEnableFastRoamInConcurrency" |
| 1862 | #define CFG_ENABLE_FAST_ROAM_IN_CONCURRENCY_MIN ( 0 ) |
| 1863 | #define CFG_ENABLE_FAST_ROAM_IN_CONCURRENCY_MAX ( 1 ) |
| 1864 | #define CFG_ENABLE_FAST_ROAM_IN_CONCURRENCY_DEFAULT ( 1 ) |
| 1865 | #endif |
| 1866 | |
Yue Ma | 0fd2387 | 2013-08-01 15:56:47 -0700 | [diff] [blame] | 1867 | /* |
| 1868 | * FlexConnectPowerFactor parameter |
| 1869 | * Default: Disable (0) |
| 1870 | */ |
| 1871 | #define CFG_FLEX_CONNECT_POWER_FACTOR_NAME "gFlexConnectPowerFactor" |
| 1872 | #define CFG_FLEX_CONNECT_POWER_FACTOR_MIN ( 0 ) |
| 1873 | #define CFG_FLEX_CONNECT_POWER_FACTOR_MAX ( 9 ) |
| 1874 | #define CFG_FLEX_CONNECT_POWER_FACTOR_DEFAULT ( 0 ) |
| 1875 | |
Ravi Joshi | d2ca7c4 | 2013-07-23 08:37:49 -0700 | [diff] [blame] | 1876 | /* |
| 1877 | * Enable heart beat monitoring offload to FW |
| 1878 | */ |
| 1879 | #define CFG_ENABLE_HEART_BEAT_OFFLOAD "gEnableIbssHeartBeatOffload" |
| 1880 | #define CFG_ENABLE_HEART_BEAT_OFFLOAD_MIN ( 0 ) |
| 1881 | #define CFG_ENABLE_HEART_BEAT_OFFLOAD_MAX ( 1 ) |
| 1882 | #define CFG_ENABLE_HEART_BEAT_OFFLOAD_DEFAULT ( 1 ) |
| 1883 | |
Madan Mohan Koyyalamudi | ca45457 | 2013-08-07 19:57:03 +0530 | [diff] [blame] | 1884 | #define CFG_ANTENNA_DIVERSITY_PARAM_NAME "gAntennaDiversity" |
| 1885 | #define CFG_ANTENNA_DIVERSITY_PARAM_MIN ( 0 ) |
| 1886 | #define CFG_ANTENNA_DIVERSITY_PARAM_MAX ( 3 ) |
| 1887 | #define CFG_ANTENNA_DIVERSITY_PARAM_DEFAULT ( 0 ) |
| 1888 | |
Madan Mohan Koyyalamudi | d9383fd | 2013-08-13 09:27:30 +0530 | [diff] [blame] | 1889 | #define CFG_ENABLE_SNR_MONITORING_NAME "gEnableSNRMonitoring" |
| 1890 | #define CFG_ENABLE_SNR_MONITORING_MIN ( 0 ) |
| 1891 | #define CFG_ENABLE_SNR_MONITORING_MAX ( 1 ) |
| 1892 | #define CFG_ENABLE_SNR_MONITORING_DEFAULT ( 0 ) |
Sudhir Sattayappa Kohalli | 3762069 | 2013-08-05 14:02:26 -0700 | [diff] [blame] | 1893 | //Macro to enable/disable dynamic timer |
| 1894 | #define CFG_DYNAMIC_SPLIT_SCAN_NAME "gEnableDynSplitScan" |
| 1895 | #define CFG_DYNAMIC_SPLIT_SCAN_MIN ( 0 ) |
| 1896 | #define CFG_DYNAMIC_SPLIT_SCAN_MAX ( 1 ) |
| 1897 | #define CFG_DYNAMIC_SPLIT_SCAN_DEFAULT ( 1 ) |
| 1898 | |
| 1899 | //Macro to monitor the packet count |
| 1900 | #define CFG_SPLIT_SCAN_TRAFFIC_MONITOR_THRSHLD_NAME "gSplitScanTxRxThreshold" |
| 1901 | #define CFG_SPLIT_SCAN_TRAFFIC_MONITOR_THRSHLD_MIN ( 10 ) |
| 1902 | #define CFG_SPLIT_SCAN_TRAFFIC_MONITOR_THRSHLD_MAX ( 100 ) |
| 1903 | #define CFG_SPLIT_SCAN_TRAFFIC_MONITOR_THRSHLD_DEFAULT ( 50 ) |
| 1904 | |
| 1905 | //Macro to handle the monitor timer value in milliseconds |
| 1906 | #define CFG_SPLIT_SCAN_TRAFFIC_MONITOR_TIMER_NAME "gSplitScanTxRxTimer" |
| 1907 | #define CFG_SPLIT_SCAN_TRAFFIC_MONITOR_TIMER_MIN ( 1000 ) |
| 1908 | #define CFG_SPLIT_SCAN_TRAFFIC_MONITOR_TIMER_MAX ( 10000 ) |
| 1909 | #define CFG_SPLIT_SCAN_TRAFFIC_MONITOR_TIMER_DEFAULT ( 5000 ) |
| 1910 | |
Madan Mohan Koyyalamudi | 1d16f46 | 2013-08-27 16:25:34 +0530 | [diff] [blame] | 1911 | #ifdef FEATURE_WLAN_SCAN_PNO |
| 1912 | #define CFG_PNO_SCAN_TIMER_REPEAT_VALUE "gPNOScanTimerRepeatValue" |
| 1913 | #define CFG_PNO_SCAN_TIMER_REPEAT_VALUE_DEFAULT ( 6 ) |
| 1914 | #define CFG_PNO_SCAN_TIMER_REPEAT_VALUE_MIN ( 0 ) |
| 1915 | #define CFG_PNO_SCAN_TIMER_REPEAT_VALUE_MAX ( 0xffffffff ) |
| 1916 | #endif |
| 1917 | |
krunal soni | 5afa96c | 2013-09-06 22:19:02 -0700 | [diff] [blame] | 1918 | #define CFG_AMSDU_SUPPORT_IN_AMPDU_NAME "gAmsduSupportInAMPDU" |
| 1919 | #define CFG_AMSDU_SUPPORT_IN_AMPDU_MIN (0) |
| 1920 | #define CFG_AMSDU_SUPPORT_IN_AMPDU_MAX (1) |
| 1921 | #define CFG_AMSDU_SUPPORT_IN_AMPDU_DEFAULT (0) //disabled |
| 1922 | |
Srinivas Girigowda | 41c7c5f | 2013-10-21 19:01:38 -0700 | [diff] [blame^] | 1923 | /* Prefer connecting to 5G AP even if its RSSI is lower by |
| 1924 | gSelect5GHzMargin dBm than 2.4G AP. |
| 1925 | This feature requires the dependent cfg.ini "gRoamPrefer5GHz" set to 1 */ |
| 1926 | #define CFG_STRICT_5GHZ_PREF_BY_MARGIN "gSelect5GHzMargin" |
| 1927 | #define CFG_STRICT_5GHZ_PREF_BY_MARGIN_MIN (0) |
| 1928 | #define CFG_STRICT_5GHZ_PREF_BY_MARGIN_MAX (60) |
| 1929 | #define CFG_STRICT_5GHZ_PREF_BY_MARGIN_DEFAULT (0) //set 0 to disable |
| 1930 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1931 | /*--------------------------------------------------------------------------- |
| 1932 | Type declarations |
| 1933 | -------------------------------------------------------------------------*/ |
| 1934 | |
| 1935 | typedef struct |
| 1936 | { |
| 1937 | //Bitmap to track what is explicitly configured |
| 1938 | DECLARE_BITMAP(bExplicitCfg, MAX_CFG_INI_ITEMS); |
| 1939 | |
| 1940 | //Config parameters |
| 1941 | v_U32_t RTSThreshold; |
| 1942 | v_U32_t FragmentationThreshold; |
| 1943 | v_U32_t nCheckForHangTime; |
| 1944 | v_U32_t Calibration; |
| 1945 | v_U32_t CalibrationPeriod; |
| 1946 | v_U8_t OperatingChannel; |
| 1947 | v_BOOL_t ShortSlotTimeEnabled; |
| 1948 | v_BOOL_t Is11dSupportEnabled; |
Madan Mohan Koyyalamudi | 8db1c94 | 2013-01-10 15:24:29 -0800 | [diff] [blame] | 1949 | v_BOOL_t Is11hSupportEnabled; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1950 | v_BOOL_t fEnforce11dChannels; |
| 1951 | v_BOOL_t fSupplicantCountryCodeHasPriority; |
| 1952 | v_BOOL_t fEnforceCountryCodeMatch; |
| 1953 | v_BOOL_t fEnforceDefaultDomain; |
| 1954 | v_U32_t Cfg1Id; |
| 1955 | v_U32_t Cfg2Id; |
| 1956 | v_U32_t Cfg3Id; |
| 1957 | v_U32_t Cfg4Id; |
| 1958 | v_U32_t Cfg5Id; |
| 1959 | v_U32_t Cfg1Value; |
| 1960 | v_U32_t Cfg2Value; |
| 1961 | v_U32_t Cfg3Value; |
| 1962 | v_U32_t Cfg4Value; |
| 1963 | v_U32_t Cfg5Value; |
| 1964 | v_U32_t HeartbeatThresh24; |
| 1965 | char PowerUsageControl[4]; |
| 1966 | v_U8_t nEnableSuspend; |
| 1967 | v_U8_t nEnableDriverStop; |
| 1968 | v_BOOL_t fIsImpsEnabled; |
| 1969 | v_BOOL_t fIsLogpEnabled; |
| 1970 | v_U8_t btcExecutionMode; |
| 1971 | v_U8_t btcConsBtSlotsToBlockDuringDhcp; |
| 1972 | v_U8_t btcA2DPBtSubIntervalsDuringDhcp; |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame] | 1973 | v_U32_t btcStaticLenInqBt; |
| 1974 | v_U32_t btcStaticLenPageBt; |
| 1975 | v_U32_t btcStaticLenConnBt; |
| 1976 | v_U32_t btcStaticLenLeBt; |
| 1977 | v_U32_t btcStaticLenInqWlan; |
| 1978 | v_U32_t btcStaticLenPageWlan; |
| 1979 | v_U32_t btcStaticLenConnWlan; |
| 1980 | v_U32_t btcStaticLenLeWlan; |
| 1981 | v_U32_t btcDynMaxLenBt; |
| 1982 | v_U32_t btcDynMaxLenWlan; |
| 1983 | v_U32_t btcMaxScoBlockPerc; |
| 1984 | v_U32_t btcDhcpProtOnA2dp; |
| 1985 | v_U32_t btcDhcpProtOnSco; |
Wilson Tsao | f8b3794 | 2013-09-06 10:49:00 -0700 | [diff] [blame] | 1986 | v_U32_t mwsCoexVictimWANFreq[10]; |
| 1987 | v_U32_t mwsCoexVictimWLANFreq[10]; |
| 1988 | v_U32_t mwsCoexVictimConfig[10]; |
| 1989 | v_U32_t mwsCoexVictimConfig2[10]; |
| 1990 | v_U32_t mwsCoexModemBackoff; |
| 1991 | v_U32_t mwsCoexConfig[6]; |
| 1992 | v_U32_t SARPowerBackoff; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1993 | v_U32_t nImpsModSleepTime; |
| 1994 | v_U32_t nImpsMaxSleepTime; |
| 1995 | v_U32_t nImpsMinSleepTime; |
| 1996 | v_BOOL_t fIsBmpsEnabled; |
| 1997 | v_U32_t nBmpsModListenInterval; |
| 1998 | v_U32_t nBmpsMaxListenInterval; |
| 1999 | v_U32_t nBmpsMinListenInterval; |
| 2000 | v_BOOL_t fIsAutoBmpsTimerEnabled; |
| 2001 | v_U32_t nAutoBmpsTimerValue; |
| 2002 | eHddDot11Mode dot11Mode; |
| 2003 | v_U32_t nChannelBondingMode24GHz; |
| 2004 | v_U32_t nChannelBondingMode5GHz; |
| 2005 | v_U32_t MaxRxAmpduFactor; |
| 2006 | v_U32_t nBAAgingTimerInterval; |
| 2007 | v_U16_t TxRate; |
| 2008 | v_U32_t AdaptiveThresholdAlgo; |
| 2009 | v_U32_t ShortGI20MhzEnable; |
| 2010 | v_U32_t BlockAckAutoSetup; |
| 2011 | v_U32_t ScanResultAgeCount; |
| 2012 | v_U32_t nScanAgeTimeNCNPS; |
| 2013 | v_U32_t nScanAgeTimeNCPS; |
| 2014 | v_U32_t nScanAgeTimeCNPS; |
| 2015 | v_U32_t nScanAgeTimeCPS; |
| 2016 | v_U8_t nRssiCatGap; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2017 | v_BOOL_t fIsShortPreamble; |
| 2018 | v_BOOL_t fIsAutoIbssBssid; |
| 2019 | v_MACADDR_t IbssBssid; |
Shailender Karmuchi | a734f33 | 2013-04-19 14:02:48 -0700 | [diff] [blame] | 2020 | v_U32_t AdHocChannel5G; |
| 2021 | v_U32_t AdHocChannel24G; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2022 | v_U8_t intfAddrMask; |
| 2023 | v_MACADDR_t intfMacAddr[VOS_MAX_CONCURRENCY_PERSONA]; |
| 2024 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2025 | v_BOOL_t apUapsdEnabled; |
Madan Mohan Koyyalamudi | 3ff2a0b | 2012-10-15 14:33:46 -0700 | [diff] [blame] | 2026 | v_BOOL_t apRandomBssidEnabled; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2027 | v_BOOL_t apProtEnabled; |
| 2028 | v_U16_t apProtection; |
| 2029 | v_BOOL_t apOBSSProtEnabled; |
| 2030 | v_U8_t MinFramesProcThres; |
| 2031 | v_U8_t apCntryCode[4]; |
| 2032 | v_BOOL_t apDisableIntraBssFwd; |
Amar Singhal | fddc28c | 2013-09-05 13:03:40 -0700 | [diff] [blame] | 2033 | v_U8_t nEnableListenMode; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2034 | v_U32_t nAPAutoShutOff; |
| 2035 | v_U8_t apStartChannelNum; |
| 2036 | v_U8_t apEndChannelNum; |
| 2037 | v_U8_t apOperatingBand; |
| 2038 | v_BOOL_t apAutoChannelSelection; |
| 2039 | v_U8_t enableLTECoex; |
| 2040 | v_U32_t apKeepAlivePeriod; |
| 2041 | v_U32_t goKeepAlivePeriod; |
Sejal Chauhan | bcde8bc | 2013-03-04 18:06:36 +0530 | [diff] [blame] | 2042 | v_U32_t apLinkMonitorPeriod; |
Madan Mohan Koyyalamudi | 2558bc9 | 2013-08-24 16:54:31 +0530 | [diff] [blame] | 2043 | v_U32_t goLinkMonitorPeriod; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2044 | v_U32_t nBeaconInterval; |
| 2045 | v_U8_t nTxPowerCap; //In dBm |
| 2046 | v_BOOL_t fIsLowGainOverride; |
| 2047 | v_U8_t disablePacketFilter; |
| 2048 | #if defined WLAN_FEATURE_VOWIFI |
| 2049 | v_BOOL_t fRrmEnable; |
| 2050 | v_U8_t nInChanMeasMaxDuration; |
| 2051 | v_U8_t nOutChanMeasMaxDuration; |
| 2052 | v_U16_t nRrmRandnIntvl; |
| 2053 | #endif |
| 2054 | |
| 2055 | #ifdef WLAN_FEATURE_VOWIFI_11R |
| 2056 | //Vowifi 11r params |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2057 | v_BOOL_t fFTResourceReqSupported; |
| 2058 | #endif |
| 2059 | |
| 2060 | #ifdef WLAN_FEATURE_NEIGHBOR_ROAMING |
| 2061 | v_U16_t nNeighborScanPeriod; |
Srinivas Girigowda | de69741 | 2013-02-14 16:31:48 -0800 | [diff] [blame] | 2062 | v_U8_t nNeighborReassocRssiThreshold; |
| 2063 | v_U8_t nNeighborLookupRssiThreshold; |
| 2064 | v_U8_t neighborScanChanList[WNI_CFG_VALID_CHANNEL_LIST_LEN]; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2065 | v_U16_t nNeighborScanMinChanTime; |
| 2066 | v_U16_t nNeighborScanMaxChanTime; |
| 2067 | v_U16_t nMaxNeighborReqTries; |
Srinivas Girigowda | de69741 | 2013-02-14 16:31:48 -0800 | [diff] [blame] | 2068 | v_U16_t nNeighborResultsRefreshPeriod; |
| 2069 | v_U16_t nEmptyScanRefreshPeriod; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2070 | #endif |
| 2071 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2072 | //Additional Handoff params |
| 2073 | v_BOOL_t nEnableIdleScan; |
| 2074 | v_U32_t nRoamingTime; |
| 2075 | v_U16_t nVccRssiTrigger; |
| 2076 | v_U32_t nVccUlMacLossThreshold; |
| 2077 | |
| 2078 | v_U32_t nPassiveMinChnTime; //in units of milliseconds |
| 2079 | v_U32_t nPassiveMaxChnTime; //in units of milliseconds |
| 2080 | v_U32_t nActiveMinChnTime; //in units of milliseconds |
| 2081 | v_U32_t nActiveMaxChnTime; //in units of milliseconds |
| 2082 | |
Kiran Kumar Lokere | 3527f0c | 2013-02-24 22:21:28 -0800 | [diff] [blame] | 2083 | v_U32_t nActiveMinChnTimeBtc; //in units of milliseconds |
| 2084 | v_U32_t nActiveMaxChnTimeBtc; //in units of milliseconds |
Madan Mohan Koyyalamudi | 4ff9cd6 | 2012-10-30 17:48:57 -0700 | [diff] [blame] | 2085 | #ifdef WLAN_AP_STA_CONCURRENCY |
| 2086 | v_U32_t nPassiveMinChnTimeConc; //in units of milliseconds |
| 2087 | v_U32_t nPassiveMaxChnTimeConc; //in units of milliseconds |
| 2088 | v_U32_t nActiveMinChnTimeConc; //in units of milliseconds |
| 2089 | v_U32_t nActiveMaxChnTimeConc; //in units of milliseconds |
| 2090 | v_U32_t nRestTimeConc; //in units of milliseconds |
Sudhir Sattayappa Kohalli | eb97d50 | 2013-05-22 23:16:42 -0700 | [diff] [blame] | 2091 | v_U8_t nNumStaChanCombinedConc; //number of channels combined for |
| 2092 | //STA in each split scan operation |
| 2093 | v_U8_t nNumP2PChanCombinedConc; //number of channels combined for |
| 2094 | //P2P in each split scan operation |
Madan Mohan Koyyalamudi | 4ff9cd6 | 2012-10-30 17:48:57 -0700 | [diff] [blame] | 2095 | #endif |
| 2096 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2097 | v_U8_t nMaxPsPoll; |
| 2098 | |
| 2099 | v_U8_t nRssiFilterPeriod; |
| 2100 | v_BOOL_t fIgnoreDtim; |
Yue Ma | c24062f | 2013-05-13 17:01:29 -0700 | [diff] [blame] | 2101 | v_U8_t fMaxLIModulatedDTIM; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2102 | |
| 2103 | v_U8_t nRxAnt; |
| 2104 | v_U8_t fEnableFwHeartBeatMonitoring; |
| 2105 | v_U8_t fEnableFwBeaconFiltering; |
Gopichand Nakkala | 98a98af | 2012-12-31 14:38:47 -0800 | [diff] [blame] | 2106 | v_BOOL_t fEnableFwRssiMonitoring; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2107 | v_U8_t nDataInactivityTimeout; |
| 2108 | v_U8_t nthBeaconFilter; |
| 2109 | |
| 2110 | //WMM QoS Configuration |
| 2111 | hdd_wmm_user_mode_t WmmMode; |
| 2112 | v_BOOL_t b80211eIsEnabled; |
| 2113 | 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] | 2114 | v_U32_t InfraUapsdVoSrvIntv; |
| 2115 | v_U32_t InfraUapsdVoSuspIntv; |
| 2116 | v_U32_t InfraUapsdViSrvIntv; |
| 2117 | v_U32_t InfraUapsdViSuspIntv; |
| 2118 | v_U32_t InfraUapsdBeSrvIntv; |
| 2119 | v_U32_t InfraUapsdBeSuspIntv; |
| 2120 | v_U32_t InfraUapsdBkSrvIntv; |
| 2121 | v_U32_t InfraUapsdBkSuspIntv; |
Jeff Johnson | 04dd8a8 | 2012-06-29 20:41:40 -0700 | [diff] [blame] | 2122 | #ifdef FEATURE_WLAN_LFR |
| 2123 | v_BOOL_t isFastRoamIniFeatureEnabled; |
| 2124 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2125 | #ifdef FEATURE_WLAN_CCX |
| 2126 | v_U32_t InfraInactivityInterval; |
| 2127 | v_BOOL_t isCcxIniFeatureEnabled; |
| 2128 | #endif |
Jeff Johnson | 04dd8a8 | 2012-06-29 20:41:40 -0700 | [diff] [blame] | 2129 | #if defined (WLAN_FEATURE_VOWIFI_11R) || defined (FEATURE_WLAN_CCX) || defined(FEATURE_WLAN_LFR) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2130 | v_BOOL_t isFastTransitionEnabled; |
Jeff Johnson | 43971f5 | 2012-07-17 12:26:56 -0700 | [diff] [blame] | 2131 | v_U8_t RoamRssiDiff; |
Madan Mohan Koyyalamudi | 62b55b0 | 2012-12-03 16:45:39 -0800 | [diff] [blame] | 2132 | v_U8_t nImmediateRoamRssiDiff; |
Srinivas Girigowda | ad34ca9 | 2013-10-22 10:54:29 -0700 | [diff] [blame] | 2133 | v_BOOL_t isWESModeEnabled; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2134 | #endif |
Srinivas Girigowda | bbd16eb | 2013-03-21 12:34:46 -0700 | [diff] [blame] | 2135 | #ifdef FEATURE_WLAN_OKC |
| 2136 | v_BOOL_t isOkcIniFeatureEnabled; |
| 2137 | #endif |
Varun Reddy Yeturu | d0a3f25 | 2013-04-15 21:58:13 -0700 | [diff] [blame] | 2138 | #ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD |
| 2139 | v_BOOL_t isRoamOffloadScanEnabled; |
| 2140 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2141 | hdd_wmm_classification_t PktClassificationBasis; // DSCP or 802.1Q |
| 2142 | v_BOOL_t bImplicitQosEnabled; |
| 2143 | |
| 2144 | /* default TSPEC parameters for AC_VO */ |
| 2145 | sme_QosWmmDirType InfraDirAcVo; |
| 2146 | v_U16_t InfraNomMsduSizeAcVo; |
| 2147 | v_U32_t InfraMeanDataRateAcVo; |
| 2148 | v_U32_t InfraMinPhyRateAcVo; |
| 2149 | v_U16_t InfraSbaAcVo; |
| 2150 | |
| 2151 | /* default TSPEC parameters for AC_VI */ |
| 2152 | sme_QosWmmDirType InfraDirAcVi; |
| 2153 | v_U16_t InfraNomMsduSizeAcVi; |
| 2154 | v_U32_t InfraMeanDataRateAcVi; |
| 2155 | v_U32_t InfraMinPhyRateAcVi; |
| 2156 | v_U16_t InfraSbaAcVi; |
| 2157 | |
| 2158 | /* default TSPEC parameters for AC_BE */ |
| 2159 | sme_QosWmmDirType InfraDirAcBe; |
| 2160 | v_U16_t InfraNomMsduSizeAcBe; |
| 2161 | v_U32_t InfraMeanDataRateAcBe; |
| 2162 | v_U32_t InfraMinPhyRateAcBe; |
| 2163 | v_U16_t InfraSbaAcBe; |
| 2164 | |
| 2165 | /* default TSPEC parameters for AC_BK */ |
| 2166 | sme_QosWmmDirType InfraDirAcBk; |
| 2167 | v_U16_t InfraNomMsduSizeAcBk; |
| 2168 | v_U32_t InfraMeanDataRateAcBk; |
| 2169 | v_U32_t InfraMinPhyRateAcBk; |
| 2170 | v_U16_t InfraSbaAcBk; |
| 2171 | |
| 2172 | /* TL related configuration */ |
| 2173 | v_U8_t WfqBkWeight; |
| 2174 | v_U8_t WfqBeWeight; |
| 2175 | v_U8_t WfqViWeight; |
| 2176 | v_U8_t WfqVoWeight; |
| 2177 | v_U32_t DelayedTriggerFrmInt; |
| 2178 | |
| 2179 | /* Wowl pattern */ |
| 2180 | char wowlPattern[1024]; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2181 | |
| 2182 | /* Control for Replay counetr. value 1 means |
| 2183 | single replay counter for all TID*/ |
| 2184 | v_BOOL_t bSingleTidRc; |
| 2185 | v_U8_t mcastBcastFilterSetting; |
| 2186 | v_BOOL_t fhostArpOffload; |
Gopichand Nakkala | 746a945 | 2013-06-11 12:45:54 +0530 | [diff] [blame] | 2187 | v_BOOL_t fhostNSOffload; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2188 | v_BOOL_t burstSizeDefinition; |
| 2189 | v_U8_t tsInfoAckPolicy; |
| 2190 | |
| 2191 | /* RF Settling Time Clock */ |
| 2192 | v_U32_t rfSettlingTimeUs; |
| 2193 | v_U8_t enableBtAmp; |
| 2194 | #ifdef WLAN_BTAMP_FEATURE |
| 2195 | v_U8_t preferredChannel; |
| 2196 | #endif //WLAN_BTAMP_FEATURE |
| 2197 | |
| 2198 | v_U8_t dynamicPsPollValue; |
| 2199 | v_BOOL_t AddTSWhenACMIsOff; |
| 2200 | v_BOOL_t fValidateScanList; |
| 2201 | |
| 2202 | v_U32_t infraStaKeepAlivePeriod; |
| 2203 | v_U8_t nNullDataApRespTimeout; |
| 2204 | v_U8_t nBandCapability; |
| 2205 | |
| 2206 | v_U32_t apDataAvailPollPeriodInMs; |
| 2207 | v_BOOL_t fEnableBeaconEarlyTermination; |
| 2208 | v_BOOL_t teleBcnWakeupEn; |
| 2209 | |
Varun Reddy Yeturu | 587e680 | 2013-01-24 12:21:41 -0800 | [diff] [blame] | 2210 | /* VOS Trace Control*/ |
| 2211 | v_U16_t vosTraceEnableBAP; |
| 2212 | v_U16_t vosTraceEnableTL; |
| 2213 | v_U16_t vosTraceEnableWDI; |
| 2214 | v_U16_t vosTraceEnableHDD; |
| 2215 | v_U16_t vosTraceEnableSME; |
| 2216 | v_U16_t vosTraceEnablePE; |
Katya Nigam | 70d6833 | 2013-09-16 16:49:45 +0530 | [diff] [blame] | 2217 | v_U16_t vosTraceEnablePMC; |
Varun Reddy Yeturu | 587e680 | 2013-01-24 12:21:41 -0800 | [diff] [blame] | 2218 | v_U16_t vosTraceEnableWDA; |
| 2219 | v_U16_t vosTraceEnableSYS; |
| 2220 | v_U16_t vosTraceEnableVOSS; |
Varun Reddy Yeturu | 587e680 | 2013-01-24 12:21:41 -0800 | [diff] [blame] | 2221 | v_U16_t vosTraceEnableSAP; |
| 2222 | v_U16_t vosTraceEnableHDDSAP; |
Varun Reddy Yeturu | 587e680 | 2013-01-24 12:21:41 -0800 | [diff] [blame] | 2223 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2224 | /* WDI Trace Control */ |
| 2225 | v_U32_t wdiTraceEnableDAL; |
| 2226 | v_U32_t wdiTraceEnableCTL; |
| 2227 | v_U32_t wdiTraceEnableDAT; |
| 2228 | v_U32_t wdiTraceEnablePAL; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2229 | v_U16_t nTeleBcnTransListenInterval; |
| 2230 | v_U16_t nTeleBcnMaxListenInterval; |
| 2231 | v_U16_t nTeleBcnTransLiNumIdleBeacons; |
| 2232 | v_U16_t nTeleBcnMaxLiNumIdleBeacons; |
| 2233 | v_U8_t bcnEarlyTermWakeInterval; |
| 2234 | v_U32_t enableCloseLoop; |
| 2235 | v_U8_t enableBypass11d; |
| 2236 | v_U8_t enableDFSChnlScan; |
| 2237 | v_U8_t enableDynamicDTIM; |
| 2238 | v_U8_t enableAutomaticTxPowerControl; |
| 2239 | v_U8_t ShortGI40MhzEnable; |
| 2240 | eHddLinkSpeedReportType reportMaxLinkSpeed; |
| 2241 | v_S31_t linkSpeedRssiHigh; |
Madan Mohan Koyyalamudi | d502607 | 2012-11-30 14:56:21 -0800 | [diff] [blame] | 2242 | #if defined (WLAN_FEATURE_VOWIFI_11R) || defined (FEATURE_WLAN_CCX) || defined(FEATURE_WLAN_LFR) |
| 2243 | v_BOOL_t nRoamPrefer5GHz; |
Srinivas Girigowda | bbd16eb | 2013-03-21 12:34:46 -0700 | [diff] [blame] | 2244 | v_BOOL_t nRoamIntraBand; |
Varun Reddy Yeturu | 920df21 | 2013-05-22 08:07:23 -0700 | [diff] [blame] | 2245 | v_U8_t nProbes; |
| 2246 | v_U16_t nRoamScanHomeAwayTime; |
Madan Mohan Koyyalamudi | d502607 | 2012-11-30 14:56:21 -0800 | [diff] [blame] | 2247 | #endif |
Madan Mohan Koyyalamudi | 8df78d5 | 2012-11-02 12:30:06 -0700 | [diff] [blame] | 2248 | v_S31_t linkSpeedRssiMid; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2249 | v_S31_t linkSpeedRssiLow; |
| 2250 | v_U8_t enableMCC; |
Mohit Khanna | 7ed53f0 | 2012-09-11 17:52:10 -0700 | [diff] [blame] | 2251 | v_U8_t allowMCCGODiffBI; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2252 | v_BOOL_t isP2pDeviceAddrAdministrated; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2253 | v_U8_t thermalMitigationEnable; |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 2254 | #ifdef WLAN_FEATURE_11AC |
| 2255 | v_U8_t vhtChannelWidth; |
| 2256 | v_U8_t vhtRxMCS; |
| 2257 | v_U8_t vhtTxMCS; |
Shailender Karmuchi | 08f87c2 | 2013-01-17 12:51:24 -0800 | [diff] [blame] | 2258 | v_BOOL_t enableTxBF; |
Shailender Karmuchi | cc3fe44 | 2013-02-16 18:18:33 -0800 | [diff] [blame] | 2259 | v_U8_t txBFCsnValue; |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 2260 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2261 | v_U8_t enableModulatedDTIM; |
Jeff Johnson | d13512a | 2012-07-17 11:42:19 -0700 | [diff] [blame] | 2262 | v_U32_t fEnableMCAddrList; |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 2263 | v_BOOL_t enableFirstScan2GOnly; |
| 2264 | v_BOOL_t skipDfsChnlInP2pSearch; |
| 2265 | v_BOOL_t ignoreDynamicDtimInP2pMode; |
Madan Mohan Koyyalamudi | d5f04ca | 2012-11-06 15:51:26 -0800 | [diff] [blame] | 2266 | v_U16_t configMccParam; |
Madan Mohan Koyyalamudi | dd11eaf | 2012-11-02 16:04:21 -0700 | [diff] [blame] | 2267 | v_U32_t numBuffAdvert; |
Pratik Bhalgat | 6bfd142 | 2012-11-22 17:09:40 +0530 | [diff] [blame] | 2268 | v_BOOL_t enableRxSTBC; |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 2269 | #ifdef FEATURE_WLAN_TDLS |
| 2270 | v_BOOL_t fEnableTDLSSupport; |
Hoonki Lee | bf870f3 | 2013-01-19 15:53:30 +0530 | [diff] [blame] | 2271 | v_BOOL_t fEnableTDLSImplicitTrigger; |
| 2272 | v_U32_t fTDLSTxStatsPeriod; |
| 2273 | v_U32_t fTDLSTxPacketThreshold; |
| 2274 | v_U32_t fTDLSDiscoveryPeriod; |
| 2275 | v_U32_t fTDLSMaxDiscoveryAttempt; |
Chilam Ng | 0112041 | 2013-02-19 18:32:21 -0800 | [diff] [blame] | 2276 | v_U32_t fTDLSIdleTimeout; |
| 2277 | v_U32_t fTDLSIdlePacketThreshold; |
| 2278 | v_U32_t fTDLSRSSIHysteresis; |
| 2279 | v_S31_t fTDLSRSSITriggerThreshold; |
| 2280 | v_S31_t fTDLSRSSITeardownThreshold; |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 2281 | v_U32_t fTDLSUapsdMask; // what ACs to setup U-APSD for TDLS |
| 2282 | v_U32_t fEnableTDLSBufferSta; |
| 2283 | v_U32_t fTDLSPuapsdInactivityTimer; |
| 2284 | v_U32_t fTDLSRxFrameThreshold; |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 2285 | #endif |
Madan Mohan Koyyalamudi | 0d40e66 | 2012-12-07 14:24:14 -0800 | [diff] [blame] | 2286 | v_U32_t enableLpwrImgTransition; |
Gopichand Nakkala | 976e325 | 2013-01-03 15:45:56 -0800 | [diff] [blame] | 2287 | #ifdef WLAN_SOFTAP_VSTA_FEATURE |
| 2288 | v_BOOL_t fEnableVSTASupport; |
| 2289 | #endif |
Yathish | 9f22e66 | 2012-12-10 14:21:35 -0800 | [diff] [blame] | 2290 | #ifdef WLAN_ACTIVEMODE_OFFLOAD_FEATURE |
| 2291 | v_BOOL_t fEnableActiveModeOffload; |
| 2292 | #endif |
Sandeep Puligilla | 2b6dc63 | 2012-12-17 14:44:16 -0800 | [diff] [blame] | 2293 | v_U8_t scanAgingTimeout; |
Gopichand Nakkala | b2d2c31 | 2013-01-04 11:41:02 -0800 | [diff] [blame] | 2294 | v_BOOL_t enableTxLdpc; |
Leela V Kiran Kumar Reddy Chirala | b1f7d34 | 2013-02-11 00:27:02 -0800 | [diff] [blame] | 2295 | v_U8_t disableLDPCWithTxbfAP; |
Madan Mohan Koyyalamudi | 01cba04 | 2013-01-10 21:56:05 -0800 | [diff] [blame] | 2296 | v_U8_t enableMCCAdaptiveScheduler; |
Madan Mohan Koyyalamudi | 69b3418 | 2013-01-16 08:51:40 +0530 | [diff] [blame] | 2297 | v_BOOL_t isAndroidPsEn; |
Madan Mohan Koyylamudi | 64267f7 | 2013-02-05 14:07:08 +0530 | [diff] [blame] | 2298 | v_BOOL_t sapAllowAllChannel; |
Kiran Kumar Lokere | 1f39e95 | 2013-04-03 18:34:30 -0700 | [diff] [blame] | 2299 | v_U8_t retryLimitZero; |
| 2300 | v_U8_t retryLimitOne; |
| 2301 | v_U8_t retryLimitTwo; |
Kiran Kumar Lokere | 458d732 | 2013-05-29 14:29:43 -0700 | [diff] [blame] | 2302 | v_U8_t disableAggWithBtc; |
Tushnim Bhattacharyya | 9cdf608 | 2013-04-21 16:33:30 -0700 | [diff] [blame] | 2303 | char listOfNonDfsCountryCode[128]; |
Gopichand Nakkala | e620d5a | 2013-04-26 05:45:57 -0700 | [diff] [blame] | 2304 | v_BOOL_t enableSSR; |
Gopichand Nakkala | dacbcb5 | 2013-04-18 16:41:54 +0530 | [diff] [blame] | 2305 | char listOfNon11acCountryCode[128]; |
Gopichand Nakkala | 42bc89e | 2013-05-27 12:49:09 +0530 | [diff] [blame] | 2306 | v_U32_t cfgMaxMediumTime; |
Leo Chang | 64d68bc | 2013-06-04 15:40:52 -0700 | [diff] [blame] | 2307 | v_U8_t enableTrafficMonitor; |
| 2308 | v_U32_t trafficIdleTimeout; |
Ravi Joshi | 83bfaa1 | 2013-05-28 22:12:08 -0700 | [diff] [blame] | 2309 | v_BOOL_t enableVhtFor24GHzBand; |
Gopichand Nakkala | 154bda2 | 2013-06-11 17:41:22 +0530 | [diff] [blame] | 2310 | v_U8_t fScanOffload; |
Srinivas Girigowda | 830bbd0 | 2013-06-13 19:44:16 -0700 | [diff] [blame] | 2311 | #ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD |
| 2312 | /* Flag indicating whether legacy fast roam during concurrency is enabled in cfg.ini or not */ |
| 2313 | v_BOOL_t bFastRoamInConIniFeatureEnabled; |
| 2314 | #endif |
Sudhir Sattayappa Kohalli | da1be20 | 2013-07-11 12:04:30 -0700 | [diff] [blame] | 2315 | v_BOOL_t fEnableAdaptRxDrain; |
Sudhir Sattayappa Kohalli | 3762069 | 2013-08-05 14:02:26 -0700 | [diff] [blame] | 2316 | //TX and RX traffic threshold for split scan |
| 2317 | v_U8_t txRxThresholdForSplitScan; |
| 2318 | v_U8_t dynSplitscan; //Enable/Disable dynamic |
| 2319 | //splitscan |
| 2320 | //Traffic monitor timer for split scan |
| 2321 | v_U32_t trafficMntrTmrForSplitScan; |
Yue Ma | 0fd2387 | 2013-08-01 15:56:47 -0700 | [diff] [blame] | 2322 | v_U8_t flexConnectPowerFactor; |
Ravi Joshi | d2ca7c4 | 2013-07-23 08:37:49 -0700 | [diff] [blame] | 2323 | v_BOOL_t enableIbssHeartBeatOffload; |
Madan Mohan Koyyalamudi | ca45457 | 2013-08-07 19:57:03 +0530 | [diff] [blame] | 2324 | v_U32_t antennaDiversity; |
Madan Mohan Koyyalamudi | d9383fd | 2013-08-13 09:27:30 +0530 | [diff] [blame] | 2325 | v_BOOL_t fEnableSNRMonitoring; |
Madan Mohan Koyyalamudi | 1d16f46 | 2013-08-27 16:25:34 +0530 | [diff] [blame] | 2326 | /*PNO related parameters */ |
| 2327 | #if FEATURE_WLAN_SCAN_PNO |
| 2328 | v_U32_t configPNOScanTimerRepeatValue; |
| 2329 | #endif |
krunal soni | 5afa96c | 2013-09-06 22:19:02 -0700 | [diff] [blame] | 2330 | v_U8_t isAmsduSupportInAMPDU; |
Srinivas Girigowda | 41c7c5f | 2013-10-21 19:01:38 -0700 | [diff] [blame^] | 2331 | v_U8_t nSelect5GHzMargin; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2332 | } hdd_config_t; |
| 2333 | /*--------------------------------------------------------------------------- |
| 2334 | Function declarations and documenation |
| 2335 | -------------------------------------------------------------------------*/ |
| 2336 | VOS_STATUS hdd_parse_config_ini(hdd_context_t *pHddCtx); |
| 2337 | VOS_STATUS hdd_set_sme_config( hdd_context_t *pHddCtx ); |
| 2338 | v_BOOL_t hdd_update_config_dat ( hdd_context_t *pHddCtx ); |
| 2339 | VOS_STATUS hdd_cfg_get_config(hdd_context_t *pHddCtx, char *pBuf, int buflen); |
| 2340 | eCsrPhyMode hdd_cfg_xlate_to_csr_phy_mode( eHddDot11Mode dot11Mode ); |
| 2341 | VOS_STATUS hdd_execute_config_command(hdd_context_t *pHddCtx, char *command); |
Srinivas Girigowda | bbd16eb | 2013-03-21 12:34:46 -0700 | [diff] [blame] | 2342 | tANI_BOOLEAN hdd_is_okc_mode_enabled(hdd_context_t *pHddCtx); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 2343 | |
| 2344 | #define FIELD_OFFSET(__type, __field) ((unsigned int)(&((__type *)0)->__field)) |
| 2345 | #define VAR_OFFSET( _Struct, _Var ) ( (unsigned int) FIELD_OFFSET(_Struct, _Var ) ) |
| 2346 | #define VAR_SIZE( _Struct, _Var ) sizeof( ((_Struct *)0)->_Var ) |
| 2347 | |
| 2348 | #define VAR_FLAGS_NONE ( 0 ) |
| 2349 | #define VAR_FLAGS_REQUIRED ( 1 << 0 ) // bit 0 is Required or Optional |
| 2350 | #define VAR_FLAGS_OPTIONAL ( 0 << 0 ) |
| 2351 | |
| 2352 | #define VAR_FLAGS_RANGE_CHECK ( 1 << 1 ) // bit 1 tells if range checking is required. |
| 2353 | // If less than MIN, assume MIN. |
| 2354 | // If greater than MAX, assume MAX. |
| 2355 | |
| 2356 | #define VAR_FLAGS_RANGE_CHECK_ASSUME_MINMAX ( VAR_FLAGS_RANGE_CHECK ) |
| 2357 | |
| 2358 | #define VAR_FLAGS_RANGE_CHECK_ASSUME_DEFAULT ( 1 << 2 ) // bit 2 is range checking that assumes the DEFAULT value |
| 2359 | // If less than MIN, assume DEFAULT, |
| 2360 | // If grateer than MAX, assume DEFAULT. |
| 2361 | |
| 2362 | #define VAR_FLAGS_DYNAMIC_CFG ( 1 << 3 ) // Bit 3 indicates that |
| 2363 | // the config item can be |
| 2364 | // modified dynamicially |
| 2365 | // on a running system |
| 2366 | |
| 2367 | typedef enum |
| 2368 | { |
| 2369 | WLAN_PARAM_Integer, |
| 2370 | WLAN_PARAM_SignedInteger, |
| 2371 | WLAN_PARAM_HexInteger, |
| 2372 | WLAN_PARAM_String, |
| 2373 | WLAN_PARAM_MacAddr, |
| 2374 | }WLAN_PARAMETER_TYPE; |
| 2375 | |
| 2376 | #define REG_VARIABLE( _Name, _Type, _Struct, _VarName, \ |
| 2377 | _Flags, _Default, _Min, _Max ) \ |
| 2378 | { \ |
| 2379 | ( _Name ), \ |
| 2380 | ( _Type ), \ |
| 2381 | ( _Flags ), \ |
| 2382 | VAR_OFFSET( _Struct, _VarName ), \ |
| 2383 | VAR_SIZE( _Struct, _VarName ), \ |
| 2384 | ( _Default ), \ |
| 2385 | ( _Min ), \ |
| 2386 | ( _Max ), \ |
| 2387 | NULL, \ |
| 2388 | 0 \ |
| 2389 | } |
| 2390 | |
| 2391 | #define REG_DYNAMIC_VARIABLE( _Name, _Type, _Struct, _VarName, \ |
| 2392 | _Flags, _Default, _Min, _Max, \ |
| 2393 | _CBFunc, _CBParam ) \ |
| 2394 | { \ |
| 2395 | ( _Name ), \ |
| 2396 | ( _Type ), \ |
| 2397 | ( VAR_FLAGS_DYNAMIC_CFG | ( _Flags ) ), \ |
| 2398 | VAR_OFFSET( _Struct, _VarName ), \ |
| 2399 | VAR_SIZE( _Struct, _VarName ), \ |
| 2400 | ( _Default ), \ |
| 2401 | ( _Min ), \ |
| 2402 | ( _Max ), \ |
| 2403 | ( _CBFunc ), \ |
| 2404 | ( _CBParam ) \ |
| 2405 | } |
| 2406 | |
| 2407 | #define REG_VARIABLE_STRING( _Name, _Type, _Struct, _VarName, \ |
| 2408 | _Flags, _Default ) \ |
| 2409 | { \ |
| 2410 | ( _Name ), \ |
| 2411 | ( _Type ), \ |
| 2412 | ( _Flags ), \ |
| 2413 | VAR_OFFSET( _Struct, _VarName ), \ |
| 2414 | VAR_SIZE( _Struct, _VarName ), \ |
| 2415 | (unsigned long)( _Default ), \ |
| 2416 | 0, \ |
| 2417 | 0, \ |
| 2418 | NULL, \ |
| 2419 | 0 \ |
| 2420 | } |
| 2421 | |
| 2422 | typedef struct tREG_TABLE_ENTRY { |
| 2423 | |
| 2424 | char* RegName; // variable name in the qcom_cfg.ini file |
| 2425 | WLAN_PARAMETER_TYPE RegType; // variable type in the hdd_config_t structure |
| 2426 | unsigned long Flags; // Specify optional parms and if RangeCheck is performed |
| 2427 | unsigned short VarOffset; // offset to field from the base address of the structure |
| 2428 | unsigned short VarSize; // size (in bytes) of the field |
| 2429 | unsigned long VarDefault; // default value to use |
| 2430 | unsigned long VarMin; // minimum value, for range checking |
| 2431 | unsigned long VarMax; // maximum value, for range checking |
| 2432 | // Dynamic modification notifier |
| 2433 | void (*pfnDynamicNotify)(hdd_context_t *pHddCtx, unsigned long NotifyId); |
| 2434 | unsigned long NotifyId; // Dynamic modification identifier |
| 2435 | } REG_TABLE_ENTRY; |
| 2436 | |
| 2437 | static __inline unsigned long utilMin( unsigned long a, unsigned long b ) |
| 2438 | { |
| 2439 | return( ( a < b ) ? a : b ); |
| 2440 | } |
| 2441 | |
| 2442 | #endif |