Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1 | /* |
Jiachao Wu | 6e9b9f9 | 2018-01-03 13:35:40 +0800 | [diff] [blame] | 2 | * Copyright (c) 2012-2018 The Linux Foundation. All rights reserved. |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3 | * |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4 | * Permission to use, copy, modify, and/or distribute this software for |
| 5 | * any purpose with or without fee is hereby granted, provided that the |
| 6 | * above copyright notice and this permission notice appear in all |
| 7 | * copies. |
| 8 | * |
| 9 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL |
| 10 | * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED |
| 11 | * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE |
| 12 | * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL |
| 13 | * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR |
| 14 | * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
| 15 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
| 16 | * PERFORMANCE OF THIS SOFTWARE. |
| 17 | */ |
| 18 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 19 | #if !defined(HDD_CONFIG_H__) |
| 20 | #define HDD_CONFIG_H__ |
| 21 | |
| 22 | /** |
| 23 | * |
| 24 | * DOC: wlan_hdd_config.h |
| 25 | * |
| 26 | * WLAN Adapter Configuration functions |
| 27 | */ |
| 28 | |
| 29 | /* $HEADER$ */ |
| 30 | |
| 31 | /* Include files */ |
| 32 | #include <wlan_hdd_includes.h> |
| 33 | #include <wlan_hdd_wmm.h> |
Anurag Chouhan | 6d76066 | 2016-02-20 16:05:43 +0530 | [diff] [blame] | 34 | #include <qdf_types.h> |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 35 | #include <csr_api.h> |
| 36 | #include <sap_api.h> |
Govind Singh | 5b48620 | 2016-06-09 18:29:42 +0530 | [diff] [blame] | 37 | #include "osapi_linux.h" |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 38 | #include <wmi_unified.h> |
Dustin Brown | 1224e21 | 2017-05-12 14:02:12 -0700 | [diff] [blame] | 39 | #include "wlan_pmo_hw_filter_public_struct.h" |
Rajeev Kumar Sirasanagandla | 4725ae4 | 2018-05-24 22:33:34 +0530 | [diff] [blame] | 40 | #include "wlan_action_oui_public_struct.h" |
Jeff Johnson | c57c13a | 2018-04-01 11:03:29 -0700 | [diff] [blame] | 41 | #include "wlan_hdd_green_ap_cfg.h" |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 42 | |
Jeff Johnson | b6909be | 2017-08-28 12:07:19 -0700 | [diff] [blame] | 43 | struct hdd_context; |
| 44 | |
Jiachao Wu | 6e9b9f9 | 2018-01-03 13:35:40 +0800 | [diff] [blame] | 45 | #define FW_MODULE_LOG_LEVEL_STRING_LENGTH (512) |
gbian | 62edd7e | 2017-03-07 13:12:13 +0800 | [diff] [blame] | 46 | #define TX_SCHED_WRR_PARAM_STRING_LENGTH (50) |
| 47 | #define TX_SCHED_WRR_PARAMS_NUM (5) |
Mohit Khanna | 7032200 | 2018-05-15 19:21:32 -0700 | [diff] [blame] | 48 | #define CFG_ENABLE_RX_THREAD BIT(0) |
| 49 | #define CFG_ENABLE_RPS BIT(1) |
| 50 | #define CFG_ENABLE_NAPI BIT(2) |
| 51 | #define CFG_ENABLE_DYNAMIC_RPS BIT(3) |
| 52 | #define CFG_ENABLE_DP_RX_THREADS BIT(4) |
Nirav Shah | bd36b06 | 2016-07-18 11:12:59 +0530 | [diff] [blame] | 53 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 54 | #ifdef DHCP_SERVER_OFFLOAD |
| 55 | #define IPADDR_NUM_ENTRIES (4) |
| 56 | #define IPADDR_STRING_LENGTH (16) |
| 57 | #endif |
| 58 | |
Nitesh Shah | 50a3de1 | 2017-04-03 19:37:19 +0530 | [diff] [blame] | 59 | #define CFG_DBS_SCAN_PARAM_LENGTH (42) |
| 60 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 61 | /* Number of items that can be configured */ |
Srinivas Girigowda | ba3091c | 2015-11-16 17:18:40 -0800 | [diff] [blame] | 62 | #define MAX_CFG_INI_ITEMS 1024 |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 63 | |
Rajeev Kumar Sirasanagandla | aec0b08 | 2017-06-21 11:59:41 +0530 | [diff] [blame] | 64 | #define MAX_PRB_REQ_VENDOR_OUI_INI_LEN 160 |
| 65 | #define VENDOR_SPECIFIC_IE_BITMAP 0x20000000 |
| 66 | |
Sourav Mohapatra | 57006c7 | 2017-11-19 16:15:55 +0530 | [diff] [blame] | 67 | #define CFG_CONCURRENT_IFACE_MAX_LEN 16 |
| 68 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 69 | /* Defines for all of the things we read from the configuration (registry). */ |
Ashish Kumar Dhanotiya | 470af29 | 2017-05-31 20:46:00 +0530 | [diff] [blame] | 70 | /* |
| 71 | * <ini> |
| 72 | * gEnableConnectedScan - Will enable or disable scan in connected state |
| 73 | * @Min: 0 |
| 74 | * @Max: 1 |
| 75 | * @Default: 1 |
| 76 | * |
| 77 | * This ini is used to enable or disable the scanning in |
| 78 | * Connected state |
| 79 | * |
| 80 | * Related: None |
| 81 | * |
| 82 | * Supported Feature: STA |
| 83 | * |
| 84 | * Usage: External |
| 85 | * |
| 86 | * <ini> |
| 87 | */ |
| 88 | |
| 89 | #define CFG_ENABLE_CONNECTED_SCAN_NAME "gEnableConnectedScan" |
| 90 | #define CFG_ENABLE_CONNECTED_SCAN_MIN (0) |
| 91 | #define CFG_ENABLE_CONNECTED_SCAN_MAX (1) |
| 92 | #define CFG_ENABLE_CONNECTED_SCAN_DEFAULT (1) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 93 | |
Alok Kumar | b64650c | 2018-03-23 17:05:11 +0530 | [diff] [blame] | 94 | #ifdef WLAN_NUD_TRACKING |
| 95 | /* |
| 96 | * <ini> |
| 97 | * gEnableNUDTracking - Will enable or disable NUD tracking within driver |
| 98 | * @Min: 0 |
| 99 | * @Max: 1 |
| 100 | * @Default: 0 |
| 101 | * |
| 102 | * This ini is used to enable or disable NUD tracking within driver |
| 103 | * |
| 104 | * Related: None |
| 105 | * |
| 106 | * Supported Feature: STA |
| 107 | * |
| 108 | * Usage: External |
| 109 | * |
| 110 | * <ini> |
| 111 | */ |
| 112 | |
| 113 | #define CFG_ENABLE_NUD_TRACKING_NAME "gEnableNUDTracking" |
| 114 | #define CFG_ENABLE_NUD_TRACKING_MIN (0) |
| 115 | #define CFG_ENABLE_NUD_TRACKING_MAX (1) |
| 116 | #define CFG_ENABLE_NUD_TRACKING_DEFAULT (0) |
| 117 | #endif |
| 118 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 119 | /* |
| 120 | * <ini> |
| 121 | * RTSThreshold - Will provide RTSThreshold |
| 122 | * @Min: 0 |
| 123 | * @Max: 1048576 |
| 124 | * @Default: 2347 |
| 125 | * |
| 126 | * This ini is used to set default RTSThreshold |
| 127 | * If minimum value 0 is selectd then it will use always RTS |
| 128 | * |
| 129 | * Related: None |
| 130 | * |
| 131 | * Supported Feature: STA |
| 132 | * |
| 133 | * Usage: Internal/External |
| 134 | * |
| 135 | * </ini> |
| 136 | */ |
| 137 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 138 | #define CFG_RTS_THRESHOLD_NAME "RTSThreshold" |
| 139 | #define CFG_RTS_THRESHOLD_MIN WNI_CFG_RTS_THRESHOLD_STAMIN /* min is 0, meaning always use RTS. */ |
| 140 | #define CFG_RTS_THRESHOLD_MAX WNI_CFG_RTS_THRESHOLD_STAMAX /* max is the max frame size */ |
| 141 | #define CFG_RTS_THRESHOLD_DEFAULT WNI_CFG_RTS_THRESHOLD_STADEF |
| 142 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 143 | /* |
| 144 | * <ini> |
| 145 | * gFragmentationThreshold - It will set fragmentation threshold |
| 146 | * @Min: 256 |
| 147 | * @Max: 8000 |
| 148 | * @Default: 8000 |
| 149 | * |
| 150 | * This ini is used to indicate default fragmentation threshold |
| 151 | * |
| 152 | * Related: None |
| 153 | * |
| 154 | * Supported Feature: STA |
| 155 | * |
| 156 | * Usage: Internal/External |
| 157 | * |
| 158 | * </ini> |
| 159 | */ |
| 160 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 161 | #define CFG_FRAG_THRESHOLD_NAME "gFragmentationThreshold" |
| 162 | #define CFG_FRAG_THRESHOLD_MIN WNI_CFG_FRAGMENTATION_THRESHOLD_STAMIN |
| 163 | #define CFG_FRAG_THRESHOLD_MAX WNI_CFG_FRAGMENTATION_THRESHOLD_STAMAX |
| 164 | #define CFG_FRAG_THRESHOLD_DEFAULT WNI_CFG_FRAGMENTATION_THRESHOLD_STADEF |
| 165 | |
| 166 | #define CFG_OPERATING_CHANNEL_NAME "gOperatingChannel" |
| 167 | #define CFG_OPERATING_CHANNEL_MIN (0) |
| 168 | #define CFG_OPERATING_CHANNEL_MAX (14) |
| 169 | #define CFG_OPERATING_CHANNEL_DEFAULT (1) |
| 170 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 171 | /* |
| 172 | * <ini> |
| 173 | * gShortSlotTimeEnabled - It will set slot timing slot. |
| 174 | * @Min: 0 |
| 175 | * @Max: 1 |
| 176 | * @Default: 1 |
| 177 | * |
| 178 | * This ini is used to set default timing slot. |
| 179 | * |
| 180 | * Related: None |
| 181 | * |
| 182 | * Supported Feature: STA |
| 183 | * |
| 184 | * Usage: Internal/External |
| 185 | * |
| 186 | * </ini> |
| 187 | */ |
| 188 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 189 | #define CFG_SHORT_SLOT_TIME_ENABLED_NAME "gShortSlotTimeEnabled" |
| 190 | #define CFG_SHORT_SLOT_TIME_ENABLED_MIN WNI_CFG_SHORT_SLOT_TIME_STAMIN |
| 191 | #define CFG_SHORT_SLOT_TIME_ENABLED_MAX WNI_CFG_SHORT_SLOT_TIME_STAMAX |
| 192 | #define CFG_SHORT_SLOT_TIME_ENABLED_DEFAULT WNI_CFG_SHORT_SLOT_TIME_STADEF |
| 193 | |
| 194 | #define CFG_11D_SUPPORT_ENABLED_NAME "g11dSupportEnabled" |
| 195 | #define CFG_11D_SUPPORT_ENABLED_MIN WNI_CFG_11D_ENABLED_STAMIN |
| 196 | #define CFG_11D_SUPPORT_ENABLED_MAX WNI_CFG_11D_ENABLED_STAMAX |
| 197 | #define CFG_11D_SUPPORT_ENABLED_DEFAULT WNI_CFG_11D_ENABLED_STADEF /* Default is ON */ |
| 198 | |
Amar Singhal | 0fcce7d | 2018-08-01 13:20:58 -0700 | [diff] [blame] | 199 | /* |
| 200 | * <ini> |
| 201 | * enable_11d_in_world_mode - enable 11d in world mode |
| 202 | * @Min: 0 |
| 203 | * @Max: 1 |
| 204 | * @Default: 0 |
| 205 | * |
| 206 | * This ini enables 11d in world mode, irrespective of value of |
| 207 | * g11dSupportEnabled |
| 208 | * |
| 209 | * Usage: External |
| 210 | * |
| 211 | * </ini> |
| 212 | */ |
| 213 | #define CFG_ENABLE_11D_IN_WORLD_MODE_NAME "enable_11d_in_world_mode" |
| 214 | #define CFG_ENABLE_11D_IN_WORLD_MODE_MIN (0) |
| 215 | #define CFG_ENABLE_11D_IN_WORLD_MODE_MAX (1) |
| 216 | #define CFG_ENABLE_11D_IN_WORLD_MODE_DEFAULT (0) |
| 217 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 218 | #define CFG_11H_SUPPORT_ENABLED_NAME "g11hSupportEnabled" |
| 219 | #define CFG_11H_SUPPORT_ENABLED_MIN (0) |
| 220 | #define CFG_11H_SUPPORT_ENABLED_MAX (1) |
| 221 | #define CFG_11H_SUPPORT_ENABLED_DEFAULT (1) /* Default is ON */ |
| 222 | |
| 223 | /* COUNTRY Code Priority */ |
| 224 | #define CFG_COUNTRY_CODE_PRIORITY_NAME "gCountryCodePriority" |
| 225 | #define CFG_COUNTRY_CODE_PRIORITY_MIN (0) |
| 226 | #define CFG_COUNTRY_CODE_PRIORITY_MAX (1) |
| 227 | #define CFG_COUNTRY_CODE_PRIORITY_DEFAULT (0) |
| 228 | |
| 229 | #define CFG_HEARTBEAT_THRESH_24_NAME "gHeartbeat24" |
| 230 | #define CFG_HEARTBEAT_THRESH_24_MIN WNI_CFG_HEART_BEAT_THRESHOLD_STAMIN |
| 231 | #define CFG_HEARTBEAT_THRESH_24_MAX WNI_CFG_HEART_BEAT_THRESHOLD_STAMAX |
| 232 | #define CFG_HEARTBEAT_THRESH_24_DEFAULT WNI_CFG_HEART_BEAT_THRESHOLD_STADEF |
| 233 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 234 | /* |
| 235 | * <ini> |
| 236 | * gMaxRxAmpduFactor - Provide the maximum ampdu factor. |
| 237 | * @Min: 0 |
| 238 | * @Max: 3 |
| 239 | * @Default: 3 |
| 240 | * |
| 241 | * This ini is used to set default maxampdu factor |
| 242 | * |
| 243 | * Related: None |
| 244 | * |
| 245 | * Supported Feature: STA |
| 246 | * |
| 247 | * Usage: Internal/External |
| 248 | * |
| 249 | * </ini> |
| 250 | */ |
| 251 | |
| 252 | #define CFG_MAX_RX_AMPDU_FACTOR_NAME "gMaxRxAmpduFactor" |
| 253 | #define CFG_MAX_RX_AMPDU_FACTOR_MIN WNI_CFG_MAX_RX_AMPDU_FACTOR_STAMIN |
| 254 | #define CFG_MAX_RX_AMPDU_FACTOR_MAX WNI_CFG_MAX_RX_AMPDU_FACTOR_STAMAX |
| 255 | #define CFG_MAX_RX_AMPDU_FACTOR_DEFAULT WNI_CFG_MAX_RX_AMPDU_FACTOR_STADEF |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 256 | |
Krishna Kumaar Natarajan | 22b59a7 | 2015-11-23 18:54:58 -0800 | [diff] [blame] | 257 | /* Configuration option for HT MPDU density (Table 8-125 802.11-2012) |
| 258 | * 0 for no restriction |
| 259 | * 1 for 1/4 micro sec |
| 260 | * 2 for 1/2 micro sec |
| 261 | * 3 for 1 micro sec |
| 262 | * 4 for 2 micro sec |
| 263 | * 5 for 4 micro sec |
| 264 | * 6 for 8 micro sec |
| 265 | * 7 for 16 micro sec |
| 266 | */ |
| 267 | #define CFG_HT_MPDU_DENSITY_NAME "ght_mpdu_density" |
| 268 | #define CFG_HT_MPDU_DENSITY_MIN WNI_CFG_MPDU_DENSITY_STAMIN |
| 269 | #define CFG_HT_MPDU_DENSITY_MAX WNI_CFG_MPDU_DENSITY_STAMAX |
| 270 | #define CFG_HT_MPDU_DENSITY_DEFAULT WNI_CFG_MPDU_DENSITY_STADEF |
| 271 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 272 | #define CFG_REG_CHANGE_DEF_COUNTRY_NAME "gRegulatoryChangeCountry" |
| 273 | #define CFG_REG_CHANGE_DEF_COUNTRY_DEFAULT (0) |
| 274 | #define CFG_REG_CHANGE_DEF_COUNTRY_MIN (0) |
| 275 | #define CFG_REG_CHANGE_DEF_COUNTRY_MAX (1) |
| 276 | |
| 277 | #define CFG_ADVERTISE_CONCURRENT_OPERATION_NAME "gAdvertiseConcurrentOperation" |
| 278 | #define CFG_ADVERTISE_CONCURRENT_OPERATION_DEFAULT (1) |
| 279 | #define CFG_ADVERTISE_CONCURRENT_OPERATION_MIN (0) |
| 280 | #define CFG_ADVERTISE_CONCURRENT_OPERATION_MAX (1) |
| 281 | |
Srinivas Girigowda | 2fb677c | 2017-03-25 15:35:34 -0700 | [diff] [blame] | 282 | enum hdd_dot11_mode { |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 283 | eHDD_DOT11_MODE_AUTO = 0, /* covers all things we support */ |
| 284 | eHDD_DOT11_MODE_abg, /* 11a/b/g only, no HT, no proprietary */ |
| 285 | eHDD_DOT11_MODE_11b, |
| 286 | eHDD_DOT11_MODE_11g, |
| 287 | eHDD_DOT11_MODE_11n, |
| 288 | eHDD_DOT11_MODE_11g_ONLY, |
| 289 | eHDD_DOT11_MODE_11n_ONLY, |
| 290 | eHDD_DOT11_MODE_11b_ONLY, |
| 291 | eHDD_DOT11_MODE_11ac_ONLY, |
| 292 | eHDD_DOT11_MODE_11ac, |
| 293 | eHDD_DOT11_MODE_11a, |
Krishna Kumaar Natarajan | 4f1d772 | 2017-03-03 21:12:51 -0800 | [diff] [blame] | 294 | eHDD_DOT11_MODE_11ax_ONLY, |
| 295 | eHDD_DOT11_MODE_11ax, |
Srinivas Girigowda | 2fb677c | 2017-03-25 15:35:34 -0700 | [diff] [blame] | 296 | }; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 297 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 298 | /* |
| 299 | * <ini> |
| 300 | * gChannelBondingMode24GHz - Configures Channel Bonding in 24 GHz |
| 301 | * @Min: 0 |
| 302 | * @Max: 10 |
| 303 | * @Default: 0 |
| 304 | * |
| 305 | * This ini is used to set default channel bonding mode 24GHZ |
| 306 | * |
| 307 | * Related: None |
| 308 | * |
| 309 | * Supported Feature: STA |
| 310 | * |
| 311 | * Usage: Internal/External |
| 312 | * |
| 313 | * </ini> |
| 314 | */ |
| 315 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 316 | #define CFG_CHANNEL_BONDING_MODE_24GHZ_NAME "gChannelBondingMode24GHz" |
| 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 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 321 | /* |
| 322 | * <ini> |
Abhishek Singh | b59f8d4 | 2017-07-31 14:42:47 +0530 | [diff] [blame] | 323 | * override_ht20_40_24g - use channel Bonding in 24 GHz from supplicant |
| 324 | * @Min: 0 |
| 325 | * @Max: 1 |
| 326 | * @Default: 0 |
| 327 | * |
| 328 | * This ini is used to use channel Bonding in 24 GHz from supplicant if |
| 329 | * gChannelBondingMode24GHz is set |
| 330 | * |
| 331 | * Related: gChannelBondingMode24GHz |
| 332 | * |
| 333 | * Supported Feature: STA |
| 334 | * |
| 335 | * Usage: Internal/External |
| 336 | * |
| 337 | * </ini> |
| 338 | */ |
| 339 | |
| 340 | #define CFG_OVERRIDE_HT40_20_24GHZ_NAME "override_ht20_40_24g" |
| 341 | #define CFG_OVERRIDE_HT40_20_24GHZ_MIN 0 |
| 342 | #define CFG_OVERRIDE_HT40_20_24GHZ_MAX 1 |
| 343 | #define CFG_OVERRIDE_HT40_20_24GHZ_DEFAULT 0 |
| 344 | |
| 345 | /* |
| 346 | * <ini> |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 347 | * gChannelBondingMode5GHz - Configures Channel Bonding in 5 GHz |
| 348 | * @Min: 0 |
| 349 | * @Max: 10 |
| 350 | * @Default: 0 |
| 351 | * |
| 352 | * This ini is used to set default channel bonding mode 5GHZ |
| 353 | * |
| 354 | * Related: None |
| 355 | * |
| 356 | * Supported Feature: STA |
| 357 | * |
| 358 | * Usage: Internal/External |
| 359 | * |
| 360 | * </ini> |
| 361 | */ |
| 362 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 363 | #define CFG_CHANNEL_BONDING_MODE_5GHZ_NAME "gChannelBondingMode5GHz" |
| 364 | #define CFG_CHANNEL_BONDING_MODE_MIN WNI_CFG_CHANNEL_BONDING_MODE_STAMIN |
| 365 | #define CFG_CHANNEL_BONDING_MODE_MAX WNI_CFG_CHANNEL_BONDING_MODE_STAMAX |
| 366 | #define CFG_CHANNEL_BONDING_MODE_DEFAULT WNI_CFG_CHANNEL_BONDING_MODE_STADEF |
| 367 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 368 | /* |
| 369 | * <ini> |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 370 | * gScanResultAgeCount - Set scan result age count |
| 371 | * @Min: 1 |
| 372 | * @Max: 100 |
| 373 | * @Default: 1 |
| 374 | * |
| 375 | * This ini parameter is the number of times a scan |
| 376 | * doesn't find it before it is removed from results. |
| 377 | * |
| 378 | * Related: None |
| 379 | * |
| 380 | * Supported Feature: Scan |
| 381 | * |
| 382 | * Usage: External |
| 383 | * |
| 384 | * </ini> |
| 385 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 386 | #define CFG_SCAN_RESULT_AGE_COUNT_NAME "gScanResultAgeCount" |
| 387 | #define CFG_SCAN_RESULT_AGE_COUNT_MIN (1) |
| 388 | #define CFG_SCAN_RESULT_AGE_COUNT_MAX (100) |
Jeff Johnson | cb331d9 | 2016-09-22 12:43:49 -0700 | [diff] [blame] | 389 | #define CFG_SCAN_RESULT_AGE_COUNT_DEFAULT (1) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 390 | |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 391 | /* |
| 392 | * <ini> |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 393 | * gNeighborScanTimerPeriod - Set neighbor scan timer period |
| 394 | * @Min: 3 |
| 395 | * @Max: 300 |
| 396 | * @Default: 200 |
| 397 | * |
| 398 | * This ini is used to set the timer period in secs after |
| 399 | * which neighbor scan is trigerred. |
| 400 | * |
| 401 | * Related: None |
| 402 | * |
| 403 | * Supported Feature: LFR Scan |
| 404 | * |
| 405 | * Usage: External |
| 406 | * |
| 407 | * </ini> |
| 408 | */ |
| 409 | #define CFG_NEIGHBOR_SCAN_TIMER_PERIOD_NAME "gNeighborScanTimerPeriod" |
| 410 | #define CFG_NEIGHBOR_SCAN_TIMER_PERIOD_MIN (3) |
| 411 | #define CFG_NEIGHBOR_SCAN_TIMER_PERIOD_MAX (300) |
Varun Reddy Yeturu | b60d522 | 2017-10-14 23:38:36 -0700 | [diff] [blame] | 412 | #define CFG_NEIGHBOR_SCAN_TIMER_PERIOD_DEFAULT (100) |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 413 | |
| 414 | /* |
| 415 | * <ini> |
Sridhar Selvaraj | 1b2330c | 2017-07-21 15:16:42 +0530 | [diff] [blame] | 416 | * gRoamRestTimeMin - Set min neighbor scan timer period |
| 417 | * @Min: 3 |
| 418 | * @Max: 300 |
| 419 | * @Default: 200 |
| 420 | * |
| 421 | * This is the min rest time after which firmware will check for traffic |
| 422 | * and if there no traffic it will move to a new channel to scan |
| 423 | * else it will stay on the home channel till gNeighborScanTimerPeriod time |
| 424 | * and then will move to a new channel to scan. |
| 425 | * |
| 426 | * Related: None |
| 427 | * |
| 428 | * Supported Feature: LFR Scan |
| 429 | * |
| 430 | * Usage: External |
| 431 | * |
| 432 | * </ini> |
| 433 | */ |
| 434 | #define CFG_NEIGHBOR_SCAN_MIN_TIMER_PERIOD_NAME "gRoamRestTimeMin" |
| 435 | #define CFG_NEIGHBOR_SCAN_MIN_TIMER_PERIOD_MIN (3) |
| 436 | #define CFG_NEIGHBOR_SCAN_MIN_TIMER_PERIOD_MAX (300) |
Varun Reddy Yeturu | b60d522 | 2017-10-14 23:38:36 -0700 | [diff] [blame] | 437 | #define CFG_NEIGHBOR_SCAN_MIN_TIMER_PERIOD_DEFAULT (50) |
Sridhar Selvaraj | 1b2330c | 2017-07-21 15:16:42 +0530 | [diff] [blame] | 438 | |
| 439 | /* |
| 440 | * <ini> |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 441 | * gOpportunisticThresholdDiff - Set oppurtunistic threshold diff |
| 442 | * @Min: 0 |
| 443 | * @Max: 127 |
| 444 | * @Default: 0 |
| 445 | * |
| 446 | * This ini is used to set opportunistic threshold diff. |
| 447 | * This parameter is the RSSI diff above neighbor lookup |
| 448 | * threshold, when opportunistic scan should be triggered. |
Jeff Johnson | 2cc31fd | 2018-05-05 23:54:23 -0700 | [diff] [blame] | 449 | * MAX value is chosen so that this type of scan can be |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 450 | * always enabled by user. |
| 451 | * MIN value will cause opportunistic scan to be triggered |
| 452 | * in neighbor lookup RSSI range. |
| 453 | * |
| 454 | * Related: None |
| 455 | * |
| 456 | * Supported Feature: LFR Scan |
| 457 | * |
| 458 | * Usage: External |
| 459 | * |
| 460 | * </ini> |
| 461 | */ |
| 462 | #define CFG_OPPORTUNISTIC_SCAN_THRESHOLD_DIFF_NAME "gOpportunisticThresholdDiff" |
| 463 | #define CFG_OPPORTUNISTIC_SCAN_THRESHOLD_DIFF_MIN (0) |
| 464 | #define CFG_OPPORTUNISTIC_SCAN_THRESHOLD_DIFF_MAX (127) |
| 465 | #define CFG_OPPORTUNISTIC_SCAN_THRESHOLD_DIFF_DEFAULT (0) |
| 466 | |
| 467 | /* |
| 468 | * <ini> |
| 469 | * gNeighborScanChannelList - Set channels to be scanned |
| 470 | * by firmware for LFR scan |
| 471 | * @Default: "" |
| 472 | * |
| 473 | * This ini is used to set the channels to be scanned |
| 474 | * by firmware for LFR scan. |
| 475 | * |
| 476 | * Related: None |
| 477 | * |
| 478 | * Supported Feature: LFR Scan |
| 479 | * |
| 480 | * Usage: External |
| 481 | * |
| 482 | * </ini> |
| 483 | */ |
| 484 | #define CFG_NEIGHBOR_SCAN_CHAN_LIST_NAME "gNeighborScanChannelList" |
| 485 | #define CFG_NEIGHBOR_SCAN_CHAN_LIST_DEFAULT "" |
| 486 | |
| 487 | /* |
| 488 | * <ini> |
| 489 | * gNeighborScanChannelMinTime - Set neighbor scan channel min time |
| 490 | * @Min: 10 |
| 491 | * @Max: 40 |
| 492 | * @Default: 20 |
| 493 | * |
| 494 | * This ini is used to set the minimum time in secs spent on each |
| 495 | * channel in LFR scan inside firmware. |
| 496 | * |
| 497 | * Related: None |
| 498 | * |
| 499 | * Supported Feature: LFR Scan |
| 500 | * |
| 501 | * Usage: External |
| 502 | * |
| 503 | * </ini> |
| 504 | */ |
| 505 | #define CFG_NEIGHBOR_SCAN_MIN_CHAN_TIME_NAME "gNeighborScanChannelMinTime" |
| 506 | #define CFG_NEIGHBOR_SCAN_MIN_CHAN_TIME_MIN (10) |
| 507 | #define CFG_NEIGHBOR_SCAN_MIN_CHAN_TIME_MAX (40) |
| 508 | #define CFG_NEIGHBOR_SCAN_MIN_CHAN_TIME_DEFAULT (20) |
| 509 | |
| 510 | /* |
| 511 | * <ini> |
| 512 | * gNeighborScanChannelMaxTime - Set neighbor scan channel max time |
| 513 | * @Min: 3 |
| 514 | * @Max: 300 |
| 515 | * @Default: 30 |
| 516 | * |
| 517 | * This ini is used to set the maximum time in secs spent on each |
| 518 | * channel in LFR scan inside firmware. |
| 519 | * |
| 520 | * Related: None |
| 521 | * |
| 522 | * Supported Feature: LFR Scan |
| 523 | * |
| 524 | * Usage: External |
| 525 | * |
| 526 | * </ini> |
| 527 | */ |
| 528 | #define CFG_NEIGHBOR_SCAN_MAX_CHAN_TIME_NAME "gNeighborScanChannelMaxTime" |
| 529 | #define CFG_NEIGHBOR_SCAN_MAX_CHAN_TIME_MIN (3) |
| 530 | #define CFG_NEIGHBOR_SCAN_MAX_CHAN_TIME_MAX (300) |
| 531 | #define CFG_NEIGHBOR_SCAN_MAX_CHAN_TIME_DEFAULT (30) |
| 532 | |
| 533 | /* |
| 534 | * <ini> |
| 535 | * gNeighborScanRefreshPeriod - Set neighbor scan refresh period |
| 536 | * @Min: 1000 |
| 537 | * @Max: 60000 |
| 538 | * @Default: 20000 |
| 539 | * |
| 540 | * This ini is used by firmware to set scan refresh period |
| 541 | * in msecs for lfr scan. |
| 542 | * |
| 543 | * Related: None |
| 544 | * |
| 545 | * Supported Feature: LFR Scan |
| 546 | * |
| 547 | * Usage: External |
| 548 | * |
| 549 | * </ini> |
| 550 | */ |
| 551 | #define CFG_NEIGHBOR_SCAN_RESULTS_REFRESH_PERIOD_NAME "gNeighborScanRefreshPeriod" |
| 552 | #define CFG_NEIGHBOR_SCAN_RESULTS_REFRESH_PERIOD_MIN (1000) |
| 553 | #define CFG_NEIGHBOR_SCAN_RESULTS_REFRESH_PERIOD_MAX (60000) |
| 554 | #define CFG_NEIGHBOR_SCAN_RESULTS_REFRESH_PERIOD_DEFAULT (20000) |
| 555 | |
| 556 | /* |
| 557 | * <ini> |
| 558 | * gEmptyScanRefreshPeriod - Set empty scan refresh period |
| 559 | * @Min: 0 |
| 560 | * @Max: 60000 |
| 561 | * @Default: 0 |
| 562 | * |
| 563 | * This ini is used by firmware to set scan period in msecs |
| 564 | * following empty scan results. |
| 565 | * |
| 566 | * Related: None |
| 567 | * |
| 568 | * Supported Feature: LFR Scan |
| 569 | * |
| 570 | * Usage: External |
| 571 | * |
| 572 | * </ini> |
| 573 | */ |
| 574 | #define CFG_EMPTY_SCAN_REFRESH_PERIOD_NAME "gEmptyScanRefreshPeriod" |
| 575 | #define CFG_EMPTY_SCAN_REFRESH_PERIOD_MIN (0) |
| 576 | #define CFG_EMPTY_SCAN_REFRESH_PERIOD_MAX (60000) |
| 577 | #define CFG_EMPTY_SCAN_REFRESH_PERIOD_DEFAULT (0) |
| 578 | |
| 579 | /* |
| 580 | * <ini> |
| 581 | * gEnableDFSChnlScan - Enable DFS channel scan |
| 582 | * @Min: 0 |
| 583 | * @Max: 1 |
| 584 | * @Default: 1 |
| 585 | * |
| 586 | * This ini is used to enable or disable DFS channel |
| 587 | * scan |
Deepak Dhamdhere | 828f189 | 2017-02-09 11:51:19 -0800 | [diff] [blame] | 588 | */ |
| 589 | #define CFG_ENABLE_DFS_CHNL_SCAN_NAME "gEnableDFSChnlScan" |
| 590 | #define CFG_ENABLE_DFS_CHNL_SCAN_MIN (0) |
| 591 | #define CFG_ENABLE_DFS_CHNL_SCAN_MAX (1) |
| 592 | #define CFG_ENABLE_DFS_CHNL_SCAN_DEFAULT (1) |
| 593 | |
| 594 | /* |
| 595 | * <ini> |
| 596 | * pmkidModes - Enable PMKID modes |
| 597 | * This INI is used to enable PMKID feature options |
| 598 | * @Min: 0 |
| 599 | * @Max: 3 |
| 600 | * @Default: 3 |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 601 | * |
| 602 | * Related: None |
| 603 | * |
| 604 | * Supported Feature: Scan |
| 605 | * |
| 606 | * Usage: External |
| 607 | * |
| 608 | * </ini> |
| 609 | */ |
Deepak Dhamdhere | 828f189 | 2017-02-09 11:51:19 -0800 | [diff] [blame] | 610 | #define CFG_PMKID_MODES_NAME "pmkidModes" |
| 611 | #define CFG_PMKID_MODES_MIN (0x0) |
| 612 | #define CFG_PMKID_MODES_MAX (0x3) |
| 613 | #define CFG_PMKID_MODES_DEFAULT (0x3) |
| 614 | #define CFG_PMKID_MODES_OKC (0x1) |
| 615 | #define CFG_PMKID_MODES_PMKSA_CACHING (0x2) |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 616 | |
| 617 | /* |
| 618 | * <ini> |
Wu Gao | 94488c2 | 2018-03-14 14:37:25 +0800 | [diff] [blame] | 619 | * gEnableDFSPnoChnlScan - enable dfs channels in PNO scan |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 620 | * @Min: 0 |
| 621 | * @Max: 1 |
| 622 | * @Default: 1 |
| 623 | * |
Wu Gao | 94488c2 | 2018-03-14 14:37:25 +0800 | [diff] [blame] | 624 | * This ini is used to enable/disable dfs channels in PNO scan request, |
| 625 | * enabling this ini enables driver to include dfs channels in its |
| 626 | * PNO scan request |
| 627 | * Related: NA |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 628 | * |
Wu Gao | 94488c2 | 2018-03-14 14:37:25 +0800 | [diff] [blame] | 629 | * Supported Feature: DFS, PNO |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 630 | * |
Wu Gao | 94488c2 | 2018-03-14 14:37:25 +0800 | [diff] [blame] | 631 | * Usage: Internal/External |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 632 | * |
| 633 | * </ini> |
| 634 | */ |
| 635 | #define CFG_ENABLE_DFS_PNO_CHNL_SCAN_NAME "gEnableDFSPnoChnlScan" |
| 636 | #define CFG_ENABLE_DFS_PNO_CHNL_SCAN_MIN (0) |
| 637 | #define CFG_ENABLE_DFS_PNO_CHNL_SCAN_MAX (1) |
| 638 | #define CFG_ENABLE_DFS_PNO_CHNL_SCAN_DEFAULT (1) |
| 639 | |
| 640 | /* |
| 641 | * <ini> |
| 642 | * gEnableFirstScan2GOnly - Enable first scan 2G only |
| 643 | * @Min: 0 |
| 644 | * @Max: 1 |
| 645 | * @Default: 0 |
| 646 | * |
| 647 | * This ini is used to scan 2G channels only in first scan. |
| 648 | * |
| 649 | * Related: None |
| 650 | * |
| 651 | * Supported Feature: Scan |
| 652 | * |
| 653 | * Usage: External |
| 654 | * |
| 655 | * </ini> |
| 656 | */ |
| 657 | #define CFG_ENABLE_FIRST_SCAN_2G_ONLY_NAME "gEnableFirstScan2GOnly" |
| 658 | #define CFG_ENABLE_FIRST_SCAN_2G_ONLY_MIN (0) |
| 659 | #define CFG_ENABLE_FIRST_SCAN_2G_ONLY_MAX (1) |
| 660 | #define CFG_ENABLE_FIRST_SCAN_2G_ONLY_DEFAULT (0) |
| 661 | |
| 662 | /* |
| 663 | * <ini> |
| 664 | * gScanAgingTime - Set scan aging time |
| 665 | * @Min: 0 |
| 666 | * @Max: 200 |
| 667 | * @Default: 30 |
| 668 | * |
| 669 | * This ini is used to set scan aging timeout value |
| 670 | * in secs. For example after 30 secs the bss results |
| 671 | * greater than 30secs age will be flushed. |
| 672 | * |
| 673 | * Related: None |
| 674 | * |
| 675 | * Supported Feature: Scan |
| 676 | * |
| 677 | * Usage: External |
| 678 | * |
| 679 | * </ini> |
| 680 | */ |
| 681 | #define CFG_SCAN_AGING_PARAM_NAME "gScanAgingTime" |
| 682 | #define CFG_SCAN_AGING_PARAM_MIN (0) |
| 683 | #define CFG_SCAN_AGING_PARAM_MAX (200) |
Varun Reddy Yeturu | c4631fb | 2017-07-06 15:13:53 -0700 | [diff] [blame] | 684 | #ifdef QCA_WIFI_NAPIER_EMULATION |
| 685 | #define CFG_SCAN_AGING_PARAM_DEFAULT (90) |
| 686 | #else |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 687 | #define CFG_SCAN_AGING_PARAM_DEFAULT (30) |
Varun Reddy Yeturu | c4631fb | 2017-07-06 15:13:53 -0700 | [diff] [blame] | 688 | #endif |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 689 | |
| 690 | #ifdef FEATURE_WLAN_SCAN_PNO |
| 691 | /* |
| 692 | * <ini> |
| 693 | * gPNOScanSupport - Enable or Disable PNO scan |
| 694 | * @Min: 1 |
| 695 | * @Max: 0 |
| 696 | * @Default: 1 |
| 697 | * |
| 698 | * This ini is used to Enable or Disable PNO scan |
| 699 | * |
| 700 | * Related: None |
| 701 | * |
| 702 | * Supported Feature: Scan |
| 703 | * |
| 704 | * Usage: External |
| 705 | * |
| 706 | * </ini> |
| 707 | */ |
| 708 | #define CFG_PNO_SCAN_SUPPORT "gPNOScanSupport" |
| 709 | #define CFG_PNO_SCAN_SUPPORT_ENABLE (1) |
| 710 | #define CFG_PNO_SCAN_SUPPORT_DISABLE (0) |
| 711 | #define CFG_PNO_SCAN_SUPPORT_DEFAULT (1) |
| 712 | |
| 713 | /* |
| 714 | * <ini> |
| 715 | * gPNOScanTimerRepeatValue - Set PNO scan timer repeat value |
| 716 | * @Min: 30 |
| 717 | * @Max: 0 |
| 718 | * @Default: 0xffffffff |
| 719 | * |
| 720 | * This ini is used by firmware to set fast scan max cycles |
| 721 | * equal to gPNOScanTimerRepeatValue. Taking power consumption |
| 722 | * into account firmware after gPNOScanTimerRepeatValue times |
| 723 | * fast_scan_period switches to slow_scan_period. |
| 724 | * |
| 725 | * Related: None |
| 726 | * |
| 727 | * Supported Feature: Scan |
| 728 | * |
| 729 | * Usage: External |
| 730 | * |
| 731 | * </ini> |
| 732 | */ |
| 733 | #define CFG_PNO_SCAN_TIMER_REPEAT_VALUE "gPNOScanTimerRepeatValue" |
| 734 | #define CFG_PNO_SCAN_TIMER_REPEAT_VALUE_DEFAULT (30) |
| 735 | #define CFG_PNO_SCAN_TIMER_REPEAT_VALUE_MIN (0) |
| 736 | #define CFG_PNO_SCAN_TIMER_REPEAT_VALUE_MAX (0xffffffff) |
| 737 | |
| 738 | /* |
| 739 | * <ini> |
| 740 | * gPNOSlowScanMultiplier - Set PNO slow scan multiplier |
| 741 | * @Min: 6 |
| 742 | * @Max: 0 |
| 743 | * @Default: 30 |
| 744 | * |
| 745 | * This ini is used by firmware to set slow scan period |
| 746 | * as gPNOSlowScanMultiplier times fast_scan_period. |
| 747 | * |
| 748 | * Related: None |
| 749 | * |
| 750 | * Supported Feature: Scan |
| 751 | * |
| 752 | * Usage: External |
| 753 | * |
| 754 | * </ini> |
| 755 | */ |
| 756 | #define CFG_PNO_SLOW_SCAN_MULTIPLIER "gPNOSlowScanMultiplier" |
| 757 | #define CFG_PNO_SLOW_SCAN_MULTIPLIER_DEFAULT (6) |
| 758 | #define CFG_PNO_SLOW_SCAN_MULTIPLIER_MIN (0) |
| 759 | #define CFG_PNO_SLOW_SCAN_MULTIPLIER_MAX (30) |
| 760 | #endif |
| 761 | |
| 762 | /* |
| 763 | * <ini> |
| 764 | * max_scan_count - Set maximum number of scans |
| 765 | * @Min: 1 |
| 766 | * @Max: 8 |
| 767 | * @Default: 4 |
| 768 | * |
| 769 | * This ini is used to set the maximum number of |
| 770 | * scans that host can queue at firmware. |
| 771 | * Rome firmware support 8 scan queue size and 4 |
| 772 | * are reserved for internal scan requests like |
| 773 | * roaming. So host can send 4 scan requests. |
| 774 | * In iHelium, there is no constraint in number of |
| 775 | * scan queue size at firmware but the current use |
| 776 | * cases needs support of maximum of 4 scan request |
| 777 | * from host. |
| 778 | * |
| 779 | * Related: None |
| 780 | * |
| 781 | * Supported Feature: Scan |
| 782 | * |
| 783 | * Usage: External |
| 784 | * |
| 785 | * </ini> |
| 786 | */ |
| 787 | #define CFG_MAX_SCAN_COUNT_NAME "max_scan_count" |
| 788 | #define CFG_MAX_SCAN_COUNT_MIN (1) |
| 789 | #define CFG_MAX_SCAN_COUNT_MAX (8) |
| 790 | #define CFG_MAX_SCAN_COUNT_DEFAULT (4) |
| 791 | |
| 792 | /* |
| 793 | * <ini> |
| 794 | * gPassiveMaxChannelTime - Set max channel time for passive scan |
| 795 | * @Min: 0 |
| 796 | * @Max: 10000 |
| 797 | * @Default: 110 |
| 798 | * |
| 799 | * This ini is used to set maximum channel time in secs spent in |
| 800 | * passive scan |
| 801 | * |
| 802 | * Related: None |
| 803 | * |
| 804 | * Supported Feature: Scan |
| 805 | * |
| 806 | * Usage: External |
| 807 | * |
| 808 | * </ini> |
| 809 | */ |
| 810 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_NAME "gPassiveMaxChannelTime" |
| 811 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_MIN (0) |
| 812 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_MAX (10000) |
| 813 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_DEFAULT (110) |
| 814 | |
| 815 | /* |
| 816 | * <ini> |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 817 | * gActiveMaxChannelTime - Set max channel time for active scan |
| 818 | * @Min: 0 |
| 819 | * @Max: 10000 |
| 820 | * @Default: 40 |
| 821 | * |
| 822 | * This ini is used to set maximum channel time in secs spent in |
| 823 | * active scan |
| 824 | * |
| 825 | * Related: None |
| 826 | * |
| 827 | * Supported Feature: Scan |
| 828 | * |
| 829 | * Usage: External |
| 830 | * |
| 831 | * </ini> |
| 832 | */ |
| 833 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_NAME "gActiveMaxChannelTime" |
| 834 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_MIN (0) |
| 835 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_MAX (10000) |
| 836 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_DEFAULT (40) |
| 837 | |
| 838 | /* |
| 839 | * <ini> |
Kiran Kumar Lokere | a2dfefe | 2017-06-29 19:01:24 -0700 | [diff] [blame] | 840 | * gScanNumProbes - Set the number of probes on each channel for active scan |
| 841 | * @Min: 0 |
| 842 | * @Max: 20 |
| 843 | * @Default: 0 |
| 844 | * |
| 845 | * This ini is used to set number of probes on each channel for |
| 846 | * active scan |
| 847 | * |
| 848 | * Related: None |
| 849 | * |
| 850 | * Supported Feature: Scan |
| 851 | * |
| 852 | * Usage: External |
| 853 | * |
| 854 | * </ini> |
| 855 | */ |
| 856 | #define CFG_SCAN_NUM_PROBES_NAME "gScanNumProbes" |
| 857 | #define CFG_SCAN_NUM_PROBES_MIN (0) |
| 858 | #define CFG_SCAN_NUM_PROBES_MAX (20) |
| 859 | #define CFG_SCAN_NUM_PROBES_DEFAULT (0) |
| 860 | |
| 861 | /* |
| 862 | * <ini> |
| 863 | * gScanProbeRepeatTime - Set the probe repeat time on each channel for active scan |
| 864 | * @Min: 0 |
| 865 | * @Max: 30 |
| 866 | * @Default: 0 |
| 867 | * |
| 868 | * This ini is used to set probe repeat time on each channel for |
| 869 | * active scan |
| 870 | * |
| 871 | * Related: None |
| 872 | * |
| 873 | * Supported Feature: Scan |
| 874 | * |
| 875 | * Usage: External |
| 876 | * |
| 877 | * </ini> |
| 878 | */ |
| 879 | #define CFG_SCAN_PROBE_REPEAT_TIME_NAME "gScanProbeRepeatTime" |
| 880 | #define CFG_SCAN_PROBE_REPEAT_TIME_MIN (0) |
| 881 | #define CFG_SCAN_PROBE_REPEAT_TIME_MAX (30) |
| 882 | #define CFG_SCAN_PROBE_REPEAT_TIME_DEFAULT (0) |
| 883 | |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 884 | #ifdef FEATURE_WLAN_EXTSCAN |
| 885 | /* |
| 886 | * <ini> |
| 887 | * gExtScanEnable - Enable external scan |
| 888 | * @Min: 0 |
| 889 | * @Max: 1 |
| 890 | * @Default: 1 |
| 891 | * |
| 892 | * This ini is used to control enabling of external scan |
| 893 | * feature. |
| 894 | * |
| 895 | * Related: None |
| 896 | * |
| 897 | * Supported Feature: Scan |
| 898 | * |
| 899 | * Usage: External |
| 900 | * |
| 901 | * </ini> |
| 902 | */ |
| 903 | #define CFG_EXTSCAN_ALLOWED_NAME "gExtScanEnable" |
| 904 | #define CFG_EXTSCAN_ALLOWED_MIN (0) |
| 905 | #define CFG_EXTSCAN_ALLOWED_MAX (1) |
| 906 | #define CFG_EXTSCAN_ALLOWED_DEF (1) |
| 907 | |
| 908 | /* |
| 909 | * <ini> |
| 910 | * gExtScanPassiveMaxChannelTime - Set max channel time for external |
| 911 | * passive scan |
| 912 | * @Min: 0 |
| 913 | * @Max: 500 |
| 914 | * @Default: 110 |
| 915 | * |
| 916 | * This ini is used to set maximum channel time in secs spent in |
| 917 | * external passive scan |
| 918 | * |
| 919 | * Related: None |
| 920 | * |
| 921 | * Supported Feature: Scan |
| 922 | * |
| 923 | * Usage: External |
| 924 | * |
| 925 | * </ini> |
| 926 | */ |
| 927 | #define CFG_EXTSCAN_PASSIVE_MAX_CHANNEL_TIME_NAME "gExtScanPassiveMaxChannelTime" |
| 928 | #define CFG_EXTSCAN_PASSIVE_MAX_CHANNEL_TIME_MIN (0) |
| 929 | #define CFG_EXTSCAN_PASSIVE_MAX_CHANNEL_TIME_MAX (500) |
| 930 | #define CFG_EXTSCAN_PASSIVE_MAX_CHANNEL_TIME_DEFAULT (110) |
| 931 | |
| 932 | /* |
| 933 | * <ini> |
| 934 | * gExtScanPassiveMinChannelTime - Set min channel time for external |
| 935 | * passive scan |
| 936 | * @Min: 0 |
| 937 | * @Max: 500 |
| 938 | * @Default: 60 |
| 939 | * |
| 940 | * This ini is used to set minimum channel time in secs spent in |
| 941 | * external passive scan |
| 942 | * |
| 943 | * Related: None |
| 944 | * |
| 945 | * Supported Feature: Scan |
| 946 | * |
| 947 | * Usage: External |
| 948 | * |
| 949 | * </ini> |
| 950 | */ |
| 951 | #define CFG_EXTSCAN_PASSIVE_MIN_CHANNEL_TIME_NAME "gExtScanPassiveMinChannelTime" |
| 952 | #define CFG_EXTSCAN_PASSIVE_MIN_CHANNEL_TIME_MIN (0) |
| 953 | #define CFG_EXTSCAN_PASSIVE_MIN_CHANNEL_TIME_MAX (500) |
| 954 | #define CFG_EXTSCAN_PASSIVE_MIN_CHANNEL_TIME_DEFAULT (60) |
| 955 | |
| 956 | /* |
| 957 | * <ini> |
| 958 | * gExtScanActiveMaxChannelTime - Set min channel time for external |
| 959 | * active scan |
| 960 | * @Min: 0 |
| 961 | * @Max: 110 |
| 962 | * @Default: 40 |
| 963 | * |
| 964 | * This ini is used to set maximum channel time in secs spent in |
| 965 | * external active scan |
| 966 | * |
| 967 | * Related: None |
| 968 | * |
| 969 | * Supported Feature: Scan |
| 970 | * |
| 971 | * Usage: External |
| 972 | * |
| 973 | * </ini> |
| 974 | */ |
| 975 | #define CFG_EXTSCAN_ACTIVE_MAX_CHANNEL_TIME_NAME "gExtScanActiveMaxChannelTime" |
| 976 | #define CFG_EXTSCAN_ACTIVE_MAX_CHANNEL_TIME_MIN (0) |
| 977 | #define CFG_EXTSCAN_ACTIVE_MAX_CHANNEL_TIME_MAX (110) |
| 978 | #define CFG_EXTSCAN_ACTIVE_MAX_CHANNEL_TIME_DEFAULT (40) |
| 979 | |
| 980 | /* |
| 981 | * <ini> |
| 982 | * gExtScanActiveMinChannelTime - Set min channel time for external |
| 983 | * active scan |
| 984 | * @Min: 0 |
| 985 | * @Max: 110 |
| 986 | * @Default: 20 |
| 987 | * |
| 988 | * This ini is used to set minimum channel time in secs spent in |
| 989 | * external active scan |
| 990 | * |
| 991 | * Related: None |
| 992 | * |
| 993 | * Supported Feature: Scan |
| 994 | * |
| 995 | * Usage: External |
| 996 | * |
| 997 | * </ini> |
| 998 | */ |
| 999 | #define CFG_EXTSCAN_ACTIVE_MIN_CHANNEL_TIME_NAME "gExtScanActiveMinChannelTime" |
| 1000 | #define CFG_EXTSCAN_ACTIVE_MIN_CHANNEL_TIME_MIN (0) |
| 1001 | #define CFG_EXTSCAN_ACTIVE_MIN_CHANNEL_TIME_MAX (110) |
| 1002 | #define CFG_EXTSCAN_ACTIVE_MIN_CHANNEL_TIME_DEFAULT (20) |
| 1003 | #endif |
| 1004 | |
| 1005 | /* |
| 1006 | * <ini> |
| 1007 | * gChPredictionFullScanMs - Set periodic timer for channel |
| 1008 | * prediction |
| 1009 | * @Min: 3000 |
| 1010 | * @Max: 0x7fffffff |
| 1011 | * @Default: 60000 |
| 1012 | * |
| 1013 | * This ini is used to set the periodic timer upon which |
| 1014 | * a full scan needs to be triggered when PNO channel |
| 1015 | * prediction feature is enabled. This parameter is intended |
| 1016 | * to tweak the internal algortihm for experiments. |
| 1017 | * |
| 1018 | * Related: None |
| 1019 | * |
| 1020 | * Supported Feature: Scan |
| 1021 | * |
| 1022 | * Usage: Internal |
| 1023 | * |
| 1024 | * </ini> |
| 1025 | */ |
| 1026 | #define CFG_CHANNEL_PREDICTION_FULL_SCAN_MS_NAME "gChPredictionFullScanMs" |
| 1027 | #define CFG_CHANNEL_PREDICTION_FULL_SCAN_MS_MIN (30000) |
| 1028 | #define CFG_CHANNEL_PREDICTION_FULL_SCAN_MS_MAX (0x7fffffff) |
| 1029 | #define CFG_CHANNEL_PREDICTION_FULL_SCAN_MS_DEFAULT (60000) |
| 1030 | |
| 1031 | /* |
| 1032 | * <ini> |
| 1033 | * gEnableEarlyStopScan - Set early stop scan |
| 1034 | * @Min: 0 |
| 1035 | * @Max: 1 |
| 1036 | * @Default: 1 |
| 1037 | * |
| 1038 | * This ini is used to set early stop scan. Early stop |
| 1039 | * scan is a feature for roaming to stop the scans at |
| 1040 | * an early stage as soon as we find a better AP to roam. |
| 1041 | * This would make the roaming happen quickly. |
| 1042 | * |
| 1043 | * Related: None |
| 1044 | * |
| 1045 | * Supported Feature: LFR Scan |
| 1046 | * |
| 1047 | * Usage: External |
| 1048 | * |
| 1049 | * </ini> |
| 1050 | */ |
| 1051 | #define CFG_EARLY_STOP_SCAN_ENABLE "gEnableEarlyStopScan" |
| 1052 | #define CFG_EARLY_STOP_SCAN_ENABLE_MIN (0) |
| 1053 | #define CFG_EARLY_STOP_SCAN_ENABLE_MAX (1) |
| 1054 | #define CFG_EARLY_STOP_SCAN_ENABLE_DEFAULT (1) |
| 1055 | |
| 1056 | /* |
| 1057 | * <ini> |
| 1058 | * gEarlyStopScanMinThreshold - Set early stop scan min |
| 1059 | * threshold |
| 1060 | * @Min: -80 |
| 1061 | * @Max: -70 |
| 1062 | * @Default: -73 |
| 1063 | * |
| 1064 | * This ini is used to set the early stop scan minimum |
| 1065 | * threshold. Early stop scan minimum threshold is the |
| 1066 | * minimum threshold to be considered for stopping the |
| 1067 | * scan. The algorithm starts with a scan on the greedy |
| 1068 | * channel list with the maximum threshold and steps down |
| 1069 | * the threshold by 20% for each further channel. It can |
| 1070 | * step down on each channel but cannot go lower than the |
| 1071 | * minimum threshold. |
| 1072 | * |
| 1073 | * Related: None |
| 1074 | * |
| 1075 | * Supported Feature: Scan |
| 1076 | * |
| 1077 | * Usage: External |
| 1078 | * |
| 1079 | * </ini> |
| 1080 | */ |
| 1081 | #define CFG_EARLY_STOP_SCAN_MIN_THRESHOLD "gEarlyStopScanMinThreshold" |
| 1082 | #define CFG_EARLY_STOP_SCAN_MIN_THRESHOLD_MIN (-80) |
| 1083 | #define CFG_EARLY_STOP_SCAN_MIN_THRESHOLD_MAX (-70) |
| 1084 | #define CFG_EARLY_STOP_SCAN_MIN_THRESHOLD_DEFAULT (-73) |
| 1085 | |
| 1086 | /* |
| 1087 | * <ini> |
| 1088 | * gEarlyStopScanMaxThreshold - Set early stop scan max |
| 1089 | * threshold |
| 1090 | * @Min: -60 |
| 1091 | * @Max: -40 |
| 1092 | * @Default: -43 |
| 1093 | * |
| 1094 | * This ini is used to set the the early stop scan maximum |
| 1095 | * threshold at which the candidate AP should be to be |
| 1096 | * qualified as a potential roam candidate and good enough |
| 1097 | * to stop the roaming scan. |
| 1098 | * |
| 1099 | * Related: None |
| 1100 | * |
| 1101 | * Supported Feature: Scan |
| 1102 | * |
| 1103 | * Usage: External |
| 1104 | * |
| 1105 | * </ini> |
| 1106 | */ |
| 1107 | #define CFG_EARLY_STOP_SCAN_MAX_THRESHOLD "gEarlyStopScanMaxThreshold" |
| 1108 | #define CFG_EARLY_STOP_SCAN_MAX_THRESHOLD_MIN (-60) |
| 1109 | #define CFG_EARLY_STOP_SCAN_MAX_THRESHOLD_MAX (-40) |
| 1110 | #define CFG_EARLY_STOP_SCAN_MAX_THRESHOLD_DEFAULT (-43) |
| 1111 | |
| 1112 | /* |
| 1113 | * <ini> |
| 1114 | * gFirstScanBucketThreshold - Set first scan bucket |
| 1115 | * threshold |
| 1116 | * @Min: -50 |
| 1117 | * @Max: -30 |
| 1118 | * @Default: -30 |
| 1119 | * |
| 1120 | * This ini will configure the first scan bucket |
| 1121 | * threshold to the mentioned value and all the AP's which |
| 1122 | * have RSSI under this threshold will fall under this |
| 1123 | * bucket. This configuration item used to tweak and |
| 1124 | * test the input for internal algorithm. |
| 1125 | * |
| 1126 | * Related: None |
| 1127 | * |
| 1128 | * Supported Feature: Scan |
| 1129 | * |
| 1130 | * Usage: Internal |
| 1131 | * |
| 1132 | * </ini> |
| 1133 | */ |
| 1134 | #define CFG_FIRST_SCAN_BUCKET_THRESHOLD_NAME "gFirstScanBucketThreshold" |
| 1135 | #define CFG_FIRST_SCAN_BUCKET_THRESHOLD_MIN (-50) |
| 1136 | #define CFG_FIRST_SCAN_BUCKET_THRESHOLD_MAX (-30) |
| 1137 | #define CFG_FIRST_SCAN_BUCKET_THRESHOLD_DEFAULT (-30) |
| 1138 | |
| 1139 | /* |
| 1140 | * <ini> |
| 1141 | * obss_active_dwelltime - Set obss active dwelltime |
| 1142 | * @Min: 5 |
| 1143 | * @Max: 1000 |
| 1144 | * @Default: 10 |
| 1145 | * |
| 1146 | * This ini is used to set dwell time in secs for active |
| 1147 | * obss scan |
| 1148 | * |
| 1149 | * Related: None |
| 1150 | * |
| 1151 | * Supported Feature: Scan |
| 1152 | * |
| 1153 | * Usage: External |
| 1154 | * |
| 1155 | * </ini> |
| 1156 | */ |
| 1157 | #define CFG_OBSS_HT40_SCAN_ACTIVE_DWELL_TIME_NAME "obss_active_dwelltime" |
| 1158 | #define CFG_OBSS_HT40_SCAN_ACTIVE_DWELL_TIME_MIN (5) |
| 1159 | #define CFG_OBSS_HT40_SCAN_ACTIVE_DWELL_TIME_MAX (1000) |
| 1160 | #define CFG_OBSS_HT40_SCAN_ACTIVE_DWELL_TIME_DEFAULT (10) |
| 1161 | |
| 1162 | /* |
| 1163 | * <ini> |
| 1164 | * obss_passive_dwelltime - Set obss passive dwelltime |
| 1165 | * @Min: 10 |
| 1166 | * @Max: 1000 |
| 1167 | * @Default: 20 |
| 1168 | * |
| 1169 | * This ini is used to set dwell time in secs for passive |
| 1170 | * obss scan |
| 1171 | * |
| 1172 | * Related: None |
| 1173 | * |
| 1174 | * Supported Feature: Scan |
| 1175 | * |
| 1176 | * Usage: External |
| 1177 | * |
| 1178 | * </ini> |
| 1179 | */ |
| 1180 | #define CFG_OBSS_HT40_SCAN_PASSIVE_DWELL_TIME_NAME "obss_passive_dwelltime" |
| 1181 | #define CFG_OBSS_HT40_SCAN_PASSIVE_DWELL_TIME_MIN (10) |
| 1182 | #define CFG_OBSS_HT40_SCAN_PASSIVE_DWELL_TIME_MAX (1000) |
| 1183 | #define CFG_OBSS_HT40_SCAN_PASSIVE_DWELL_TIME_DEFAULT (20) |
| 1184 | |
| 1185 | /* |
| 1186 | * <ini> |
| 1187 | * obss_width_trigger_interval - Set obss trigger interval |
| 1188 | * @Min: 10 |
| 1189 | * @Max: 900 |
| 1190 | * @Default: 200 |
| 1191 | * |
| 1192 | * This ini is used during an OBSS scan operation, |
| 1193 | * where each channel in the set is scanned at least |
| 1194 | * once per configured trigger interval time. |
| 1195 | * |
| 1196 | * Related: None |
| 1197 | * |
| 1198 | * Supported Feature: Scan |
| 1199 | * |
| 1200 | * Usage: External |
| 1201 | * |
| 1202 | * </ini> |
| 1203 | */ |
| 1204 | #define CFG_OBSS_HT40_SCAN_WIDTH_TRIGGER_INTERVAL_NAME "obss_width_trigger_interval" |
| 1205 | #define CFG_OBSS_HT40_SCAN_WIDTH_TRIGGER_INTERVAL_MIN (10) |
| 1206 | #define CFG_OBSS_HT40_SCAN_WIDTH_TRIGGER_INTERVAL_MAX (900) |
| 1207 | #define CFG_OBSS_HT40_SCAN_WIDTH_TRIGGER_INTERVAL_DEFAULT (200) |
| 1208 | |
| 1209 | /* |
| 1210 | * <ini> |
| 1211 | * gbug_report_for_scan_results - Enable bug report |
| 1212 | * @Min: 0 |
| 1213 | * @Max: 1 |
| 1214 | * @Default: 0 |
| 1215 | * |
| 1216 | * This ini is used to create bug report in |
| 1217 | * case of nil scan results. |
| 1218 | * |
| 1219 | * Related: None |
| 1220 | * |
| 1221 | * Supported Feature: Scan |
| 1222 | * |
| 1223 | * Usage: External |
| 1224 | * |
| 1225 | * </ini> |
| 1226 | */ |
| 1227 | #define CFG_CREATE_BUG_REPORT_FOR_SCAN "gbug_report_for_scan_results" |
| 1228 | #define CFG_CREATE_BUG_REPORT_FOR_SCAN_DISABLE (0) |
| 1229 | #define CFG_CREATE_BUG_REPORT_FOR_SCAN_ENABLE (1) |
| 1230 | #define CFG_CREATE_BUG_REPORT_FOR_SCAN_DEFAULT (0) |
| 1231 | |
| 1232 | /* |
| 1233 | * <ini> |
| 1234 | * hostscan_adaptive_dwell_mode - Enable adaptive dwell mode |
Paul Zhang | 72697bd | 2017-12-20 09:24:25 +0800 | [diff] [blame] | 1235 | * during host scan with conneciton |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 1236 | * @Min: 0 |
| 1237 | * @Max: 4 |
Paul Zhang | 72697bd | 2017-12-20 09:24:25 +0800 | [diff] [blame] | 1238 | * @Default: 2 |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 1239 | * |
| 1240 | * This ini will set the algo used in dwell time optimization |
Paul Zhang | 72697bd | 2017-12-20 09:24:25 +0800 | [diff] [blame] | 1241 | * during host scan with connection. |
Sandeep Puligilla | f5ccbf6 | 2018-03-26 16:37:05 -0700 | [diff] [blame] | 1242 | * See enum scan_dwelltime_adaptive_mode. |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 1243 | * Acceptable values for this: |
| 1244 | * 0: Default (Use firmware default mode) |
| 1245 | * 1: Conservative optimization |
| 1246 | * 2: Moderate optimization |
| 1247 | * 3: Aggressive optimization |
| 1248 | * 4: Static |
| 1249 | * |
| 1250 | * Related: None |
| 1251 | * |
| 1252 | * Supported Feature: Scan |
| 1253 | * |
| 1254 | * Usage: External |
| 1255 | * |
| 1256 | * </ini> |
| 1257 | */ |
| 1258 | #define CFG_ADAPTIVE_SCAN_DWELL_MODE_NAME "hostscan_adaptive_dwell_mode" |
| 1259 | #define CFG_ADAPTIVE_SCAN_DWELL_MODE_MIN (0) |
| 1260 | #define CFG_ADAPTIVE_SCAN_DWELL_MODE_MAX (4) |
Paul Zhang | 72697bd | 2017-12-20 09:24:25 +0800 | [diff] [blame] | 1261 | #define CFG_ADAPTIVE_SCAN_DWELL_MODE_DEFAULT (2) |
| 1262 | |
| 1263 | /* |
| 1264 | * <ini> |
| 1265 | * hostscan_adaptive_dwell_mode_no_conn - Enable adaptive dwell mode |
| 1266 | * during host scan without connection |
| 1267 | * @Min: 0 |
| 1268 | * @Max: 4 |
| 1269 | * @Default: 1 |
| 1270 | * |
| 1271 | * This ini will set the algo used in dwell time optimization |
| 1272 | * during host scan without connection. |
Sandeep Puligilla | f5ccbf6 | 2018-03-26 16:37:05 -0700 | [diff] [blame] | 1273 | * See enum scan_dwelltime_adaptive_mode. |
Paul Zhang | 72697bd | 2017-12-20 09:24:25 +0800 | [diff] [blame] | 1274 | * Acceptable values for this: |
| 1275 | * 0: Default (Use firmware default mode) |
| 1276 | * 1: Conservative optimization |
| 1277 | * 2: Moderate optimization |
| 1278 | * 3: Aggressive optimization |
| 1279 | * 4: Static |
| 1280 | * |
| 1281 | * Related: None |
| 1282 | * |
| 1283 | * Supported Feature: Scan |
| 1284 | * |
| 1285 | * Usage: External |
| 1286 | * |
| 1287 | * </ini> |
| 1288 | */ |
| 1289 | #define CFG_ADAPTIVE_SCAN_DWELL_MODE_NC_NAME "hostscan_adaptive_dwell_mode_no_conn" |
| 1290 | #define CFG_ADAPTIVE_SCAN_DWELL_MODE_NC_MIN (0) |
| 1291 | #define CFG_ADAPTIVE_SCAN_DWELL_MODE_NC_MAX (4) |
| 1292 | #define CFG_ADAPTIVE_SCAN_DWELL_MODE_NC_DEFAULT (1) |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 1293 | |
| 1294 | /* |
| 1295 | * <ini> |
| 1296 | * extscan_adaptive_dwell_mode - Enable adaptive dwell mode |
| 1297 | * during ext scan |
| 1298 | * @Min: 0 |
| 1299 | * @Max: 4 |
Arif Hussain | dcb9ead | 2017-03-09 16:41:00 -0800 | [diff] [blame] | 1300 | * @Default: 1 |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 1301 | * |
| 1302 | * This ini will set the algo used in dwell time optimization |
Sandeep Puligilla | f5ccbf6 | 2018-03-26 16:37:05 -0700 | [diff] [blame] | 1303 | * during ext scan. see enum scan_dwelltime_adaptive_mode. |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 1304 | * Acceptable values for this: |
| 1305 | * 0: Default (Use firmware default mode) |
| 1306 | * 1: Conservative optimization |
| 1307 | * 2: Moderate optimization |
| 1308 | * 3: Aggressive optimization |
| 1309 | * 4: Static |
| 1310 | * |
| 1311 | * Related: None |
| 1312 | * |
| 1313 | * Supported Feature: Scan |
| 1314 | * |
| 1315 | * Usage: External |
| 1316 | * |
| 1317 | * </ini> |
| 1318 | */ |
| 1319 | #define CFG_ADAPTIVE_EXTSCAN_DWELL_MODE_NAME "extscan_adaptive_dwell_mode" |
| 1320 | #define CFG_ADAPTIVE_EXTSCAN_DWELL_MODE_MIN (0) |
| 1321 | #define CFG_ADAPTIVE_EXTSCAN_DWELL_MODE_MAX (4) |
Arif Hussain | dcb9ead | 2017-03-09 16:41:00 -0800 | [diff] [blame] | 1322 | #define CFG_ADAPTIVE_EXTSCAN_DWELL_MODE_DEFAULT (1) |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 1323 | |
| 1324 | /* |
| 1325 | * <ini> |
| 1326 | * pnoscan_adaptive_dwell_mode - Enable adaptive dwell mode |
| 1327 | * during pno scan |
| 1328 | * @Min: 0 |
| 1329 | * @Max: 4 |
Arif Hussain | dcb9ead | 2017-03-09 16:41:00 -0800 | [diff] [blame] | 1330 | * @Default: 1 |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 1331 | * |
| 1332 | * This ini will set the algo used in dwell time optimization |
Sandeep Puligilla | f5ccbf6 | 2018-03-26 16:37:05 -0700 | [diff] [blame] | 1333 | * during pno scan. see enum scan_dwelltime_adaptive_mode. |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 1334 | * Acceptable values for this: |
| 1335 | * 0: Default (Use firmware default mode) |
| 1336 | * 1: Conservative optimization |
| 1337 | * 2: Moderate optimization |
| 1338 | * 3: Aggressive optimization |
| 1339 | * 4: Static |
| 1340 | * |
| 1341 | * Related: None |
| 1342 | * |
| 1343 | * Supported Feature: Scan |
| 1344 | * |
| 1345 | * Usage: External |
| 1346 | * |
| 1347 | * </ini> |
| 1348 | */ |
| 1349 | #define CFG_ADAPTIVE_PNOSCAN_DWELL_MODE_NAME "pnoscan_adaptive_dwell_mode" |
| 1350 | #define CFG_ADAPTIVE_PNOSCAN_DWELL_MODE_MIN (0) |
| 1351 | #define CFG_ADAPTIVE_PNOSCAN_DWELL_MODE_MAX (4) |
Arif Hussain | dcb9ead | 2017-03-09 16:41:00 -0800 | [diff] [blame] | 1352 | #define CFG_ADAPTIVE_PNOSCAN_DWELL_MODE_DEFAULT (1) |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 1353 | |
| 1354 | /* |
| 1355 | * <ini> |
| 1356 | * adaptive_dwell_mode_enabled - Enable adaptive dwell mode |
| 1357 | * @Min: 0 |
| 1358 | * @Max: 1 |
| 1359 | * @Default: 1 |
| 1360 | * |
| 1361 | * This parameter will globally disable/enable the adaptive dwell config. |
| 1362 | * Following parameters will set different values of attributes for dwell |
| 1363 | * time optimization thus reducing total scan time. |
| 1364 | * Acceptable values for this: |
| 1365 | * 0: Config is disabled |
| 1366 | * 1: Config is enabled |
| 1367 | * |
| 1368 | * Related: None |
| 1369 | * |
| 1370 | * Supported Feature: Scan |
| 1371 | * |
| 1372 | * Usage: External |
| 1373 | * |
| 1374 | * </ini> |
| 1375 | */ |
| 1376 | #define CFG_ADAPTIVE_DWELL_MODE_ENABLED_NAME "adaptive_dwell_mode_enabled" |
| 1377 | #define CFG_ADAPTIVE_DWELL_MODE_ENABLED_MIN (0) |
| 1378 | #define CFG_ADAPTIVE_DWELL_MODE_ENABLED_MAX (1) |
| 1379 | #define CFG_ADAPTIVE_DWELL_MODE_ENABLED_DEFAULT (1) |
| 1380 | |
| 1381 | /* |
| 1382 | * <ini> |
| 1383 | * global_adapt_dwelltime_mode - Set default adaptive mode |
| 1384 | * @Min: 0 |
| 1385 | * @Max: 4 |
Arif Hussain | dcb9ead | 2017-03-09 16:41:00 -0800 | [diff] [blame] | 1386 | * @Default: 0 |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 1387 | * |
| 1388 | * This parameter will set default adaptive mode, will be used if any of the |
| 1389 | * scan dwell mode is set to default. |
Sandeep Puligilla | f5ccbf6 | 2018-03-26 16:37:05 -0700 | [diff] [blame] | 1390 | * For uses : see enum scan_dwelltime_adaptive_mode |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 1391 | * |
| 1392 | * Related: None |
| 1393 | * |
| 1394 | * Supported Feature: Scan |
| 1395 | * |
| 1396 | * Usage: External |
| 1397 | * |
| 1398 | * </ini> |
| 1399 | */ |
| 1400 | #define CFG_GLOBAL_ADAPTIVE_DWELL_MODE_NAME "global_adapt_dwelltime_mode" |
| 1401 | #define CFG_GLOBAL_ADAPTIVE_DWELL_MODE_MIN (0) |
| 1402 | #define CFG_GLOBAL_ADAPTIVE_DWELL_MODE_MAX (4) |
Arif Hussain | dcb9ead | 2017-03-09 16:41:00 -0800 | [diff] [blame] | 1403 | #define CFG_GLOBAL_ADAPTIVE_DWELL_MODE_DEFAULT (0) |
yeshwanth sriram guntuka | bdfe435 | 2017-02-16 14:44:31 +0530 | [diff] [blame] | 1404 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 1405 | /* |
| 1406 | * <ini> |
| 1407 | * gRssiCatGap - Set Rssi CatGap |
| 1408 | * @Min: 5 |
| 1409 | * @Max: 100 |
| 1410 | * @Default: 5 |
| 1411 | * |
| 1412 | * This ini is used to set default RssiCatGap |
| 1413 | * |
| 1414 | * Related: None |
| 1415 | * |
| 1416 | * Supported Feature: STA |
| 1417 | * |
| 1418 | * Usage: Internal/External |
| 1419 | * |
| 1420 | * </ini> |
| 1421 | */ |
| 1422 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1423 | #define CFG_RSSI_CATEGORY_GAP_NAME "gRssiCatGap" |
| 1424 | #define CFG_RSSI_CATEGORY_GAP_MIN (5) |
| 1425 | #define CFG_RSSI_CATEGORY_GAP_MAX (100) |
| 1426 | #define CFG_RSSI_CATEGORY_GAP_DEFAULT (5) |
| 1427 | |
Selvaraj, Sridhar | f793983 | 2017-03-25 16:59:50 +0530 | [diff] [blame] | 1428 | /* |
| 1429 | * <ini> |
| 1430 | * gRoamPrefer5GHz - Prefer roaming to 5GHz Bss |
| 1431 | * @Min: 0 |
| 1432 | * @Max: 1 |
| 1433 | * @Default: 1 |
| 1434 | * |
| 1435 | * This ini is used to inform FW to prefer roaming to 5GHz BSS |
| 1436 | * |
| 1437 | * Related: None |
| 1438 | * |
| 1439 | * Supported Feature: Roaming |
| 1440 | * |
| 1441 | * Usage: External |
| 1442 | * |
| 1443 | * </ini> |
| 1444 | */ |
| 1445 | #define CFG_ROAM_PREFER_5GHZ "gRoamPrefer5GHz" |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1446 | #define CFG_ROAM_PREFER_5GHZ_MIN (0) |
| 1447 | #define CFG_ROAM_PREFER_5GHZ_MAX (1) |
| 1448 | #define CFG_ROAM_PREFER_5GHZ_DEFAULT (1) |
| 1449 | |
| 1450 | /* |
Selvaraj, Sridhar | f793983 | 2017-03-25 16:59:50 +0530 | [diff] [blame] | 1451 | * <ini> |
| 1452 | * gRoamIntraBand - Prefer roaming within Band |
| 1453 | * @Min: 0 |
| 1454 | * @Max: 1 |
| 1455 | * @Default: 0 |
| 1456 | * |
| 1457 | * This ini is used to inform FW to prefer roaming within band |
| 1458 | * |
| 1459 | * Related: None |
| 1460 | * |
| 1461 | * Supported Feature: Roaming |
| 1462 | * |
| 1463 | * Usage: External |
| 1464 | * |
| 1465 | * </ini> |
| 1466 | */ |
| 1467 | #define CFG_ROAM_INTRA_BAND "gRoamIntraBand" |
| 1468 | #define CFG_ROAM_INTRA_BAND_MIN (0) |
| 1469 | #define CFG_ROAM_INTRA_BAND_MAX (1) |
| 1470 | #define CFG_ROAM_INTRA_BAND_DEFAULT (0) |
| 1471 | |
| 1472 | /* |
| 1473 | * <ini> |
| 1474 | * FastRoamEnabled - Enable fast roaming |
| 1475 | * @Min: 0 |
| 1476 | * @Max: 1 |
| 1477 | * @Default: 0 |
| 1478 | * |
| 1479 | * This ini is used to inform FW to enable fast roaming |
| 1480 | * |
| 1481 | * Related: None |
| 1482 | * |
| 1483 | * Supported Feature: Roaming |
| 1484 | * |
| 1485 | * Usage: External |
| 1486 | * |
| 1487 | * </ini> |
| 1488 | */ |
| 1489 | #define CFG_LFR_FEATURE_ENABLED_NAME "FastRoamEnabled" |
| 1490 | #define CFG_LFR_FEATURE_ENABLED_MIN (0) |
| 1491 | #define CFG_LFR_FEATURE_ENABLED_MAX (1) |
| 1492 | #define CFG_LFR_FEATURE_ENABLED_DEFAULT (0) |
| 1493 | |
| 1494 | /* |
| 1495 | * <ini> |
| 1496 | * FastTransitionEnabled - Enable fast transition in case of 11r and ese. |
| 1497 | * @Min: 0 |
| 1498 | * @Max: 1 |
| 1499 | * @Default: 1 |
| 1500 | * |
| 1501 | * This ini is used to turn ON/OFF the whole neighbor roam, pre-auth, reassoc. |
| 1502 | * With this turned OFF 11r will completely not work. For 11r this flag has to |
| 1503 | * be ON. For ESE fastroam will not work. |
| 1504 | * |
| 1505 | * Related: None |
| 1506 | * |
| 1507 | * Supported Feature: Roaming |
| 1508 | * |
| 1509 | * Usage: External |
| 1510 | * |
| 1511 | * </ini> |
| 1512 | */ |
| 1513 | #define CFG_FAST_TRANSITION_ENABLED_NAME "FastTransitionEnabled" |
| 1514 | #define CFG_FAST_TRANSITION_ENABLED_NAME_MIN (0) |
| 1515 | #define CFG_FAST_TRANSITION_ENABLED_NAME_MAX (1) |
| 1516 | #define CFG_FAST_TRANSITION_ENABLED_NAME_DEFAULT (1) |
| 1517 | |
| 1518 | /* |
| 1519 | * <ini> |
| 1520 | * RoamRssiDiff - Enable roam based on rssi |
| 1521 | * @Min: 0 |
| 1522 | * @Max: 30 |
| 1523 | * @Default: 5 |
| 1524 | * |
| 1525 | * This INI is used to decide whether to Roam or not based on RSSI. AP1 is the |
| 1526 | * currently associated AP and AP2 is chosen for roaming. The Roaming will |
| 1527 | * happen only if AP2 has better Signal Quality and it has a RSSI better than |
| 1528 | * AP2. RoamRssiDiff is the number of units (typically measured in dB) AP2 |
| 1529 | * is better than AP1. |
| 1530 | * |
| 1531 | * Related: None |
| 1532 | * |
| 1533 | * Supported Feature: Roaming |
| 1534 | * |
| 1535 | * Usage: External |
| 1536 | * |
| 1537 | * </ini> |
| 1538 | */ |
| 1539 | #define CFG_ROAM_RSSI_DIFF_NAME "RoamRssiDiff" |
| 1540 | #define CFG_ROAM_RSSI_DIFF_MIN (0) |
| 1541 | #define CFG_ROAM_RSSI_DIFF_MAX (30) |
| 1542 | #define CFG_ROAM_RSSI_DIFF_DEFAULT (5) |
| 1543 | |
| 1544 | /* |
| 1545 | * <ini> |
Abhishek Singh | 34c0e63 | 2017-09-28 14:39:29 +0530 | [diff] [blame] | 1546 | * rssi_abs_thresh - The min RSSI of the candidate AP to consider roam |
| 1547 | * @Min: -96 |
| 1548 | * @Max: 0 |
| 1549 | * @Default: 0 |
| 1550 | * |
| 1551 | * The RSSI value of the candidate AP should be higher than rssi_abs_thresh |
| 1552 | * to roam to the AP. 0 means no absolute minimum RSSI is required. |
| 1553 | * |
| 1554 | * Related: None |
| 1555 | * |
| 1556 | * Supported Feature: Roaming |
| 1557 | * |
| 1558 | * Usage: External |
| 1559 | * |
| 1560 | * </ini> |
| 1561 | */ |
| 1562 | #define CFG_ROAM_RSSI_ABS_THRESHOLD_NAME "rssi_abs_thresh" |
| 1563 | #define CFG_ROAM_RSSI_ABS_THRESHOLD_MIN (-96) |
| 1564 | #define CFG_ROAM_RSSI_ABS_THRESHOLD_MAX (0) |
| 1565 | #define CFG_ROAM_RSSI_ABS_THRESHOLD_DEFAULT (0) |
| 1566 | |
| 1567 | /* |
| 1568 | * <ini> |
Selvaraj, Sridhar | f793983 | 2017-03-25 16:59:50 +0530 | [diff] [blame] | 1569 | * gRoamScanNProbes - Sets the number of probes to be sent for firmware roaming |
| 1570 | * @Min: 1 |
| 1571 | * @Max: 10 |
| 1572 | * @Default: 2 |
| 1573 | * |
| 1574 | * This INI is used to set the maximum number of probes the firmware can send |
| 1575 | * for firmware internal roaming cases. |
| 1576 | * |
| 1577 | * Related: None |
| 1578 | * |
| 1579 | * Supported Feature: Roaming |
| 1580 | * |
| 1581 | * Usage: External |
| 1582 | * |
| 1583 | * </ini> |
| 1584 | */ |
| 1585 | #define CFG_ROAM_SCAN_N_PROBES "gRoamScanNProbes" |
| 1586 | #define CFG_ROAM_SCAN_N_PROBES_MIN (1) |
| 1587 | #define CFG_ROAM_SCAN_N_PROBES_MAX (10) |
| 1588 | #define CFG_ROAM_SCAN_N_PROBES_DEFAULT (2) |
| 1589 | |
| 1590 | /* |
| 1591 | * <ini> |
| 1592 | * gRoamScanHomeAwayTime - Sets the Home Away Time to firmware |
| 1593 | * @Min: 0 |
| 1594 | * @Max: 300 |
| 1595 | * @Default: 0 |
| 1596 | * |
| 1597 | * Home Away Time should be at least equal to (gNeighborScanChannelMaxTime |
| 1598 | * + (2*RFS)), where RFS is the RF Switching time(3). It is twice RFS |
| 1599 | * to consider the time to go off channel and return to the home channel. |
| 1600 | * |
| 1601 | * Related: gNeighborScanChannelMaxTime |
| 1602 | * |
| 1603 | * Supported Feature: Roaming |
| 1604 | * |
| 1605 | * Usage: External |
| 1606 | * |
| 1607 | * </ini> |
| 1608 | */ |
| 1609 | #define CFG_ROAM_SCAN_HOME_AWAY_TIME "gRoamScanHomeAwayTime" |
| 1610 | #define CFG_ROAM_SCAN_HOME_AWAY_TIME_MIN (0) |
| 1611 | #define CFG_ROAM_SCAN_HOME_AWAY_TIME_MAX (300) |
| 1612 | #define CFG_ROAM_SCAN_HOME_AWAY_TIME_DEFAULT (0) |
| 1613 | |
| 1614 | /* |
| 1615 | * <ini> |
| 1616 | * OkcEnabled - Enable OKC(Oppurtunistic Key Caching) |
| 1617 | * @Min: 0 |
| 1618 | * @Max: 1 |
| 1619 | * @Default: 1 |
| 1620 | * |
| 1621 | * This INI is used to enable OKC feature |
| 1622 | * |
| 1623 | * Related: None |
| 1624 | * |
| 1625 | * Supported Feature: Roaming |
| 1626 | * |
| 1627 | * Usage: External |
| 1628 | * |
| 1629 | * </ini> |
| 1630 | */ |
| 1631 | #define CFG_OKC_FEATURE_ENABLED_NAME "OkcEnabled" |
| 1632 | #define CFG_OKC_FEATURE_ENABLED_MIN (0) |
| 1633 | #define CFG_OKC_FEATURE_ENABLED_MAX (1) |
| 1634 | #define CFG_OKC_FEATURE_ENABLED_DEFAULT (1) |
| 1635 | |
| 1636 | /* |
| 1637 | * <ini> |
| 1638 | * gRoamScanOffloadEnabled - Enable Roam Scan Offload |
| 1639 | * @Min: 0 |
| 1640 | * @Max: 1 |
| 1641 | * @Default: 1 |
| 1642 | * |
| 1643 | * This INI is used to enable Roam Scan Offload in firmware |
| 1644 | * |
| 1645 | * Related: None |
| 1646 | * |
| 1647 | * Supported Feature: Roaming |
| 1648 | * |
| 1649 | * Usage: External |
| 1650 | * |
| 1651 | * </ini> |
| 1652 | */ |
| 1653 | #define CFG_ROAM_SCAN_OFFLOAD_ENABLED "gRoamScanOffloadEnabled" |
| 1654 | #define CFG_ROAM_SCAN_OFFLOAD_ENABLED_MIN (0) |
| 1655 | #define CFG_ROAM_SCAN_OFFLOAD_ENABLED_MAX (1) |
| 1656 | #define CFG_ROAM_SCAN_OFFLOAD_ENABLED_DEFAULT (1) |
| 1657 | |
| 1658 | /* |
| 1659 | * <ini> |
| 1660 | * gRoamRescanRssiDiff - Sets RSSI for Scan trigger in firmware |
| 1661 | * @Min: 0 |
| 1662 | * @Max: 100 |
| 1663 | * @Default: 5 |
| 1664 | * |
| 1665 | * This INI is the drop in RSSI value that will trigger a precautionary |
| 1666 | * scan by firmware. Max value is chosen in such a way that this type |
| 1667 | * of scan can be disabled by user. |
| 1668 | * |
| 1669 | * Related: None |
| 1670 | * |
| 1671 | * Supported Feature: Roaming |
| 1672 | * |
| 1673 | * Usage: External |
| 1674 | * |
| 1675 | * </ini> |
| 1676 | */ |
| 1677 | #define CFG_ROAM_RESCAN_RSSI_DIFF_NAME "gRoamRescanRssiDiff" |
| 1678 | #define CFG_ROAM_RESCAN_RSSI_DIFF_MIN (0) |
| 1679 | #define CFG_ROAM_RESCAN_RSSI_DIFF_MAX (100) |
| 1680 | #define CFG_ROAM_RESCAN_RSSI_DIFF_DEFAULT (5) |
| 1681 | |
| 1682 | /* |
| 1683 | * <ini> |
Naveen Rawat | 2b6e3c9 | 2017-03-20 13:59:07 -0700 | [diff] [blame] | 1684 | * gDroppedPktDisconnectTh - Sets dropped packet threshold in firmware |
| 1685 | * @Min: 0 |
| 1686 | * @Max: 512 |
| 1687 | * @Default: 512 |
| 1688 | * |
| 1689 | * This INI is the packet drop threshold will trigger disconnect from remote |
| 1690 | * peer. |
| 1691 | * |
| 1692 | * Related: None |
| 1693 | * |
| 1694 | * Supported Feature: connection |
| 1695 | * |
| 1696 | * Usage: External |
| 1697 | * |
| 1698 | * </ini> |
| 1699 | */ |
| 1700 | #define CFG_DROPPED_PKT_DISCONNECT_TH_NAME "gDroppedPktDisconnectTh" |
| 1701 | #define CFG_DROPPED_PKT_DISCONNECT_TH_MIN (0) |
Naveen Rawat | 3ca28b0 | 2017-04-05 10:03:29 -0700 | [diff] [blame] | 1702 | #define CFG_DROPPED_PKT_DISCONNECT_TH_MAX (65535) |
Naveen Rawat | 2b6e3c9 | 2017-03-20 13:59:07 -0700 | [diff] [blame] | 1703 | #define CFG_DROPPED_PKT_DISCONNECT_TH_DEFAULT (512) |
| 1704 | |
| 1705 | /* |
| 1706 | * <ini> |
Naveen Rawat | b2fc413 | 2017-05-10 20:42:05 -0700 | [diff] [blame] | 1707 | * gForce1x1Exception - force 1x1 when connecting to certain peer |
| 1708 | * @Min: 0 |
| 1709 | * @Max: 1 |
| 1710 | * @Default: 0 |
| 1711 | * |
| 1712 | * This INI when enabled will force 1x1 connection with certain peer. |
| 1713 | * |
| 1714 | * |
| 1715 | * Related: None |
| 1716 | * |
| 1717 | * Supported Feature: connection |
| 1718 | * |
| 1719 | * Usage: External |
| 1720 | * |
| 1721 | * </ini> |
| 1722 | */ |
| 1723 | #define CFG_FORCE_1X1_NAME "gForce1x1Exception" |
| 1724 | #define CFG_FORCE_1X1_MIN (0) |
| 1725 | #define CFG_FORCE_1X1_MAX (1) |
Nachiket Kukade | 4fa80f4 | 2017-07-31 17:40:42 +0530 | [diff] [blame] | 1726 | #define CFG_FORCE_1X1_DEFAULT (1) |
Naveen Rawat | b2fc413 | 2017-05-10 20:42:05 -0700 | [diff] [blame] | 1727 | |
| 1728 | /* |
| 1729 | * <ini> |
Naveen Rawat | 247a868 | 2017-06-05 15:00:31 -0700 | [diff] [blame] | 1730 | * g11bNumTxChains - Number of Tx Chanins in 11b mode |
| 1731 | * @Min: 0 |
| 1732 | * @Max: 2 |
| 1733 | * @Default: 0 |
| 1734 | * |
| 1735 | * Number of Tx Chanins in 11b mode |
| 1736 | * |
| 1737 | * |
| 1738 | * Related: None |
| 1739 | * |
| 1740 | * Supported Feature: connection |
| 1741 | * |
| 1742 | * Usage: External |
| 1743 | * |
| 1744 | * </ini> |
| 1745 | */ |
| 1746 | #define CFG_11B_NUM_TX_CHAIN_NAME "g11bNumTxChains" |
| 1747 | #define CFG_11B_NUM_TX_CHAIN_MIN (0) |
| 1748 | #define CFG_11B_NUM_TX_CHAIN_MAX (2) |
| 1749 | #define CFG_11B_NUM_TX_CHAIN_DEFAULT (0) |
| 1750 | |
| 1751 | /* |
| 1752 | * <ini> |
| 1753 | * g11agNumTxChains - Number of Tx Chanins in 11ag mode |
| 1754 | * @Min: 0 |
| 1755 | * @Max: 2 |
| 1756 | * @Default: 0 |
| 1757 | * |
| 1758 | * Number of Tx Chanins in 11ag mode |
| 1759 | * |
| 1760 | * |
| 1761 | * Related: None |
| 1762 | * |
| 1763 | * Supported Feature: connection |
| 1764 | * |
| 1765 | * Usage: External |
| 1766 | * |
| 1767 | * </ini> |
| 1768 | */ |
| 1769 | #define CFG_11AG_NUM_TX_CHAIN_NAME "g11agNumTxChains" |
Naveen Rawat | c8096b4 | 2017-10-05 14:28:59 -0700 | [diff] [blame] | 1770 | #define CFG_11AG_NUM_TX_CHAIN_MIN (0) |
| 1771 | #define CFG_11AG_NUM_TX_CHAIN_MAX (2) |
| 1772 | #define CFG_11AG_NUM_TX_CHAIN_DEFAULT (0) |
Naveen Rawat | 247a868 | 2017-06-05 15:00:31 -0700 | [diff] [blame] | 1773 | |
| 1774 | /* |
| 1775 | * <ini> |
Selvaraj, Sridhar | f793983 | 2017-03-25 16:59:50 +0530 | [diff] [blame] | 1776 | * gEnableFastRoamInConcurrency - Enable LFR roaming on STA during concurrency |
| 1777 | * @Min: 0 |
| 1778 | * @Max: 1 |
| 1779 | * @Default: 1 |
| 1780 | * |
| 1781 | * This INI is used to enable Legacy fast roaming(LFR) on STA link during |
| 1782 | * concurrent sessions. |
| 1783 | * |
| 1784 | * Related: None |
| 1785 | * |
| 1786 | * Supported Feature: Roaming |
| 1787 | * |
| 1788 | * Usage: External |
| 1789 | * |
| 1790 | * </ini> |
| 1791 | */ |
| 1792 | #define CFG_ENABLE_FAST_ROAM_IN_CONCURRENCY "gEnableFastRoamInConcurrency" |
| 1793 | #define CFG_ENABLE_FAST_ROAM_IN_CONCURRENCY_MIN (0) |
| 1794 | #define CFG_ENABLE_FAST_ROAM_IN_CONCURRENCY_MAX (1) |
| 1795 | #define CFG_ENABLE_FAST_ROAM_IN_CONCURRENCY_DEFAULT (1) |
| 1796 | |
| 1797 | /* |
| 1798 | * <ini> |
| 1799 | * gSelect5GHzMargin - Sets RSSI preference for 5GHz over 2.4GHz AP. |
| 1800 | * @Min: 0 |
| 1801 | * @Max: 60 |
| 1802 | * @Default: 0 |
| 1803 | * |
| 1804 | * Prefer connecting to 5G AP even if its RSSI is lower by gSelect5GHzMargin |
| 1805 | * dBm than 2.4G AP. This feature requires the dependent cfg.ini |
| 1806 | * "gRoamPrefer5GHz" set to 1 |
| 1807 | * |
| 1808 | * Related: gRoamPrefer5GHz |
| 1809 | * |
| 1810 | * Supported Feature: Roaming |
| 1811 | * |
| 1812 | * Usage: External |
| 1813 | * |
| 1814 | * </ini> |
| 1815 | */ |
| 1816 | #define CFG_STRICT_5GHZ_PREF_BY_MARGIN "gSelect5GHzMargin" |
| 1817 | #define CFG_STRICT_5GHZ_PREF_BY_MARGIN_MIN (0) |
| 1818 | #define CFG_STRICT_5GHZ_PREF_BY_MARGIN_MAX (60) |
| 1819 | #define CFG_STRICT_5GHZ_PREF_BY_MARGIN_DEFAULT (0) |
| 1820 | |
| 1821 | #ifdef WLAN_FEATURE_ROAM_OFFLOAD |
| 1822 | /* |
| 1823 | * <ini> |
| 1824 | * gRoamOffloadEnabled - enable/disable roam offload feature |
| 1825 | * @Min: 0 |
| 1826 | * @Max: 1 |
| 1827 | * @Default: 1 |
| 1828 | * |
| 1829 | * This INI is used to enable/disable roam offload feature |
| 1830 | * |
| 1831 | * Related: None |
| 1832 | * |
| 1833 | * Supported Feature: Roaming |
| 1834 | * |
| 1835 | * Usage: External |
| 1836 | * |
| 1837 | * </ini> |
| 1838 | */ |
| 1839 | #define CFG_ROAMING_OFFLOAD_NAME "gRoamOffloadEnabled" |
| 1840 | #define CFG_ROAMING_OFFLOAD_MIN (0) |
| 1841 | #define CFG_ROAMING_OFFLOAD_MAX (1) |
| 1842 | #define CFG_ROAMING_OFFLOAD_DEFAULT (1) |
| 1843 | #endif |
| 1844 | |
| 1845 | /* |
| 1846 | * <ini> |
| 1847 | * gRoamScanHiRssiMaxCount - Sets 5GHz maximum scan count |
| 1848 | * @Min: 0 |
| 1849 | * @Max: 10 |
| 1850 | * @Default: 3 |
| 1851 | * |
| 1852 | * This INI is used to set maximum scan count in 5GHz |
| 1853 | * |
| 1854 | * Related: None |
| 1855 | * |
| 1856 | * Supported Feature: Roaming |
| 1857 | * |
| 1858 | * Usage: External |
| 1859 | * |
| 1860 | * </ini> |
| 1861 | */ |
| 1862 | #define CFG_ROAM_SCAN_HI_RSSI_MAXCOUNT_NAME "gRoamScanHiRssiMaxCount" |
| 1863 | #define CFG_ROAM_SCAN_HI_RSSI_MAXCOUNT_MIN (0) |
| 1864 | #define CFG_ROAM_SCAN_HI_RSSI_MAXCOUNT_MAX (10) |
| 1865 | #define CFG_ROAM_SCAN_HI_RSSI_MAXCOUNT_DEFAULT (3) |
| 1866 | |
| 1867 | /* |
| 1868 | * <ini> |
| 1869 | * gRoamScanHiRssiDelta - Sets RSSI Delta for scan trigger |
| 1870 | * @Min: 0 |
| 1871 | * @Max: 16 |
| 1872 | * @Default: 10 |
| 1873 | * |
| 1874 | * This INI is used to set change in RSSI at which scan is triggered |
| 1875 | * in 5GHz. |
| 1876 | * |
| 1877 | * Related: None |
| 1878 | * |
| 1879 | * Supported Feature: Roaming |
| 1880 | * |
| 1881 | * Usage: External |
| 1882 | * |
| 1883 | * </ini> |
| 1884 | */ |
| 1885 | #define CFG_ROAM_SCAN_HI_RSSI_DELTA_NAME "gRoamScanHiRssiDelta" |
| 1886 | #define CFG_ROAM_SCAN_HI_RSSI_DELTA_MIN (0) |
| 1887 | #define CFG_ROAM_SCAN_HI_RSSI_DELTA_MAX (16) |
| 1888 | #define CFG_ROAM_SCAN_HI_RSSI_DELTA_DEFAULT (10) |
| 1889 | |
| 1890 | /* |
| 1891 | * <ini> |
| 1892 | * gRoamScanHiRssiDelay - Sets minimum delay between 5GHz scans |
| 1893 | * @Min: 5000 |
| 1894 | * @Max: 0x7fffffff |
| 1895 | * @Default: 15000 |
| 1896 | * |
| 1897 | * This INI is used to set the minimum delay between 5GHz scans. |
| 1898 | * |
| 1899 | * Related: None |
| 1900 | * |
| 1901 | * Supported Feature: Roaming |
| 1902 | * |
| 1903 | * Usage: External |
| 1904 | * |
| 1905 | * </ini> |
| 1906 | */ |
| 1907 | #define CFG_ROAM_SCAN_HI_RSSI_DELAY_NAME "gRoamScanHiRssiDelay" |
| 1908 | #define CFG_ROAM_SCAN_HI_RSSI_DELAY_MIN (5000) |
| 1909 | #define CFG_ROAM_SCAN_HI_RSSI_DELAY_MAX (0x7fffffff) |
| 1910 | #define CFG_ROAM_SCAN_HI_RSSI_DELAY_DEFAULT (15000) |
| 1911 | |
| 1912 | /* |
| 1913 | * <ini> |
| 1914 | * gRoamScanHiRssiUpperBound - Sets upper bound after which 5GHz scan |
| 1915 | * @Min: -66 |
| 1916 | * @Max: 0 |
| 1917 | * @Default: -30 |
| 1918 | * |
| 1919 | * This INI is used to set the RSSI upper bound above which the 5GHz scan |
| 1920 | * will not be performed. |
| 1921 | * |
| 1922 | * Related: None |
| 1923 | * |
| 1924 | * Supported Feature: Roaming |
| 1925 | * |
| 1926 | * Usage: External |
| 1927 | * |
| 1928 | * </ini> |
| 1929 | */ |
| 1930 | #define CFG_ROAM_SCAN_HI_RSSI_UB_NAME "gRoamScanHiRssiUpperBound" |
| 1931 | #define CFG_ROAM_SCAN_HI_RSSI_UB_MIN (-66) |
| 1932 | #define CFG_ROAM_SCAN_HI_RSSI_UB_MAX (0) |
| 1933 | #define CFG_ROAM_SCAN_HI_RSSI_UB_DEFAULT (-30) |
| 1934 | |
| 1935 | #ifdef FEATURE_LFR_SUBNET_DETECTION |
| 1936 | /* |
| 1937 | * <ini> |
| 1938 | * gLFRSubnetDetectionEnable - Enable LFR3 subnet detection |
| 1939 | * @Min: 0 |
| 1940 | * @Max: 1 |
| 1941 | * @Default: 1 |
| 1942 | * |
| 1943 | * Enable IP subnet detection during legacy fast roming version 3. Legacy fast |
| 1944 | * roaming could roam across IP subnets without host processors' knowledge. |
| 1945 | * This feature enables firmware to wake up the host processor if it |
| 1946 | * successfully determines change in the IP subnet. Change in IP subnet could |
| 1947 | * potentially cause disruption in IP connnectivity if IP address is not |
| 1948 | * refreshed. |
| 1949 | * |
| 1950 | * Related: None |
| 1951 | * |
| 1952 | * Supported Feature: Roaming |
| 1953 | * |
| 1954 | * Usage: External |
| 1955 | * |
| 1956 | * </ini> |
| 1957 | */ |
| 1958 | #define CFG_ENABLE_LFR_SUBNET_DETECTION "gLFRSubnetDetectionEnable" |
| 1959 | #define CFG_ENABLE_LFR_SUBNET_MIN (0) |
| 1960 | #define CFG_ENABLE_LFR_SUBNET_MAX (1) |
| 1961 | #define CFG_ENABLE_LFR_SUBNET_DEFAULT (1) |
| 1962 | #endif /* FEATURE_LFR_SUBNET_DETECTION */ |
| 1963 | |
| 1964 | /* |
| 1965 | * <ini> |
| 1966 | * groam_dense_rssi_thresh_offset - Sets dense roam RSSI threshold diff |
| 1967 | * @Min: 0 |
| 1968 | * @Max: 20 |
| 1969 | * @Default: 10 |
| 1970 | * |
| 1971 | * This INI is used to set offset value from normal RSSI threshold to dense |
| 1972 | * RSSI threshold Fw will optimize roaming based on new RSSI threshold once |
| 1973 | * it detects dense enviournment. |
| 1974 | * |
| 1975 | * Related: None |
| 1976 | * |
| 1977 | * Supported Feature: Roaming |
| 1978 | * |
| 1979 | * Usage: External |
| 1980 | * |
| 1981 | * </ini> |
| 1982 | */ |
| 1983 | #define CFG_ROAM_DENSE_RSSI_THRE_OFFSET "groam_dense_rssi_thresh_offset" |
| 1984 | #define CFG_ROAM_DENSE_RSSI_THRE_OFFSET_MIN (0) |
| 1985 | #define CFG_ROAM_DENSE_RSSI_THRE_OFFSET_MAX (20) |
| 1986 | #define CFG_ROAM_DENSE_RSSI_THRE_OFFSET_DEFAULT (10) |
| 1987 | |
| 1988 | /* |
| 1989 | * <ini> |
Abhinav Kumar | 271f063 | 2018-03-29 16:01:30 +0530 | [diff] [blame] | 1990 | * enable_ftopen - enable/disable FT open feature |
| 1991 | * @Min: 0 |
| 1992 | * @Max: 1 |
| 1993 | * @Default: 1 |
| 1994 | * |
| 1995 | * This INI is used to enable/disable FT open feature |
| 1996 | * |
| 1997 | * Related: None |
| 1998 | * |
| 1999 | * Supported Feature: Roaming |
| 2000 | * |
| 2001 | * Usage: External |
| 2002 | * |
| 2003 | * </ini> |
| 2004 | */ |
| 2005 | #define CFG_ROAM_FT_OPEN_ENABLE_NAME "enable_ftopen" |
| 2006 | #define CFG_ROAM_FT_OPEN_ENABLE_MIN (0) |
| 2007 | #define CFG_ROAM_FT_OPEN_ENABLE_MAX (1) |
| 2008 | #define CFG_ROAM_FT_OPEN_ENABLE_DEFAULT (1) |
| 2009 | |
| 2010 | /* |
| 2011 | * <ini> |
Selvaraj, Sridhar | f793983 | 2017-03-25 16:59:50 +0530 | [diff] [blame] | 2012 | * groam_dense_min_aps - Sets minimum number of AP for dense roam |
| 2013 | * @Min: 1 |
| 2014 | * @Max: 5 |
| 2015 | * @Default: 3 |
| 2016 | * |
| 2017 | * Minimum number of APs required for dense roam. FW will consider |
| 2018 | * environment as dense once it detects #APs operating is more than |
| 2019 | * groam_dense_min_aps. |
| 2020 | * |
| 2021 | * Related: None |
| 2022 | * |
| 2023 | * Supported Feature: Roaming |
| 2024 | * |
| 2025 | * Usage: External |
| 2026 | * |
| 2027 | * </ini> |
| 2028 | */ |
| 2029 | #define CFG_ROAM_DENSE_MIN_APS "groam_dense_min_aps" |
| 2030 | #define CFG_ROAM_DENSE_MIN_APS_MIN (1) |
| 2031 | #define CFG_ROAM_DENSE_MIN_APS_MAX (5) |
| 2032 | #define CFG_ROAM_DENSE_MIN_APS_DEFAULT (3) |
| 2033 | |
| 2034 | /* |
| 2035 | * <ini> |
Varun Reddy Yeturu | faad37e | 2017-07-26 10:54:13 -0700 | [diff] [blame] | 2036 | * roam_bg_scan_bad_rssi_thresh - RSSI threshold for background roam |
| 2037 | * @Min: -96 |
| 2038 | * @Max: 0 |
| 2039 | * @Default: -76 |
| 2040 | * |
| 2041 | * If the DUT is connected to an AP with weak signal, then the bad RSSI |
| 2042 | * threshold will be used as an opportunity to use the scan results |
| 2043 | * from other scan clients and try to roam if there is a better AP |
| 2044 | * available in the environment. |
| 2045 | * |
| 2046 | * Related: None |
| 2047 | * |
| 2048 | * Supported Feature: Roaming |
| 2049 | * |
| 2050 | * Usage: External |
| 2051 | * |
| 2052 | * </ini> |
| 2053 | */ |
| 2054 | #define CFG_ROAM_BG_SCAN_BAD_RSSI_THRESHOLD_NAME "roam_bg_scan_bad_rssi_thresh" |
| 2055 | #define CFG_ROAM_BG_SCAN_BAD_RSSI_THRESHOLD_MIN (-96) |
| 2056 | #define CFG_ROAM_BG_SCAN_BAD_RSSI_THRESHOLD_MAX (0) |
| 2057 | #define CFG_ROAM_BG_SCAN_BAD_RSSI_THRESHOLD_DEFAULT (-76) |
| 2058 | |
| 2059 | /* |
| 2060 | * <ini> |
| 2061 | * roam_bg_scan_client_bitmap - Bitmap used to identify the scan clients |
| 2062 | * @Min: 0 |
| 2063 | * @Max: 0x3FF |
| 2064 | * @Default: 0x |
| 2065 | * |
| 2066 | * This bitmap is used to define the client scans that need to be used |
| 2067 | * by the roaming module to perform a background roaming. |
| 2068 | * Currently supported bit positions are as follows: |
| 2069 | * Bit 0 is reserved in the firmware. |
| 2070 | * WMI_SCAN_CLIENT_NLO - 1 |
| 2071 | * WMI_SCAN_CLIENT_EXTSCAN - 2 |
| 2072 | * WMI_SCAN_CLIENT_ROAM - 3 |
| 2073 | * WMI_SCAN_CLIENT_P2P - 4 |
| 2074 | * WMI_SCAN_CLIENT_LPI - 5 |
| 2075 | * WMI_SCAN_CLIENT_NAN - 6 |
| 2076 | * WMI_SCAN_CLIENT_ANQP - 7 |
| 2077 | * WMI_SCAN_CLIENT_OBSS - 8 |
| 2078 | * WMI_SCAN_CLIENT_PLM - 9 |
| 2079 | * WMI_SCAN_CLIENT_HOST - 10 |
| 2080 | * |
| 2081 | * Related: None |
| 2082 | * |
| 2083 | * Supported Feature: Roaming |
| 2084 | * |
| 2085 | * Usage: External |
| 2086 | * |
| 2087 | * </ini> |
| 2088 | */ |
| 2089 | #define CFG_ROAM_BG_SCAN_CLIENT_BITMAP_NAME "roam_bg_scan_client_bitmap" |
| 2090 | #define CFG_ROAM_BG_SCAN_CLIENT_BITMAP_MIN (0) |
| 2091 | #define CFG_ROAM_BG_SCAN_CLIENT_BITMAP_MAX (0x7FF) |
| 2092 | #define CFG_ROAM_BG_SCAN_CLIENT_BITMAP_DEFAULT (0x424) |
| 2093 | |
| 2094 | /* |
| 2095 | * <ini> |
Abhinav Kumar | a95af7c | 2018-04-06 17:08:00 +0530 | [diff] [blame] | 2096 | * min_delay_btw_roam_scans - Min duration (in sec) allowed btw two |
| 2097 | * consecutive roam scans |
| 2098 | * @Min: 0 |
| 2099 | * @Max: 60 |
| 2100 | * @Default: 10 |
| 2101 | * |
| 2102 | * Roam scan is not allowed if duration between two consecutive |
| 2103 | * roam scans is less than this time. |
| 2104 | * |
| 2105 | * Related: None |
| 2106 | * |
| 2107 | * Supported Feature: Roaming |
| 2108 | * |
| 2109 | * Usage: External |
| 2110 | * |
| 2111 | * </ini> |
| 2112 | */ |
| 2113 | #define CFG_MIN_DELAY_BTW_ROAM_SCAN_NAME "min_delay_btw_roam_scans" |
| 2114 | #define CFG_MIN_DELAY_BTW_ROAM_SCAN_MIN (0) |
| 2115 | #define CFG_MIN_DELAY_BTW_ROAM_SCAN_MAX (60) |
| 2116 | #define CFG_MIN_DELAY_BTW_ROAM_SCAN_DEFAULT (10) |
| 2117 | |
| 2118 | /* |
| 2119 | * <ini> |
| 2120 | * roam_trigger_reason_bitmask - Contains roam_trigger_reasons |
| 2121 | * @Min: 0 |
| 2122 | * @Max: 0xFFFFFFFF |
| 2123 | * @Default: 0xDA |
| 2124 | * |
| 2125 | * Bitmask containing roam_trigger_reasons for which |
| 2126 | * min_delay_btw_roam_scans constraint should be applied. |
| 2127 | * Currently supported bit positions are as follows: |
| 2128 | * Bit 0 is reserved in the firmware. |
| 2129 | * WMI_ROAM_TRIGGER_REASON_PER - 1 |
| 2130 | * WMI_ROAM_TRIGGER_REASON_BMISS - 2 |
| 2131 | * WMI_ROAM_TRIGGER_REASON_LOW_RSSI - 3 |
| 2132 | * WMI_ROAM_TRIGGER_REASON_HIGH_RSSI - 4 |
| 2133 | * WMI_ROAM_TRIGGER_REASON_PERIODIC - 5 |
| 2134 | * WMI_ROAM_TRIGGER_REASON_MAWC - 6 |
| 2135 | * WMI_ROAM_TRIGGER_REASON_DENSE - 7 |
| 2136 | * WMI_ROAM_TRIGGER_REASON_BACKGROUND - 8 |
| 2137 | * WMI_ROAM_TRIGGER_REASON_FORCED - 9 |
| 2138 | * WMI_ROAM_TRIGGER_REASON_BTM - 10 |
| 2139 | * WMI_ROAM_TRIGGER_REASON_UNIT_TEST - 11 |
| 2140 | * WMI_ROAM_TRIGGER_REASON_MAX - 12 |
| 2141 | * |
| 2142 | * For Ex: 0xDA (PER, LOW_RSSI, HIGH_RSSI, MAWC, DENSE) |
| 2143 | * |
| 2144 | * Related: None |
| 2145 | * |
| 2146 | * Supported Feature: Roaming |
| 2147 | * |
| 2148 | * Usage: External |
| 2149 | * |
| 2150 | * </ini> |
| 2151 | */ |
| 2152 | #define CFG_ROAM_SCAN_TRIGGER_REASON_BITMASK_NAME "roam_trigger_reason_bitmask" |
| 2153 | #define CFG_ROAM_SCAN_TRIGGER_REASON_BITMASK_MIN (0) |
| 2154 | #define CFG_ROAM_SCAN_TRIGGER_REASON_BITMASK_MAX (0xFFFFFFFF) |
| 2155 | #define CFG_ROAM_SCAN_TRIGGER_REASON_BITMASK_DEFAULT (0xDA) |
| 2156 | |
| 2157 | /* |
| 2158 | * <ini> |
Vignesh Viswanathan | c018e98 | 2017-09-07 18:49:19 +0530 | [diff] [blame] | 2159 | * roam_bad_rssi_thresh_offset_2g - RSSI threshold offset for 2G to 5G roam |
| 2160 | * @Min: 0 |
| 2161 | * @Max: 86 |
| 2162 | * @Default: 40 |
| 2163 | * |
| 2164 | * If the DUT is connected to an AP with weak signal in 2G band, then the |
| 2165 | * bad RSSI offset for 2g would be used as offset from the bad RSSI |
| 2166 | * threshold configured and then use the resulting rssi for an opportunity |
| 2167 | * to use the scan results from other scan clients and try to roam to |
| 2168 | * 5G Band ONLY if there is a better AP available in the environment. |
| 2169 | * |
| 2170 | * For example if the roam_bg_scan_bad_rssi_thresh is -76 and |
| 2171 | * roam_bad_rssi_thresh_offset_2g is 40 then the difference of -36 would be |
| 2172 | * used as a trigger to roam to a 5G AP if DUT initially connected to a 2G AP |
| 2173 | * |
| 2174 | * Related: roam_bg_scan_bad_rssi_thresh |
| 2175 | * |
| 2176 | * Supported Feature: Roaming |
| 2177 | * |
| 2178 | * Usage: External |
| 2179 | * |
| 2180 | * </ini> |
| 2181 | */ |
| 2182 | #define CFG_ROAM_BG_SCAN_BAD_RSSI_OFFSET_2G_NAME "roam_bad_rssi_thresh_offset_2g" |
| 2183 | #define CFG_ROAM_BG_SCAN_BAD_RSSI_OFFSET_2G_MIN (0) |
| 2184 | #define CFG_ROAM_BG_SCAN_BAD_RSSI_OFFSET_2G_MAX (86) |
| 2185 | #define CFG_ROAM_BG_SCAN_BAD_RSSI_OFFSET_2G_DEFAULT (40) |
| 2186 | |
| 2187 | /* |
| 2188 | * <ini> |
Abhinav Kumar | a083f21 | 2018-04-05 18:49:45 +0530 | [diff] [blame] | 2189 | * ho_delay_for_rx - Delay Hand-off (In msec) by this duration to receive |
| 2190 | * pending rx frames from current BSS |
| 2191 | * @Min: 0 |
| 2192 | * @Max: 200 |
| 2193 | * @Default: 0 |
| 2194 | * |
| 2195 | * For LFR 3.0 roaming scenario, once roam candidate is found, firmware |
| 2196 | * waits for minimum this much duration to receive pending rx frames from |
| 2197 | * current BSS before switching to new channel for handoff to new AP. |
| 2198 | * |
| 2199 | * Related: None |
| 2200 | * |
| 2201 | * Supported Feature: Roaming |
| 2202 | * |
| 2203 | * Usage: External |
| 2204 | * |
| 2205 | * </ini> |
| 2206 | */ |
| 2207 | #define CFG_ROAM_HO_DELAY_FOR_RX_NAME "ho_delay_for_rx" |
| 2208 | #define CFG_ROAM_HO_DELAY_FOR_RX_MIN (0) |
| 2209 | #define CFG_ROAM_HO_DELAY_FOR_RX_MAX (200) |
| 2210 | #define CFG_ROAM_HO_DELAY_FOR_RX_DEFAULT (0) |
| 2211 | |
| 2212 | /* |
| 2213 | * <ini> |
Abhinav Kumar | edd1d37 | 2018-05-11 15:33:35 +0530 | [diff] [blame] | 2214 | * roam_force_rssi_trigger - To force RSSI trigger |
| 2215 | * irrespective of channel list type |
| 2216 | * @Min: 0 |
| 2217 | * @Max: 1 |
| 2218 | * @Default: 1 |
| 2219 | * |
| 2220 | * This ini is used to set roam scan mode |
| 2221 | * WMI_ROAM_SCAN_MODE_RSSI_CHANGE, irrespective of whether |
| 2222 | * channel list type is CHANNEL_LIST_STATIC or not |
| 2223 | * |
| 2224 | * Related: None |
| 2225 | * |
| 2226 | * Supported Feature: Roaming |
| 2227 | * |
| 2228 | * Usage: External |
| 2229 | * |
| 2230 | * </ini> |
| 2231 | */ |
| 2232 | #define CFG_ROAM_FORCE_RSSI_TRIGGER_NAME "roam_force_rssi_trigger" |
| 2233 | #define CFG_ROAM_FORCE_RSSI_TRIGGER_MIN (0) |
| 2234 | #define CFG_ROAM_FORCE_RSSI_TRIGGER_MAX (1) |
| 2235 | #define CFG_ROAM_FORCE_RSSI_TRIGGER_DEFAULT (1) |
| 2236 | |
| 2237 | /* |
| 2238 | * <ini> |
Selvaraj, Sridhar | f793983 | 2017-03-25 16:59:50 +0530 | [diff] [blame] | 2239 | * roamscan_adaptive_dwell_mode - Sets dwell time adaptive mode |
| 2240 | * @Min: 0 |
| 2241 | * @Max: 4 |
Arif Hussain | dcb9ead | 2017-03-09 16:41:00 -0800 | [diff] [blame] | 2242 | * @Default: 1 |
Selvaraj, Sridhar | f793983 | 2017-03-25 16:59:50 +0530 | [diff] [blame] | 2243 | * |
| 2244 | * This parameter will set the algo used in dwell time optimization during |
Sandeep Puligilla | f5ccbf6 | 2018-03-26 16:37:05 -0700 | [diff] [blame] | 2245 | * roam scan. see enum scan_dwelltime_adaptive_mode. |
Selvaraj, Sridhar | f793983 | 2017-03-25 16:59:50 +0530 | [diff] [blame] | 2246 | * Acceptable values for this: |
| 2247 | * 0: Default (Use firmware default mode) |
| 2248 | * 1: Conservative optimization |
| 2249 | * 2: Moderate optimization |
| 2250 | * 3: Aggressive optimization |
| 2251 | * 4: Static |
| 2252 | * |
| 2253 | * Related: None |
| 2254 | * |
| 2255 | * Supported Feature: Roaming |
| 2256 | * |
| 2257 | * Usage: External |
| 2258 | * |
| 2259 | * </ini> |
| 2260 | */ |
| 2261 | #define CFG_ADAPTIVE_ROAMSCAN_DWELL_MODE_NAME "roamscan_adaptive_dwell_mode" |
| 2262 | #define CFG_ADAPTIVE_ROAMSCAN_DWELL_MODE_MIN (0) |
| 2263 | #define CFG_ADAPTIVE_ROAMSCAN_DWELL_MODE_MAX (4) |
Arif Hussain | dcb9ead | 2017-03-09 16:41:00 -0800 | [diff] [blame] | 2264 | #define CFG_ADAPTIVE_ROAMSCAN_DWELL_MODE_DEFAULT (1) |
Selvaraj, Sridhar | f793983 | 2017-03-25 16:59:50 +0530 | [diff] [blame] | 2265 | |
| 2266 | /* |
Arun Khandavalli | fae9294 | 2016-08-01 13:31:08 +0530 | [diff] [blame] | 2267 | * Timer waiting for interface up from the upper layer. If |
| 2268 | * this timer expires all the cds modules shall be closed. |
| 2269 | * Time Units: ms |
| 2270 | */ |
| 2271 | #define CFG_INTERFACE_CHANGE_WAIT_NAME "gInterfaceChangeWait" |
| 2272 | #define CFG_INTERFACE_CHANGE_WAIT_MIN (10) |
Arunk Khandavalli | b0b940b | 2017-01-23 14:08:02 +0530 | [diff] [blame] | 2273 | #define CFG_INTERFACE_CHANGE_WAIT_MAX (500000) |
Mukul Sharma | 07bd875 | 2017-10-10 16:58:14 +0530 | [diff] [blame] | 2274 | #define CFG_INTERFACE_CHANGE_WAIT_DEFAULT (10000) |
Arun Khandavalli | fae9294 | 2016-08-01 13:31:08 +0530 | [diff] [blame] | 2275 | |
| 2276 | /* |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 2277 | * <ini> |
| 2278 | * gShortPreamble - Set Short Preamble |
| 2279 | * @Min: 0 |
| 2280 | * @Max: 1 |
| 2281 | * @Default: 1 |
| 2282 | * |
| 2283 | * This ini is used to set default short Preamble |
| 2284 | * |
| 2285 | * Related: None |
| 2286 | * |
| 2287 | * Supported Feature: STA |
| 2288 | * |
| 2289 | * Usage: Internal/External |
| 2290 | * |
| 2291 | * </ini> |
| 2292 | */ |
| 2293 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2294 | #define CFG_SHORT_PREAMBLE_NAME "gShortPreamble" |
| 2295 | #define CFG_SHORT_PREAMBLE_MIN WNI_CFG_SHORT_PREAMBLE_STAMIN |
| 2296 | #define CFG_SHORT_PREAMBLE_MAX WNI_CFG_SHORT_PREAMBLE_STAMAX |
| 2297 | #define CFG_SHORT_PREAMBLE_DEFAULT WNI_CFG_SHORT_PREAMBLE_STADEF |
| 2298 | |
Abhishek Singh | 49b654e | 2016-12-01 16:11:17 +0530 | [diff] [blame] | 2299 | /* |
| 2300 | * <ini> |
| 2301 | * gIbssBssid - Default IBSS BSSID if BSSID is not provided by supplicant |
| 2302 | * @Min: "000000000000" |
| 2303 | * @Max: "ffffffffffff" |
| 2304 | * @Default: "000AF5040506" |
| 2305 | * |
| 2306 | * This ini is used to set Default IBSS BSSID if BSSID |
| 2307 | * is not provided by supplicant and Coalesing is disabled |
| 2308 | * |
| 2309 | * Related: Only applicable if gCoalesingInIBSS is 0 |
| 2310 | * |
| 2311 | * Supported Feature: IBSS |
| 2312 | * |
| 2313 | * Usage: Internal/External |
| 2314 | * |
| 2315 | * </ini> |
| 2316 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2317 | #define CFG_IBSS_BSSID_NAME "gIbssBssid" |
| 2318 | #define CFG_IBSS_BSSID_MIN "000000000000" |
| 2319 | #define CFG_IBSS_BSSID_MAX "ffffffffffff" |
| 2320 | #define CFG_IBSS_BSSID_DEFAULT "000AF5040506" |
| 2321 | |
Abhishek Singh | 49b654e | 2016-12-01 16:11:17 +0530 | [diff] [blame] | 2322 | /* |
| 2323 | * <ini> |
| 2324 | * gAdHocChannel5G - Default 5Ghz IBSS channel if channel is not |
| 2325 | * provided by supplicant. |
| 2326 | * @Min: 36 |
| 2327 | * @Max: 165 |
| 2328 | * @Default: 44 |
| 2329 | * |
| 2330 | * This ini is used to set default 5Ghz IBSS channel |
| 2331 | * if channel is not provided by supplicant and band is 5Ghz |
| 2332 | * |
| 2333 | * Related: None |
| 2334 | * |
| 2335 | * Supported Feature: IBSS |
| 2336 | * |
| 2337 | * Usage: Internal/External |
| 2338 | * |
| 2339 | * </ini> |
| 2340 | */ |
| 2341 | #define CFG_IBSS_ADHOC_CHANNEL_5GHZ_NAME "gAdHocChannel5G" |
| 2342 | #define CFG_IBSS_ADHOC_CHANNEL_5GHZ_MIN (36) |
| 2343 | #define CFG_IBSS_ADHOC_CHANNEL_5GHZ_MAX (165) |
| 2344 | #define CFG_IBSS_ADHOC_CHANNEL_5GHZ_DEFAULT (44) |
| 2345 | |
| 2346 | /* |
| 2347 | * <ini> |
| 2348 | * gAdHocChannel24G - Default 2.4Ghz IBSS channel if channel is not |
| 2349 | * provided by supplicant. |
| 2350 | * @Min: 1 |
| 2351 | * @Max: 14 |
| 2352 | * @Default: 6 |
| 2353 | * |
| 2354 | * This ini is used to set default 2.4Ghz IBSS channel |
| 2355 | * if channel is not provided by supplicant and band is 2.4Ghz |
| 2356 | * |
| 2357 | * Related: None |
| 2358 | * |
| 2359 | * Supported Feature: IBSS |
| 2360 | * |
| 2361 | * Usage: Internal/External |
| 2362 | * |
| 2363 | * </ini> |
| 2364 | */ |
| 2365 | #define CFG_IBSS_ADHOC_CHANNEL_24GHZ_NAME "gAdHocChannel24G" |
| 2366 | #define CFG_IBSS_ADHOC_CHANNEL_24GHZ_MIN (1) |
| 2367 | #define CFG_IBSS_ADHOC_CHANNEL_24GHZ_MAX (14) |
| 2368 | #define CFG_IBSS_ADHOC_CHANNEL_24GHZ_DEFAULT (6) |
| 2369 | |
| 2370 | /* |
| 2371 | * <ini> |
| 2372 | * gCoalesingInIBSS - If IBSS coalesing is enabled. |
| 2373 | * @Min: 0 |
| 2374 | * @Max: 1 |
| 2375 | * @Default: 0 |
| 2376 | * |
| 2377 | * This ini is used to set IBSS coalesing |
| 2378 | * |
| 2379 | * Related: None |
| 2380 | * |
| 2381 | * Supported Feature: IBSS |
| 2382 | * |
| 2383 | * Usage: Internal/External |
| 2384 | * |
| 2385 | * </ini> |
| 2386 | */ |
| 2387 | #define CFG_COALESING_IN_IBSS_NAME "gCoalesingInIBSS" |
| 2388 | #define CFG_COALESING_IN_IBSS_MIN (0) |
| 2389 | #define CFG_COALESING_IN_IBSS_MAX (1) |
| 2390 | #define CFG_COALESING_IN_IBSS_DEFAULT (0) /* disabled */ |
| 2391 | |
| 2392 | /* |
| 2393 | * <ini> |
| 2394 | * gIbssATIMWinSize - Set IBSS ATIM window size |
| 2395 | * @Min: 0 |
| 2396 | * @Max: 50 |
| 2397 | * @Default: 0 |
| 2398 | * |
| 2399 | * This ini is used to set IBSS ATIM window size |
| 2400 | * |
| 2401 | * Related: None |
| 2402 | * |
| 2403 | * Supported Feature: IBSS |
| 2404 | * |
| 2405 | * Usage: Internal/External |
| 2406 | * |
| 2407 | * </ini> |
| 2408 | */ |
| 2409 | #define CFG_IBSS_ATIM_WIN_SIZE_NAME "gIbssATIMWinSize" |
| 2410 | #define CFG_IBSS_ATIM_WIN_SIZE_MIN (0) |
| 2411 | #define CFG_IBSS_ATIM_WIN_SIZE_MAX (50) |
| 2412 | #define CFG_IBSS_ATIM_WIN_SIZE_DEFAULT (0) |
| 2413 | |
| 2414 | |
| 2415 | /* |
| 2416 | * <ini> |
| 2417 | * gIbssIsPowerSaveAllowed - Indicates if IBSS Power Save is |
| 2418 | * supported or not |
| 2419 | * @Min: 0 |
| 2420 | * @Max: 1 |
| 2421 | * @Default: 1 |
| 2422 | * |
| 2423 | * This ini is used to Indicates if IBSS Power Save is |
| 2424 | * supported or not. When not allowed,IBSS station has |
| 2425 | * to stay awake all the time and should never set PM=1 |
| 2426 | * in its transmitted frames. |
| 2427 | * |
| 2428 | * Related: valid only when gIbssATIMWinSize is non-zero |
| 2429 | * |
| 2430 | * Supported Feature: IBSS |
| 2431 | * |
| 2432 | * Usage: Internal/External |
| 2433 | * |
| 2434 | * </ini> |
| 2435 | */ |
| 2436 | #define CFG_IBSS_IS_POWER_SAVE_ALLOWED_NAME "gIbssIsPowerSaveAllowed" |
| 2437 | #define CFG_IBSS_IS_POWER_SAVE_ALLOWED_MIN (0) |
| 2438 | #define CFG_IBSS_IS_POWER_SAVE_ALLOWED_MAX (1) |
| 2439 | #define CFG_IBSS_IS_POWER_SAVE_ALLOWED_DEFAULT (1) |
| 2440 | |
| 2441 | /* |
| 2442 | * <ini> |
| 2443 | * gIbssIsPowerCollapseAllowed - Indicates if IBSS Power Collapse |
| 2444 | * is allowed |
| 2445 | * @Min: 0 |
| 2446 | * @Max: 1 |
| 2447 | * @Default: 1 |
| 2448 | * |
| 2449 | * This ini is used to indicates if IBSS Power Collapse |
| 2450 | * is allowed |
| 2451 | * |
| 2452 | * Related: None |
| 2453 | * |
| 2454 | * Supported Feature: IBSS |
| 2455 | * |
| 2456 | * Usage: Internal/External |
| 2457 | * |
| 2458 | * </ini> |
| 2459 | */ |
| 2460 | #define CFG_IBSS_IS_POWER_COLLAPSE_ALLOWED_NAME "gIbssIsPowerCollapseAllowed" |
| 2461 | #define CFG_IBSS_IS_POWER_COLLAPSE_ALLOWED_MIN (0) |
| 2462 | #define CFG_IBSS_IS_POWER_COLLAPSE_ALLOWED_MAX (1) |
| 2463 | #define CFG_IBSS_IS_POWER_COLLAPSE_ALLOWED_DEFAULT (1) |
| 2464 | |
| 2465 | /* |
| 2466 | * <ini> |
| 2467 | * gIbssAwakeOnTxRx - Indicates whether IBSS station |
| 2468 | * can exit power save mode and enter power active |
| 2469 | * state whenever there is a TX/RX activity. |
| 2470 | * |
| 2471 | * @Min: 0 |
| 2472 | * @Max: 1 |
| 2473 | * @Default: 0 |
| 2474 | * |
| 2475 | * This ini is used to ndicates whether IBSS station |
| 2476 | * can exit power save mode and enter power active |
| 2477 | * state whenever there is a TX/RX activity. |
| 2478 | * |
| 2479 | * Related: None |
| 2480 | * |
| 2481 | * Supported Feature: IBSS |
| 2482 | * |
| 2483 | * Usage: Internal/External |
| 2484 | * |
| 2485 | * </ini> |
| 2486 | */ |
| 2487 | #define CFG_IBSS_AWAKE_ON_TX_RX_NAME "gIbssAwakeOnTxRx" |
| 2488 | #define CFG_IBSS_AWAKE_ON_TX_RX_MIN (0) |
| 2489 | #define CFG_IBSS_AWAKE_ON_TX_RX_MAX (1) |
| 2490 | #define CFG_IBSS_AWAKE_ON_TX_RX_DEFAULT (0) |
| 2491 | |
| 2492 | /* |
| 2493 | * <ini> |
| 2494 | * gIbssInactivityTime - Indicates the data |
| 2495 | * inactivity time in number of beacon intervals |
| 2496 | * after which IBSS station re-inters power save |
| 2497 | * |
| 2498 | * @Min: 1 |
| 2499 | * @Max: 10 |
| 2500 | * @Default: 1 |
| 2501 | * |
| 2502 | * In IBSS mode if Awake on TX/RX activity is enabled |
| 2503 | * Ibss Inactivity parameter indicates the data |
| 2504 | * inactivity time in number of beacon intervals |
| 2505 | * after which IBSS station re-inters power save |
| 2506 | * by sending Null frame with PM=1 |
| 2507 | * |
| 2508 | * Related: Aplicable if gIbssAwakeOnTxRx is enabled |
| 2509 | * |
| 2510 | * Supported Feature: IBSS |
| 2511 | * |
| 2512 | * Usage: Internal/External |
| 2513 | * |
| 2514 | * </ini> |
| 2515 | */ |
| 2516 | #define CFG_IBSS_INACTIVITY_TIME_NAME "gIbssInactivityTime" |
| 2517 | #define CFG_IBSS_INACTIVITY_TIME_MIN (1) |
| 2518 | #define CFG_IBSS_INACTIVITY_TIME_MAX (10) |
| 2519 | #define CFG_IBSS_INACTIVITY_TIME_DEFAULT (1) |
| 2520 | |
| 2521 | /* |
| 2522 | * <ini> |
| 2523 | * gIbssTxSpEndInactivityTime - Indicates the time after |
| 2524 | * which TX Service Period is terminated by |
| 2525 | * sending a Qos Null frame with EOSP. |
| 2526 | * |
| 2527 | * @Min: 0 |
| 2528 | * @Max: 100 |
| 2529 | * @Default: 0 |
| 2530 | * |
| 2531 | * In IBSS mode Tx Service Period Inactivity |
| 2532 | * time in msecs indicates the time after |
| 2533 | * which TX Service Period is terminated by |
| 2534 | * sending a Qos Null frame with EOSP. |
| 2535 | * If value is 0, TX SP is terminated with the |
| 2536 | * last buffered packet itself instead of waiting |
| 2537 | * for the inactivity. |
| 2538 | * |
| 2539 | * Related: None |
| 2540 | * |
| 2541 | * Supported Feature: IBSS |
| 2542 | * |
| 2543 | * Usage: Internal/External |
| 2544 | * |
| 2545 | * </ini> |
| 2546 | */ |
| 2547 | #define CFG_IBSS_TXSP_END_INACTIVITY_NAME "gIbssTxSpEndInactivityTime" |
| 2548 | #define CFG_IBSS_TXSP_END_INACTIVITY_MIN (0) |
| 2549 | #define CFG_IBSS_TXSP_END_INACTIVITY_MAX (100) |
| 2550 | #define CFG_IBSS_TXSP_END_INACTIVITY_DEFAULT (0) |
| 2551 | |
| 2552 | /* |
| 2553 | * <ini> |
| 2554 | * gIbssPsWarmupTime - PS-supporting device |
| 2555 | * does not enter protocol sleep state during first |
| 2556 | * gIbssPsWarmupTime seconds. |
| 2557 | * |
| 2558 | * @Min: 0 |
| 2559 | * @Max: 65535 |
| 2560 | * @Default: 0 |
| 2561 | * |
| 2562 | * When IBSS network is initialized, PS-supporting device |
| 2563 | * does not enter protocol sleep state during first |
| 2564 | * gIbssPsWarmupTime seconds. |
| 2565 | * |
| 2566 | * Related: valid if gIbssIsPowerSaveAllowed is set |
| 2567 | * |
| 2568 | * Supported Feature: IBSS |
| 2569 | * |
| 2570 | * Usage: Internal/External |
| 2571 | * |
| 2572 | * </ini> |
| 2573 | */ |
| 2574 | #define CFG_IBSS_PS_WARMUP_TIME_NAME "gIbssPsWarmupTime" |
| 2575 | #define CFG_IBSS_PS_WARMUP_TIME_MIN (0) |
| 2576 | /* Allow unsigned Int Max for now */ |
| 2577 | #define CFG_IBSS_PS_WARMUP_TIME_MAX (65535) |
| 2578 | #define CFG_IBSS_PS_WARMUP_TIME_DEFAULT (0) |
| 2579 | |
| 2580 | /* |
| 2581 | * <ini> |
Sen, Devendra | c441b21 | 2017-02-23 15:40:42 +0530 | [diff] [blame] | 2582 | * gIbssPs1RxChainInAtim - IBSS Power Save Enable/Disable 1 RX |
Abhishek Singh | 49b654e | 2016-12-01 16:11:17 +0530 | [diff] [blame] | 2583 | * chain usage during the ATIM window |
| 2584 | * |
| 2585 | * @Min: 0 |
| 2586 | * @Max: 1 |
| 2587 | * @Default: 0 |
| 2588 | * |
| 2589 | * IBSS Power Save Enable/Disable 1 RX |
| 2590 | * chain usage during the ATIM window |
| 2591 | * |
| 2592 | * Related: Depend on gIbssIsPowerSaveAllowed |
| 2593 | * |
| 2594 | * Supported Feature: IBSS |
| 2595 | * |
| 2596 | * Usage: Internal/External |
| 2597 | * |
| 2598 | * </ini> |
| 2599 | */ |
| 2600 | #define CFG_IBSS_PS_1RX_CHAIN_IN_ATIM_WINDOW_NAME "gIbssPs1RxChainInAtim" |
| 2601 | #define CFG_IBSS_PS_1RX_CHAIN_IN_ATIM_WINDOW_MIN (0) |
| 2602 | #define CFG_IBSS_PS_1RX_CHAIN_IN_ATIM_WINDOW_MAX (1) |
| 2603 | #define CFG_IBSS_PS_1RX_CHAIN_IN_ATIM_WINDOW_DEFAULT (0) |
| 2604 | |
Paul Zhang | 99fe884 | 2017-12-08 14:43:46 +0800 | [diff] [blame] | 2605 | /* |
| 2606 | * <ini> |
| 2607 | * wlm_latency_enable - WLM latency Enable |
| 2608 | * |
| 2609 | * @min: 0 |
| 2610 | * @max: 1 |
| 2611 | * @default: 0 |
| 2612 | * |
| 2613 | * 0 - disable |
| 2614 | * 1 - enable |
| 2615 | * |
| 2616 | * </ini> |
| 2617 | */ |
| 2618 | #define CFG_LATENCY_ENABLE_NAME "wlm_latency_enable" |
| 2619 | #define CFG_LATENCY_ENABLE_MIN (0) |
| 2620 | #define CFG_LATENCY_ENABLE_MAX (1) |
| 2621 | #define CFG_LATENCY_ENABLE_DEFAULT (0) |
Abhishek Singh | 49b654e | 2016-12-01 16:11:17 +0530 | [diff] [blame] | 2622 | |
Paul Zhang | 99fe884 | 2017-12-08 14:43:46 +0800 | [diff] [blame] | 2623 | /* |
| 2624 | * <ini> |
| 2625 | * wlm_latency_level - WLM latency level |
| 2626 | * Define 4 latency level to gain latency |
| 2627 | * |
| 2628 | * @min: 0 |
| 2629 | * @max: 3 |
| 2630 | * @defalut: 0 |
| 2631 | * |
| 2632 | * 0 - normal |
| 2633 | * 1 - moderate |
| 2634 | * 2 - low |
| 2635 | * 3 - ultralow |
| 2636 | * |
| 2637 | * </ini> |
| 2638 | */ |
| 2639 | #define CFG_LATENCY_LEVEL_NAME "wlm_latency_level" |
| 2640 | #define CFG_LATENCY_LEVEL_MIN (0) |
| 2641 | #define CFG_LATENCY_LEVEL_MAX (3) |
| 2642 | #define CFG_LATENCY_LEVEL_DEFAULT (0) |
Abhishek Singh | 49b654e | 2016-12-01 16:11:17 +0530 | [diff] [blame] | 2643 | |
Paul Zhang | 99fe884 | 2017-12-08 14:43:46 +0800 | [diff] [blame] | 2644 | /* |
| 2645 | * <ini> |
| 2646 | * wlm_latency_flags_normal - WLM flags setting for normal level |
| 2647 | * |
| 2648 | * @min: 0x0 |
| 2649 | * @max: 0xffffffff |
| 2650 | * @defalut: 0x0 |
| 2651 | * |
| 2652 | * |31 12| 11 | 10 |9 8|7 6|5 4|3 2| 1 | 0 | |
| 2653 | * +------+------+------+------+------+------+------+-----+-----+ |
| 2654 | * | RSVD | SSLP | CSLP | RSVD | Roam | RSVD | DWLT | DFS | SUP | |
| 2655 | * +------+-------------+-------------+-------------------------+ |
| 2656 | * | WAL | PS | Roam | Scan | |
| 2657 | * |
| 2658 | * bit 0: Avoid scan request from HLOS if setting |
| 2659 | * bit 1: Skip DFS channel SCAN if setting |
| 2660 | * bit 2-3: Define policy of dwell time/duration for each foreign channel |
| 2661 | * (b2 b3) |
| 2662 | * (0 0 ): Default scan dwell time |
| 2663 | * (0 1 ): Reserve |
| 2664 | * (1 0 ): Shrink off channel dwell time |
| 2665 | * (1 1 ): Reserve |
| 2666 | * bit 4-5: Reserve for scan |
| 2667 | * bit 6-7: Define roaming policy |
| 2668 | * (b6 b7) |
| 2669 | * (0 0 ): Default roaming behavior, allow roaming in all scenarios |
| 2670 | * (0 1 ): Disallow all roaming |
| 2671 | * (1 0 ): Allow roaming when final bmissed |
| 2672 | * (1 1 ): Reserve |
| 2673 | * bit 8-9: Reserve for roaming |
| 2674 | * bit 10: Disable css power collapse if setting |
| 2675 | * bit 11: Disable sys sleep if setting |
| 2676 | * bit 12-31: Reserve for future useage |
| 2677 | * |
| 2678 | * </ini> |
| 2679 | */ |
| 2680 | #define CFG_LATENCY_FLAGS_NORMAL_NAME "wlm_latency_flags_normal" |
| 2681 | #define CFG_LATENCY_FLAGS_NORMAL_MIN (0x0) |
| 2682 | #define CFG_LATENCY_FLAGS_NORMAL_MAX (0xffffffff) |
| 2683 | #define CFG_LATENCY_FLAGS_NORMAL_DEFAULT (0x0) |
| 2684 | |
| 2685 | /* |
| 2686 | * <ini> |
| 2687 | * wlm_latency_flags_moderate - WLM flags setting for moderate level |
| 2688 | * |
| 2689 | * @min: 0x0 |
| 2690 | * @max: 0xffffffff |
| 2691 | * @defalut: 0x8 |
| 2692 | * |
| 2693 | * |31 12| 11 | 10 |9 8|7 6|5 4|3 2| 1 | 0 | |
| 2694 | * +------+------+------+------+------+------+------+-----+-----+ |
| 2695 | * | RSVD | SSLP | CSLP | RSVD | Roam | RSVD | DWLT | DFS | SUP | |
| 2696 | * +------+-------------+-------------+-------------------------+ |
| 2697 | * | WAL | PS | Roam | Scan | |
| 2698 | * |
| 2699 | * bit 0: Avoid scan request from HLOS if setting |
| 2700 | * bit 1: Skip DFS channel SCAN if setting |
| 2701 | * bit 2-3: Define policy of dwell time/duration for each foreign channel |
| 2702 | * (b2 b3) |
| 2703 | * (0 0 ): Default scan dwell time |
| 2704 | * (0 1 ): Reserve |
| 2705 | * (1 0 ): Shrink off channel dwell time |
| 2706 | * (1 1 ): Reserve |
| 2707 | * bit 4-5: Reserve for scan |
| 2708 | * bit 6-7: Define roaming policy |
| 2709 | * (b6 b7) |
| 2710 | * (0 0 ): Default roaming behavior, allow roaming in all scenarios |
| 2711 | * (0 1 ): Disallow all roaming |
| 2712 | * (1 0 ): Allow roaming when final bmissed |
| 2713 | * (1 1 ): Reserve |
| 2714 | * bit 8-9: Reserve for roaming |
| 2715 | * bit 10: Disable css power collapse if setting |
| 2716 | * bit 11: Disable sys sleep if setting |
| 2717 | * bit 12-31: Reserve for future useage |
| 2718 | * |
| 2719 | * </ini> |
| 2720 | */ |
| 2721 | #define CFG_LATENCY_FLAGS_MODERATE_NAME "wlm_latency_flags_moderate" |
| 2722 | #define CFG_LATENCY_FLAGS_MODERATE_MIN (0x0) |
| 2723 | #define CFG_LATENCY_FLAGS_MODERATE_MAX (0xffffffff) |
| 2724 | #define CFG_LATENCY_FLAGS_MODERATE_DEFAULT (0x8) |
| 2725 | |
| 2726 | /* |
| 2727 | * <ini> |
| 2728 | * wlm_latency_flags_low - WLM flags setting for low level |
| 2729 | * |
| 2730 | * @min: 0x0 |
| 2731 | * @max: 0xffffffff |
| 2732 | * @defalut: 0xa |
| 2733 | * |
| 2734 | * |31 12| 11 | 10 |9 8|7 6|5 4|3 2| 1 | 0 | |
| 2735 | * +------+------+------+------+------+------+------+-----+-----+ |
| 2736 | * | RSVD | SSLP | CSLP | RSVD | Roam | RSVD | DWLT | DFS | SUP | |
| 2737 | * +------+-------------+-------------+-------------------------+ |
| 2738 | * | WAL | PS | Roam | Scan | |
| 2739 | * |
| 2740 | * bit 0: Avoid scan request from HLOS if setting |
| 2741 | * bit 1: Skip DFS channel SCAN if setting |
| 2742 | * bit 2-3: Define policy of dwell time/duration for each foreign channel |
| 2743 | * (b2 b3) |
| 2744 | * (0 0 ): Default scan dwell time |
| 2745 | * (0 1 ): Reserve |
| 2746 | * (1 0 ): Shrink off channel dwell time |
| 2747 | * (1 1 ): Reserve |
| 2748 | * bit 4-5: Reserve for scan |
| 2749 | * bit 6-7: Define roaming policy |
| 2750 | * (b6 b7) |
| 2751 | * (0 0 ): Default roaming behavior, allow roaming in all scenarios |
| 2752 | * (0 1 ): Disallow all roaming |
| 2753 | * (1 0 ): Allow roaming when final bmissed |
| 2754 | * (1 1 ): Reserve |
| 2755 | * bit 8-9: Reserve for roaming |
| 2756 | * bit 10: Disable css power collapse if setting |
| 2757 | * bit 11: Disable sys sleep if setting |
| 2758 | * bit 12-31: Reserve for future useage |
| 2759 | * |
| 2760 | * </ini> |
| 2761 | */ |
| 2762 | #define CFG_LATENCY_FLAGS_LOW_NAME "wlm_latency_flags_low" |
| 2763 | #define CFG_LATENCY_FLAGS_LOW_MIN (0x0) |
| 2764 | #define CFG_LATENCY_FLAGS_LOW_MAX (0xffffffff) |
| 2765 | #define CFG_LATENCY_FLAGS_LOW_DEFAULT (0xa) |
| 2766 | |
| 2767 | /* |
| 2768 | * <ini> |
| 2769 | * wlm_latency_flags_ultralow - WLM flags setting for ultralow level |
| 2770 | * |
| 2771 | * @min: 0x0 |
| 2772 | * @max: 0xffffffff |
| 2773 | * @defalut: 0xc8a |
| 2774 | * |
| 2775 | * |31 12| 11 | 10 |9 8|7 6|5 4|3 2| 1 | 0 | |
| 2776 | * +------+------+------+------+------+------+------+-----+-----+ |
| 2777 | * | RSVD | SSLP | CSLP | RSVD | Roam | RSVD | DWLT | DFS | SUP | |
| 2778 | * +------+-------------+-------------+-------------------------+ |
| 2779 | * | WAL | PS | Roam | Scan | |
| 2780 | * |
| 2781 | * bit 0: Avoid scan request from HLOS if setting |
| 2782 | * bit 1: Skip DFS channel SCAN if setting |
| 2783 | * bit 2-3: Define policy of dwell time/duration for each foreign channel |
| 2784 | * (b2 b3) |
| 2785 | * (0 0 ): Default scan dwell time |
| 2786 | * (0 1 ): Reserve |
| 2787 | * (1 0 ): Shrink off channel dwell time |
| 2788 | * (1 1 ): Reserve |
| 2789 | * bit 4-5: Reserve for scan |
| 2790 | * bit 6-7: Define roaming policy |
| 2791 | * (b6 b7) |
| 2792 | * (0 0 ): Default roaming behavior, allow roaming in all scenarios |
| 2793 | * (0 1 ): Disallow all roaming |
| 2794 | * (1 0 ): Allow roaming when final bmissed |
| 2795 | * (1 1 ): Reserve |
| 2796 | * bit 8-9: Reserve for roaming |
| 2797 | * bit 10: Disable css power collapse if setting |
| 2798 | * bit 11: Disable sys sleep if setting |
| 2799 | * bit 12-31: Reserve for future useage |
| 2800 | * |
| 2801 | * </ini> |
| 2802 | */ |
| 2803 | #define CFG_LATENCY_FLAGS_ULTRALOW_NAME "wlm_latency_flags_ultralow" |
| 2804 | #define CFG_LATENCY_FLAGS_ULTRALOW_MIN (0x0) |
| 2805 | #define CFG_LATENCY_FLAGS_ULTRALOW_MAX (0xffffffff) |
| 2806 | #define CFG_LATENCY_FLAGS_ULTRALOW_DEFAULT (0xc8a) |
Abhishek Singh | 49b654e | 2016-12-01 16:11:17 +0530 | [diff] [blame] | 2807 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2808 | #define CFG_INTF0_MAC_ADDR_NAME "Intf0MacAddress" |
| 2809 | #define CFG_INTF0_MAC_ADDR_MIN "000000000000" |
| 2810 | #define CFG_INTF0_MAC_ADDR_MAX "ffffffffffff" |
Jeff Johnson | 9e6ff21 | 2016-09-02 10:26:32 -0700 | [diff] [blame] | 2811 | #define CFG_INTF0_MAC_ADDR_DEFAULT "000AF58989FF" |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2812 | |
| 2813 | #define CFG_INTF1_MAC_ADDR_NAME "Intf1MacAddress" |
| 2814 | #define CFG_INTF1_MAC_ADDR_MIN "000000000000" |
| 2815 | #define CFG_INTF1_MAC_ADDR_MAX "ffffffffffff" |
Jeff Johnson | 9e6ff21 | 2016-09-02 10:26:32 -0700 | [diff] [blame] | 2816 | #define CFG_INTF1_MAC_ADDR_DEFAULT "000AF58989FE" |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2817 | |
| 2818 | #define CFG_INTF2_MAC_ADDR_NAME "Intf2MacAddress" |
| 2819 | #define CFG_INTF2_MAC_ADDR_MIN "000000000000" |
| 2820 | #define CFG_INTF2_MAC_ADDR_MAX "ffffffffffff" |
Jeff Johnson | 9e6ff21 | 2016-09-02 10:26:32 -0700 | [diff] [blame] | 2821 | #define CFG_INTF2_MAC_ADDR_DEFAULT "000AF58989FD" |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2822 | |
| 2823 | #define CFG_INTF3_MAC_ADDR_NAME "Intf3MacAddress" |
| 2824 | #define CFG_INTF3_MAC_ADDR_MIN "000000000000" |
| 2825 | #define CFG_INTF3_MAC_ADDR_MAX "ffffffffffff" |
Jeff Johnson | 9e6ff21 | 2016-09-02 10:26:32 -0700 | [diff] [blame] | 2826 | #define CFG_INTF3_MAC_ADDR_DEFAULT "000AF58989FC" |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2827 | |
Sreelakshmi Konamki | 13b5ad5 | 2017-01-30 10:48:26 +0530 | [diff] [blame] | 2828 | /* |
| 2829 | * <ini> |
| 2830 | * gDot11Mode - SAP phy mode |
| 2831 | * @Min: 0 |
Krishna Kumaar Natarajan | 4f1d772 | 2017-03-03 21:12:51 -0800 | [diff] [blame] | 2832 | * @Max: 12 (11ax) |
| 2833 | * @Default: 12 (11ax) |
Sreelakshmi Konamki | 13b5ad5 | 2017-01-30 10:48:26 +0530 | [diff] [blame] | 2834 | * |
| 2835 | * This ini is used to set Phy Mode (auto, b, g, n, etc/) Valid values are |
Krishna Kumaar Natarajan | 4f1d772 | 2017-03-03 21:12:51 -0800 | [diff] [blame] | 2836 | * 0-12, with 0 = Auto, 12 = 11ax. |
Sreelakshmi Konamki | 13b5ad5 | 2017-01-30 10:48:26 +0530 | [diff] [blame] | 2837 | * |
| 2838 | * Related: None. |
| 2839 | * |
| 2840 | * Supported Feature: SAP |
| 2841 | * |
| 2842 | * Usage: Internal/External |
| 2843 | * |
| 2844 | * </ini> |
| 2845 | */ |
| 2846 | #define CFG_DOT11_MODE_NAME "gDot11Mode" |
| 2847 | #define CFG_DOT11_MODE_MIN eHDD_DOT11_MODE_AUTO |
Krishna Kumaar Natarajan | 4f1d772 | 2017-03-03 21:12:51 -0800 | [diff] [blame] | 2848 | #define CFG_DOT11_MODE_DEFAULT eHDD_DOT11_MODE_11ax |
| 2849 | #define CFG_DOT11_MODE_MAX eHDD_DOT11_MODE_11ax |
Sreelakshmi Konamki | 13b5ad5 | 2017-01-30 10:48:26 +0530 | [diff] [blame] | 2850 | |
| 2851 | /* |
| 2852 | * <ini> |
| 2853 | * gEnableApUapsd - Enable/disable UAPSD for SoftAP |
| 2854 | * @Min: 0 |
| 2855 | * @Max: 1 |
| 2856 | * @Default: 1 |
| 2857 | * |
| 2858 | * This ini is used to setup setup U-APSD for Acs at association |
| 2859 | * |
| 2860 | * Related: None. |
| 2861 | * |
| 2862 | * Supported Feature: SAP |
| 2863 | * |
| 2864 | * Usage: Internal/External |
| 2865 | * |
| 2866 | * </ini> |
| 2867 | */ |
| 2868 | #define CFG_AP_QOS_UAPSD_MODE_NAME "gEnableApUapsd" |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2869 | #define CFG_AP_QOS_UAPSD_MODE_MIN (0) |
| 2870 | #define CFG_AP_QOS_UAPSD_MODE_MAX (1) |
| 2871 | #define CFG_AP_QOS_UAPSD_MODE_DEFAULT (1) |
| 2872 | |
Sreelakshmi Konamki | 13b5ad5 | 2017-01-30 10:48:26 +0530 | [diff] [blame] | 2873 | /* |
| 2874 | * <ini> |
| 2875 | * gEnableApRandomBssid - Create ramdom BSSID |
| 2876 | * @Min: 0 |
| 2877 | * @Max: 1 |
| 2878 | * @Default: 0 |
| 2879 | * |
| 2880 | * This ini is used to create a random BSSID in SoftAP mode to meet |
| 2881 | * the Android requirement. |
| 2882 | * |
| 2883 | * Related: None. |
| 2884 | * |
| 2885 | * Supported Feature: SAP |
| 2886 | * |
| 2887 | * Usage: Internal/External |
| 2888 | * |
| 2889 | * </ini> |
| 2890 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2891 | #define CFG_AP_ENABLE_RANDOM_BSSID_NAME "gEnableApRandomBssid" |
| 2892 | #define CFG_AP_ENABLE_RANDOM_BSSID_MIN (0) |
| 2893 | #define CFG_AP_ENABLE_RANDOM_BSSID_MAX (1) |
| 2894 | #define CFG_AP_ENABLE_RANDOM_BSSID_DEFAULT (0) |
| 2895 | |
Sreelakshmi Konamki | 13b5ad5 | 2017-01-30 10:48:26 +0530 | [diff] [blame] | 2896 | /* |
| 2897 | * <ini> |
| 2898 | * gEnableApProt - Enable/Disable AP protection |
| 2899 | * @Min: 0 |
| 2900 | * @Max: 1 |
| 2901 | * @Default: 1 |
| 2902 | * |
| 2903 | * This ini is used to enable/disable AP protection |
| 2904 | * |
| 2905 | * Related: None. |
| 2906 | * |
| 2907 | * Supported Feature: SAP |
| 2908 | * |
| 2909 | * Usage: Internal/External |
| 2910 | * |
| 2911 | * </ini> |
| 2912 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2913 | #define CFG_AP_ENABLE_PROTECTION_MODE_NAME "gEnableApProt" |
| 2914 | #define CFG_AP_ENABLE_PROTECTION_MODE_MIN (0) |
| 2915 | #define CFG_AP_ENABLE_PROTECTION_MODE_MAX (1) |
| 2916 | #define CFG_AP_ENABLE_PROTECTION_MODE_DEFAULT (1) |
| 2917 | |
Sreelakshmi Konamki | 13b5ad5 | 2017-01-30 10:48:26 +0530 | [diff] [blame] | 2918 | /* |
| 2919 | * <ini> |
| 2920 | * gApProtection - Set AP protection parameter |
| 2921 | * @Min: 0x0 |
| 2922 | * @Max: 0xFFFF |
| 2923 | * @Default: 0xBFFF |
| 2924 | * |
| 2925 | * This ini is used to set AP protection parameter |
| 2926 | * Bit map for CFG_AP_PROTECTION_MODE_DEFAULT |
| 2927 | * LOWER byte for associated stations |
| 2928 | * UPPER byte for overlapping stations |
| 2929 | * each byte will have the following info |
| 2930 | * bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8 |
| 2931 | * OBSS RIFS LSIG_TXOP NON_GF HT20 FROM_11G FROM_11B FROM_11A |
| 2932 | * bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 |
| 2933 | * OBSS RIFS LSIG_TXOP NON_GF HT_20 FROM_11G FROM_11B FROM_11A |
| 2934 | * |
| 2935 | * Related: None. |
| 2936 | * |
| 2937 | * Supported Feature: SAP |
| 2938 | * |
| 2939 | * Usage: Internal/External |
| 2940 | * |
| 2941 | * </ini> |
| 2942 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2943 | #define CFG_AP_PROTECTION_MODE_NAME "gApProtection" |
| 2944 | #define CFG_AP_PROTECTION_MODE_MIN (0x0) |
| 2945 | #define CFG_AP_PROTECTION_MODE_MAX (0xFFFF) |
| 2946 | #define CFG_AP_PROTECTION_MODE_DEFAULT (0xBFFF) |
| 2947 | |
Sreelakshmi Konamki | 13b5ad5 | 2017-01-30 10:48:26 +0530 | [diff] [blame] | 2948 | /* |
| 2949 | * <ini> |
| 2950 | * gEnableApOBSSProt - Enable/Disable AP OBSS protection |
| 2951 | * @Min: 0 |
| 2952 | * @Max: 1 |
| 2953 | * @Default: 0 |
| 2954 | * |
| 2955 | * This ini is used to enable/disable AP OBSS protection |
| 2956 | * |
| 2957 | * Related: None. |
| 2958 | * |
| 2959 | * Supported Feature: SAP |
| 2960 | * |
| 2961 | * Usage: Internal/External |
| 2962 | * |
| 2963 | * </ini> |
| 2964 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2965 | #define CFG_AP_OBSS_PROTECTION_MODE_NAME "gEnableApOBSSProt" |
| 2966 | #define CFG_AP_OBSS_PROTECTION_MODE_MIN (0) |
| 2967 | #define CFG_AP_OBSS_PROTECTION_MODE_MAX (1) |
| 2968 | #define CFG_AP_OBSS_PROTECTION_MODE_DEFAULT (0) |
| 2969 | |
Sreelakshmi Konamki | 13b5ad5 | 2017-01-30 10:48:26 +0530 | [diff] [blame] | 2970 | /* |
| 2971 | * <ini> |
| 2972 | * gDisableIntraBssFwd - Disable intrs BSS Rx packets |
| 2973 | * @Min: 0 |
| 2974 | * @Max: 1 |
| 2975 | * @Default: 0 |
| 2976 | * |
| 2977 | * This ini is used to disbale to forward Intra-BSS Rx packets when |
| 2978 | * ap_isolate=1 in hostapd.conf |
| 2979 | * |
| 2980 | * Related: None. |
| 2981 | * |
| 2982 | * Supported Feature: SAP |
| 2983 | * |
| 2984 | * Usage: Internal/External |
| 2985 | * |
| 2986 | * </ini> |
| 2987 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2988 | #define CFG_AP_STA_SECURITY_SEPERATION_NAME "gDisableIntraBssFwd" |
| 2989 | #define CFG_AP_STA_SECURITY_SEPERATION_MIN (0) |
| 2990 | #define CFG_AP_STA_SECURITY_SEPERATION_MAX (1) |
| 2991 | #define CFG_AP_STA_SECURITY_SEPERATION_DEFAULT (0) |
| 2992 | |
Sreelakshmi Konamki | 13b5ad5 | 2017-01-30 10:48:26 +0530 | [diff] [blame] | 2993 | /* |
| 2994 | * <ini> |
Sreelakshmi Konamki | 13b5ad5 | 2017-01-30 10:48:26 +0530 | [diff] [blame] | 2995 | * gApKeepAlivePeriod - AP keep alive period |
| 2996 | * @Min: 1 |
| 2997 | * @Max: 65535 |
| 2998 | * @Default: 20 |
| 2999 | * |
| 3000 | * This ini is used to set keep alive period of AP |
| 3001 | * |
| 3002 | * Related: None. |
| 3003 | * |
| 3004 | * Supported Feature: SAP |
| 3005 | * |
| 3006 | * Usage: Internal/External |
| 3007 | * |
| 3008 | * </ini> |
| 3009 | */ |
| 3010 | #define CFG_AP_KEEP_ALIVE_PERIOD_NAME "gApKeepAlivePeriod" |
| 3011 | #define CFG_AP_KEEP_ALIVE_PERIOD_MIN WNI_CFG_AP_KEEP_ALIVE_TIMEOUT_STAMIN |
| 3012 | #define CFG_AP_KEEP_ALIVE_PERIOD_MAX WNI_CFG_AP_KEEP_ALIVE_TIMEOUT_STAMAX |
| 3013 | #define CFG_AP_KEEP_ALIVE_PERIOD_DEFAULT WNI_CFG_AP_KEEP_ALIVE_TIMEOUT_STADEF |
| 3014 | |
| 3015 | /* |
| 3016 | * <ini> |
| 3017 | * gApLinkMonitorPeriod - AP keep alive period |
| 3018 | * @Min: 3 |
| 3019 | * @Max: 50 |
| 3020 | * @Default: 10 |
| 3021 | * |
| 3022 | * This ini is used to configure AP link monitor timeout value |
| 3023 | * |
| 3024 | * Related: None. |
| 3025 | * |
| 3026 | * Supported Feature: SAP |
| 3027 | * |
| 3028 | * Usage: Internal/External |
| 3029 | * |
| 3030 | * </ini> |
| 3031 | */ |
| 3032 | #define CFG_AP_LINK_MONITOR_PERIOD_NAME "gApLinkMonitorPeriod" |
| 3033 | #define CFG_AP_LINK_MONITOR_PERIOD_MIN (3) |
| 3034 | #define CFG_AP_LINK_MONITOR_PERIOD_MAX (50) |
| 3035 | #define CFG_AP_LINK_MONITOR_PERIOD_DEFAULT (10) |
| 3036 | |
| 3037 | /* |
| 3038 | * <ini> |
| 3039 | * gBeaconInterval - Beacon interval for SoftAP |
| 3040 | * @Min: 0 |
| 3041 | * @Max: 65535 |
| 3042 | * @Default: 100 |
| 3043 | * |
| 3044 | * This ini is used to set beacon interval for SoftAP |
| 3045 | * |
| 3046 | * Related: None. |
| 3047 | * |
| 3048 | * Supported Feature: SAP |
| 3049 | * |
| 3050 | * Usage: Internal/External |
| 3051 | * |
| 3052 | * </ini> |
| 3053 | */ |
| 3054 | #define CFG_BEACON_INTERVAL_NAME "gBeaconInterval" |
| 3055 | #define CFG_BEACON_INTERVAL_MIN WNI_CFG_BEACON_INTERVAL_STAMIN |
| 3056 | #define CFG_BEACON_INTERVAL_MAX WNI_CFG_BEACON_INTERVAL_STAMAX |
| 3057 | #define CFG_BEACON_INTERVAL_DEFAULT WNI_CFG_BEACON_INTERVAL_STADEF |
| 3058 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3059 | #ifdef FEATURE_WLAN_AUTO_SHUTDOWN |
| 3060 | #define CFG_WLAN_AUTO_SHUTDOWN "gWlanAutoShutdown" |
| 3061 | #define CFG_WLAN_AUTO_SHUTDOWN_MIN (0) |
| 3062 | #define CFG_WLAN_AUTO_SHUTDOWN_MAX (86400) /* Max 1 day timeout */ |
| 3063 | #define CFG_WLAN_AUTO_SHUTDOWN_DEFAULT (0) |
| 3064 | #endif |
| 3065 | |
| 3066 | #ifdef FEATURE_WLAN_MCC_TO_SCC_SWITCH |
Nitesh Shah | 03161d1 | 2016-12-06 18:30:12 +0530 | [diff] [blame] | 3067 | /* |
| 3068 | * <ini> |
| 3069 | * gWlanMccToSccSwitchMode - Control SAP channel. |
| 3070 | * @Min: 0 |
Jayachandran Sreekumaran | 8ab1865 | 2017-09-26 18:39:16 +0530 | [diff] [blame] | 3071 | * @Max: 5 |
Nitesh Shah | 03161d1 | 2016-12-06 18:30:12 +0530 | [diff] [blame] | 3072 | * @Default: 0 |
| 3073 | * |
| 3074 | * This ini is used to override SAP channel. |
| 3075 | * If gWlanMccToSccSwitchMode = 0: disabled. |
Jayachandran Sreekumaran | 8ab1865 | 2017-09-26 18:39:16 +0530 | [diff] [blame] | 3076 | * If gWlanMccToSccSwitchMode = 1: Enable switch. |
| 3077 | * If gWlainMccToSccSwitchMode = 2: Force switch with SAP restart. |
| 3078 | * If gWlainMccToSccSwitchMode = 3: Force switch without SAP restart. |
| 3079 | * If gWlainMccToSccSwitchMode = 4: Switch using |
| 3080 | * fav channel(s)without SAP restart. |
| 3081 | * If gWlainMccToSccSwitchMode = 5: Force switch without SAP restart.MCC allowed |
| 3082 | * in exceptional cases. |
Bala Venkatesh | b816ce8 | 2018-06-28 17:00:54 +0530 | [diff] [blame] | 3083 | * If gWlainMccToSccSwitchMode = 6: Force Switch without SAP restart only in |
| 3084 | user preffered band. |
Nitesh Shah | 03161d1 | 2016-12-06 18:30:12 +0530 | [diff] [blame] | 3085 | * Related: None. |
| 3086 | * |
| 3087 | * Supported Feature: Concurrency |
| 3088 | * |
| 3089 | * Usage: Internal/External |
| 3090 | * |
| 3091 | * </ini> |
| 3092 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3093 | #define CFG_WLAN_MCC_TO_SCC_SWITCH_MODE "gWlanMccToSccSwitchMode" |
Anurag Chouhan | f04e84f | 2016-03-03 10:12:12 +0530 | [diff] [blame] | 3094 | #define CFG_WLAN_MCC_TO_SCC_SWITCH_MODE_MIN (QDF_MCC_TO_SCC_SWITCH_DISABLE) |
Manishekar Chandrasekaran | 1db3abe | 2016-06-24 03:27:07 +0530 | [diff] [blame] | 3095 | #define CFG_WLAN_MCC_TO_SCC_SWITCH_MODE_MAX \ |
Bala Venkatesh | b816ce8 | 2018-06-28 17:00:54 +0530 | [diff] [blame] | 3096 | (QDF_MCC_TO_SCC_SWITCH_MAX - 1) |
Anurag Chouhan | f04e84f | 2016-03-03 10:12:12 +0530 | [diff] [blame] | 3097 | #define CFG_WLAN_MCC_TO_SCC_SWITCH_MODE_DEFAULT (QDF_MCC_TO_SCC_SWITCH_DISABLE) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3098 | #endif |
| 3099 | |
Dustin Brown | 7bd7633 | 2018-02-23 12:10:55 -0800 | [diff] [blame] | 3100 | #define CFG_DISABLE_PACKET_FILTER "gDisablePacketFilter" |
| 3101 | #define CFG_DISABLE_PACKET_FILTER_MIN (0) |
| 3102 | #define CFG_DISABLE_PACKET_FILTER_MAX (1) |
| 3103 | #define CFG_DISABLE_PACKET_FILTER_DEFAULT (1) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3104 | |
| 3105 | #define CFG_ENABLE_LTE_COEX "gEnableLTECoex" |
| 3106 | #define CFG_ENABLE_LTE_COEX_MIN (0) |
| 3107 | #define CFG_ENABLE_LTE_COEX_MAX (1) |
| 3108 | #define CFG_ENABLE_LTE_COEX_DEFAULT (0) |
| 3109 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3110 | #define CFG_VCC_RSSI_TRIGGER_NAME "gVccRssiTrigger" |
| 3111 | #define CFG_VCC_RSSI_TRIGGER_MIN (0) |
| 3112 | #define CFG_VCC_RSSI_TRIGGER_MAX (80) |
| 3113 | #define CFG_VCC_RSSI_TRIGGER_DEFAULT (80) |
| 3114 | |
| 3115 | #define CFG_VCC_UL_MAC_LOSS_THRESH_NAME "gVccUlMacLossThresh" |
| 3116 | #define CFG_VCC_UL_MAC_LOSS_THRESH_MIN (0) |
| 3117 | #define CFG_VCC_UL_MAC_LOSS_THRESH_MAX (9) |
| 3118 | #define CFG_VCC_UL_MAC_LOSS_THRESH_DEFAULT (9) |
| 3119 | |
Nitesh Shah | 03161d1 | 2016-12-06 18:30:12 +0530 | [diff] [blame] | 3120 | /* |
| 3121 | * <ini> |
| 3122 | * gPassiveMaxChannelTimeConc - Maximum passive scan time in milliseconds. |
| 3123 | * @Min: 0 |
| 3124 | * @Max: 10000 |
| 3125 | * @Default: 110 |
| 3126 | * |
| 3127 | * This ini is used to set maximum passive scan time in STA+SAP concurrent |
| 3128 | * mode. |
| 3129 | * |
| 3130 | * Related: None. |
| 3131 | * |
| 3132 | * Supported Feature: Concurrency |
| 3133 | * |
| 3134 | * Usage: Internal/External |
| 3135 | * |
| 3136 | * </ini> |
| 3137 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3138 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_CONC_NAME "gPassiveMaxChannelTimeConc" |
| 3139 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_CONC_MIN (0) |
| 3140 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_CONC_MAX (10000) |
| 3141 | #define CFG_PASSIVE_MAX_CHANNEL_TIME_CONC_DEFAULT (110) |
| 3142 | |
Nitesh Shah | 03161d1 | 2016-12-06 18:30:12 +0530 | [diff] [blame] | 3143 | /* |
| 3144 | * <ini> |
| 3145 | * gPassiveMinChannelTimeConc - Minimum passive scan time in milliseconds. |
| 3146 | * @Min: 0 |
| 3147 | * @Max: 10000 |
| 3148 | * @Default: 60 |
| 3149 | * |
| 3150 | * This ini is used to set minimum passive scan time in STA+SAP concurrent |
| 3151 | * mode. |
| 3152 | * |
| 3153 | * Related: None. |
| 3154 | * |
| 3155 | * Supported Feature: Concurrency |
| 3156 | * |
| 3157 | * Usage: Internal/External |
| 3158 | * |
| 3159 | * </ini> |
| 3160 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3161 | #define CFG_PASSIVE_MIN_CHANNEL_TIME_CONC_NAME "gPassiveMinChannelTimeConc" |
| 3162 | #define CFG_PASSIVE_MIN_CHANNEL_TIME_CONC_MIN (0) |
| 3163 | #define CFG_PASSIVE_MIN_CHANNEL_TIME_CONC_MAX (10000) |
| 3164 | #define CFG_PASSIVE_MIN_CHANNEL_TIME_CONC_DEFAULT (60) |
| 3165 | |
Nitesh Shah | 03161d1 | 2016-12-06 18:30:12 +0530 | [diff] [blame] | 3166 | /* |
| 3167 | * <ini> |
| 3168 | * gActiveMaxChannelTimeConc - Maximum active scan time in milliseconds. |
| 3169 | * @Min: 0 |
| 3170 | * @Max: 10000 |
| 3171 | * @Default: 40 |
| 3172 | * |
| 3173 | * This ini is used to set maximum active scan time in STA+SAP concurrent |
| 3174 | * mode. |
| 3175 | * |
| 3176 | * Related: None. |
| 3177 | * |
| 3178 | * Supported Feature: Concurrency |
| 3179 | * |
| 3180 | * Usage: Internal/External |
| 3181 | * |
| 3182 | * </ini> |
| 3183 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3184 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_CONC_NAME "gActiveMaxChannelTimeConc" |
| 3185 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_CONC_MIN (0) |
| 3186 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_CONC_MAX (10000) |
| 3187 | #define CFG_ACTIVE_MAX_CHANNEL_TIME_CONC_DEFAULT (40) |
| 3188 | |
Nitesh Shah | 03161d1 | 2016-12-06 18:30:12 +0530 | [diff] [blame] | 3189 | /* |
| 3190 | * <ini> |
| 3191 | * gActiveMinChannelTimeConc - Minimum active scan time in milliseconds.. |
| 3192 | * @Min: 0 |
| 3193 | * @Max: 10000 |
| 3194 | * @Default: 20 |
| 3195 | * |
| 3196 | * This ini is used to set minimum active scan time in STA+SAP concurrent |
| 3197 | * mode. |
| 3198 | * |
| 3199 | * Related: None. |
| 3200 | * |
| 3201 | * Supported Feature: Concurrency |
| 3202 | * |
| 3203 | * Usage: Internal/External |
| 3204 | * |
| 3205 | * </ini> |
| 3206 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3207 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_CONC_NAME "gActiveMinChannelTimeConc" |
| 3208 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_CONC_MIN (0) |
| 3209 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_CONC_MAX (10000) |
| 3210 | #define CFG_ACTIVE_MIN_CHANNEL_TIME_CONC_DEFAULT (20) |
| 3211 | |
Nitesh Shah | 03161d1 | 2016-12-06 18:30:12 +0530 | [diff] [blame] | 3212 | /* |
| 3213 | * <ini> |
| 3214 | * gRestTimeConc - Rest time before moving to a new channel to scan. |
| 3215 | * @Min: 0 |
| 3216 | * @Max: 10000 |
| 3217 | * @Default: 100 |
| 3218 | * |
| 3219 | * This ini is used to configure rest time. |
| 3220 | * |
| 3221 | * Related: None. |
| 3222 | * |
| 3223 | * Supported Feature: Concurrency |
| 3224 | * |
| 3225 | * Usage: Internal/External |
| 3226 | * |
| 3227 | * </ini> |
| 3228 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3229 | #define CFG_REST_TIME_CONC_NAME "gRestTimeConc" |
| 3230 | #define CFG_REST_TIME_CONC_MIN (0) |
| 3231 | #define CFG_REST_TIME_CONC_MAX (10000) |
| 3232 | #define CFG_REST_TIME_CONC_DEFAULT (100) |
| 3233 | |
Nitesh Shah | 03161d1 | 2016-12-06 18:30:12 +0530 | [diff] [blame] | 3234 | /* |
| 3235 | * <ini> |
| 3236 | * gMinRestTimeConc - Mininum time spent on home channel before moving to a |
| 3237 | * new channel to scan. |
| 3238 | * @Min: 0 |
| 3239 | * @Max: 50 |
| 3240 | * @Default: 50 |
| 3241 | * |
| 3242 | * This ini is used to configure minimum time spent on home channel before |
| 3243 | * moving to a new channel to scan. |
| 3244 | * |
| 3245 | * Related: None. |
| 3246 | * |
| 3247 | * Supported Feature: Concurrency |
| 3248 | * |
| 3249 | * Usage: Internal/External |
| 3250 | * |
| 3251 | * </ini> |
| 3252 | */ |
Agrawal Ashish | 17bb390 | 2016-05-05 13:29:40 +0530 | [diff] [blame] | 3253 | #define CFG_MIN_REST_TIME_NAME "gMinRestTimeConc" |
| 3254 | #define CFG_MIN_REST_TIME_MIN (0) |
| 3255 | #define CFG_MIN_REST_TIME_MAX (50) |
| 3256 | #define CFG_MIN_REST_TIME_DEFAULT (50) |
| 3257 | |
Nitesh Shah | 03161d1 | 2016-12-06 18:30:12 +0530 | [diff] [blame] | 3258 | /* |
| 3259 | * <ini> |
| 3260 | * gIdleTimeConc - Data inactivity time in msec. |
| 3261 | * @Min: 0 |
| 3262 | * @Max: 25 |
| 3263 | * @Default: 25 |
| 3264 | * |
| 3265 | * This ini is used to configure data inactivity time in msec on bss channel |
| 3266 | * that will be used by scan engine in firmware. |
| 3267 | * For example if this value is 25ms then firmware will check for data |
| 3268 | * inactivity every 25ms till gRestTimeConc is reached. |
| 3269 | * If inactive then scan engine will move from home channel to scan the next |
| 3270 | * frequency. |
| 3271 | * |
| 3272 | * Related: None. |
| 3273 | * |
| 3274 | * Supported Feature: Concurrency |
| 3275 | * |
| 3276 | * Usage: Internal/External |
| 3277 | * |
| 3278 | * </ini> |
Agrawal Ashish | 17bb390 | 2016-05-05 13:29:40 +0530 | [diff] [blame] | 3279 | */ |
| 3280 | #define CFG_IDLE_TIME_NAME "gIdleTimeConc" |
| 3281 | #define CFG_IDLE_TIME_MIN (0) |
| 3282 | #define CFG_IDLE_TIME_MAX (25) |
| 3283 | #define CFG_IDLE_TIME_DEFAULT (25) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3284 | |
| 3285 | #define CFG_MAX_PS_POLL_NAME "gMaxPsPoll" |
| 3286 | #define CFG_MAX_PS_POLL_MIN WNI_CFG_MAX_PS_POLL_STAMIN |
| 3287 | #define CFG_MAX_PS_POLL_MAX WNI_CFG_MAX_PS_POLL_STAMAX |
| 3288 | #define CFG_MAX_PS_POLL_DEFAULT WNI_CFG_MAX_PS_POLL_STADEF |
| 3289 | |
| 3290 | #define CFG_MAX_TX_POWER_NAME "gTxPowerCap" |
| 3291 | #define CFG_MAX_TX_POWER_MIN WNI_CFG_CURRENT_TX_POWER_LEVEL_STAMIN |
| 3292 | #define CFG_MAX_TX_POWER_MAX WNI_CFG_CURRENT_TX_POWER_LEVEL_STAMAX |
| 3293 | /* Not to use CFG default because if no registry setting, this is ignored by SME. */ |
| 3294 | #define CFG_MAX_TX_POWER_DEFAULT WNI_CFG_CURRENT_TX_POWER_LEVEL_STAMAX |
| 3295 | |
Padma, Santhosh Kumar | 29df362 | 2016-08-16 19:15:16 +0530 | [diff] [blame] | 3296 | /* This ini controls driver to honor/dishonor power constraint from AP */ |
| 3297 | #define CFG_TX_POWER_CTRL_NAME "gAllowTPCfromAP" |
| 3298 | #define CFG_TX_POWER_CTRL_DEFAULT (1) |
| 3299 | #define CFG_TX_POWER_CTRL_MIN (0) |
| 3300 | #define CFG_TX_POWER_CTRL_MAX (1) |
| 3301 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 3302 | /* |
| 3303 | * <ini> |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 3304 | * gMaxLIModulatedDTIM - Set MaxLIModulate Dtim |
| 3305 | * @Min: 1 |
| 3306 | * @Max: 10 |
| 3307 | * @Default: 10 |
| 3308 | * |
| 3309 | * This ini is used to set default MaxLIModulatedDTIM |
| 3310 | * |
| 3311 | * Related: None |
| 3312 | * |
| 3313 | * Supported Feature: STA |
| 3314 | * |
| 3315 | * Usage: Internal/External |
| 3316 | * |
| 3317 | * </ini> |
| 3318 | */ |
| 3319 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3320 | #define CFG_MAX_LI_MODULATED_DTIM_NAME "gMaxLIModulatedDTIM" |
| 3321 | #define CFG_MAX_LI_MODULATED_DTIM_MIN (1) |
| 3322 | #define CFG_MAX_LI_MODULATED_DTIM_MAX (10) |
| 3323 | #define CFG_MAX_LI_MODULATED_DTIM_DEFAULT (10) |
| 3324 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 3325 | /* |
| 3326 | * <ini> |
Nitesh Shah | 03161d1 | 2016-12-06 18:30:12 +0530 | [diff] [blame] | 3327 | * gFWMccRtsCtsProtection - RTS-CTS protection in MCC. |
| 3328 | * @Min: 0 |
| 3329 | * @Max: 1 |
| 3330 | * @Default: 0 |
| 3331 | * |
| 3332 | * This ini is used to enable/disable use of long duration RTS-CTS protection |
| 3333 | * when SAP goes off channel in MCC mode. |
| 3334 | * |
| 3335 | * Related: None. |
| 3336 | * |
| 3337 | * Supported Feature: Concurrency |
| 3338 | * |
| 3339 | * Usage: Internal/External |
| 3340 | * |
| 3341 | * </ini> |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3342 | */ |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 3343 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3344 | #define CFG_FW_MCC_RTS_CTS_PROT_NAME "gFWMccRtsCtsProtection" |
| 3345 | #define CFG_FW_MCC_RTS_CTS_PROT_MIN (0) |
| 3346 | #define CFG_FW_MCC_RTS_CTS_PROT_MAX (1) |
| 3347 | #define CFG_FW_MCC_RTS_CTS_PROT_DEFAULT (0) |
| 3348 | |
Nitesh Shah | 03161d1 | 2016-12-06 18:30:12 +0530 | [diff] [blame] | 3349 | /* |
| 3350 | * <ini> |
| 3351 | * gFWMccBCastProbeResponse - Broadcast Probe Response in MCC. |
| 3352 | * @Min: 0 |
| 3353 | * @Max: 1 |
| 3354 | * @Default: 0 |
| 3355 | * |
| 3356 | * This ini is used to enable/disable use of broadcast probe response to |
| 3357 | * increase the detectability of SAP in MCC mode. |
| 3358 | * |
| 3359 | * Related: None. |
| 3360 | * |
| 3361 | * Supported Feature: Concurrency |
| 3362 | * |
| 3363 | * Usage: Internal/External |
| 3364 | * |
| 3365 | * </ini> |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3366 | */ |
| 3367 | #define CFG_FW_MCC_BCAST_PROB_RESP_NAME "gFWMccBCastProbeResponse" |
| 3368 | #define CFG_FW_MCC_BCAST_PROB_RESP_MIN (0) |
| 3369 | #define CFG_FW_MCC_BCAST_PROB_RESP_MAX (1) |
| 3370 | #define CFG_FW_MCC_BCAST_PROB_RESP_DEFAULT (0) |
| 3371 | |
Mukul Sharma | ed92f2f | 2017-04-20 00:06:28 +0530 | [diff] [blame] | 3372 | /* |
| 3373 | * <ini> |
| 3374 | * gDataInactivityTimeout - Data activity timeout for non wow mode. |
| 3375 | * @Min: 1 |
| 3376 | * @Max: 255 |
| 3377 | * @Default: 200 |
| 3378 | * |
| 3379 | * This ini is used to set data inactivity timeout in non wow mode. |
| 3380 | * |
| 3381 | * Supported Feature: inactivity timeout in non wow mode |
| 3382 | * |
| 3383 | * Usage: External |
| 3384 | * |
| 3385 | * </ini> |
| 3386 | */ |
| 3387 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3388 | #define CFG_DATA_INACTIVITY_TIMEOUT_NAME "gDataInactivityTimeout" |
| 3389 | #define CFG_DATA_INACTIVITY_TIMEOUT_MIN (1) |
| 3390 | #define CFG_DATA_INACTIVITY_TIMEOUT_MAX (255) |
Jeff Johnson | 9c9be71 | 2016-09-02 14:02:31 -0700 | [diff] [blame] | 3391 | #define CFG_DATA_INACTIVITY_TIMEOUT_DEFAULT (200) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3392 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 3393 | /* |
| 3394 | * <ini> |
Mukul Sharma | ed92f2f | 2017-04-20 00:06:28 +0530 | [diff] [blame] | 3395 | * g_wow_data_inactivity_timeout - Data activity timeout in wow mode. |
| 3396 | * @Min: 1 |
| 3397 | * @Max: 255 |
| 3398 | * @Default: 50 |
| 3399 | * |
| 3400 | * This ini is used to set data inactivity timeout in wow mode. |
| 3401 | * |
| 3402 | * Supported Feature: inactivity timeout in wow mode |
| 3403 | * |
| 3404 | * Usage: External |
| 3405 | * |
| 3406 | * </ini> |
| 3407 | */ |
| 3408 | #define CFG_WOW_DATA_INACTIVITY_TIMEOUT_NAME "g_wow_data_inactivity_timeout" |
| 3409 | #define CFG_WOW_DATA_INACTIVITY_TIMEOUT_MIN (1) |
| 3410 | #define CFG_WOW_DATA_INACTIVITY_TIMEOUT_MAX (255) |
| 3411 | #define CFG_WOW_DATA_INACTIVITY_TIMEOUT_DEFAULT (50) |
| 3412 | |
| 3413 | /* |
| 3414 | * <ini> |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 3415 | * gStaKeepAlivePeriod - Sends NULL frame to AP periodically in |
| 3416 | * seconds to notify STA's existence |
| 3417 | * @Min: 0 |
| 3418 | * @Max: 65535 |
| 3419 | * @Default: 30 |
| 3420 | * |
| 3421 | * This ini is used to send default NULL frame to AP |
| 3422 | * |
| 3423 | * Related: None |
| 3424 | * |
| 3425 | * Supported Feature: STA |
| 3426 | * |
| 3427 | * Usage: Internal/External |
| 3428 | * |
| 3429 | * </ini> |
| 3430 | */ |
| 3431 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3432 | #define CFG_INFRA_STA_KEEP_ALIVE_PERIOD_NAME "gStaKeepAlivePeriod" |
| 3433 | #define CFG_INFRA_STA_KEEP_ALIVE_PERIOD_MIN (0) |
| 3434 | #define CFG_INFRA_STA_KEEP_ALIVE_PERIOD_MAX (65535) |
Sourav Mohapatra | d56faa5 | 2018-07-16 15:03:38 +0530 | [diff] [blame] | 3435 | #define CFG_INFRA_STA_KEEP_ALIVE_PERIOD_DEFAULT (60) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3436 | |
Dustin Brown | b6b0f18 | 2017-03-08 13:08:27 -0800 | [diff] [blame] | 3437 | /** |
| 3438 | * enum station_keepalive_method - available keepalive methods for stations |
| 3439 | * @HDD_STA_KEEPALIVE_NULL_DATA: null data packet |
| 3440 | * @HDD_STA_KEEPALIVE_GRAT_ARP: gratuitous ARP packet |
| 3441 | * @HDD_STA_KEEPALIVE_COUNT: number of method options available |
| 3442 | */ |
| 3443 | enum station_keepalive_method { |
| 3444 | HDD_STA_KEEPALIVE_NULL_DATA, |
| 3445 | HDD_STA_KEEPALIVE_GRAT_ARP, |
| 3446 | /* keep at the end */ |
| 3447 | HDD_STA_KEEPALIVE_COUNT |
| 3448 | }; |
| 3449 | |
| 3450 | /* |
| 3451 | * <ini> |
| 3452 | * gStaKeepAliveMethod - Which keepalive method to use |
| 3453 | * @Min: 0 |
| 3454 | * @Max: 1 |
| 3455 | * @Default: 1 |
| 3456 | * |
| 3457 | * This ini determines which keepalive method to use for station interfaces |
| 3458 | * 1) Use null data packets |
| 3459 | * 2) Use gratuitous ARP packets |
| 3460 | * |
| 3461 | * Related: gStaKeepAlivePeriod, gApKeepAlivePeriod, gGoKeepAlivePeriod |
| 3462 | * |
| 3463 | * Supported Feature: STA, Keepalive |
| 3464 | * |
| 3465 | * Usage: Internal/External |
| 3466 | * |
| 3467 | * </ini> |
| 3468 | */ |
| 3469 | #define CFG_STA_KEEPALIVE_METHOD_NAME "gStaKeepAliveMethod" |
| 3470 | #define CFG_STA_KEEPALIVE_METHOD_MIN (HDD_STA_KEEPALIVE_NULL_DATA) |
| 3471 | #define CFG_STA_KEEPALIVE_METHOD_MAX (HDD_STA_KEEPALIVE_COUNT - 1) |
| 3472 | #define CFG_STA_KEEPALIVE_METHOD_DEFAULT (HDD_STA_KEEPALIVE_GRAT_ARP) |
| 3473 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3474 | /* WMM configuration */ |
Sreelakshmi Konamki | 9be8d41 | 2017-03-01 10:29:08 +0530 | [diff] [blame] | 3475 | /* |
| 3476 | * <ini> |
| 3477 | * WmmIsEnabled - Enable WMM feature |
| 3478 | * @Min: 0 |
| 3479 | * @Max: 2 |
| 3480 | * @Default: 0 |
| 3481 | * |
| 3482 | * This ini is used to enable/disable WMM. |
| 3483 | * |
| 3484 | * Related: None. |
| 3485 | * |
| 3486 | * Supported Feature: WMM |
| 3487 | * |
| 3488 | * Usage: Internal/External |
| 3489 | * |
| 3490 | * </ini> |
| 3491 | */ |
| 3492 | #define CFG_QOS_WMM_MODE_NAME "WmmIsEnabled" |
| 3493 | #define CFG_QOS_WMM_MODE_MIN (0) |
| 3494 | #define CFG_QOS_WMM_MODE_MAX (2) /* HDD_WMM_NO_QOS */ |
| 3495 | #define CFG_QOS_WMM_MODE_DEFAULT (0) /* HDD_WMM_AUTO */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3496 | |
Sreelakshmi Konamki | 9be8d41 | 2017-03-01 10:29:08 +0530 | [diff] [blame] | 3497 | /* |
| 3498 | * <ini> |
| 3499 | * 80211eIsEnabled - Enable 802.11e feature |
| 3500 | * @Min: 0 |
| 3501 | * @Max: 1 |
| 3502 | * @Default: 0 |
| 3503 | * |
| 3504 | * This ini is used to enable/disable 802.11e. |
| 3505 | * |
| 3506 | * Related: None. |
| 3507 | * |
| 3508 | * Supported Feature: 802.11e |
| 3509 | * |
| 3510 | * Usage: Internal/External |
| 3511 | * |
| 3512 | * </ini> |
| 3513 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3514 | #define CFG_QOS_WMM_80211E_ENABLED_NAME "80211eIsEnabled" |
| 3515 | #define CFG_QOS_WMM_80211E_ENABLED_MIN (0) |
| 3516 | #define CFG_QOS_WMM_80211E_ENABLED_MAX (1) |
| 3517 | #define CFG_QOS_WMM_80211E_ENABLED_DEFAULT (0) |
| 3518 | |
Sreelakshmi Konamki | 9be8d41 | 2017-03-01 10:29:08 +0530 | [diff] [blame] | 3519 | /* |
| 3520 | * <ini> |
| 3521 | * UapsdMask - To setup U-APSD mask for ACs |
| 3522 | * @Min: 0x00 |
| 3523 | * @Max: 0xFF |
| 3524 | * @Default: 0x00 |
| 3525 | * |
| 3526 | * This ini is used to setup U-APSD mask for ACs. |
| 3527 | * |
| 3528 | * Related: None. |
| 3529 | * |
| 3530 | * Supported Feature: WMM |
| 3531 | * |
| 3532 | * Usage: Internal/External |
| 3533 | * |
| 3534 | * </ini> |
| 3535 | */ |
| 3536 | #define CFG_QOS_WMM_UAPSD_MASK_NAME "UapsdMask" |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3537 | #define CFG_QOS_WMM_UAPSD_MASK_MIN (0x00) |
| 3538 | #define CFG_QOS_WMM_UAPSD_MASK_MAX (0xFF) |
| 3539 | #define CFG_QOS_WMM_UAPSD_MASK_DEFAULT (0x00) |
| 3540 | |
Sreelakshmi Konamki | 9be8d41 | 2017-03-01 10:29:08 +0530 | [diff] [blame] | 3541 | /* |
| 3542 | * <ini> |
| 3543 | * ImplicitQosIsEnabled - Enableimplicit QOS |
| 3544 | * @Min: 0 |
| 3545 | * @Max: 1 |
| 3546 | * @Default: 0 |
| 3547 | * |
| 3548 | * This ini is used to enable/disable implicit QOS. |
| 3549 | * |
| 3550 | * Related: None. |
| 3551 | * |
| 3552 | * Supported Feature: WMM |
| 3553 | * |
| 3554 | * Usage: Internal/External |
| 3555 | * |
| 3556 | * </ini> |
| 3557 | */ |
| 3558 | #define CFG_QOS_IMPLICIT_SETUP_ENABLED_NAME "ImplicitQosIsEnabled" |
| 3559 | #define CFG_QOS_IMPLICIT_SETUP_ENABLED_MIN (0) |
| 3560 | #define CFG_QOS_IMPLICIT_SETUP_ENABLED_MAX (1) |
| 3561 | #define CFG_QOS_IMPLICIT_SETUP_ENABLED_DEFAULT (0) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3562 | |
Sreelakshmi Konamki | 9be8d41 | 2017-03-01 10:29:08 +0530 | [diff] [blame] | 3563 | /* |
| 3564 | * <ini> |
| 3565 | * InfraUapsdVoSrvIntv - Set Uapsd service interval for voice |
| 3566 | * @Min: 0 |
| 3567 | * @Max: 4294967295UL |
| 3568 | * @Default: 20 |
| 3569 | * |
| 3570 | * This ini is used to set Uapsd service interval for voice. |
| 3571 | * |
| 3572 | * Related: None. |
| 3573 | * |
| 3574 | * Supported Feature: WMM |
| 3575 | * |
| 3576 | * Usage: Internal/External |
| 3577 | * |
| 3578 | * </ini> |
| 3579 | */ |
| 3580 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SRV_INTV_NAME "InfraUapsdVoSrvIntv" |
| 3581 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SRV_INTV_MIN (0) |
| 3582 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SRV_INTV_MAX (4294967295UL) |
| 3583 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SRV_INTV_DEFAULT (20) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3584 | |
Sreelakshmi Konamki | 9be8d41 | 2017-03-01 10:29:08 +0530 | [diff] [blame] | 3585 | /* |
| 3586 | * <ini> |
| 3587 | * InfraUapsdVoSuspIntv - Set Uapsd suspension interval for voice |
| 3588 | * @Min: 0 |
| 3589 | * @Max: 4294967295UL |
| 3590 | * @Default: 2000 |
| 3591 | * |
| 3592 | * This ini is used to set Uapsd suspension interval for voice. |
| 3593 | * |
| 3594 | * Related: None. |
| 3595 | * |
| 3596 | * Supported Feature: WMM |
| 3597 | * |
| 3598 | * Usage: Internal/External |
| 3599 | * |
| 3600 | * </ini> |
| 3601 | */ |
| 3602 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SUS_INTV_NAME "InfraUapsdVoSuspIntv" |
| 3603 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SUS_INTV_MIN (0) |
| 3604 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SUS_INTV_MAX (4294967295UL) |
| 3605 | #define CFG_QOS_WMM_INFRA_UAPSD_VO_SUS_INTV_DEFAULT (2000) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3606 | |
Sreelakshmi Konamki | 9be8d41 | 2017-03-01 10:29:08 +0530 | [diff] [blame] | 3607 | /* |
| 3608 | * <ini> |
| 3609 | * InfraUapsdViSrvIntv - Set Uapsd service interval for video |
| 3610 | * @Min: 0 |
| 3611 | * @Max: 4294967295UL |
| 3612 | * @Default: 300 |
| 3613 | * |
| 3614 | * This ini is used to set Uapsd service interval for video. |
| 3615 | * |
| 3616 | * Related: None. |
| 3617 | * |
| 3618 | * Supported Feature: WMM |
| 3619 | * |
| 3620 | * Usage: Internal/External |
| 3621 | * |
| 3622 | * </ini> |
| 3623 | */ |
| 3624 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SRV_INTV_NAME "InfraUapsdViSrvIntv" |
| 3625 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SRV_INTV_MIN (0) |
| 3626 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SRV_INTV_MAX (4294967295UL) |
| 3627 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SRV_INTV_DEFAULT (300) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3628 | |
Sreelakshmi Konamki | 9be8d41 | 2017-03-01 10:29:08 +0530 | [diff] [blame] | 3629 | /* |
| 3630 | * <ini> |
| 3631 | * InfraUapsdViSuspIntv - Set Uapsd suspension interval for video |
| 3632 | * @Min: 0 |
| 3633 | * @Max: 4294967295UL |
| 3634 | * @Default: 2000 |
| 3635 | * |
| 3636 | * This ini is used to set Uapsd suspension interval for video |
| 3637 | * |
| 3638 | * Related: None. |
| 3639 | * |
| 3640 | * Supported Feature: WMM |
| 3641 | * |
| 3642 | * Usage: Internal/External |
| 3643 | * |
| 3644 | * </ini> |
| 3645 | */ |
| 3646 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SUS_INTV_NAME "InfraUapsdViSuspIntv" |
| 3647 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SUS_INTV_MIN (0) |
| 3648 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SUS_INTV_MAX (4294967295UL) |
| 3649 | #define CFG_QOS_WMM_INFRA_UAPSD_VI_SUS_INTV_DEFAULT (2000) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3650 | |
Sreelakshmi Konamki | 9be8d41 | 2017-03-01 10:29:08 +0530 | [diff] [blame] | 3651 | /* |
| 3652 | * <ini> |
| 3653 | * InfraUapsdBeSrvIntv - Set Uapsd service interval for BE |
| 3654 | * @Min: 0 |
| 3655 | * @Max: 4294967295UL |
| 3656 | * @Default: 300 |
| 3657 | * |
| 3658 | * This ini is used to set Uapsd service interval for BE |
| 3659 | * |
| 3660 | * Related: None. |
| 3661 | * |
| 3662 | * Supported Feature: WMM |
| 3663 | * |
| 3664 | * Usage: Internal/External |
| 3665 | * |
| 3666 | * </ini> |
| 3667 | */ |
| 3668 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SRV_INTV_NAME "InfraUapsdBeSrvIntv" |
| 3669 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SRV_INTV_MIN (0) |
| 3670 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SRV_INTV_MAX (4294967295UL) |
| 3671 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SRV_INTV_DEFAULT (300) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3672 | |
Sreelakshmi Konamki | 9be8d41 | 2017-03-01 10:29:08 +0530 | [diff] [blame] | 3673 | /* |
| 3674 | * <ini> |
| 3675 | * InfraUapsdBeSuspIntv - Set Uapsd suspension interval for BE |
| 3676 | * @Min: 0 |
| 3677 | * @Max: 4294967295UL |
| 3678 | * @Default: 2000 |
| 3679 | * |
| 3680 | * This ini is used to set Uapsd suspension interval for BE |
| 3681 | * |
| 3682 | * Related: None. |
| 3683 | * |
| 3684 | * Supported Feature: WMM |
| 3685 | * |
| 3686 | * Usage: Internal/External |
| 3687 | * |
| 3688 | * </ini> |
| 3689 | */ |
| 3690 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SUS_INTV_NAME "InfraUapsdBeSuspIntv" |
| 3691 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SUS_INTV_MIN (0) |
| 3692 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SUS_INTV_MAX (4294967295UL) |
| 3693 | #define CFG_QOS_WMM_INFRA_UAPSD_BE_SUS_INTV_DEFAULT (2000) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3694 | |
Sreelakshmi Konamki | 9be8d41 | 2017-03-01 10:29:08 +0530 | [diff] [blame] | 3695 | /* |
| 3696 | * <ini> |
| 3697 | * InfraUapsdBkSrvIntv - Set Uapsd service interval for BK |
| 3698 | * @Min: 0 |
| 3699 | * @Max: 4294967295UL |
| 3700 | * @Default: 300 |
| 3701 | * |
| 3702 | * This ini is used to set Uapsd service interval for BK |
| 3703 | * |
| 3704 | * Related: None. |
| 3705 | * |
| 3706 | * Supported Feature: WMM |
| 3707 | * |
| 3708 | * Usage: Internal/External |
| 3709 | * |
| 3710 | * </ini> |
| 3711 | */ |
| 3712 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SRV_INTV_NAME "InfraUapsdBkSrvIntv" |
| 3713 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SRV_INTV_MIN (0) |
| 3714 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SRV_INTV_MAX (4294967295UL) |
| 3715 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SRV_INTV_DEFAULT (300) |
| 3716 | |
| 3717 | /* |
| 3718 | * <ini> |
| 3719 | * InfraUapsdBkSuspIntv - Set Uapsd suspension interval for BK |
| 3720 | * @Min: 0 |
| 3721 | * @Max: 4294967295UL |
| 3722 | * @Default: 2000 |
| 3723 | * |
| 3724 | * This ini is used to set Uapsd suspension interval for BK |
| 3725 | * |
| 3726 | * Related: None. |
| 3727 | * |
| 3728 | * Supported Feature: WMM |
| 3729 | * |
| 3730 | * Usage: Internal/External |
| 3731 | * |
| 3732 | * </ini> |
| 3733 | */ |
| 3734 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SUS_INTV_NAME "InfraUapsdBkSuspIntv" |
| 3735 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SUS_INTV_MIN (0) |
| 3736 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SUS_INTV_MAX (4294967295UL) |
| 3737 | #define CFG_QOS_WMM_INFRA_UAPSD_BK_SUS_INTV_DEFAULT (2000) |
| 3738 | |
| 3739 | /* default TSPEC parameters for AC_VO */ |
| 3740 | /* |
| 3741 | * <ini> |
| 3742 | * InfraDirAcVo - Set TSPEC direction for VO |
| 3743 | * @Min: 0 |
| 3744 | * @Max: 3 |
| 3745 | * @Default: 3 |
| 3746 | * |
| 3747 | * This ini is used to set TSPEC direction for VO |
| 3748 | * |
| 3749 | * Related: None. |
| 3750 | * |
| 3751 | * Supported Feature: WMM |
| 3752 | * |
| 3753 | * Usage: Internal/External |
| 3754 | * |
| 3755 | * </ini> |
| 3756 | */ |
| 3757 | #define CFG_QOS_WMM_INFRA_DIR_AC_VO_NAME "InfraDirAcVo" |
| 3758 | #define CFG_QOS_WMM_INFRA_DIR_AC_VO_MIN (0) |
| 3759 | #define CFG_QOS_WMM_INFRA_DIR_AC_VO_MAX (3) |
| 3760 | #define CFG_QOS_WMM_INFRA_DIR_AC_VO_DEFAULT (3) /*WLAN_QCT_CUST_WMM_TSDIR_BOTH*/ |
| 3761 | |
| 3762 | /* |
| 3763 | * <ini> |
| 3764 | * InfraNomMsduSizeAcVo - Set normal MSDU size for VO |
| 3765 | * @Min: 0x0 |
| 3766 | * @Max: 0xFFFF |
| 3767 | * @Default: 0x80D0 |
| 3768 | * |
| 3769 | * This ini is used to set normal MSDU size for VO |
| 3770 | * |
| 3771 | * Related: None. |
| 3772 | * |
| 3773 | * Supported Feature: WMM |
| 3774 | * |
| 3775 | * Usage: Internal/External |
| 3776 | * |
| 3777 | * </ini> |
| 3778 | */ |
| 3779 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VO_NAME "InfraNomMsduSizeAcVo" |
| 3780 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VO_MIN (0x0) |
| 3781 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VO_MAX (0xFFFF) |
| 3782 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VO_DEFAULT (0x80D0) |
| 3783 | |
| 3784 | /* |
| 3785 | * <ini> |
| 3786 | * InfraMeanDataRateAcVo - Set mean data rate for VO |
| 3787 | * @Min: 0x0 |
| 3788 | * @Max: 0xFFFFFFFF |
| 3789 | * @Default: 0x14500 |
| 3790 | * |
| 3791 | * This ini is used to set mean data rate for VO |
| 3792 | * |
| 3793 | * Related: None. |
| 3794 | * |
| 3795 | * Supported Feature: WMM |
| 3796 | * |
| 3797 | * Usage: Internal/External |
| 3798 | * |
| 3799 | * </ini> |
| 3800 | */ |
| 3801 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VO_NAME "InfraMeanDataRateAcVo" |
| 3802 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VO_MIN (0x0) |
| 3803 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VO_MAX (0xFFFFFFFF) |
| 3804 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VO_DEFAULT (0x14500) |
| 3805 | |
| 3806 | /* |
| 3807 | * <ini> |
| 3808 | * InfraMinPhyRateAcVo - Set min PHY rate for VO |
| 3809 | * @Min: 0x0 |
| 3810 | * @Max: 0xFFFFFFFF |
| 3811 | * @Default: 0x5B8D80 |
| 3812 | * |
| 3813 | * This ini is used to set min PHY rate for VO |
| 3814 | * |
| 3815 | * Related: None. |
| 3816 | * |
| 3817 | * Supported Feature: WMM |
| 3818 | * |
| 3819 | * Usage: Internal/External |
| 3820 | * |
| 3821 | * </ini> |
| 3822 | */ |
| 3823 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VO_NAME "InfraMinPhyRateAcVo" |
| 3824 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VO_MIN (0x0) |
| 3825 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VO_MAX (0xFFFFFFFF) |
| 3826 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VO_DEFAULT (0x5B8D80) |
| 3827 | /* |
| 3828 | * <ini> |
| 3829 | * InfraSbaAcVo - Set surplus bandwidth allowance for VO |
| 3830 | * @Min: 0x2001 |
| 3831 | * @Max: 0xFFFF |
| 3832 | * @Default: 0x2001 |
| 3833 | * |
| 3834 | * This ini is used to set surplus bandwidth allowance for VO |
| 3835 | * |
| 3836 | * Related: None. |
| 3837 | * |
| 3838 | * Supported Feature: WMM |
| 3839 | * |
| 3840 | * Usage: Internal/External |
| 3841 | * |
| 3842 | * </ini> |
| 3843 | */ |
| 3844 | #define CFG_QOS_WMM_INFRA_SBA_AC_VO_NAME "InfraSbaAcVo" |
| 3845 | #define CFG_QOS_WMM_INFRA_SBA_AC_VO_MIN (0x2001) |
| 3846 | #define CFG_QOS_WMM_INFRA_SBA_AC_VO_MAX (0xFFFF) |
| 3847 | #define CFG_QOS_WMM_INFRA_SBA_AC_VO_DEFAULT (0x2001) |
| 3848 | |
| 3849 | /* default TSPEC parameters for AC_VI */ |
| 3850 | /* |
| 3851 | * <ini> |
| 3852 | * InfraDirAcVi - Set TSPEC direction for VI |
| 3853 | * @Min: 0 |
| 3854 | * @Max: 3 |
| 3855 | * @Default: 3 |
| 3856 | * |
| 3857 | * This ini is used to set TSPEC direction for VI |
| 3858 | * |
| 3859 | * Related: None. |
| 3860 | * |
| 3861 | * Supported Feature: WMM |
| 3862 | * |
| 3863 | * Usage: Internal/External |
| 3864 | * |
| 3865 | * </ini> |
| 3866 | */ |
| 3867 | #define CFG_QOS_WMM_INFRA_DIR_AC_VI_NAME "InfraDirAcVi" |
| 3868 | #define CFG_QOS_WMM_INFRA_DIR_AC_VI_MIN (0) |
| 3869 | #define CFG_QOS_WMM_INFRA_DIR_AC_VI_MAX (3) |
| 3870 | #define CFG_QOS_WMM_INFRA_DIR_AC_VI_DEFAULT (3) /*WLAN_QCT_CUST_WMM_TSDIR_BOTH*/ |
| 3871 | |
| 3872 | /* |
| 3873 | * <ini> |
| 3874 | * InfraNomMsduSizeAcVi - Set normal MSDU size for VI |
| 3875 | * @Min: 0x0 |
| 3876 | * @Max: 0xFFFF |
| 3877 | * @Default: 0x85DC |
| 3878 | * |
| 3879 | * This ini is used to set normal MSDU size for VI |
| 3880 | * |
| 3881 | * Related: None. |
| 3882 | * |
| 3883 | * Supported Feature: WMM |
| 3884 | * |
| 3885 | * Usage: Internal/External |
| 3886 | * |
| 3887 | * </ini> |
| 3888 | */ |
| 3889 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VI_NAME "InfraNomMsduSizeAcVi" |
| 3890 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VI_MIN (0x0) |
| 3891 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VI_MAX (0xFFFF) |
| 3892 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VI_DEFAULT (0x85DC) |
| 3893 | |
| 3894 | /* |
| 3895 | * <ini> |
| 3896 | * InfraMeanDataRateAcVi - Set mean data rate for VI |
| 3897 | * @Min: 0x0 |
| 3898 | * @Max: 0xFFFFFFFF |
| 3899 | * @Default: 0x57E40 |
| 3900 | * |
| 3901 | * This ini is used to set mean data rate for VI |
| 3902 | * |
| 3903 | * Related: None. |
| 3904 | * |
| 3905 | * Supported Feature: WMM |
| 3906 | * |
| 3907 | * Usage: Internal/External |
| 3908 | * |
| 3909 | * </ini> |
| 3910 | */ |
| 3911 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VI_NAME "InfraMeanDataRateAcVi" |
| 3912 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VI_MIN (0x0) |
| 3913 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VI_MAX (0xFFFFFFFF) |
| 3914 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VI_DEFAULT (0x57E40) |
| 3915 | |
| 3916 | /* |
| 3917 | * <ini> |
| 3918 | * iInfraMinPhyRateAcVi - Set min PHY rate for VI |
| 3919 | * @Min: 0x0 |
| 3920 | * @Max: 0xFFFFFFFF |
| 3921 | * @Default: 0x5B8D80 |
| 3922 | * |
| 3923 | * This ini is used to set min PHY rate for VI |
| 3924 | * |
| 3925 | * Related: None. |
| 3926 | * |
| 3927 | * Supported Feature: WMM |
| 3928 | * |
| 3929 | * Usage: Internal/External |
| 3930 | * |
| 3931 | * </ini> |
| 3932 | */ |
| 3933 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VI_NAME "InfraMinPhyRateAcVi" |
| 3934 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VI_MIN (0x0) |
| 3935 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VI_MAX (0xFFFFFFFF) |
| 3936 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VI_DEFAULT (0x5B8D80) |
| 3937 | |
| 3938 | /* |
| 3939 | * <ini> |
| 3940 | * InfraSbaAcVi - Set surplus bandwidth allowance for VI |
| 3941 | * @Min: 0x2001 |
| 3942 | * @Max: 0xFFFF |
| 3943 | * @Default: 0x2001 |
| 3944 | * |
| 3945 | * This ini is used to set surplus bandwidth allowance for VI |
| 3946 | * |
| 3947 | * Related: None. |
| 3948 | * |
| 3949 | * Supported Feature: WMM |
| 3950 | * |
| 3951 | * Usage: Internal/External |
| 3952 | * |
| 3953 | * </ini> |
| 3954 | */ |
| 3955 | #define CFG_QOS_WMM_INFRA_SBA_AC_VI_NAME "InfraSbaAcVi" |
| 3956 | #define CFG_QOS_WMM_INFRA_SBA_AC_VI_MIN (0x2001) |
| 3957 | #define CFG_QOS_WMM_INFRA_SBA_AC_VI_MAX (0xFFFF) |
| 3958 | #define CFG_QOS_WMM_INFRA_SBA_AC_VI_DEFAULT (0x2001) |
| 3959 | |
| 3960 | /* default TSPEC parameters for AC_BE*/ |
| 3961 | /* |
| 3962 | * <ini> |
| 3963 | * InfraDirAcBe - Set TSPEC direction for BE |
| 3964 | * @Min: 0 |
| 3965 | * @Max: 3 |
| 3966 | * @Default: 3 |
| 3967 | * |
| 3968 | * This ini is used to set TSPEC direction for BE |
| 3969 | * |
| 3970 | * Related: None. |
| 3971 | * |
| 3972 | * Supported Feature: WMM |
| 3973 | * |
| 3974 | * Usage: Internal/External |
| 3975 | * |
| 3976 | * </ini> |
| 3977 | */ |
| 3978 | #define CFG_QOS_WMM_INFRA_DIR_AC_BE_NAME "InfraDirAcBe" |
| 3979 | #define CFG_QOS_WMM_INFRA_DIR_AC_BE_MIN (0) |
| 3980 | #define CFG_QOS_WMM_INFRA_DIR_AC_BE_MAX (3) |
| 3981 | #define CFG_QOS_WMM_INFRA_DIR_AC_BE_DEFAULT (3) /*WLAN_QCT_CUST_WMM_TSDIR_BOTH*/ |
| 3982 | |
| 3983 | /* |
| 3984 | * <ini> |
| 3985 | * InfraNomMsduSizeAcBe - Set normal MSDU size for BE |
| 3986 | * @Min: 0x0 |
| 3987 | * @Max: 0xFFFF |
| 3988 | * @Default: 0x85DC |
| 3989 | * |
| 3990 | * This ini is used to set normal MSDU size for BE |
| 3991 | * |
| 3992 | * Related: None. |
| 3993 | * |
| 3994 | * Supported Feature: WMM |
| 3995 | * |
| 3996 | * Usage: Internal/External |
| 3997 | * |
| 3998 | * </ini> |
| 3999 | */ |
| 4000 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BE_NAME "InfraNomMsduSizeAcBe" |
| 4001 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BE_MIN (0x0) |
| 4002 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BE_MAX (0xFFFF) |
| 4003 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BE_DEFAULT (0x85DC) |
| 4004 | |
| 4005 | /* |
| 4006 | * <ini> |
| 4007 | * InfraMeanDataRateAcBe - Set mean data rate for BE |
| 4008 | * @Min: 0x0 |
| 4009 | * @Max: 0xFFFFFFFF |
| 4010 | * @Default: 0x493E0 |
| 4011 | * |
| 4012 | * This ini is used to set mean data rate for BE |
| 4013 | * |
| 4014 | * Related: None. |
| 4015 | * |
| 4016 | * Supported Feature: WMM |
| 4017 | * |
| 4018 | * Usage: Internal/External |
| 4019 | * |
| 4020 | * </ini> |
| 4021 | */ |
| 4022 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BE_NAME "InfraMeanDataRateAcBe" |
| 4023 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BE_MIN (0x0) |
| 4024 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BE_MAX (0xFFFFFFFF) |
| 4025 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BE_DEFAULT (0x493E0) |
| 4026 | |
| 4027 | /* |
| 4028 | * <ini> |
| 4029 | * InfraMinPhyRateAcBe - Set min PHY rate for BE |
| 4030 | * @Min: 0x0 |
| 4031 | * @Max: 0xFFFFFFFF |
| 4032 | * @Default: 0x5B8D80 |
| 4033 | * |
| 4034 | * This ini is used to set min PHY rate for BE |
| 4035 | * |
| 4036 | * Related: None. |
| 4037 | * |
| 4038 | * Supported Feature: WMM |
| 4039 | * |
| 4040 | * Usage: Internal/External |
| 4041 | * |
| 4042 | * </ini> |
| 4043 | */ |
| 4044 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BE_NAME "InfraMinPhyRateAcBe" |
| 4045 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BE_MIN (0x0) |
| 4046 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BE_MAX (0xFFFFFFFF) |
| 4047 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BE_DEFAULT (0x5B8D80) |
| 4048 | |
| 4049 | /* |
| 4050 | * <ini> |
| 4051 | * InfraSbaAcBe - Set surplus bandwidth allowance for BE |
| 4052 | * @Min: 0x2001 |
| 4053 | * @Max: 0xFFFF |
| 4054 | * @Default: 0x2001 |
| 4055 | * |
| 4056 | * This ini is used to set surplus bandwidth allowance for BE |
| 4057 | * |
| 4058 | * Related: None. |
| 4059 | * |
| 4060 | * Supported Feature: WMM |
| 4061 | * |
| 4062 | * Usage: Internal/External |
| 4063 | * |
| 4064 | * </ini> |
| 4065 | */ |
| 4066 | #define CFG_QOS_WMM_INFRA_SBA_AC_BE_NAME "InfraSbaAcBe" |
| 4067 | #define CFG_QOS_WMM_INFRA_SBA_AC_BE_MIN (0x2001) |
| 4068 | #define CFG_QOS_WMM_INFRA_SBA_AC_BE_MAX (0xFFFF) |
| 4069 | #define CFG_QOS_WMM_INFRA_SBA_AC_BE_DEFAULT (0x2001) |
| 4070 | |
| 4071 | /* default TSPEC parameters for AC_Bk*/ |
| 4072 | /* |
| 4073 | * <ini> |
| 4074 | * InfraDirAcBk - Set TSPEC direction for BK |
| 4075 | * @Min: 0 |
| 4076 | * @Max: 3 |
| 4077 | * @Default: 3 |
| 4078 | * |
| 4079 | * This ini is used to set TSPEC direction for BK |
| 4080 | * |
| 4081 | * Related: None. |
| 4082 | * |
| 4083 | * Supported Feature: WMM |
| 4084 | * |
| 4085 | * Usage: Internal/External |
| 4086 | * |
| 4087 | * </ini> |
| 4088 | */ |
| 4089 | #define CFG_QOS_WMM_INFRA_DIR_AC_BK_NAME "InfraDirAcBk" |
| 4090 | #define CFG_QOS_WMM_INFRA_DIR_AC_BK_MIN (0) |
| 4091 | #define CFG_QOS_WMM_INFRA_DIR_AC_BK_MAX (3) |
| 4092 | #define CFG_QOS_WMM_INFRA_DIR_AC_BK_DEFAULT (3) /*WLAN_QCT_CUST_WMM_TSDIR_BOTH*/ |
| 4093 | |
| 4094 | /* |
| 4095 | * <ini> |
| 4096 | * InfraNomMsduSizeAcBk - Set normal MSDU size for BK |
| 4097 | * @Min: 0x0 |
| 4098 | * @Max: 0xFFFF |
| 4099 | * @Default: 0x85DC |
| 4100 | * |
| 4101 | * This ini is used to set normal MSDU size for BK |
| 4102 | * |
| 4103 | * Related: None. |
| 4104 | * |
| 4105 | * Supported Feature: WMM |
| 4106 | * |
| 4107 | * Usage: Internal/External |
| 4108 | * |
| 4109 | * </ini> |
| 4110 | */ |
| 4111 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BK_NAME "InfraNomMsduSizeAcBk" |
| 4112 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BK_MIN (0x0) |
| 4113 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BK_MAX (0xFFFF) |
| 4114 | #define CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_BK_DEFAULT (0x85DC) |
| 4115 | |
| 4116 | /* |
| 4117 | * <ini> |
| 4118 | * InfraMeanDataRateAcBk - Set mean data rate for BK |
| 4119 | * @Min: 0x0 |
| 4120 | * @Max: 0xFFFFFFFF |
| 4121 | * @Default: 0x493E0 |
| 4122 | * |
| 4123 | * This ini is used to set mean data rate for BK |
| 4124 | * |
| 4125 | * Related: None. |
| 4126 | * |
| 4127 | * Supported Feature: WMM |
| 4128 | * |
| 4129 | * Usage: Internal/External |
| 4130 | * |
| 4131 | * </ini> |
| 4132 | */ |
| 4133 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BK_NAME "InfraMeanDataRateAcBk" |
| 4134 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BK_MIN (0x0) |
| 4135 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BK_MAX (0xFFFFFFFF) |
| 4136 | #define CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_BK_DEFAULT (0x493E0) |
| 4137 | |
| 4138 | /* |
| 4139 | * <ini> |
| 4140 | * InfraMinPhyRateAcBke - Set min PHY rate for BK |
| 4141 | * @Min: 0x0 |
| 4142 | * @Max: 0xFFFFFFFF |
| 4143 | * @Default: 0x5B8D80 |
| 4144 | * |
| 4145 | * This ini is used to set min PHY rate for BK |
| 4146 | * |
| 4147 | * Related: None. |
| 4148 | * |
| 4149 | * Supported Feature: WMM |
| 4150 | * |
| 4151 | * Usage: Internal/External |
| 4152 | * |
| 4153 | * </ini> |
| 4154 | */ |
| 4155 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BK_NAME "InfraMinPhyRateAcBk" |
| 4156 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BK_MIN (0x0) |
| 4157 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BK_MAX (0xFFFFFFFF) |
| 4158 | #define CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_BK_DEFAULT (0x5B8D80) |
| 4159 | |
| 4160 | /* |
| 4161 | * <ini> |
| 4162 | * InfraSbaAcBk - Set surplus bandwidth allowance for BK |
| 4163 | * @Min: 0x2001 |
| 4164 | * @Max: 0xFFFF |
| 4165 | * @Default: 0x2001 |
| 4166 | * |
| 4167 | * This ini is used to set surplus bandwidth allowance for BK |
| 4168 | * |
| 4169 | * Related: None. |
| 4170 | * |
| 4171 | * Supported Feature: WMM |
| 4172 | * |
| 4173 | * Usage: Internal/External |
| 4174 | * |
| 4175 | * </ini> |
| 4176 | */ |
| 4177 | #define CFG_QOS_WMM_INFRA_SBA_AC_BK_NAME "InfraSbaAcBk" |
| 4178 | #define CFG_QOS_WMM_INFRA_SBA_AC_BK_MIN (0x2001) |
| 4179 | #define CFG_QOS_WMM_INFRA_SBA_AC_BK_MAX (0xFFFF) |
| 4180 | #define CFG_QOS_WMM_INFRA_SBA_AC_BK_DEFAULT (0x2001) |
| 4181 | |
| 4182 | /* |
| 4183 | * <ini> |
| 4184 | * burstSizeDefinition - Set TS burst size |
| 4185 | * @Min: 0 |
| 4186 | * @Max: 1 |
| 4187 | * @Default: 0 |
| 4188 | * |
| 4189 | * This ini is used to set TS burst size |
| 4190 | * |
| 4191 | * Related: None. |
| 4192 | * |
| 4193 | * Supported Feature: WMM |
| 4194 | * |
| 4195 | * Usage: Internal/External |
| 4196 | * |
| 4197 | * </ini> |
| 4198 | */ |
| 4199 | #define CFG_QOS_WMM_BURST_SIZE_DEFN_NAME "burstSizeDefinition" |
| 4200 | #define CFG_QOS_WMM_BURST_SIZE_DEFN_MIN (0) |
| 4201 | #define CFG_QOS_WMM_BURST_SIZE_DEFN_MAX (1) |
| 4202 | #define CFG_QOS_WMM_BURST_SIZE_DEFN_DEFAULT (0) |
| 4203 | |
| 4204 | /* |
| 4205 | * <ini> |
| 4206 | * tsInfoAckPolicy - Set TS ack policy |
| 4207 | * @Min: 0x00 |
| 4208 | * @Max: 0x01 |
| 4209 | * @Default: 0x00 |
| 4210 | * |
| 4211 | * This ini is used to set TS ack policy |
| 4212 | * |
| 4213 | * Related: None. |
| 4214 | * |
| 4215 | * Supported Feature: WMM |
| 4216 | * |
| 4217 | * Usage: Internal/External |
| 4218 | * |
| 4219 | * </ini> |
| 4220 | */ |
| 4221 | #define CFG_QOS_WMM_TS_INFO_ACK_POLICY_NAME "tsInfoAckPolicy" |
| 4222 | #define CFG_QOS_WMM_TS_INFO_ACK_POLICY_MIN (0x00) |
| 4223 | #define CFG_QOS_WMM_TS_INFO_ACK_POLICY_MAX (0x01) |
| 4224 | #define CFG_QOS_WMM_TS_INFO_ACK_POLICY_DEFAULT (0x00) |
| 4225 | |
| 4226 | /* |
| 4227 | * <ini> |
| 4228 | * SingleTIDRC - Set replay counter for all TID's |
| 4229 | * @Min: 0 |
| 4230 | * @Max: 1 |
| 4231 | * @Default: 1 |
| 4232 | * |
| 4233 | * This ini is used to set replay counter for all TID's |
| 4234 | * |
| 4235 | * Related: None. |
| 4236 | * |
| 4237 | * Supported Feature: WMM |
| 4238 | * |
| 4239 | * Usage: Internal/External |
| 4240 | * |
| 4241 | * </ini> |
| 4242 | */ |
| 4243 | #define CFG_SINGLE_TID_RC_NAME "SingleTIDRC" |
| 4244 | #define CFG_SINGLE_TID_RC_MIN (0) /* Separate replay counter for all TID */ |
| 4245 | #define CFG_SINGLE_TID_RC_MAX (1) /* Single replay counter for all TID */ |
| 4246 | #define CFG_SINGLE_TID_RC_DEFAULT (1) |
| 4247 | |
| 4248 | /* |
| 4249 | * <ini> |
| 4250 | * gAddTSWhenACMIsOff - Set ACM value for AC |
| 4251 | * @Min: 0 |
| 4252 | * @Max: 1 |
| 4253 | * @Default: 0 |
| 4254 | * |
| 4255 | * This ini is used to set ACM value for AC |
| 4256 | * |
| 4257 | * Related: None. |
| 4258 | * |
| 4259 | * Supported Feature: WMM |
| 4260 | * |
| 4261 | * Usage: Internal/External |
| 4262 | * |
| 4263 | * </ini> |
| 4264 | */ |
| 4265 | #define CFG_QOS_ADDTS_WHEN_ACM_IS_OFF_NAME "gAddTSWhenACMIsOff" |
| 4266 | #define CFG_QOS_ADDTS_WHEN_ACM_IS_OFF_MIN (0) |
| 4267 | /* Send AddTs even when ACM is not set for the AC */ |
| 4268 | #define CFG_QOS_ADDTS_WHEN_ACM_IS_OFF_MAX (1) |
| 4269 | #define CFG_QOS_ADDTS_WHEN_ACM_IS_OFF_DEFAULT (0) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4270 | |
| 4271 | #ifdef FEATURE_WLAN_ESE |
Sreelakshmi Konamki | 9be8d41 | 2017-03-01 10:29:08 +0530 | [diff] [blame] | 4272 | #define CFG_QOS_WMM_INFRA_INACTIVITY_INTERVAL_NAME "InfraInactivityInterval" |
| 4273 | #define CFG_QOS_WMM_INFRA_INACTIVITY_INTERVAL_MIN (0) |
| 4274 | #define CFG_QOS_WMM_INFRA_INACTIVITY_INTERVAL_MAX (4294967295UL) |
| 4275 | #define CFG_QOS_WMM_INFRA_INACTIVITY_INTERVAL_DEFAULT (0) /* disabled */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4276 | |
| 4277 | #define CFG_ESE_FEATURE_ENABLED_NAME "EseEnabled" |
| 4278 | #define CFG_ESE_FEATURE_ENABLED_MIN (0) |
| 4279 | #define CFG_ESE_FEATURE_ENABLED_MAX (1) |
| 4280 | #define CFG_ESE_FEATURE_ENABLED_DEFAULT (0) /* disabled */ |
| 4281 | #endif /* FEATURE_WLAN_ESE */ |
| 4282 | |
Varun Reddy Yeturu | 061d4d6 | 2017-07-20 09:39:32 -0700 | [diff] [blame] | 4283 | /* |
| 4284 | * <ini> |
| 4285 | * MAWCEnabled - Enable/Disable Motion Aided Wireless Connectivity Global |
| 4286 | * @Min: 0 - Disabled |
| 4287 | * @Max: 1 - Enabled |
Rajeev Kumar | 85ffc26 | 2018-05-31 17:53:30 -0700 | [diff] [blame] | 4288 | * @Default: 0 |
Varun Reddy Yeturu | 061d4d6 | 2017-07-20 09:39:32 -0700 | [diff] [blame] | 4289 | * |
| 4290 | * This ini is used to controls the MAWC feature globally. |
| 4291 | * MAWC is Motion Aided Wireless Connectivity. |
| 4292 | * |
| 4293 | * Related: mawc_roam_enabled. |
| 4294 | * |
| 4295 | * Supported Feature: Roaming and PNO/NLO |
| 4296 | * |
| 4297 | * Usage: Internal/External |
| 4298 | * |
| 4299 | * </ini> |
| 4300 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4301 | #define CFG_LFR_MAWC_FEATURE_ENABLED_NAME "MAWCEnabled" |
| 4302 | #define CFG_LFR_MAWC_FEATURE_ENABLED_MIN (0) |
| 4303 | #define CFG_LFR_MAWC_FEATURE_ENABLED_MAX (1) |
Rajeev Kumar | 85ffc26 | 2018-05-31 17:53:30 -0700 | [diff] [blame] | 4304 | #define CFG_LFR_MAWC_FEATURE_ENABLED_DEFAULT (0) |
Varun Reddy Yeturu | 061d4d6 | 2017-07-20 09:39:32 -0700 | [diff] [blame] | 4305 | |
| 4306 | /* |
| 4307 | * <ini> |
| 4308 | * mawc_roam_enabled - Enable/Disable MAWC during roaming |
| 4309 | * @Min: 0 - Disabled |
| 4310 | * @Max: 1 - Enabled |
Rajeev Kumar | 85ffc26 | 2018-05-31 17:53:30 -0700 | [diff] [blame] | 4311 | * @Default: 0 |
Varun Reddy Yeturu | 061d4d6 | 2017-07-20 09:39:32 -0700 | [diff] [blame] | 4312 | * |
| 4313 | * This ini is used to control MAWC during roaming. |
| 4314 | * |
| 4315 | * Related: MAWCEnabled. |
| 4316 | * |
| 4317 | * Supported Feature: MAWC Roaming |
| 4318 | * |
| 4319 | * Usage: Internal/External |
| 4320 | * |
| 4321 | * </ini> |
| 4322 | */ |
| 4323 | #define CFG_MAWC_ROAM_ENABLED_NAME "mawc_roam_enabled" |
| 4324 | #define CFG_MAWC_ROAM_ENABLED_MIN (0) |
| 4325 | #define CFG_MAWC_ROAM_ENABLED_MAX (1) |
Rajeev Kumar | 85ffc26 | 2018-05-31 17:53:30 -0700 | [diff] [blame] | 4326 | #define CFG_MAWC_ROAM_ENABLED_DEFAULT (0) |
Varun Reddy Yeturu | 061d4d6 | 2017-07-20 09:39:32 -0700 | [diff] [blame] | 4327 | |
| 4328 | /* |
| 4329 | * <ini> |
| 4330 | * mawc_roam_traffic_threshold - Configure traffic threshold |
| 4331 | * @Min: 0 |
| 4332 | * @Max: 0xFFFFFFFF |
| 4333 | * @Default: 300 |
| 4334 | * |
| 4335 | * This ini is used to configure the data traffic load in kBps to |
| 4336 | * register CMC. |
| 4337 | * |
| 4338 | * Related: mawc_roam_enabled. |
| 4339 | * |
| 4340 | * Supported Feature: MAWC Roaming |
| 4341 | * |
| 4342 | * Usage: Internal/External |
| 4343 | * |
| 4344 | * </ini> |
| 4345 | */ |
| 4346 | #define CFG_MAWC_ROAM_TRAFFIC_THRESHOLD_NAME "mawc_roam_traffic_threshold" |
| 4347 | #define CFG_MAWC_ROAM_TRAFFIC_THRESHOLD_MIN (0) |
| 4348 | #define CFG_MAWC_ROAM_TRAFFIC_THRESHOLD_MAX (0xFFFFFFFF) |
| 4349 | #define CFG_MAWC_ROAM_TRAFFIC_THRESHOLD_DEFAULT (300) |
| 4350 | |
| 4351 | /* |
| 4352 | * <ini> |
| 4353 | * mawc_roam_ap_rssi_threshold - Best AP RSSI threshold |
| 4354 | * @Min: -120 |
| 4355 | * @Max: 0 |
| 4356 | * @Default: -66 |
| 4357 | * |
| 4358 | * This ini is used to specify the RSSI threshold to scan for the AP. |
| 4359 | * |
| 4360 | * Related: mawc_roam_enabled. |
| 4361 | * |
| 4362 | * Supported Feature: MAWC Roaming |
| 4363 | * |
| 4364 | * Usage: Internal/External |
| 4365 | * |
| 4366 | * </ini> |
| 4367 | */ |
| 4368 | #define CFG_MAWC_ROAM_AP_RSSI_THRESHOLD_NAME "mawc_roam_ap_rssi_threshold" |
| 4369 | #define CFG_MAWC_ROAM_AP_RSSI_THRESHOLD_MIN (-120) |
| 4370 | #define CFG_MAWC_ROAM_AP_RSSI_THRESHOLD_MAX (0) |
| 4371 | #define CFG_MAWC_ROAM_AP_RSSI_THRESHOLD_DEFAULT (-66) |
| 4372 | |
| 4373 | /* |
| 4374 | * <ini> |
| 4375 | * mawc_roam_rssi_high_adjust - Adjust MAWC roam high RSSI |
| 4376 | * @Min: 3 |
| 4377 | * @Max: 5 |
| 4378 | * @Default: 5 |
| 4379 | * |
| 4380 | * This ini is used for high RSSI threshold adjustment in stationary state |
| 4381 | * to suppress the scan. |
| 4382 | * |
| 4383 | * Related: mawc_roam_enabled. |
| 4384 | * |
| 4385 | * Supported Feature: MAWC Roaming |
| 4386 | * |
| 4387 | * Usage: Internal/External |
| 4388 | * |
| 4389 | * </ini> |
| 4390 | */ |
| 4391 | #define CFG_MAWC_ROAM_RSSI_HIGH_ADJUST_NAME "mawc_roam_rssi_high_adjust" |
| 4392 | #define CFG_MAWC_ROAM_RSSI_HIGH_ADJUST_MIN (3) |
| 4393 | #define CFG_MAWC_ROAM_RSSI_HIGH_ADJUST_MAX (5) |
| 4394 | #define CFG_MAWC_ROAM_RSSI_HIGH_ADJUST_DEFAULT (5) |
| 4395 | |
| 4396 | /* |
| 4397 | * <ini> |
| 4398 | * mawc_roam_rssi_high_adjust - Adjust MAWC roam low RSSI |
| 4399 | * @Min: 3 |
| 4400 | * @Max: 5 |
| 4401 | * @Default: 5 |
| 4402 | * |
| 4403 | * This ini is used for low RSSI threshold adjustment in stationary state |
| 4404 | * to suppress the scan. |
| 4405 | * |
| 4406 | * Related: mawc_roam_enabled. |
| 4407 | * |
| 4408 | * Supported Feature: MAWC Roaming |
| 4409 | * |
| 4410 | * Usage: Internal/External |
| 4411 | * |
| 4412 | * </ini> |
| 4413 | */ |
| 4414 | #define CFG_MAWC_ROAM_RSSI_LOW_ADJUST_NAME "mawc_roam_rssi_low_adjust" |
| 4415 | #define CFG_MAWC_ROAM_RSSI_LOW_ADJUST_MIN (3) |
| 4416 | #define CFG_MAWC_ROAM_RSSI_LOW_ADJUST_MAX (5) |
| 4417 | #define CFG_MAWC_ROAM_RSSI_LOW_ADJUST_DEFAULT (5) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4418 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4419 | /*This parameter is used to set Wireless Extended Security Mode.*/ |
| 4420 | #define CFG_ENABLE_WES_MODE_NAME "gWESModeEnabled" |
| 4421 | #define CFG_ENABLE_WES_MODE_NAME_MIN (0) |
| 4422 | #define CFG_ENABLE_WES_MODE_NAME_MAX (1) |
| 4423 | #define CFG_ENABLE_WES_MODE_NAME_DEFAULT (0) |
| 4424 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4425 | #define CFG_TL_DELAYED_TRGR_FRM_INT_NAME "DelayedTriggerFrmInt" |
| 4426 | #define CFG_TL_DELAYED_TRGR_FRM_INT_MIN 1 |
| 4427 | #define CFG_TL_DELAYED_TRGR_FRM_INT_MAX (4294967295UL) |
| 4428 | #define CFG_TL_DELAYED_TRGR_FRM_INT_DEFAULT 3000 |
| 4429 | |
Sreelakshmi Konamki | ded64d7 | 2017-02-23 10:39:26 +0530 | [diff] [blame] | 4430 | /* |
| 4431 | * <ini> |
| 4432 | * gRrmEnable - Enable/Disable RRM |
| 4433 | * @Min: 0 |
| 4434 | * @Max: 1 |
| 4435 | * @Default: 0 |
| 4436 | * |
| 4437 | * This ini is used to controls the capabilities (11 k) included |
| 4438 | * in the capabilities field. |
| 4439 | * |
| 4440 | * Related: None. |
| 4441 | * |
| 4442 | * Supported Feature: 11k |
| 4443 | * |
| 4444 | * Usage: Internal/External |
| 4445 | * |
| 4446 | * </ini> |
| 4447 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4448 | #define CFG_RRM_ENABLE_NAME "gRrmEnable" |
| 4449 | #define CFG_RRM_ENABLE_MIN (0) |
| 4450 | #define CFG_RRM_ENABLE_MAX (1) |
| 4451 | #define CFG_RRM_ENABLE_DEFAULT (0) |
| 4452 | |
Sreelakshmi Konamki | ded64d7 | 2017-02-23 10:39:26 +0530 | [diff] [blame] | 4453 | /* |
| 4454 | * <ini> |
| 4455 | * gRrmRandnIntvl - Randomization interval |
| 4456 | * @Min: 10 |
| 4457 | * @Max: 100 |
| 4458 | * @Default: 100 |
| 4459 | * |
| 4460 | * This ini is used to set randomization interval which is used to start a timer |
| 4461 | * of a random value within randomization interval. Next RRM Scan request |
| 4462 | * will be issued after the expiry of this random interval. |
| 4463 | * |
| 4464 | * Related: None. |
| 4465 | * |
| 4466 | * Supported Feature: 11k |
| 4467 | * |
| 4468 | * Usage: Internal/External |
| 4469 | * |
| 4470 | * </ini> |
| 4471 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4472 | #define CFG_RRM_MEAS_RANDOMIZATION_INTVL_NAME "gRrmRandnIntvl" |
| 4473 | #define CFG_RRM_MEAS_RANDOMIZATION_INTVL_MIN (10) |
| 4474 | #define CFG_RRM_MEAS_RANDOMIZATION_INTVL_MAX (100) |
| 4475 | #define CFG_RRM_MEAS_RANDOMIZATION_INTVL_DEFAULT (100) |
Krishna Kumaar Natarajan | f599c6e | 2015-11-03 11:44:03 -0800 | [diff] [blame] | 4476 | |
Sreelakshmi Konamki | ded64d7 | 2017-02-23 10:39:26 +0530 | [diff] [blame] | 4477 | /* |
| 4478 | * <ini> |
| 4479 | * rm_capability - Configure RM enabled capabilities IE |
| 4480 | * @Default: 73,10,91,00,04 |
| 4481 | * |
| 4482 | * This ini is used to configure RM enabled capabilities IE. |
Krishna Kumaar Natarajan | f599c6e | 2015-11-03 11:44:03 -0800 | [diff] [blame] | 4483 | * Using this INI, we can set/unset any of the bits in 5 bytes |
| 4484 | * (last 4bytes are reserved). Bit details are updated as per |
| 4485 | * Draft version of 11mc spec. (Draft P802.11REVmc_D4.2) |
| 4486 | * |
Jeff Johnson | d404d03 | 2016-09-08 14:51:43 -0700 | [diff] [blame] | 4487 | * Bitwise details are defined as bit mask in rrm_global.h |
Krishna Kumaar Natarajan | f599c6e | 2015-11-03 11:44:03 -0800 | [diff] [blame] | 4488 | * Comma is used as a separator for each byte. |
Sreelakshmi Konamki | ded64d7 | 2017-02-23 10:39:26 +0530 | [diff] [blame] | 4489 | * |
| 4490 | * Related: None. |
| 4491 | * |
| 4492 | * Supported Feature: 11k |
| 4493 | * |
| 4494 | * Usage: Internal/External |
| 4495 | * |
| 4496 | * </ini> |
Krishna Kumaar Natarajan | f599c6e | 2015-11-03 11:44:03 -0800 | [diff] [blame] | 4497 | */ |
| 4498 | #define CFG_RM_CAPABILITY_NAME "rm_capability" |
Jeff Johnson | d404d03 | 2016-09-08 14:51:43 -0700 | [diff] [blame] | 4499 | #define CFG_RM_CAPABILITY_DEFAULT "73,10,91,00,04" |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4500 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4501 | #define CFG_TELE_BCN_MAX_LI_NAME "telescopicBeaconMaxListenInterval" |
| 4502 | #define CFG_TELE_BCN_MAX_LI_MIN (0) |
| 4503 | #define CFG_TELE_BCN_MAX_LI_MAX (7) |
| 4504 | #define CFG_TELE_BCN_MAX_LI_DEFAULT (5) |
| 4505 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4506 | #define CFG_NEIGHBOR_LOOKUP_RSSI_THRESHOLD_NAME "gNeighborLookupThreshold" |
| 4507 | #define CFG_NEIGHBOR_LOOKUP_RSSI_THRESHOLD_MIN (10) |
| 4508 | #define CFG_NEIGHBOR_LOOKUP_RSSI_THRESHOLD_MAX (120) |
| 4509 | #define CFG_NEIGHBOR_LOOKUP_RSSI_THRESHOLD_DEFAULT (78) |
| 4510 | |
Varun Reddy Yeturu | 168134f | 2017-06-26 13:46:05 -0700 | [diff] [blame] | 4511 | /* |
| 4512 | * <ini> |
| 4513 | * lookup_threshold_5g_offset - Lookup Threshold offset for 5G band |
| 4514 | * @Min: -120 |
| 4515 | * @Max: +120 |
| 4516 | * @Default: 0 |
| 4517 | * |
| 4518 | * This ini is used to set the 5G band lookup threshold for roaming. |
| 4519 | * It depends on another INI which is gNeighborLookupThreshold. |
| 4520 | * gNeighborLookupThreshold is a legacy INI item which will be used to |
| 4521 | * set the RSSI lookup threshold for both 2G and 5G bands. If the |
| 4522 | * user wants to setup a different threshold for a 5G band, then user |
| 4523 | * can use this offset value which will be summed up to the value of |
| 4524 | * gNeighborLookupThreshold and used for 5G |
| 4525 | * e.g: gNeighborLookupThreshold = -76dBm |
| 4526 | * lookup_threshold_5g_offset = 6dBm |
| 4527 | * Then the 5G band will be configured to -76+6 = -70dBm |
| 4528 | * A default value of Zero to lookup_threshold_5g_offset will keep the |
| 4529 | * thresholds same for both 2G and 5G bands |
| 4530 | * |
| 4531 | * Related: gNeighborLookupThreshold |
| 4532 | * |
| 4533 | * Supported Feature: Roaming |
| 4534 | * |
| 4535 | * Usage: Internal/External |
| 4536 | * |
| 4537 | * </ini> |
| 4538 | */ |
| 4539 | #define CFG_5G_RSSI_THRESHOLD_OFFSET_NAME "lookup_threshold_5g_offset" |
| 4540 | #define CFG_5G_RSSI_THRESHOLD_OFFSET_MIN (-120) |
| 4541 | #define CFG_5G_RSSI_THRESHOLD_OFFSET_MAX (120) |
| 4542 | #define CFG_5G_RSSI_THRESHOLD_OFFSET_DEFAULT (0) |
| 4543 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4544 | #define CFG_DELAY_BEFORE_VDEV_STOP_NAME "gDelayBeforeVdevStop" |
| 4545 | #define CFG_DELAY_BEFORE_VDEV_STOP_MIN (2) |
| 4546 | #define CFG_DELAY_BEFORE_VDEV_STOP_MAX (200) |
| 4547 | #define CFG_DELAY_BEFORE_VDEV_STOP_DEFAULT (20) |
| 4548 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4549 | #define CFG_11R_NEIGHBOR_REQ_MAX_TRIES_NAME "gMaxNeighborReqTries" |
| 4550 | #define CFG_11R_NEIGHBOR_REQ_MAX_TRIES_MIN (1) |
| 4551 | #define CFG_11R_NEIGHBOR_REQ_MAX_TRIES_MAX (4) |
| 4552 | #define CFG_11R_NEIGHBOR_REQ_MAX_TRIES_DEFAULT (3) |
| 4553 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4554 | #define CFG_ROAM_BMISS_FIRST_BCNT_NAME "gRoamBmissFirstBcnt" |
| 4555 | #define CFG_ROAM_BMISS_FIRST_BCNT_MIN (5) |
| 4556 | #define CFG_ROAM_BMISS_FIRST_BCNT_MAX (100) |
| 4557 | #define CFG_ROAM_BMISS_FIRST_BCNT_DEFAULT (10) |
| 4558 | |
| 4559 | #define CFG_ROAM_BMISS_FINAL_BCNT_NAME "gRoamBmissFinalBcnt" |
| 4560 | #define CFG_ROAM_BMISS_FINAL_BCNT_MIN (5) |
| 4561 | #define CFG_ROAM_BMISS_FINAL_BCNT_MAX (100) |
Mukul Sharma | 9e8395e | 2017-07-25 18:02:53 +0530 | [diff] [blame] | 4562 | #define CFG_ROAM_BMISS_FINAL_BCNT_DEFAULT (20) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4563 | |
| 4564 | #define CFG_ROAM_BEACON_RSSI_WEIGHT_NAME "gRoamBeaconRssiWeight" |
| 4565 | #define CFG_ROAM_BEACON_RSSI_WEIGHT_MIN (0) |
| 4566 | #define CFG_ROAM_BEACON_RSSI_WEIGHT_MAX (16) |
| 4567 | #define CFG_ROAM_BEACON_RSSI_WEIGHT_DEFAULT (14) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4568 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 4569 | /* |
| 4570 | * <ini> |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 4571 | * gTelescopicBeaconWakeupEn - Set teles copic beacon wakeup |
| 4572 | * @Min: 0 |
| 4573 | * @Max: 1 |
| 4574 | * @Default: 0 |
| 4575 | * |
| 4576 | * This ini is used to set default teles copic beacon wakeup |
| 4577 | * |
| 4578 | * Related: None |
| 4579 | * |
| 4580 | * Supported Feature: STA |
| 4581 | * |
| 4582 | * Usage: Internal/External |
| 4583 | * |
| 4584 | * </ini> |
| 4585 | */ |
| 4586 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4587 | #define CFG_TELE_BCN_WAKEUP_EN_NAME "gTelescopicBeaconWakeupEn" |
| 4588 | #define CFG_TELE_BCN_WAKEUP_EN_MIN (0) |
| 4589 | #define CFG_TELE_BCN_WAKEUP_EN_MAX (1) |
| 4590 | #define CFG_TELE_BCN_WAKEUP_EN_DEFAULT (0) |
| 4591 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4592 | #define CFG_AP_DATA_AVAIL_POLL_PERIOD_NAME "gApDataAvailPollInterval" |
| 4593 | #define CFG_AP_DATA_AVAIL_POLL_PERIOD_MIN (WNI_CFG_AP_DATA_AVAIL_POLL_PERIOD_STAMIN) |
| 4594 | #define CFG_AP_DATA_AVAIL_POLL_PERIOD_MAX (WNI_CFG_AP_DATA_AVAIL_POLL_PERIOD_STAMAX) |
| 4595 | #define CFG_AP_DATA_AVAIL_POLL_PERIOD_DEFAULT (WNI_CFG_AP_DATA_AVAIL_POLL_PERIOD_STADEF) |
| 4596 | |
| 4597 | #define CFG_ENABLE_HOST_ARPOFFLOAD_NAME "hostArpOffload" |
| 4598 | #define CFG_ENABLE_HOST_ARPOFFLOAD_MIN (0) |
| 4599 | #define CFG_ENABLE_HOST_ARPOFFLOAD_MAX (1) |
Manjeet Singh | c573418 | 2016-09-02 16:03:29 +0530 | [diff] [blame] | 4600 | #define CFG_ENABLE_HOST_ARPOFFLOAD_DEFAULT (1) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4601 | |
| 4602 | #define CFG_ENABLE_HOST_SSDP_NAME "ssdp" |
| 4603 | #define CFG_ENABLE_HOST_SSDP_MIN (0) |
| 4604 | #define CFG_ENABLE_HOST_SSDP_MAX (1) |
| 4605 | #define CFG_ENABLE_HOST_SSDP_DEFAULT (1) |
| 4606 | |
| 4607 | #define CFG_ENABLE_HOST_NSOFFLOAD_NAME "hostNSOffload" |
| 4608 | #define CFG_ENABLE_HOST_NSOFFLOAD_MIN (0) |
| 4609 | #define CFG_ENABLE_HOST_NSOFFLOAD_MAX (1) |
Manjeet Singh | c573418 | 2016-09-02 16:03:29 +0530 | [diff] [blame] | 4610 | #define CFG_ENABLE_HOST_NSOFFLOAD_DEFAULT (1) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4611 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 4612 | /* |
| 4613 | * <ini> |
Dustin Brown | 1224e21 | 2017-05-12 14:02:12 -0700 | [diff] [blame] | 4614 | * gHwFilterMode - configure hardware filter for DTIM mode |
Ravi Kumar Bokka | 794fd71 | 2017-03-21 20:52:46 +0530 | [diff] [blame] | 4615 | * @Min: 0 |
Dustin Brown | 1224e21 | 2017-05-12 14:02:12 -0700 | [diff] [blame] | 4616 | * @Max: 3 |
Dustin Brown | 2078edd | 2017-05-18 11:37:33 -0700 | [diff] [blame] | 4617 | * @Default: 1 |
Ravi Kumar Bokka | 794fd71 | 2017-03-21 20:52:46 +0530 | [diff] [blame] | 4618 | * |
Dustin Brown | 1224e21 | 2017-05-12 14:02:12 -0700 | [diff] [blame] | 4619 | * The hardware filter is only effective in DTIM mode. Use this configuration |
| 4620 | * to blanket drop broadcast/multicast packets at the hardware level, without |
| 4621 | * waking up the firmware |
Ravi Kumar Bokka | 794fd71 | 2017-03-21 20:52:46 +0530 | [diff] [blame] | 4622 | * |
Dustin Brown | 1224e21 | 2017-05-12 14:02:12 -0700 | [diff] [blame] | 4623 | * Takes a bitmap of frame types to drop |
| 4624 | * @E.g. |
Dustin Brown | 2078edd | 2017-05-18 11:37:33 -0700 | [diff] [blame] | 4625 | * # disable feature |
Dustin Brown | 1224e21 | 2017-05-12 14:02:12 -0700 | [diff] [blame] | 4626 | * gHwFilterMode=0 |
Dustin Brown | 2078edd | 2017-05-18 11:37:33 -0700 | [diff] [blame] | 4627 | * # drop all broadcast frames, except ARP (default) |
Dustin Brown | 1224e21 | 2017-05-12 14:02:12 -0700 | [diff] [blame] | 4628 | * gHwFilterMode=1 |
| 4629 | * # drop all multicast frames, except ICMPv6 |
| 4630 | * gHwFilterMode=2 |
| 4631 | * # drop all broadcast and multicast frames, except ARP and ICMPv6 |
| 4632 | * gHwFilterMode=3 |
| 4633 | * |
| 4634 | * Related: N/A |
| 4635 | * |
| 4636 | * Usage: Internal/External |
Ravi Kumar Bokka | 794fd71 | 2017-03-21 20:52:46 +0530 | [diff] [blame] | 4637 | * |
| 4638 | * </ini> |
| 4639 | */ |
Nachiket Kukade | f080407 | 2018-02-27 18:20:07 +0530 | [diff] [blame] | 4640 | #define CFG_HW_FILTER_MODE_BITMAP_NAME "gHwFilterMode" |
| 4641 | #define CFG_HW_FILTER_MODE_BITMAP_MIN (0) |
| 4642 | #define CFG_HW_FILTER_MODE_BITMAP_MAX (3) |
| 4643 | #define CFG_HW_FILTER_MODE_BITMAP_DEFAULT (1) |
Ravi Kumar Bokka | 794fd71 | 2017-03-21 20:52:46 +0530 | [diff] [blame] | 4644 | |
| 4645 | /* |
| 4646 | * <ini> |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 4647 | * BandCapability - Preferred band (0: Both, 1: 2.4G only, 2: 5G only) |
| 4648 | * @Min: 0 |
| 4649 | * @Max: 2 |
| 4650 | * @Default: 0 |
| 4651 | * |
| 4652 | * This ini is used to set default band capability |
| 4653 | * (0: Both, 1: 2.4G only, 2: 5G only) |
| 4654 | * |
| 4655 | * Related: None |
| 4656 | * |
| 4657 | * Supported Feature: STA |
| 4658 | * |
| 4659 | * Usage: Internal/External |
| 4660 | * |
| 4661 | * </ini> |
| 4662 | */ |
| 4663 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4664 | #define CFG_BAND_CAPABILITY_NAME "BandCapability" |
| 4665 | #define CFG_BAND_CAPABILITY_MIN (0) |
| 4666 | #define CFG_BAND_CAPABILITY_MAX (2) |
| 4667 | #define CFG_BAND_CAPABILITY_DEFAULT (0) |
| 4668 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4669 | #define CFG_ENABLE_BYPASS_11D_NAME "gEnableBypass11d" |
| 4670 | #define CFG_ENABLE_BYPASS_11D_MIN (0) |
| 4671 | #define CFG_ENABLE_BYPASS_11D_MAX (1) |
| 4672 | #define CFG_ENABLE_BYPASS_11D_DEFAULT (1) |
| 4673 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 4674 | /* |
Kapil Gupta | 825f1ba | 2017-01-03 12:24:01 +0530 | [diff] [blame] | 4675 | * gEnableDFSChnlScan - enable dfs channel scan. |
| 4676 | * @Min: 0 |
| 4677 | * @Max: 1 |
| 4678 | * @Default: 1 |
| 4679 | * |
| 4680 | * This ini is used to enable/disable dfs channels in scan, enabling this |
| 4681 | * will enable driver to include dfs channels in its scan list. |
| 4682 | * Related: NA |
| 4683 | * |
| 4684 | * Supported Feature: DFS, Scan |
| 4685 | * |
| 4686 | * Usage: Internal/External |
| 4687 | * |
| 4688 | * </ini> |
| 4689 | */ |
| 4690 | #define CFG_ENABLE_DFS_CHNL_SCAN_NAME "gEnableDFSChnlScan" |
| 4691 | #define CFG_ENABLE_DFS_CHNL_SCAN_MIN (0) |
| 4692 | #define CFG_ENABLE_DFS_CHNL_SCAN_MAX (1) |
| 4693 | #define CFG_ENABLE_DFS_CHNL_SCAN_DEFAULT (1) |
| 4694 | |
| 4695 | /* |
| 4696 | * <ini> |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 4697 | * gEnableDumpCollect - It will use for collect the dumps |
| 4698 | * @Min: 0 |
| 4699 | * @Max: 1 |
| 4700 | * @Default: 1 |
| 4701 | * |
| 4702 | * This ini is used to set collect default dump |
| 4703 | * |
| 4704 | * Related: None |
| 4705 | * |
| 4706 | * Supported Feature: STA |
| 4707 | * |
| 4708 | * Usage: Internal/External |
| 4709 | * |
| 4710 | * </ini> |
| 4711 | */ |
| 4712 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4713 | #define CFG_ENABLE_RAMDUMP_COLLECTION "gEnableDumpCollect" |
| 4714 | #define CFG_ENABLE_RAMDUMP_COLLECTION_MIN (0) |
| 4715 | #define CFG_ENABLE_RAMDUMP_COLLECTION_MAX (1) |
| 4716 | #define CFG_ENABLE_RAMDUMP_COLLECTION_DEFAULT (1) |
| 4717 | |
Srinivas Girigowda | 2fb677c | 2017-03-25 15:35:34 -0700 | [diff] [blame] | 4718 | enum hdd_link_speed_rpt_type { |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4719 | eHDD_LINK_SPEED_REPORT_ACTUAL = 0, |
| 4720 | eHDD_LINK_SPEED_REPORT_MAX = 1, |
| 4721 | eHDD_LINK_SPEED_REPORT_MAX_SCALED = 2, |
Srinivas Girigowda | 2fb677c | 2017-03-25 15:35:34 -0700 | [diff] [blame] | 4722 | }; |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 4723 | |
| 4724 | /* |
| 4725 | * <ini> |
| 4726 | * gVhtChannelWidth - Channel width capability for 11ac |
| 4727 | * @Min: 0 |
| 4728 | * @Max: 4 |
| 4729 | * @Default: 3 |
| 4730 | * |
| 4731 | * This ini is used to set channel width capability for 11AC. |
| 4732 | * eHT_CHANNEL_WIDTH_20MHZ = 0, |
| 4733 | * eHT_CHANNEL_WIDTH_40MHZ = 1, |
| 4734 | * eHT_CHANNEL_WIDTH_80MHZ = 2, |
| 4735 | * eHT_CHANNEL_WIDTH_160MHZ = 3, |
| 4736 | * eHT_CHANNEL_WIDTH_80P80MHZ = 4, |
| 4737 | * |
| 4738 | * Related: NA |
| 4739 | * |
| 4740 | * Supported Feature: 11AC |
| 4741 | * |
| 4742 | * Usage: External |
| 4743 | * |
| 4744 | * </ini> |
| 4745 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4746 | #define CFG_VHT_CHANNEL_WIDTH "gVhtChannelWidth" |
| 4747 | #define CFG_VHT_CHANNEL_WIDTH_MIN (0) |
| 4748 | #define CFG_VHT_CHANNEL_WIDTH_MAX (4) |
Kiran Kumar Lokere | 4bbbd0d | 2017-02-07 00:06:43 -0800 | [diff] [blame] | 4749 | #define CFG_VHT_CHANNEL_WIDTH_DEFAULT (2) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4750 | |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 4751 | /* |
Jeff Johnson | dcf84ce | 2017-10-05 09:26:24 -0700 | [diff] [blame] | 4752 | * <ini> |
| 4753 | * gVhtRxMCS - VHT Rx MCS capability for 1x1 mode |
| 4754 | * @Min: 0 |
| 4755 | * @Max: 2 |
| 4756 | * @Default: 0 |
| 4757 | * |
| 4758 | * This ini is used to set VHT Rx MCS capability for 1x1 mode. |
| 4759 | * 0, MCS0-7 |
| 4760 | * 1, MCS0-8 |
| 4761 | * 2, MCS0-9 |
| 4762 | * |
| 4763 | * Related: NA |
| 4764 | * |
| 4765 | * Supported Feature: 11AC |
| 4766 | * |
| 4767 | * Usage: Internal/External |
| 4768 | * |
| 4769 | * </ini> |
| 4770 | */ |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 4771 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4772 | #define CFG_VHT_ENABLE_RX_MCS_8_9 "gVhtRxMCS" |
| 4773 | #define CFG_VHT_ENABLE_RX_MCS_8_9_MIN (0) |
| 4774 | #define CFG_VHT_ENABLE_RX_MCS_8_9_MAX (2) |
| 4775 | #define CFG_VHT_ENABLE_RX_MCS_8_9_DEFAULT (0) |
| 4776 | |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 4777 | /* |
| 4778 | * <ini> |
| 4779 | * gVhtTxMCS - VHT Tx MCS capability for 1x1 mode |
| 4780 | * @Min: 0 |
| 4781 | * @Max: 2 |
| 4782 | * @Default: 0 |
| 4783 | * |
| 4784 | * This ini is used to set VHT Tx MCS capability for 1x1 mode. |
| 4785 | * 0, MCS0-7 |
| 4786 | * 1, MCS0-8 |
| 4787 | * 2, MCS0-9 |
| 4788 | * |
| 4789 | * Related: NA |
| 4790 | * |
| 4791 | * Supported Feature: 11AC |
| 4792 | * |
| 4793 | * Usage: Internal/External |
| 4794 | * |
| 4795 | * </ini> |
| 4796 | */ |
| 4797 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4798 | #define CFG_VHT_ENABLE_TX_MCS_8_9 "gVhtTxMCS" |
| 4799 | #define CFG_VHT_ENABLE_TX_MCS_8_9_MIN (0) |
| 4800 | #define CFG_VHT_ENABLE_TX_MCS_8_9_MAX (2) |
| 4801 | #define CFG_VHT_ENABLE_TX_MCS_8_9_DEFAULT (0) |
| 4802 | |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 4803 | /* |
| 4804 | * <ini> |
| 4805 | * gVhtRxMCS2x2 - VHT Rx MCS capability for 2x2 mode |
| 4806 | * @Min: 0 |
| 4807 | * @Max: 2 |
| 4808 | * @Default: 0 |
| 4809 | * |
| 4810 | * This ini is used to set VHT Rx MCS capability for 2x2 mode. |
| 4811 | * 0, MCS0-7 |
| 4812 | * 1, MCS0-8 |
| 4813 | * 2, MCS0-9 |
| 4814 | * |
| 4815 | * Related: NA |
| 4816 | * |
| 4817 | * Supported Feature: 11AC |
| 4818 | * |
| 4819 | * Usage: External |
| 4820 | * |
| 4821 | * </ini> |
| 4822 | */ |
| 4823 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4824 | #define CFG_VHT_ENABLE_RX_MCS2x2_8_9 "gVhtRxMCS2x2" |
| 4825 | #define CFG_VHT_ENABLE_RX_MCS2x2_8_9_MIN (0) |
| 4826 | #define CFG_VHT_ENABLE_RX_MCS2x2_8_9_MAX (2) |
| 4827 | #define CFG_VHT_ENABLE_RX_MCS2x2_8_9_DEFAULT (0) |
| 4828 | |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 4829 | /* |
| 4830 | * <ini> |
| 4831 | * gVhtTxMCS2x2 - VHT Tx MCS capability for 2x2 mode |
| 4832 | * @Min: 0 |
| 4833 | * @Max: 2 |
| 4834 | * @Default: 0 |
| 4835 | * |
| 4836 | * This ini is used to set VHT Tx MCS capability for 2x2 mode. |
| 4837 | * 0, MCS0-7 |
| 4838 | * 1, MCS0-8 |
| 4839 | * 2, MCS0-9 |
| 4840 | * |
| 4841 | * Related: NA |
| 4842 | * |
| 4843 | * Supported Feature: 11AC |
| 4844 | * |
| 4845 | * Usage: External |
| 4846 | * |
| 4847 | * </ini> |
| 4848 | */ |
| 4849 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4850 | #define CFG_VHT_ENABLE_TX_MCS2x2_8_9 "gVhtTxMCS2x2" |
| 4851 | #define CFG_VHT_ENABLE_TX_MCS2x2_8_9_MIN (0) |
| 4852 | #define CFG_VHT_ENABLE_TX_MCS2x2_8_9_MAX (2) |
| 4853 | #define CFG_VHT_ENABLE_TX_MCS2x2_8_9_DEFAULT (0) |
| 4854 | |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 4855 | /* |
| 4856 | * <ini> |
Kiran Kumar Lokere | 0e25517 | 2018-03-30 18:54:25 -0700 | [diff] [blame] | 4857 | * enable_vht20_mcs9 - Enables VHT MCS9 in 20M BW operation |
| 4858 | * @Min: 0 |
| 4859 | * @Max: 1 |
| 4860 | * @Default: 1 |
| 4861 | * |
| 4862 | * Related: NA |
| 4863 | * |
| 4864 | * Supported Feature: 11AC |
| 4865 | * |
| 4866 | * Usage: External |
| 4867 | * |
| 4868 | * </ini> |
| 4869 | */ |
| 4870 | |
| 4871 | #define CFG_ENABLE_VHT20_MCS9 "enable_vht20_mcs9" |
| 4872 | #define CFG_ENABLE_VHT20_MCS9_MIN (0) |
| 4873 | #define CFG_ENABLE_VHT20_MCS9_MAX (1) |
| 4874 | #define CFG_ENABLE_VHT20_MCS9_DEFAULT (1) |
| 4875 | |
| 4876 | /* |
| 4877 | * <ini> |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 4878 | * gEnable2x2 - Enables/disables VHT Tx/Rx MCS values for 2x2 |
| 4879 | * @Min: 0 |
| 4880 | * @Max: 1 |
| 4881 | * @Default: 0 |
| 4882 | * |
| 4883 | * This ini disables/enables 2x2 mode. If this is zero then DUT operates as 1x1 |
| 4884 | * |
| 4885 | * 0, Disable |
| 4886 | * 1, Enable |
| 4887 | * |
| 4888 | * Related: NA |
| 4889 | * |
| 4890 | * Supported Feature: 11AC |
| 4891 | * |
| 4892 | * Usage: External |
| 4893 | * |
| 4894 | * </ini> |
| 4895 | */ |
| 4896 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4897 | #define CFG_VHT_ENABLE_2x2_CAP_FEATURE "gEnable2x2" |
| 4898 | #define CFG_VHT_ENABLE_2x2_CAP_FEATURE_MIN (0) |
| 4899 | #define CFG_VHT_ENABLE_2x2_CAP_FEATURE_MAX (1) |
| 4900 | #define CFG_VHT_ENABLE_2x2_CAP_FEATURE_DEFAULT (0) |
| 4901 | |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 4902 | /* |
| 4903 | * <ini> |
Liangwei Dong | 22810e8 | 2018-03-15 03:42:12 -0400 | [diff] [blame] | 4904 | * enable_bt_chain_separation - Enables/disables bt /wlan chainmask assignment |
| 4905 | * @Min: 0 |
| 4906 | * @Max: 1 |
| 4907 | * @Default: 0 |
| 4908 | * |
| 4909 | * This ini disables/enables chainmask setting on 2x2, mainly used for ROME |
| 4910 | * BT/WLAN chainmask assignment. |
| 4911 | * |
| 4912 | * 0, Disable |
| 4913 | * 1, Enable |
| 4914 | * |
| 4915 | * Related: NA |
| 4916 | * |
| 4917 | * Supported Feature: 11n/11ac |
| 4918 | * |
| 4919 | * Usage: External |
| 4920 | * |
| 4921 | * </ini> |
| 4922 | */ |
| 4923 | |
| 4924 | #define CFG_ENABLE_BT_CHAIN_SEPARATION "enableBTChainSeparation" |
| 4925 | #define CFG_ENABLE_BT_CHAIN_SEPARATION_MIN (0) |
| 4926 | #define CFG_ENABLE_BT_CHAIN_SEPARATION_MAX (1) |
| 4927 | #define CFG_ENABLE_BT_CHAIN_SEPARATION_DEFAULT (0) |
| 4928 | |
| 4929 | /* |
| 4930 | * <ini> |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 4931 | * gStaPrefer80MHzOver160MHz - set Sta perferance to connect in 80HZ/160HZ |
| 4932 | * @Min: 0 |
| 4933 | * @Max: 1 |
| 4934 | * @Default: 1 |
| 4935 | * |
| 4936 | * This ini is used to set Sta perferance to connect in 80HZ/160HZ |
| 4937 | * |
| 4938 | * 0 - Connects in 160MHz 1x1 when AP is 160MHz 2x2 |
Kiran Kumar Lokere | 1aa9c9a | 2016-10-05 18:50:59 -0700 | [diff] [blame] | 4939 | * 1 - Connects in 80MHz 2x2 when AP is 160MHz 2x2 |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 4940 | * |
| 4941 | * Related: NA |
| 4942 | * |
| 4943 | * Supported Feature: 11AC |
| 4944 | * |
| 4945 | * Usage: External |
| 4946 | * |
| 4947 | * </ini> |
Kiran Kumar Lokere | 1aa9c9a | 2016-10-05 18:50:59 -0700 | [diff] [blame] | 4948 | */ |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 4949 | |
Kiran Kumar Lokere | 1aa9c9a | 2016-10-05 18:50:59 -0700 | [diff] [blame] | 4950 | #define CFG_STA_PREFER_80MHZ_OVER_160MHZ "gStaPrefer80MHzOver160MHz" |
| 4951 | #define CFG_STA_PREFER_80MHZ_OVER_160MHZ_MIN (0) |
| 4952 | #define CFG_STA_PREFER_80MHZ_OVER_160MHZ_MAX (1) |
| 4953 | #define CFG_STA_PREFER_80MHZ_OVER_160MHZ_DEFAULT (1) |
| 4954 | |
Kiran Kumar Lokere | 666bf85 | 2016-05-02 12:23:02 -0700 | [diff] [blame] | 4955 | /* |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 4956 | * <ini> |
| 4957 | * gVdevTypeNss_2g - set Number of streams per VDEV for 2G band. |
| 4958 | * @Min: 0x5555 |
| 4959 | * @Max: 0xAAAA |
| 4960 | * @Default: 0xAAAA |
| 4961 | * |
| 4962 | * This ini is used to set set Number of streams per VDEV for 2G band |
| 4963 | * |
| 4964 | * These Nss parameters will have 32-bit configuration value, 2 bits are |
| 4965 | * allocated for each vdev. |
| 4966 | * Valid values are: |
| 4967 | * Min value – 0x5555 |
| 4968 | * Max value – 0xAAAA |
| 4969 | * Default value will be 0xAAAA for both the parameters. |
| 4970 | * Value 0x5555 will configure all vdevs in 1x1 mode in 2.4G band. |
| 4971 | * Value 0xAAAA will configure all vdevs in 2x2 mode in 2.4G band. |
| 4972 | * |
| 4973 | * The max value is defined based on the valid max Nss of the vdev, the valid |
| 4974 | * values for each vdev 2-bits are 0x1 and 0x2. 0x3 and 0x0 are not valid vdev |
| 4975 | * Nss values. |
| 4976 | * |
Kiran Kumar Lokere | 666bf85 | 2016-05-02 12:23:02 -0700 | [diff] [blame] | 4977 | * NSS cfg bit definition. |
| 4978 | * STA BIT[0:1] |
| 4979 | * SAP BIT[2:3] |
| 4980 | * P2P_GO BIT[4:5] |
| 4981 | * P2P_CLIENT BIT[6:7] |
| 4982 | * IBSS BIT[8:9] |
| 4983 | * TDLS BIT[10:11] |
| 4984 | * P2P_DEVICE BIT[12:13] |
| 4985 | * OCB BIT[14:15] |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 4986 | * |
| 4987 | * Related: NA |
| 4988 | * |
| 4989 | * Supported Feature: Antenna Sharing |
| 4990 | * |
| 4991 | * Usage: External |
| 4992 | * |
| 4993 | * </ini> |
Kiran Kumar Lokere | 666bf85 | 2016-05-02 12:23:02 -0700 | [diff] [blame] | 4994 | */ |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 4995 | |
Kiran Kumar Lokere | 666bf85 | 2016-05-02 12:23:02 -0700 | [diff] [blame] | 4996 | #define CFG_VDEV_TYPE_NSS_2G "gVdevTypeNss_2g" |
| 4997 | #define CFG_VDEV_TYPE_NSS_2G_MIN (0x5555) |
| 4998 | #define CFG_VDEV_TYPE_NSS_2G_MAX (0xAAAA) |
| 4999 | #define CFG_VDEV_TYPE_NSS_2G_DEFAULT (0xAAAA) |
| 5000 | |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 5001 | /* |
| 5002 | * <ini> |
| 5003 | * gVdevTypeNss_5g - set Number of streams per VDEV for 5G band. |
| 5004 | * @Min: 0x5555 |
| 5005 | * @Max: 0xAAAA |
| 5006 | * @Default: 0xAAAA |
| 5007 | * |
| 5008 | * This ini is used to set set Number of streams per VDEV for 2G band |
| 5009 | * |
| 5010 | * These Nss parameters will have 32-bit configuration value, 2 bits are |
| 5011 | * allocated for each vdev. |
| 5012 | * Valid values are: |
| 5013 | * Min value – 0x5555 |
| 5014 | * Max value – 0xAAAA |
| 5015 | * Default value will be 0xAAAA for both the parameters. |
| 5016 | * Value 0x5555 will configure all vdevs in 1x1 mode in 5 band. |
| 5017 | * Value 0xAAAA will configure all vdevs in 2x2 mode in 5 band. |
| 5018 | * |
| 5019 | * The max value is defined based on the valid max Nss of the vdev, the valid |
| 5020 | * values for each vdev 2-bits are 0x1 and 0x2. 0x3 and 0x0 are not valid vdev |
| 5021 | * Nss values. |
| 5022 | * |
| 5023 | * NSS cfg bit definition. |
| 5024 | * STA BIT[0:1] |
| 5025 | * SAP BIT[2:3] |
| 5026 | * P2P_GO BIT[4:5] |
| 5027 | * P2P_CLIENT BIT[6:7] |
| 5028 | * IBSS BIT[8:9] |
| 5029 | * TDLS BIT[10:11] |
| 5030 | * P2P_DEVICE BIT[12:13] |
| 5031 | * OCB BIT[14:15] |
| 5032 | * |
| 5033 | * Related: NA |
| 5034 | * |
| 5035 | * Supported Feature: Antenna Sharing |
| 5036 | * |
| 5037 | * Usage: External |
| 5038 | * |
| 5039 | * </ini> |
| 5040 | */ |
| 5041 | |
Kiran Kumar Lokere | 666bf85 | 2016-05-02 12:23:02 -0700 | [diff] [blame] | 5042 | #define CFG_VDEV_TYPE_NSS_5G "gVdevTypeNss_5g" |
| 5043 | #define CFG_VDEV_TYPE_NSS_5G_MIN (0x5555) |
| 5044 | #define CFG_VDEV_TYPE_NSS_5G_MAX (0xAAAA) |
| 5045 | #define CFG_VDEV_TYPE_NSS_5G_DEFAULT (0xAAAA) |
| 5046 | |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 5047 | /* |
| 5048 | * <ini> |
| 5049 | * gEnableMuBformee - Enables/disables multi-user (MU) beam formee capability |
| 5050 | * @Min: 0 |
| 5051 | * @Max: 1 |
| 5052 | * @Default: 0 |
| 5053 | * |
| 5054 | * This ini enables/disables multi-user (MU) beam formee |
| 5055 | * capability |
| 5056 | * |
| 5057 | * Change MU Bformee only when gTxBFEnable is enabled. |
| 5058 | * When gTxBFEnable and gEnableMuBformee are set, MU beam formee capability is |
| 5059 | * enabled. |
| 5060 | * Related: gTxBFEnable |
| 5061 | * |
| 5062 | * Supported Feature: 11AC |
| 5063 | * |
| 5064 | * Usage: External |
| 5065 | * |
| 5066 | * </ini> |
| 5067 | */ |
| 5068 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5069 | #define CFG_VHT_ENABLE_MU_BFORMEE_CAP_FEATURE "gEnableMuBformee" |
| 5070 | #define CFG_VHT_ENABLE_MU_BFORMEE_CAP_FEATURE_MIN (0) |
| 5071 | #define CFG_VHT_ENABLE_MU_BFORMEE_CAP_FEATURE_MAX (1) |
| 5072 | #define CFG_VHT_ENABLE_MU_BFORMEE_CAP_FEATURE_DEFAULT (0) |
| 5073 | |
| 5074 | #define CFG_VHT_ENABLE_PAID_FEATURE "gEnablePAID" |
| 5075 | #define CFG_VHT_ENABLE_PAID_FEATURE_MIN (0) |
| 5076 | #define CFG_VHT_ENABLE_PAID_FEATURE_MAX (1) |
| 5077 | #define CFG_VHT_ENABLE_PAID_FEATURE_DEFAULT (0) |
| 5078 | |
| 5079 | #define CFG_VHT_ENABLE_GID_FEATURE "gEnableGID" |
| 5080 | #define CFG_VHT_ENABLE_GID_FEATURE_MIN (0) |
| 5081 | #define CFG_VHT_ENABLE_GID_FEATURE_MAX (1) |
| 5082 | #define CFG_VHT_ENABLE_GID_FEATURE_DEFAULT (0) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5083 | |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 5084 | /* |
| 5085 | * <ini> |
| 5086 | * gSetTxChainmask1x1 - Sets Transmit chain mask. |
| 5087 | * @Min: 1 |
Naveen Rawat | 56d5e0b | 2018-02-13 12:05:25 -0800 | [diff] [blame] | 5088 | * @Max: 3 |
| 5089 | * @Default: 0 |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 5090 | * |
| 5091 | * This ini Sets Transmit chain mask. |
| 5092 | * |
| 5093 | * If gEnable2x2 is disabled, gSetTxChainmask1x1 and gSetRxChainmask1x1 values |
| 5094 | * are taken into account. If chainmask value exceeds the maximum number of |
| 5095 | * chains supported by target, the max number of chains is used. By default, |
| 5096 | * chain0 is selected for both Tx and Rx. |
| 5097 | * gSetTxChainmask1x1=1 or gSetRxChainmask1x1=1 to select chain0. |
| 5098 | * gSetTxChainmask1x1=2 or gSetRxChainmask1x1=2 to select chain1. |
Naveen Rawat | 56d5e0b | 2018-02-13 12:05:25 -0800 | [diff] [blame] | 5099 | * gSetTxChainmask1x1=3 or gSetRxChainmask1x1=3 to select both chains. |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 5100 | * |
| 5101 | * Supported Feature: 11AC |
| 5102 | * |
| 5103 | * Usage: External |
| 5104 | * |
| 5105 | * </ini> |
| 5106 | */ |
| 5107 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5108 | #define CFG_VHT_ENABLE_1x1_TX_CHAINMASK "gSetTxChainmask1x1" |
Naveen Rawat | 269b4ed | 2017-12-07 06:47:32 -0800 | [diff] [blame] | 5109 | #define CFG_VHT_ENABLE_1x1_TX_CHAINMASK_MIN (0) |
Naveen Rawat | 56d5e0b | 2018-02-13 12:05:25 -0800 | [diff] [blame] | 5110 | #define CFG_VHT_ENABLE_1x1_TX_CHAINMASK_MAX (3) |
Naveen Rawat | d1ad569 | 2018-02-05 15:58:34 -0800 | [diff] [blame] | 5111 | #define CFG_VHT_ENABLE_1x1_TX_CHAINMASK_DEFAULT (0) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5112 | |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 5113 | /* |
| 5114 | * <ini> |
| 5115 | * gSetRxChainmask1x1 - Sets Receive chain mask. |
| 5116 | * @Min: 1 |
Naveen Rawat | 56d5e0b | 2018-02-13 12:05:25 -0800 | [diff] [blame] | 5117 | * @Max: 3 |
| 5118 | * @Default: 0 |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 5119 | * |
| 5120 | * This ini is used to set Receive chain mask. |
| 5121 | * |
| 5122 | * If gEnable2x2 is disabled, gSetTxChainmask1x1 and gSetRxChainmask1x1 values |
| 5123 | * are taken into account. If chainmask value exceeds the maximum number of |
| 5124 | * chains supported by target, the max number of chains is used. By default, |
| 5125 | * chain0 is selected for both Tx and Rx. |
| 5126 | * gSetTxChainmask1x1=1 or gSetRxChainmask1x1=1 to select chain0. |
| 5127 | * gSetTxChainmask1x1=2 or gSetRxChainmask1x1=2 to select chain1. |
Naveen Rawat | 56d5e0b | 2018-02-13 12:05:25 -0800 | [diff] [blame] | 5128 | * gSetTxChainmask1x1=3 or gSetRxChainmask1x1=3 to select both chains. |
Agrawal Ashish | e2219bb | 2017-01-10 20:18:33 +0530 | [diff] [blame] | 5129 | * |
| 5130 | * Supported Feature: 11AC |
| 5131 | * |
| 5132 | * Usage: External |
| 5133 | * |
| 5134 | * </ini> |
| 5135 | */ |
| 5136 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5137 | #define CFG_VHT_ENABLE_1x1_RX_CHAINMASK "gSetRxChainmask1x1" |
Naveen Rawat | 269b4ed | 2017-12-07 06:47:32 -0800 | [diff] [blame] | 5138 | #define CFG_VHT_ENABLE_1x1_RX_CHAINMASK_MIN (0) |
Naveen Rawat | 56d5e0b | 2018-02-13 12:05:25 -0800 | [diff] [blame] | 5139 | #define CFG_VHT_ENABLE_1x1_RX_CHAINMASK_MAX (3) |
Naveen Rawat | d1ad569 | 2018-02-05 15:58:34 -0800 | [diff] [blame] | 5140 | #define CFG_VHT_ENABLE_1x1_RX_CHAINMASK_DEFAULT (0) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5141 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 5142 | /* |
| 5143 | * <ini> |
| 5144 | * gEnableAMPDUPS - Enable the AMPDUPS |
| 5145 | * @Min: 0 |
| 5146 | * @Max: 1 |
| 5147 | * @Default: 0 |
| 5148 | * |
| 5149 | * This ini is used to set default AMPDUPS |
| 5150 | * |
| 5151 | * Related: None |
| 5152 | * |
| 5153 | * Supported Feature: STA |
| 5154 | * |
| 5155 | * Usage: Internal/External |
| 5156 | * |
| 5157 | * </ini> |
| 5158 | */ |
| 5159 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5160 | #define CFG_ENABLE_AMPDUPS_FEATURE "gEnableAMPDUPS" |
| 5161 | #define CFG_ENABLE_AMPDUPS_FEATURE_MIN (0) |
| 5162 | #define CFG_ENABLE_AMPDUPS_FEATURE_MAX (1) |
| 5163 | #define CFG_ENABLE_AMPDUPS_FEATURE_DEFAULT (0) |
| 5164 | |
| 5165 | #define CFG_HT_ENABLE_SMPS_CAP_FEATURE "gEnableHtSMPS" |
| 5166 | #define CFG_HT_ENABLE_SMPS_CAP_FEATURE_MIN (0) |
| 5167 | #define CFG_HT_ENABLE_SMPS_CAP_FEATURE_MAX (1) |
| 5168 | #define CFG_HT_ENABLE_SMPS_CAP_FEATURE_DEFAULT (0) |
| 5169 | |
| 5170 | #define CFG_HT_SMPS_CAP_FEATURE "gHtSMPS" |
| 5171 | #define CFG_HT_SMPS_CAP_FEATURE_MIN (0) |
| 5172 | #define CFG_HT_SMPS_CAP_FEATURE_MAX (3) |
| 5173 | #define CFG_HT_SMPS_CAP_FEATURE_DEFAULT (3) |
| 5174 | |
Kapil Gupta | 825f1ba | 2017-01-03 12:24:01 +0530 | [diff] [blame] | 5175 | /* |
| 5176 | * <ini> |
| 5177 | * gDisableDFSChSwitch - Disable channel switch if radar is found |
| 5178 | * @Min: 0 |
| 5179 | * @Max: 1 |
| 5180 | * @Default: 0 |
| 5181 | * |
| 5182 | * This ini is used to disable channel switch if radar is found |
| 5183 | * on that channel. |
| 5184 | * Related: NA. |
| 5185 | * |
| 5186 | * Supported Feature: DFS |
| 5187 | * |
| 5188 | * Usage: Internal |
| 5189 | * |
| 5190 | * </ini> |
| 5191 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5192 | #define CFG_DISABLE_DFS_CH_SWITCH "gDisableDFSChSwitch" |
| 5193 | #define CFG_DISABLE_DFS_CH_SWITCH_MIN (0) |
| 5194 | #define CFG_DISABLE_DFS_CH_SWITCH_MAX (1) |
| 5195 | #define CFG_DISABLE_DFS_CH_SWITCH_DEFAULT (0) |
| 5196 | |
Kapil Gupta | 825f1ba | 2017-01-03 12:24:01 +0530 | [diff] [blame] | 5197 | /* |
| 5198 | * <ini> |
| 5199 | * gEnableDFSMasterCap - Enable DFS master capability |
| 5200 | * @Min: 0 |
| 5201 | * @Max: 1 |
| 5202 | * @Default: 0 |
| 5203 | * |
| 5204 | * This ini is used to enable/disable the DFS master capability. |
| 5205 | * Disabling it will cause driver to not advertise the spectrum |
| 5206 | * management capability |
| 5207 | * Related: NA. |
| 5208 | * |
| 5209 | * Supported Feature: DFS |
| 5210 | * |
| 5211 | * Usage: Internal/External |
| 5212 | * |
| 5213 | * </ini> |
| 5214 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5215 | #define CFG_ENABLE_DFS_MASTER_CAPABILITY "gEnableDFSMasterCap" |
| 5216 | #define CFG_ENABLE_DFS_MASTER_CAPABILITY_MIN (0) |
| 5217 | #define CFG_ENABLE_DFS_MASTER_CAPABILITY_MAX (1) |
| 5218 | #define CFG_ENABLE_DFS_MASTER_CAPABILITY_DEFAULT (0) |
| 5219 | |
Kapil Gupta | 825f1ba | 2017-01-03 12:24:01 +0530 | [diff] [blame] | 5220 | /* |
| 5221 | * <ini> |
| 5222 | * gSapPreferredChanLocation - Restrict channel switches between ondoor and |
| 5223 | * outdoor. |
| 5224 | * @Min: 0 |
| 5225 | * @Max: 2 |
| 5226 | * @Default: 0 |
| 5227 | * |
| 5228 | * This ini is used for restricting channel switches between Indoor and outdoor |
| 5229 | * channels after radar detection. |
| 5230 | * 0- No preferred channel location |
| 5231 | * 1- Use indoor channels only |
| 5232 | * 2- Use outdoor channels only |
| 5233 | * Related: NA. |
| 5234 | * |
| 5235 | * Supported Feature: DFS |
| 5236 | * |
| 5237 | * Usage: Internal/External |
| 5238 | * |
| 5239 | * </ini> |
| 5240 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5241 | #define CFG_SAP_PREFERRED_CHANNEL_LOCATION "gSapPreferredChanLocation" |
| 5242 | #define CFG_SAP_PREFERRED_CHANNEL_LOCATION_MIN (0) |
| 5243 | #define CFG_SAP_PREFERRED_CHANNEL_LOCATION_MAX (2) |
| 5244 | #define CFG_SAP_PREFERRED_CHANNEL_LOCATION_DEFAULT (0) |
| 5245 | |
Kapil Gupta | 825f1ba | 2017-01-03 12:24:01 +0530 | [diff] [blame] | 5246 | /* |
| 5247 | * <ini> |
| 5248 | * gDisableDfsJapanW53 - Block W53 channels in random channel selection |
| 5249 | * @Min: 0 |
| 5250 | * @Max: 1 |
| 5251 | * @Default: 0 |
| 5252 | * |
| 5253 | * This ini is used to block W53 Japan channel in random channel selection |
| 5254 | * Related: NA. |
| 5255 | * |
| 5256 | * Supported Feature: DFS |
| 5257 | * |
| 5258 | * Usage: Internal/External |
| 5259 | * |
| 5260 | * </ini> |
| 5261 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5262 | #define CFG_DISABLE_DFS_JAPAN_W53 "gDisableDfsJapanW53" |
| 5263 | #define CFG_DISABLE_DFS_JAPAN_W53_MIN (0) |
| 5264 | #define CFG_DISABLE_DFS_JAPAN_W53_MAX (1) |
| 5265 | #define CFG_DISABLE_DFS_JAPAN_W53_DEFAULT (0) |
| 5266 | |
Kapil Gupta | 825f1ba | 2017-01-03 12:24:01 +0530 | [diff] [blame] | 5267 | /* |
| 5268 | * <ini> |
| 5269 | * gDisableDfsJapanW53 - Enable dfs phyerror filtering offload in FW |
| 5270 | * @Min: 0 |
| 5271 | * @Max: 1 |
| 5272 | * @Default: 1 |
| 5273 | * |
| 5274 | * This ini is used to to enable dfs phyerror filtering offload to firmware |
| 5275 | * Enabling it will cause basic phy error to be discarding in firmware. |
| 5276 | * Related: NA. |
| 5277 | * |
| 5278 | * Supported Feature: DFS |
| 5279 | * |
| 5280 | * Usage: Internal/External |
| 5281 | * |
| 5282 | * </ini> |
| 5283 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5284 | #define CFG_ENABLE_DFS_PHYERR_FILTEROFFLOAD_NAME "dfsPhyerrFilterOffload" |
| 5285 | #define CFG_ENABLE_DFS_PHYERR_FILTEROFFLOAD_MIN (0) |
| 5286 | #define CFG_ENABLE_DFS_PHYERR_FILTEROFFLOAD_MAX (1) |
| 5287 | #define CFG_ENABLE_DFS_PHYERR_FILTEROFFLOAD_DEFAULT (0) |
| 5288 | |
| 5289 | #define CFG_REPORT_MAX_LINK_SPEED "gReportMaxLinkSpeed" |
| 5290 | #define CFG_REPORT_MAX_LINK_SPEED_MIN (eHDD_LINK_SPEED_REPORT_ACTUAL) |
| 5291 | #define CFG_REPORT_MAX_LINK_SPEED_MAX (eHDD_LINK_SPEED_REPORT_MAX_SCALED) |
| 5292 | #define CFG_REPORT_MAX_LINK_SPEED_DEFAULT (eHDD_LINK_SPEED_REPORT_MAX_SCALED) |
| 5293 | |
| 5294 | /* |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 5295 | * <ini> |
| 5296 | * gLinkSpeedRssiHigh - Report the max possible speed with RSSI scaling |
| 5297 | * @Min: 0 |
| 5298 | * @Max: 1 |
| 5299 | * @Default: 0 |
| 5300 | * |
| 5301 | * This ini is used to set default eHDD_LINK_SPEED_REPORT |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5302 | * Used when eHDD_LINK_SPEED_REPORT_SCALED is selected |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 5303 | * |
| 5304 | * Related: None |
| 5305 | * |
| 5306 | * Supported Feature: STA |
| 5307 | * |
| 5308 | * Usage: Internal/External |
| 5309 | * |
| 5310 | * </ini> |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5311 | */ |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 5312 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5313 | #define CFG_LINK_SPEED_RSSI_HIGH "gLinkSpeedRssiHigh" |
| 5314 | #define CFG_LINK_SPEED_RSSI_HIGH_MIN (-127) |
| 5315 | #define CFG_LINK_SPEED_RSSI_HIGH_MAX (0) |
| 5316 | #define CFG_LINK_SPEED_RSSI_HIGH_DEFAULT (-55) |
| 5317 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 5318 | /* |
| 5319 | * <ini> |
| 5320 | * gLinkSpeedRssiMed - Used when eHDD_LINK_SPEED_REPORT_SCALED is selected |
| 5321 | * @Min: -127 |
| 5322 | * @Max: 0 |
| 5323 | * @Default: -65 |
| 5324 | * |
| 5325 | * This ini is used to set medium rssi link speed |
| 5326 | * |
| 5327 | * Related: None |
| 5328 | * |
| 5329 | * Supported Feature: STA |
| 5330 | * |
| 5331 | * Usage: Internal/External |
| 5332 | * |
| 5333 | * </ini> |
| 5334 | */ |
| 5335 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5336 | #define CFG_LINK_SPEED_RSSI_MID "gLinkSpeedRssiMed" |
| 5337 | #define CFG_LINK_SPEED_RSSI_MID_MIN (-127) |
| 5338 | #define CFG_LINK_SPEED_RSSI_MID_MAX (0) |
| 5339 | #define CFG_LINK_SPEED_RSSI_MID_DEFAULT (-65) |
| 5340 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 5341 | /* |
| 5342 | * <ini> |
| 5343 | * gLinkSpeedRssiLow - Used when eHDD_LINK_SPEED_REPORT_SCALED is selected |
| 5344 | * @Min: -127 |
| 5345 | * @Max: 0 |
| 5346 | * @Default: -80 |
| 5347 | * |
| 5348 | * This ini is used to set low rssi link speed |
| 5349 | * |
| 5350 | * Related: None |
| 5351 | * |
| 5352 | * Supported Feature: STA |
| 5353 | * |
| 5354 | * Usage: Internal/External |
| 5355 | * |
| 5356 | * </ini> |
| 5357 | */ |
| 5358 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5359 | #define CFG_LINK_SPEED_RSSI_LOW "gLinkSpeedRssiLow" |
| 5360 | #define CFG_LINK_SPEED_RSSI_LOW_MIN (-127) |
| 5361 | #define CFG_LINK_SPEED_RSSI_LOW_MAX (0) |
| 5362 | #define CFG_LINK_SPEED_RSSI_LOW_DEFAULT (-80) |
| 5363 | |
Agrawal Ashish | e030f78 | 2017-01-27 17:52:05 +0530 | [diff] [blame] | 5364 | /* |
| 5365 | * <ini> |
Manjeet Singh | a5acc16 | 2017-01-06 17:38:16 +0530 | [diff] [blame] | 5366 | * gEnableSSR - Enable/Disable SSR |
| 5367 | * @Min: 0 |
| 5368 | * @Max: 1 |
| 5369 | * @Default: 1 |
| 5370 | * |
| 5371 | * This ini is used to enable/disable System Self Recovery at the times of |
| 5372 | * System crash or fatal errors |
| 5373 | * gEnableSSR = 0 Disabled |
| 5374 | * gEnableSSR = 1 wlan shutdown and re-init happens |
| 5375 | * |
| 5376 | * Related: None |
| 5377 | * |
| 5378 | * Supported Feature: SSR |
| 5379 | * |
| 5380 | * Usage: External |
| 5381 | * |
| 5382 | * </ini> |
| 5383 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5384 | #define CFG_ENABLE_SSR "gEnableSSR" |
| 5385 | #define CFG_ENABLE_SSR_MIN (0) |
| 5386 | #define CFG_ENABLE_SSR_MAX (1) |
| 5387 | #define CFG_ENABLE_SSR_DEFAULT (1) |
| 5388 | |
Poddar, Siddarth | 3703303 | 2017-10-11 15:47:40 +0530 | [diff] [blame] | 5389 | /** |
| 5390 | * <ini> |
| 5391 | * gEnableDataStallDetection - Enable/Disable Data stall detection |
| 5392 | * @Min: 0 |
| 5393 | * @Max: 1 |
| 5394 | * @Default: 1 |
| 5395 | * |
| 5396 | * This ini is used to enable/disable data stall detection |
| 5397 | * |
| 5398 | * Usage: Internal/External |
| 5399 | * |
| 5400 | * </ini> |
| 5401 | */ |
| 5402 | #define CFG_ENABLE_DATA_STALL_DETECTION "gEnableDataStallDetection" |
| 5403 | #define CFG_ENABLE_DATA_STALL_DETECTION_MIN (0) |
| 5404 | #define CFG_ENABLE_DATA_STALL_DETECTION_MAX (1) |
| 5405 | #define CFG_ENABLE_DATA_STALL_DETECTION_DEFAULT (1) |
| 5406 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 5407 | /* |
| 5408 | * <ini> |
| 5409 | * gEnableOverLapCh - Enables Overlap Channel. If set, allow overlapping |
| 5410 | * channels to be selected for the SoftAP |
| 5411 | * @Min: 0 |
| 5412 | * @Max: 1 |
| 5413 | * @Default: 0 |
| 5414 | * |
| 5415 | * This ini is used to set Overlap Channel |
| 5416 | * |
| 5417 | * Related: None |
| 5418 | * |
| 5419 | * Supported Feature: STA |
| 5420 | * |
| 5421 | * Usage: Internal/External |
| 5422 | * |
| 5423 | * </ini> |
| 5424 | */ |
| 5425 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5426 | #define CFG_ENABLE_OVERLAP_CH "gEnableOverLapCh" |
| 5427 | #define CFG_ENABLE_OVERLAP_CH_MIN (0) |
| 5428 | #define CFG_ENABLE_OVERLAP_CH_MAX (1) |
| 5429 | #define CFG_ENABLE_OVERLAP_CH_DEFAULT (0) |
| 5430 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 5431 | /* |
| 5432 | * <ini> |
| 5433 | * gEnable5gEBT - Enables/disables 5G early beacon termination. When enabled |
| 5434 | * terminate the reception of beacon if the TIM element is |
| 5435 | * clear for the power saving |
| 5436 | * @Min: 0 |
| 5437 | * @Max: 1 |
| 5438 | * @Default: 1 |
| 5439 | * |
| 5440 | * This ini is used to set default 5G early beacon termination |
| 5441 | * |
| 5442 | * Related: None |
| 5443 | * |
| 5444 | * Supported Feature: STA |
| 5445 | * |
| 5446 | * Usage: Internal/External |
| 5447 | * |
| 5448 | * </ini> |
| 5449 | */ |
| 5450 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5451 | #define CFG_PPS_ENABLE_5G_EBT "gEnable5gEBT" |
| 5452 | #define CFG_PPS_ENABLE_5G_EBT_FEATURE_MIN (0) |
| 5453 | #define CFG_PPS_ENABLE_5G_EBT_FEATURE_MAX (1) |
Jeff Johnson | 860e124 | 2016-09-20 08:59:23 -0700 | [diff] [blame] | 5454 | #define CFG_PPS_ENABLE_5G_EBT_FEATURE_DEFAULT (1) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5455 | |
| 5456 | #define CFG_ENABLE_MEMORY_DEEP_SLEEP "gEnableMemDeepSleep" |
| 5457 | #define CFG_ENABLE_MEMORY_DEEP_SLEEP_MIN (0) |
| 5458 | #define CFG_ENABLE_MEMORY_DEEP_SLEEP_MAX (1) |
| 5459 | #define CFG_ENABLE_MEMORY_DEEP_SLEEP_DEFAULT (1) |
| 5460 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 5461 | /* |
| 5462 | * <ini> |
Dustin Brown | 732ab9c | 2017-06-15 13:24:09 -0700 | [diff] [blame] | 5463 | * |
| 5464 | * gEnableCckTxFirOverride - Enable/disable CCK TxFIR Override |
| 5465 | * @Min: 0 (disabled) |
| 5466 | * @Max: 1 (enabled) |
| 5467 | * @Default: 0 (disabled) |
| 5468 | * |
| 5469 | * When operating in an 802.11b mode, this configuration item forces a 2x2 radio |
| 5470 | * configuration into 1x for Tx and 2x for Rx (ie 1x2) for regulatory compliance |
| 5471 | * reasons. |
| 5472 | * |
| 5473 | * Related: enable2x2 |
| 5474 | * |
| 5475 | * Supported Feature: 802.11b, 2x2 |
| 5476 | * |
| 5477 | * Usage: Internal/External |
| 5478 | * |
| 5479 | * </ini> |
| 5480 | */ |
| 5481 | #define CFG_ENABLE_CCK_TX_FIR_OVERRIDE_NAME "gEnableCckTxFirOverride" |
| 5482 | #define CFG_ENABLE_CCK_TX_FIR_OVERRIDE_MIN (0) |
| 5483 | #define CFG_ENABLE_CCK_TX_FIR_OVERRIDE_MAX (1) |
| 5484 | #define CFG_ENABLE_CCK_TX_FIR_OVERRIDE_DEFAULT (0) |
| 5485 | |
Nirav Shah | bb8e47c | 2018-05-17 16:56:41 +0530 | [diff] [blame] | 5486 | #ifndef REMOVE_PKT_LOG |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5487 | #define CFG_ENABLE_PACKET_LOG "gEnablePacketLog" |
| 5488 | #define CFG_ENABLE_PACKET_LOG_MIN (0) |
| 5489 | #define CFG_ENABLE_PACKET_LOG_MAX (1) |
Poddar, Siddarth | eefe348 | 2016-09-21 18:12:59 +0530 | [diff] [blame] | 5490 | #ifdef FEATURE_PKTLOG |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5491 | #define CFG_ENABLE_PACKET_LOG_DEFAULT (1) |
Poddar, Siddarth | eefe348 | 2016-09-21 18:12:59 +0530 | [diff] [blame] | 5492 | #else |
| 5493 | #define CFG_ENABLE_PACKET_LOG_DEFAULT (0) |
| 5494 | #endif |
Nirav Shah | bb8e47c | 2018-05-17 16:56:41 +0530 | [diff] [blame] | 5495 | #endif |
Poddar, Siddarth | eefe348 | 2016-09-21 18:12:59 +0530 | [diff] [blame] | 5496 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5497 | |
| 5498 | /* gFwDebugLogType takes values from enum dbglog_process_t, |
| 5499 | * make default value as DBGLOG_PROCESS_NET_RAW to give the |
| 5500 | * logs to net link since cnss_diag service is started at boot |
| 5501 | * time by default. |
| 5502 | */ |
| 5503 | #define CFG_ENABLE_FW_LOG_TYPE "gFwDebugLogType" |
| 5504 | #define CFG_ENABLE_FW_LOG_TYPE_MIN (0) |
| 5505 | #define CFG_ENABLE_FW_LOG_TYPE_MAX (255) |
| 5506 | #define CFG_ENABLE_FW_LOG_TYPE_DEFAULT (3) |
| 5507 | |
| 5508 | /* gFwDebugLogLevel takes values from enum DBGLOG_LOG_LVL, |
| 5509 | * make default value as DBGLOG_WARN to enable error and |
| 5510 | * warning logs by default. |
| 5511 | */ |
| 5512 | #define CFG_ENABLE_FW_DEBUG_LOG_LEVEL "gFwDebugLogLevel" |
| 5513 | #define CFG_ENABLE_FW_DEBUG_LOG_LEVEL_MIN (0) |
| 5514 | #define CFG_ENABLE_FW_DEBUG_LOG_LEVEL_MAX (255) |
Nishank Aggarwal | e239d96 | 2017-03-03 12:26:02 +0530 | [diff] [blame] | 5515 | #define CFG_ENABLE_FW_DEBUG_LOG_LEVEL_DEFAULT (3) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5516 | |
| 5517 | /* For valid values of log levels check enum DBGLOG_LOG_LVL and |
| 5518 | * for valid values of module ids check enum WLAN_MODULE_ID. |
| 5519 | */ |
| 5520 | #define CFG_ENABLE_FW_MODULE_LOG_LEVEL "gFwDebugModuleLoglevel" |
Nishank Aggarwal | 1bd0ae8 | 2017-04-07 17:32:56 +0530 | [diff] [blame] | 5521 | #define CFG_ENABLE_FW_MODULE_LOG_DEFAULT "2,1,3,1,5,1,9,1,13,1,14,1,18,1,19,1,26,1,28,1,29,1,31,1,36,1,38,1,46,1,47,1,50,1,52,1,53,1,56,1,60,1,61,1,4,1" |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5522 | |
Rajeev Kumar Sirasanagandla | 0be56df | 2016-09-08 19:19:47 +0530 | [diff] [blame] | 5523 | /* |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 5524 | * <ini> |
Sourav Mohapatra | 57006c7 | 2017-11-19 16:15:55 +0530 | [diff] [blame] | 5525 | * gEnableConcurrentSTA - This will control the creation of concurrent STA |
| 5526 | * interface |
| 5527 | * @Default: NULL |
| 5528 | * |
| 5529 | * This ini is used for providing control to create a concurrent STA session |
| 5530 | * along with the creation of wlan0 and p2p0. The name of the interface is |
| 5531 | * specified as the parameter |
| 5532 | * |
| 5533 | * Usage: Internal/External |
| 5534 | * |
| 5535 | * </ini> |
| 5536 | */ |
| 5537 | |
| 5538 | #define CFG_ENABLE_CONCURRENT_STA "gEnableConcurrentSTA" |
| 5539 | #define CFG_ENABLE_CONCURRENT_STA_DEFAULT "" |
| 5540 | |
| 5541 | /* |
| 5542 | * <ini> |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 5543 | * gEnableRTSProfiles - It will use configuring different RTS profiles |
| 5544 | * @Min: 0 |
Sourav Mohapatra | 3a13bf5 | 2017-09-26 16:44:55 +0530 | [diff] [blame] | 5545 | * @Max: 66 |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 5546 | * @Default: 33 |
| 5547 | * |
| 5548 | * This ini used for configuring different RTS profiles |
Rajeev Kumar Sirasanagandla | 0be56df | 2016-09-08 19:19:47 +0530 | [diff] [blame] | 5549 | * to firmware. |
Sourav Mohapatra | 3a13bf5 | 2017-09-26 16:44:55 +0530 | [diff] [blame] | 5550 | * Following are the valid values for the rts profile: |
| 5551 | * RTSCTS_DISABLED 0 |
| 5552 | * NOT_ALLOWED 1 |
| 5553 | * NOT_ALLOWED 2 |
| 5554 | * RTSCTS_DISABLED 16 |
| 5555 | * RTSCTS_ENABLED_4_SECOND_RATESERIES 17 |
| 5556 | * CTS2SELF_ENABLED_4_SECOND_RATESERIES 18 |
| 5557 | * RTSCTS_DISABLED 32 |
| 5558 | * RTSCTS_ENABLED_4_SWRETRIES 33 |
| 5559 | * CTS2SELF_ENABLED_4_SWRETRIES 34 |
| 5560 | * NOT_ALLOWED 48 |
| 5561 | * NOT_ALLOWED 49 |
| 5562 | * NOT_ALLOWED 50 |
| 5563 | * RTSCTS_DISABLED 64 |
| 5564 | * RTSCTS_ENABLED_4_ALL_RATESERIES 65 |
| 5565 | * CTS2SELF_ENABLED_4_ALL_RATESERIES 66 |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 5566 | * |
| 5567 | * Related: None |
| 5568 | * |
| 5569 | * Supported Feature: STA |
| 5570 | * |
| 5571 | * Usage: Internal/External |
| 5572 | * |
| 5573 | * </ini> |
Rajeev Kumar Sirasanagandla | 0be56df | 2016-09-08 19:19:47 +0530 | [diff] [blame] | 5574 | */ |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 5575 | |
Rajeev Kumar Sirasanagandla | 0be56df | 2016-09-08 19:19:47 +0530 | [diff] [blame] | 5576 | #define CFG_ENABLE_FW_RTS_PROFILE "gEnableRTSProfiles" |
| 5577 | #define CFG_ENABLE_FW_RTS_PROFILE_MIN (0) |
Sourav Mohapatra | 3a13bf5 | 2017-09-26 16:44:55 +0530 | [diff] [blame] | 5578 | #define CFG_ENABLE_FW_RTS_PROFILE_MAX (66) |
Rajeev Kumar Sirasanagandla | 0be56df | 2016-09-08 19:19:47 +0530 | [diff] [blame] | 5579 | #define CFG_ENABLE_FW_RTS_PROFILE_DEFAULT (33) |
| 5580 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5581 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5582 | /* |
Anurag Chouhan | f04e84f | 2016-03-03 10:12:12 +0530 | [diff] [blame] | 5583 | * QDF Trace Enable Control |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5584 | * Notes: |
| 5585 | * the MIN/MAX/DEFAULT values apply for all modules |
| 5586 | * the DEFAULT value is outside the valid range. if the DEFAULT |
| 5587 | * value is not overridden, then no change will be made to the |
| 5588 | * "built in" default values compiled into the code |
| 5589 | * values are a bitmap indicating which log levels are to enabled |
Anurag Chouhan | f04e84f | 2016-03-03 10:12:12 +0530 | [diff] [blame] | 5590 | * (must match order of qdf_trace_level enumerations) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5591 | * 00000001 FATAL |
| 5592 | * 00000010 ERROR |
| 5593 | * 00000100 WARN |
| 5594 | * 00001000 INFO |
| 5595 | * 00010000 INFO HIGH |
| 5596 | * 00100000 INFO MED |
| 5597 | * 01000000 INFO LOW |
| 5598 | * 10000000 DEBUG |
| 5599 | * |
| 5600 | * hence a value of 0xFF would set all bits (enable all logs) |
| 5601 | */ |
| 5602 | |
Anurag Chouhan | f04e84f | 2016-03-03 10:12:12 +0530 | [diff] [blame] | 5603 | #define CFG_QDF_TRACE_ENABLE_WDI_NAME "qdf_trace_enable_wdi" |
| 5604 | #define CFG_QDF_TRACE_ENABLE_HDD_NAME "qdf_trace_enable_hdd" |
| 5605 | #define CFG_QDF_TRACE_ENABLE_SME_NAME "qdf_trace_enable_sme" |
| 5606 | #define CFG_QDF_TRACE_ENABLE_PE_NAME "qdf_trace_enable_pe" |
| 5607 | #define CFG_QDF_TRACE_ENABLE_PMC_NAME "qdf_trace_enable_pmc" |
| 5608 | #define CFG_QDF_TRACE_ENABLE_WMA_NAME "qdf_trace_enable_wma" |
| 5609 | #define CFG_QDF_TRACE_ENABLE_SYS_NAME "qdf_trace_enable_sys" |
| 5610 | #define CFG_QDF_TRACE_ENABLE_QDF_NAME "qdf_trace_enable_qdf" |
| 5611 | #define CFG_QDF_TRACE_ENABLE_SAP_NAME "qdf_trace_enable_sap" |
| 5612 | #define CFG_QDF_TRACE_ENABLE_HDD_SAP_NAME "qdf_trace_enable_hdd_sap" |
| 5613 | #define CFG_QDF_TRACE_ENABLE_BMI_NAME "qdf_trace_enable_bmi" |
| 5614 | #define CFG_QDF_TRACE_ENABLE_CFG_NAME "qdf_trace_enable_cfg" |
| 5615 | #define CFG_QDF_TRACE_ENABLE_EPPING "qdf_trace_enable_epping" |
| 5616 | #define CFG_QDF_TRACE_ENABLE_QDF_DEVICES "qdf_trace_enable_qdf_devices" |
Houston Hoffman | fbf0510 | 2017-08-28 11:37:01 -0700 | [diff] [blame] | 5617 | #define CFG_QDF_TRACE_ENABLE_TXRX_NAME "qdf_trace_enable_txrx" |
| 5618 | #define CFG_QDF_TRACE_ENABLE_DP_NAME "qdf_trace_enable_dp" |
Anurag Chouhan | f04e84f | 2016-03-03 10:12:12 +0530 | [diff] [blame] | 5619 | #define CFG_QDF_TRACE_ENABLE_HTC_NAME "qdf_trace_enable_htc" |
| 5620 | #define CFG_QDF_TRACE_ENABLE_HIF_NAME "qdf_trace_enable_hif" |
| 5621 | #define CFG_CDR_TRACE_ENABLE_HDD_SAP_DATA_NAME "qdf_trace_enable_hdd_sap_data" |
| 5622 | #define CFG_QDF_TRACE_ENABLE_HDD_DATA_NAME "qdf_trace_enable_hdd_data" |
Naveen Rawat | 7df3186 | 2017-03-01 17:09:30 -0800 | [diff] [blame] | 5623 | #define CFG_QDF_TRACE_ENABLE_WIFI_POS "qdf_trace_enable_wifi_pos" |
Naveen Rawat | f2b0dbd | 2017-03-27 10:00:15 -0700 | [diff] [blame] | 5624 | #define CFG_QDF_TRACE_ENABLE_NAN "qdf_trace_enable_nan" |
Kiran Kumar Lokere | 798de7e | 2017-03-30 14:01:12 -0700 | [diff] [blame] | 5625 | #define CFG_QDF_TRACE_ENABLE_REGULATORY "qdf_trace_enable_regulatory" |
Naveen Rawat | 3cb779e | 2018-02-16 16:36:10 -0800 | [diff] [blame] | 5626 | #define CFG_QDF_TRACE_ENABLE_CP_STATS "qdf_trace_enable_cp_stats" |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5627 | |
Anurag Chouhan | f04e84f | 2016-03-03 10:12:12 +0530 | [diff] [blame] | 5628 | #define CFG_QDF_TRACE_ENABLE_MIN (0) |
| 5629 | #define CFG_QDF_TRACE_ENABLE_MAX (0xff) |
| 5630 | #define CFG_QDF_TRACE_ENABLE_DEFAULT (0xffff) |
Houston Hoffman | fbf0510 | 2017-08-28 11:37:01 -0700 | [diff] [blame] | 5631 | /* disable debug logs for DP by default */ |
| 5632 | #define CFG_QDF_TRACE_ENABLE_DP_DEFAULT (0x7f) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5633 | |
| 5634 | #define HDD_MCASTBCASTFILTER_FILTER_NONE 0x00 |
| 5635 | #define HDD_MCASTBCASTFILTER_FILTER_ALL_MULTICAST 0x01 |
| 5636 | #define HDD_MCASTBCASTFILTER_FILTER_ALL_BROADCAST 0x02 |
| 5637 | #define HDD_MCASTBCASTFILTER_FILTER_ALL_MULTICAST_BROADCAST 0x03 |
| 5638 | #define HDD_MULTICAST_FILTER_LIST 0x04 |
| 5639 | #define HDD_MULTICAST_FILTER_LIST_CLEAR 0x05 |
| 5640 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5641 | /* |
| 5642 | * Enable Dynamic DTIM |
| 5643 | * Options |
| 5644 | * 0 -Disable DynamicDTIM |
| 5645 | * 1 to 5 - SLM will switch to DTIM specified here when host suspends and |
Jeff Johnson | dcd2cf9 | 2017-01-12 10:44:23 -0800 | [diff] [blame] | 5646 | * switch DTIM1 when host resumes |
| 5647 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5648 | #define CFG_ENABLE_DYNAMIC_DTIM_NAME "gEnableDynamicDTIM" |
| 5649 | #define CFG_ENABLE_DYNAMIC_DTIM_MIN (0) |
Rajeev Kumar Sirasanagandla | 4a716ad | 2016-10-18 18:16:33 +0530 | [diff] [blame] | 5650 | #define CFG_ENABLE_DYNAMIC_DTIM_MAX (9) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5651 | #define CFG_ENABLE_DYNAMIC_DTIM_DEFAULT (0) |
| 5652 | |
| 5653 | /* |
Agrawal Ashish | bafaff1 | 2016-12-27 17:43:08 +0530 | [diff] [blame] | 5654 | * <ini> |
Nachiket Kukade | 8983cf6 | 2017-10-12 18:14:48 +0530 | [diff] [blame] | 5655 | * gConfigVCmodeBitmap - Bitmap for operating voltage corner mode |
| 5656 | * @Min: 0x00000000 |
| 5657 | * @Max: 0x0fffffff |
| 5658 | * @Default: 0x0000000a |
| 5659 | * This ini is used to set operating voltage corner mode for differenet |
| 5660 | * phymode and bw configurations. Every 2 bits till BIT27 are dedicated |
| 5661 | * for a specific configuration. Bit values decide the type of voltage |
| 5662 | * corner mode. All the details below - |
| 5663 | * |
| 5664 | * Configure operating voltage corner mode based on phymode and bw. |
| 5665 | * bit 0-1 - operating voltage corner mode for 11a/b. |
| 5666 | * bit 2-3 - operating voltage corner mode for 11g. |
| 5667 | * bit 4-5 - operating voltage corner mode for 11n, 20MHz, 1x1. |
| 5668 | * bit 6-7 - operating voltage corner mode for 11n, 20MHz, 2x2. |
| 5669 | * bit 8-9 - operating voltage corner mode for 11n, 40MHz, 1x1. |
| 5670 | * bit 10-11 - operating voltage corner mode for 11n, 40MHz, 2x2. |
| 5671 | * bit 12-13 - operating voltage corner mode for 11ac, 20MHz, 1x1. |
| 5672 | * bit 14-15 - operating voltage corner mode for 11ac, 20MHz, 2x2. |
| 5673 | * bit 16-17 - operating voltage corner mode for 11ac, 40MHz, 1x1. |
| 5674 | * bit 18-19 - operating voltage corner mode for 11ac, 40MHz, 2x2. |
| 5675 | * bit 20-21 - operating voltage corner mode for 11ac, 80MHz, 1x1. |
| 5676 | * bit 22-23 - operating voltage corner mode for 11ac, 80MHz, 2x2. |
| 5677 | * bit 24-25 - operating voltage corner mode for 11ac, 160MHz, 1x1. |
| 5678 | * bit 26-27 - operating voltage corner mode for 11ac, 160MHz, 2x2. |
| 5679 | * --------------------------------------------- |
| 5680 | * 00 - Static voltage corner SVS |
| 5681 | * 01 - static voltage corner LOW SVS |
| 5682 | * 10 - Dynamic voltage corner selection based on TPUT |
| 5683 | * 11 - Dynamic voltage corner selection based on TPUT and Tx Flush counters |
| 5684 | |
| 5685 | * Related: None |
| 5686 | * |
| 5687 | * Supported Feature: None |
| 5688 | * |
| 5689 | * Usage: External |
| 5690 | * |
| 5691 | * </ini> |
| 5692 | */ |
| 5693 | |
| 5694 | #define CFG_VC_MODE_BITMAP "gConfigVCmode" |
| 5695 | #define CFG_VC_MODE_BITMAP_MIN (0x00000000) |
| 5696 | #define CFG_VC_MODE_BITMAP_MAX (0x0fffffff) |
| 5697 | #define CFG_VC_MODE_BITMAP_DEFAULT (0x00000005) |
| 5698 | |
| 5699 | /* |
| 5700 | * <ini> |
Ganesh Kondabattini | 408fb8d | 2017-08-08 22:00:20 +0530 | [diff] [blame] | 5701 | * gEnableSAPManadatoryChanList - Enable SAP Mandatory channel list |
| 5702 | * Options. |
| 5703 | * @Min: 0 |
| 5704 | * @Max: 1 |
| 5705 | * @Default: 0 |
| 5706 | * |
| 5707 | * This ini is used to enable/disable the SAP manadatory chan list |
| 5708 | * 0 - Disable SAP mandatory chan list |
| 5709 | * 1 - Enable SAP mandatory chan list |
| 5710 | * |
| 5711 | * Supported Feature: SAP |
| 5712 | * |
| 5713 | * |
| 5714 | * Usage: Internal/External |
| 5715 | * |
| 5716 | * </ini> |
| 5717 | */ |
| 5718 | #define CFG_ENABLE_SAP_MANDATORY_CHAN_LIST "gEnableSAPManadatoryChanList" |
| 5719 | #define CFG_ENABLE_SAP_MANDATORY_CHAN_LIST_MIN (0) |
| 5720 | #define CFG_ENABLE_SAP_MANDATORY_CHAN_LIST_MAX (1) |
| 5721 | #define CFG_ENABLE_SAP_MANDATORY_CHAN_LIST_DEFAULT (0) |
| 5722 | |
| 5723 | /* |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 5724 | * <ini> |
| 5725 | * gShortGI40Mhz - It will check gShortGI20Mhz and |
| 5726 | * gShortGI40Mhz from session entry |
| 5727 | * @Min: 0 |
| 5728 | * @Max: 1 |
| 5729 | * @Default: 1 |
| 5730 | * |
| 5731 | * This ini is used to set default gShortGI40Mhz |
| 5732 | * |
| 5733 | * Related: None |
| 5734 | * |
| 5735 | * Supported Feature: STA |
| 5736 | * |
| 5737 | * Usage: Internal/External |
| 5738 | * |
| 5739 | * </ini> |
| 5740 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5741 | #define CFG_SHORT_GI_40MHZ_NAME "gShortGI40Mhz" |
| 5742 | #define CFG_SHORT_GI_40MHZ_MIN 0 |
| 5743 | #define CFG_SHORT_GI_40MHZ_MAX 1 |
| 5744 | #define CFG_SHORT_GI_40MHZ_DEFAULT 1 |
| 5745 | |
| 5746 | /* |
Nitesh Shah | 03161d1 | 2016-12-06 18:30:12 +0530 | [diff] [blame] | 5747 | * <ini> |
| 5748 | * gEnableMCCMode - Enable/Disable MCC feature. |
| 5749 | * @Min: 0 |
| 5750 | * @Max: 1 |
| 5751 | * @Default: 1 |
| 5752 | * |
| 5753 | * This ini is used to enable/disable MCC feature. |
| 5754 | * |
| 5755 | * Related: None. |
| 5756 | * |
| 5757 | * Supported Feature: Concurrency |
| 5758 | * |
| 5759 | * Usage: Internal/External |
| 5760 | * |
| 5761 | * </ini> |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5762 | */ |
| 5763 | #define CFG_ENABLE_MCC_ENABLED_NAME "gEnableMCCMode" |
| 5764 | #define CFG_ENABLE_MCC_ENABLED_MIN (0) |
| 5765 | #define CFG_ENABLE_MCC_ENABLED_MAX (1) |
| 5766 | #define CFG_ENABLE_MCC_ENABLED_DEFAULT (1) |
| 5767 | |
| 5768 | /* |
Nitesh Shah | 03161d1 | 2016-12-06 18:30:12 +0530 | [diff] [blame] | 5769 | * <ini> |
| 5770 | * gAllowMCCGODiffBI - Allow GO in MCC mode to accept different beacon interval |
| 5771 | * than STA's. |
| 5772 | * @Min: 0 |
| 5773 | * @Max: 4 |
| 5774 | * @Default: 4 |
| 5775 | * |
| 5776 | * This ini is used to allow GO in MCC mode to accept different beacon interval |
| 5777 | * than STA's. |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5778 | * Added for Wi-Fi Cert. 5.1.12 |
Nitesh Shah | 03161d1 | 2016-12-06 18:30:12 +0530 | [diff] [blame] | 5779 | * If gAllowMCCGODiffBI = 1 |
| 5780 | * Set to 1 for WFA certification. GO Beacon interval is not changed. |
| 5781 | * MCC GO doesn't work well in optimized way. In worst scenario, it may |
| 5782 | * invite STA disconnection. |
| 5783 | * If gAllowMCCGODiffBI = 2 |
| 5784 | * If set to 2 workaround 1 disassoc all the clients and update beacon |
| 5785 | * Interval. |
| 5786 | * If gAllowMCCGODiffBI = 3 |
| 5787 | * If set to 3 tear down the P2P link in auto/Non-autonomous -GO case. |
| 5788 | * If gAllowMCCGODiffBI = 4 |
| 5789 | * If set to 4 don't disconnect the P2P client in autonomous/Non-auto- |
| 5790 | * nomous -GO case update the BI dynamically |
| 5791 | * |
| 5792 | * Related: None. |
| 5793 | * |
| 5794 | * Supported Feature: Concurrency |
| 5795 | * |
| 5796 | * Usage: Internal/External |
| 5797 | * |
| 5798 | * </ini> |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5799 | */ |
| 5800 | #define CFG_ALLOW_MCC_GO_DIFF_BI_NAME "gAllowMCCGODiffBI" |
| 5801 | #define CFG_ALLOW_MCC_GO_DIFF_BI_MIN (0) |
| 5802 | #define CFG_ALLOW_MCC_GO_DIFF_BI_MAX (4) |
| 5803 | #define CFG_ALLOW_MCC_GO_DIFF_BI_DEFAULT (4) |
| 5804 | |
Poddar, Siddarth | b61cf64 | 2016-04-28 16:02:39 +0530 | [diff] [blame] | 5805 | #if defined(CONFIG_HL_SUPPORT) && defined(QCA_BAD_PEER_TX_FLOW_CL) |
| 5806 | /* |
| 5807 | * Enable/Disable Bad Peer TX CTL feature |
| 5808 | * Default: Enable |
| 5809 | */ |
| 5810 | #define CFG_BAD_PEER_TX_CTL_ENABLE_NAME "gBadPeerTxCtlEnable" |
| 5811 | #define CFG_BAD_PEER_TX_CTL_ENABLE_MIN (0) |
| 5812 | #define CFG_BAD_PEER_TX_CTL_ENABLE_MAX (1) |
| 5813 | #define CFG_BAD_PEER_TX_CTL_ENABLE_DEFAULT (1) |
| 5814 | |
| 5815 | #define CFG_BAD_PEER_TX_CTL_PERIOD_NAME "gBadPeerTxCtlPeriod" |
| 5816 | #define CFG_BAD_PEER_TX_CTL_PERIOD_MIN (10) |
| 5817 | #define CFG_BAD_PEER_TX_CTL_PERIOD_MAX (10000) |
| 5818 | #define CFG_BAD_PEER_TX_CTL_PERIOD_DEFAULT (50) |
| 5819 | |
| 5820 | #define CFG_BAD_PEER_TX_CTL_TXQ_LIMIT_NAME "gBadPeerTxCtlTxqLimit" |
| 5821 | #define CFG_BAD_PEER_TX_CTL_TXQ_LIMIT_MIN (1) |
| 5822 | #define CFG_BAD_PEER_TX_CTL_TXQ_LIMIT_MAX (5000) |
| 5823 | #define CFG_BAD_PEER_TX_CTL_TXQ_LIMIT_DEFAULT (100) |
| 5824 | |
| 5825 | #define CFG_BAD_PEER_TX_CTL_TGT_BACKOFF_T_NAME "gBadPeerTxCtlTgtBackoffTime" |
| 5826 | #define CFG_BAD_PEER_TX_CTL_TGT_BACKOFF_T_MIN (1) |
| 5827 | #define CFG_BAD_PEER_TX_CTL_TGT_BACKOFF_T_MAX (5000) |
| 5828 | #define CFG_BAD_PEER_TX_CTL_TGT_BACKOFF_T_DEFAULT (20) |
| 5829 | |
| 5830 | #define CFG_BAD_PEER_TX_CTL_TGT_REPORT_PRD_NAME "gBadPeerTxCtlTgtReportPeriod" |
| 5831 | #define CFG_BAD_PEER_TX_CTL_TGT_REPORT_PRD_MIN (1) |
| 5832 | #define CFG_BAD_PEER_TX_CTL_TGT_REPORT_PRD_MAX (5000) |
| 5833 | #define CFG_BAD_PEER_TX_CTL_TGT_REPORT_PRD_DEFAULT (500) |
| 5834 | |
| 5835 | #define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEB_NAME "gBadPeerTxCtlCondLevelIeeeB" |
| 5836 | #define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEB_MIN (1) |
| 5837 | #define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEB_MAX (2) |
| 5838 | #define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEB_DEFAULT (2) |
| 5839 | |
| 5840 | #define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEB_NAME "gBadPeerTxCtlDeltaLevelIeeeB" |
| 5841 | #define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEB_MIN (1) |
| 5842 | #define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEB_MAX (11) |
| 5843 | #define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEB_DEFAULT (2) |
| 5844 | |
| 5845 | #define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEB_NAME "gBadPeerTxCtlPctLevelIeeeB" |
| 5846 | #define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEB_MIN (1) |
| 5847 | #define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEB_MAX (8) |
| 5848 | #define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEB_DEFAULT (1) |
| 5849 | |
| 5850 | #define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEB_NAME "gBadPeerTxCtlTputLevelIeeeB" |
| 5851 | #define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEB_MIN (1) |
| 5852 | #define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEB_MAX (11) |
| 5853 | #define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEB_DEFAULT (2) |
| 5854 | |
| 5855 | #define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEB_NAME "gBadPeerTxCtlTxLimitLevelIeeeB" |
| 5856 | #define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEB_MIN (0) |
| 5857 | #define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEB_MAX (50) |
| 5858 | #define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEB_DEFAULT (3) |
| 5859 | |
| 5860 | #define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEAG_NAME "gBadPeerTxCtlCondLevelIeeeAG" |
| 5861 | #define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEAG_MIN (1) |
| 5862 | #define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEAG_MAX (2) |
| 5863 | #define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEAG_DEFAULT (2) |
| 5864 | |
| 5865 | #define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEAG_NAME "gBadPeerTxCtlDeltaLevelIeeeAG" |
| 5866 | #define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEAG_MIN (6) |
| 5867 | #define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEAG_MAX (54) |
| 5868 | #define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEAG_DEFAULT (6) |
| 5869 | |
| 5870 | #define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEAG_NAME "gBadPeerTxCtlPctLevelIeeeAG" |
| 5871 | #define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEAG_MIN (1) |
| 5872 | #define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEAG_MAX (8) |
| 5873 | #define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEAG_DEFAULT (1) |
| 5874 | |
| 5875 | #define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEAG_NAME "gBadPeerTxCtlTputLevelIeeeAG" |
| 5876 | #define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEAG_MIN (6) |
| 5877 | #define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEAG_MAX (54) |
| 5878 | #define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEAG_DEFAULT (6) |
| 5879 | |
| 5880 | #define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEAG_NAME "gBadPeerTxCtlTxLimitLevelIeeeAG" |
| 5881 | #define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEAG_MIN (0) |
| 5882 | #define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEAG_MAX (50) |
| 5883 | #define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEAG_DEFAULT (3) |
| 5884 | |
| 5885 | #define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEN_NAME "gBadPeerTxCtlCondLevelIeeeN" |
| 5886 | #define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEN_MIN (1) |
| 5887 | #define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEN_MAX (2) |
| 5888 | #define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEN_DEFAULT (2) |
| 5889 | |
| 5890 | #define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEN_NAME "gBadPeerTxCtlDeltaLevelIeeeN" |
| 5891 | #define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEN_MIN (6) |
| 5892 | #define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEN_MAX (72) |
| 5893 | #define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEN_DEFAULT (6) |
| 5894 | |
| 5895 | #define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEN_NAME "gBadPeerTxCtlPctLevelIeeeN" |
| 5896 | #define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEN_MIN (1) |
| 5897 | #define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEN_MAX (8) |
| 5898 | #define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEN_DEFAULT (1) |
| 5899 | |
| 5900 | #define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEN_NAME "gBadPeerTxCtlTputLevelIeeeN" |
| 5901 | #define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEN_MIN (6) |
| 5902 | #define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEN_MAX (72) |
| 5903 | #define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEN_DEFAULT (15) |
| 5904 | |
| 5905 | #define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEN_NAME "gBadPeerTxCtlTxLimitLevelIeeeN" |
| 5906 | #define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEN_MIN (0) |
| 5907 | #define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEN_MAX (50) |
| 5908 | #define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEN_DEFAULT (3) |
| 5909 | |
| 5910 | #define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEAC_NAME "gBadPeerTxCtlCondLevelIeeeAC" |
| 5911 | #define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEAC_MIN (1) |
| 5912 | #define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEAC_MAX (2) |
| 5913 | #define CFG_BAD_PEER_TX_CTL_COND_LEVEL_IEEEAC_DEFAULT (2) |
| 5914 | |
| 5915 | #define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEAC_NAME "gBadPeerTxCtlDeltaLevelIeeeAC" |
| 5916 | #define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEAC_MIN (6) |
| 5917 | #define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEAC_MAX (433) |
| 5918 | #define CFG_BAD_PEER_TX_CTL_DELTA_LEVEL_IEEEAC_DEFAULT (6) |
| 5919 | |
| 5920 | #define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEAC_NAME "gBadPeerTxCtlPctLevelIeeeAC" |
| 5921 | #define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEAC_MIN (1) |
| 5922 | #define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEAC_MAX (8) |
| 5923 | #define CFG_BAD_PEER_TX_CTL_PCT_LEVEL_IEEEAC_DEFAULT (1) |
| 5924 | |
| 5925 | #define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEAC_NAME "gBadPeerTxCtlTputLevelIeeeAC" |
| 5926 | #define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEAC_MIN (6) |
| 5927 | #define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEAC_MAX (433) |
| 5928 | #define CFG_BAD_PEER_TX_CTL_TPUT_LEVEL_IEEEAC_DEFAULT (15) |
| 5929 | |
| 5930 | #define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEAC_NAME "gBadPeerTxCtlTxLimitLevelIeeeAC" |
| 5931 | #define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEAC_MIN (0) |
| 5932 | #define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEAC_MAX (50) |
| 5933 | #define CFG_BAD_PEER_TX_CTL_TX_LIMIT_LEVEL_IEEEAC_DEFAULT (3) |
| 5934 | #endif |
| 5935 | |
| 5936 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5937 | /* |
| 5938 | * Enable/Disable Thermal Mitigation feature |
| 5939 | * Default: Enable |
| 5940 | */ |
| 5941 | #define CFG_THERMAL_MIGRATION_ENABLE_NAME "gThermalMitigationEnable" |
| 5942 | #define CFG_THERMAL_MIGRATION_ENABLE_MIN (0) |
| 5943 | #define CFG_THERMAL_MIGRATION_ENABLE_MAX (1) |
Manjeet Singh | bcd1cfd | 2017-01-11 15:15:14 +0530 | [diff] [blame] | 5944 | #define CFG_THERMAL_MIGRATION_ENABLE_DEFAULT (0) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5945 | |
| 5946 | #define CFG_THROTTLE_PERIOD_NAME "gThrottlePeriod" |
| 5947 | #define CFG_THROTTLE_PERIOD_MIN (10) |
| 5948 | #define CFG_THROTTLE_PERIOD_MAX (10000) |
| 5949 | #define CFG_THROTTLE_PERIOD_DEFAULT (4000) |
| 5950 | |
Poddar, Siddarth | 8390502 | 2016-04-16 17:56:08 -0700 | [diff] [blame] | 5951 | /* |
| 5952 | * Configure Throttle Period Different Level Duty Cycle in percentage |
| 5953 | * When temperature measured is greater than threshold at particular level, |
| 5954 | * then throtling level will get increased by one level and |
| 5955 | * will reduce TX duty by the given percentage |
| 5956 | */ |
| 5957 | #define CFG_THROTTLE_DUTY_CYCLE_LEVEL0_NAME "gThrottleDutyCycleLevel0" |
| 5958 | #define CFG_THROTTLE_DUTY_CYCLE_LEVEL0_MIN (0) |
| 5959 | #define CFG_THROTTLE_DUTY_CYCLE_LEVEL0_MAX (0) |
| 5960 | #define CFG_THROTTLE_DUTY_CYCLE_LEVEL0_DEFAULT (0) |
| 5961 | |
| 5962 | #define CFG_THROTTLE_DUTY_CYCLE_LEVEL1_NAME "gThrottleDutyCycleLevel1" |
| 5963 | #define CFG_THROTTLE_DUTY_CYCLE_LEVEL1_MIN (0) |
| 5964 | #define CFG_THROTTLE_DUTY_CYCLE_LEVEL1_MAX (100) |
| 5965 | #define CFG_THROTTLE_DUTY_CYCLE_LEVEL1_DEFAULT (50) |
| 5966 | |
| 5967 | #define CFG_THROTTLE_DUTY_CYCLE_LEVEL2_NAME "gThrottleDutyCycleLevel2" |
| 5968 | #define CFG_THROTTLE_DUTY_CYCLE_LEVEL2_MIN (0) |
| 5969 | #define CFG_THROTTLE_DUTY_CYCLE_LEVEL2_MAX (100) |
| 5970 | #define CFG_THROTTLE_DUTY_CYCLE_LEVEL2_DEFAULT (75) |
| 5971 | |
| 5972 | #define CFG_THROTTLE_DUTY_CYCLE_LEVEL3_NAME "gThrottleDutyCycleLevel3" |
| 5973 | #define CFG_THROTTLE_DUTY_CYCLE_LEVEL3_MIN (0) |
| 5974 | #define CFG_THROTTLE_DUTY_CYCLE_LEVEL3_MAX (100) |
| 5975 | #define CFG_THROTTLE_DUTY_CYCLE_LEVEL3_DEFAULT (94) |
| 5976 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5977 | #define CFG_THERMAL_TEMP_MIN_LEVEL0_NAME "gThermalTempMinLevel0" |
| 5978 | #define CFG_THERMAL_TEMP_MIN_LEVEL0_MIN (0) |
| 5979 | #define CFG_THERMAL_TEMP_MIN_LEVEL0_MAX (1000) |
| 5980 | #define CFG_THERMAL_TEMP_MIN_LEVEL0_DEFAULT (0) |
| 5981 | |
| 5982 | #define CFG_THERMAL_TEMP_MAX_LEVEL0_NAME "gThermalTempMaxLevel0" |
| 5983 | #define CFG_THERMAL_TEMP_MAX_LEVEL0_MIN (0) |
| 5984 | #define CFG_THERMAL_TEMP_MAX_LEVEL0_MAX (1000) |
| 5985 | #define CFG_THERMAL_TEMP_MAX_LEVEL0_DEFAULT (90) |
| 5986 | |
| 5987 | #define CFG_THERMAL_TEMP_MIN_LEVEL1_NAME "gThermalTempMinLevel1" |
| 5988 | #define CFG_THERMAL_TEMP_MIN_LEVEL1_MIN (0) |
| 5989 | #define CFG_THERMAL_TEMP_MIN_LEVEL1_MAX (1000) |
| 5990 | #define CFG_THERMAL_TEMP_MIN_LEVEL1_DEFAULT (70) |
| 5991 | |
| 5992 | #define CFG_THERMAL_TEMP_MAX_LEVEL1_NAME "gThermalTempMaxLevel1" |
| 5993 | #define CFG_THERMAL_TEMP_MAX_LEVEL1_MIN (0) |
| 5994 | #define CFG_THERMAL_TEMP_MAX_LEVEL1_MAX (1000) |
| 5995 | #define CFG_THERMAL_TEMP_MAX_LEVEL1_DEFAULT (110) |
| 5996 | |
| 5997 | #define CFG_THERMAL_TEMP_MIN_LEVEL2_NAME "gThermalTempMinLevel2" |
| 5998 | #define CFG_THERMAL_TEMP_MIN_LEVEL2_MIN (0) |
| 5999 | #define CFG_THERMAL_TEMP_MIN_LEVEL2_MAX (1000) |
| 6000 | #define CFG_THERMAL_TEMP_MIN_LEVEL2_DEFAULT (90) |
| 6001 | |
| 6002 | #define CFG_THERMAL_TEMP_MAX_LEVEL2_NAME "gThermalTempMaxLevel2" |
| 6003 | #define CFG_THERMAL_TEMP_MAX_LEVEL2_MIN (0) |
| 6004 | #define CFG_THERMAL_TEMP_MAX_LEVEL2_MAX (1000) |
| 6005 | #define CFG_THERMAL_TEMP_MAX_LEVEL2_DEFAULT (125) |
| 6006 | |
| 6007 | #define CFG_THERMAL_TEMP_MIN_LEVEL3_NAME "gThermalTempMinLevel3" |
| 6008 | #define CFG_THERMAL_TEMP_MIN_LEVEL3_MIN (0) |
| 6009 | #define CFG_THERMAL_TEMP_MIN_LEVEL3_MAX (1000) |
| 6010 | #define CFG_THERMAL_TEMP_MIN_LEVEL3_DEFAULT (110) |
| 6011 | |
| 6012 | #define CFG_THERMAL_TEMP_MAX_LEVEL3_NAME "gThermalTempMaxLevel3" |
| 6013 | #define CFG_THERMAL_TEMP_MAX_LEVEL3_MIN (0) |
| 6014 | #define CFG_THERMAL_TEMP_MAX_LEVEL3_MAX (1000) |
| 6015 | #define CFG_THERMAL_TEMP_MAX_LEVEL3_DEFAULT (0) |
| 6016 | |
| 6017 | /* |
| 6018 | * Enable/Disable Modulated DTIM feature |
| 6019 | * Default: Disable |
| 6020 | */ |
| 6021 | #define CFG_ENABLE_MODULATED_DTIM_NAME "gEnableModulatedDTIM" |
| 6022 | #define CFG_ENABLE_MODULATED_DTIM_MIN (0) |
| 6023 | #define CFG_ENABLE_MODULATED_DTIM_MAX (5) |
| 6024 | #define CFG_ENABLE_MODULATED_DTIM_DEFAULT (0) |
| 6025 | |
| 6026 | /* |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 6027 | * <ini> |
| 6028 | * gMCAddrListEnable - Enable/Disable Multicast MAC Address List feature |
| 6029 | * @Min: 0 |
| 6030 | * @Max: 1 |
| 6031 | * @Default: 1 |
| 6032 | * |
| 6033 | * This ini is used to set default MAC Address |
Dustin Brown | d03bf59 | 2016-09-08 14:40:51 -0700 | [diff] [blame] | 6034 | * Default: Enable |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 6035 | * |
| 6036 | * Related: None |
| 6037 | * |
| 6038 | * Supported Feature: STA |
| 6039 | * |
| 6040 | * Usage: Internal/External |
| 6041 | * |
| 6042 | * </ini> |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6043 | */ |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 6044 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6045 | #define CFG_MC_ADDR_LIST_ENABLE_NAME "gMCAddrListEnable" |
| 6046 | #define CFG_MC_ADDR_LIST_ENABLE_MIN (0) |
| 6047 | #define CFG_MC_ADDR_LIST_ENABLE_MAX (1) |
Dustin Brown | d03bf59 | 2016-09-08 14:40:51 -0700 | [diff] [blame] | 6048 | #define CFG_MC_ADDR_LIST_ENABLE_DEFAULT (1) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6049 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 6050 | /* |
| 6051 | * <ini> |
| 6052 | * gEnableRXSTBC - Enables/disables Rx STBC capability in STA mode |
| 6053 | * @Min: 0 |
| 6054 | * @Max: 1 |
| 6055 | * @Default: 1 |
| 6056 | * |
| 6057 | * This ini is used to set default Rx STBC capability |
| 6058 | * |
| 6059 | * Related: None |
| 6060 | * |
| 6061 | * Supported Feature: STA |
| 6062 | * |
| 6063 | * Usage: Internal/External |
| 6064 | * |
| 6065 | * </ini> |
| 6066 | */ |
| 6067 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6068 | #define CFG_ENABLE_RX_STBC "gEnableRXSTBC" |
| 6069 | #define CFG_ENABLE_RX_STBC_MIN (0) |
| 6070 | #define CFG_ENABLE_RX_STBC_MAX (1) |
| 6071 | #define CFG_ENABLE_RX_STBC_DEFAULT (1) |
| 6072 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 6073 | /* |
| 6074 | * <ini> |
| 6075 | * gEnableTXSTBC - Enables/disables Tx STBC capability in STA mode |
| 6076 | * @Min: 0 |
| 6077 | * @Max: 1 |
| 6078 | * @Default: 0 |
| 6079 | * |
| 6080 | * This ini is used to set default Tx STBC capability |
| 6081 | * |
| 6082 | * Related: None |
| 6083 | * |
| 6084 | * Supported Feature: STA |
| 6085 | * |
| 6086 | * Usage: Internal/External |
| 6087 | * |
| 6088 | * </ini> |
| 6089 | */ |
| 6090 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6091 | #define CFG_ENABLE_TX_STBC "gEnableTXSTBC" |
| 6092 | #define CFG_ENABLE_TX_STBC_MIN (0) |
| 6093 | #define CFG_ENABLE_TX_STBC_MAX (1) |
| 6094 | #define CFG_ENABLE_TX_STBC_DEFAULT (0) |
| 6095 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 6096 | /* |
| 6097 | * <ini> |
Will Huang | 496b36c | 2017-07-11 16:38:50 +0800 | [diff] [blame] | 6098 | * gSapGetPeerInfo - Enable/Disable remote peer info query support |
| 6099 | * @Min: 0 - Disable remote peer info query support |
| 6100 | * @Max: 1 - Enable remote peer info query support |
| 6101 | * @Default: 0 |
| 6102 | * |
| 6103 | * This ini is used to enable/disable remote peer info query support |
| 6104 | * |
| 6105 | * Usage: External |
| 6106 | * |
| 6107 | * </ini> |
| 6108 | */ |
| 6109 | #define CFG_SAP_GET_PEER_INFO "gSapGetPeerInfo" |
| 6110 | #define CFG_SAP_GET_PEER_INFO_MIN (0) |
| 6111 | #define CFG_SAP_GET_PEER_INFO_MAX (1) |
| 6112 | #define CFG_SAP_GET_PEER_INFO_DEFAULT (0) |
| 6113 | |
| 6114 | /* |
| 6115 | * <ini> |
Hong Shi | b707b05 | 2017-03-08 23:33:14 +0800 | [diff] [blame] | 6116 | * gRateForTxMgmt - rate for tx mgmt frame |
| 6117 | * @Min: 0x0 |
| 6118 | * @Max: 0xFF |
| 6119 | * @Default: 0xFF |
| 6120 | * |
| 6121 | * This ini is used to configure the rate for tx |
| 6122 | * mgmt frame. Default 0xFF means disable. |
| 6123 | * |
| 6124 | * Usage: External |
| 6125 | * |
| 6126 | * </ini> |
| 6127 | */ |
| 6128 | #define CFG_RATE_FOR_TX_MGMT "gRateForTxMgmt" |
| 6129 | #define CFG_RATE_FOR_TX_MGMT_MIN (WNI_CFG_RATE_FOR_TX_MGMT_STAMIN) |
| 6130 | #define CFG_RATE_FOR_TX_MGMT_MAX (WNI_CFG_RATE_FOR_TX_MGMT_STAMAX) |
| 6131 | #define CFG_RATE_FOR_TX_MGMT_DEFAULT (WNI_CFG_RATE_FOR_TX_MGMT_STADEF) |
| 6132 | |
Hong Shi | 2d384fd | 2017-05-22 18:38:41 +0800 | [diff] [blame] | 6133 | /* |
| 6134 | * <ini> |
| 6135 | * gRateForTxMgmt2G - rate for tx mgmt frame on 2G |
| 6136 | * @Min: 0x0 |
| 6137 | * @Max: 0xFF |
| 6138 | * @Default: 0xFF |
| 6139 | * |
| 6140 | * This ini is used to configure the rate for tx |
| 6141 | * mgmt frame on 2G Band. Default 0xFF means disable. |
| 6142 | * It has higher priority and will overwrite gRateForTxMgmt |
| 6143 | * setting. |
| 6144 | * |
| 6145 | * Usage: External |
| 6146 | * |
| 6147 | * </ini> |
| 6148 | */ |
| 6149 | #define CFG_RATE_FOR_TX_MGMT_2G "gRateForTxMgmt2G" |
| 6150 | #define CFG_RATE_FOR_TX_MGMT_2G_MIN (WNI_CFG_RATE_FOR_TX_MGMT_2G_STAMIN) |
| 6151 | #define CFG_RATE_FOR_TX_MGMT_2G_MAX (WNI_CFG_RATE_FOR_TX_MGMT_2G_STAMAX) |
| 6152 | #define CFG_RATE_FOR_TX_MGMT_2G_DEFAULT (WNI_CFG_RATE_FOR_TX_MGMT_2G_STADEF) |
| 6153 | |
| 6154 | /* |
| 6155 | * <ini> |
| 6156 | * gRateForTxMgmt5G - rate for tx mgmt frame on 5G |
| 6157 | * @Min: 0x0 |
| 6158 | * @Max: 0xFF |
| 6159 | * @Default: 0xFF |
| 6160 | * |
| 6161 | * This ini is used to configure the rate for tx |
| 6162 | * mgmt frame on 5G Band. Default 0xFF means disable. |
| 6163 | * It has higher priority and will overwrite gRateForTxMgmt |
| 6164 | * setting. |
| 6165 | * |
| 6166 | * Usage: External |
| 6167 | * |
| 6168 | * </ini> |
| 6169 | */ |
| 6170 | #define CFG_RATE_FOR_TX_MGMT_5G "gRateForTxMgmt5G" |
| 6171 | #define CFG_RATE_FOR_TX_MGMT_5G_MIN (WNI_CFG_RATE_FOR_TX_MGMT_5G_STAMIN) |
| 6172 | #define CFG_RATE_FOR_TX_MGMT_5G_MAX (WNI_CFG_RATE_FOR_TX_MGMT_5G_STAMAX) |
| 6173 | #define CFG_RATE_FOR_TX_MGMT_5G_DEFAULT (WNI_CFG_RATE_FOR_TX_MGMT_5G_STADEF) |
| 6174 | |
Dustin Brown | fe7aa87 | 2017-06-26 10:52:08 -0700 | [diff] [blame] | 6175 | /* |
| 6176 | * <ini> |
| 6177 | * gPreventLinkDown - Enable to prevent bus link from going down |
| 6178 | * @Min: 0 |
| 6179 | * @Max: 1 |
| 6180 | * @Default: 0 |
| 6181 | * |
| 6182 | * Enable to prevent bus link from going down. Useful for platforms that do not |
| 6183 | * (yet) support link down suspend cases. |
| 6184 | * |
| 6185 | * Related: N/A |
| 6186 | * |
| 6187 | * Supported Feature: Suspend/Resume |
| 6188 | * |
| 6189 | * Usage: Internal |
| 6190 | * |
| 6191 | * </ini> |
| 6192 | */ |
| 6193 | #define CFG_PREVENT_LINK_DOWN_NAME "gPreventLinkDown" |
| 6194 | #define CFG_PREVENT_LINK_DOWN_MIN (0) |
| 6195 | #define CFG_PREVENT_LINK_DOWN_MAX (1) |
Dustin Brown | 49040e1 | 2017-08-14 16:22:50 -0700 | [diff] [blame] | 6196 | #if defined(QCA_WIFI_NAPIER_EMULATION) || defined(QCA_WIFI_QCA6290) |
| 6197 | #define CFG_PREVENT_LINK_DOWN_DEFAULT (1) |
| 6198 | #else |
Dustin Brown | fe7aa87 | 2017-06-26 10:52:08 -0700 | [diff] [blame] | 6199 | #define CFG_PREVENT_LINK_DOWN_DEFAULT (0) |
Dustin Brown | 49040e1 | 2017-08-14 16:22:50 -0700 | [diff] [blame] | 6200 | #endif /* QCA_WIFI_NAPIER_EMULATION */ |
Dustin Brown | fe7aa87 | 2017-06-26 10:52:08 -0700 | [diff] [blame] | 6201 | |
Nitesh Shah | bb40583 | 2016-12-08 12:43:10 +0530 | [diff] [blame] | 6202 | /* |
SaidiReddy Yenuga | cc733af | 2016-11-09 17:45:42 +0530 | [diff] [blame] | 6203 | * This INI item is used to control subsystem restart(SSR) test framework |
| 6204 | * Set it's value to 1 to enable APPS trigerred SSR testing |
| 6205 | */ |
| 6206 | #define CFG_ENABLE_CRASH_INJECT "gEnableForceTargetAssert" |
| 6207 | #define CFG_ENABLE_CRASH_INJECT_MIN (0) |
| 6208 | #define CFG_ENABLE_CRASH_INJECT_MAX (1) |
| 6209 | #define CFG_ENABLE_CRASH_INJECT_DEFAULT (0) |
| 6210 | |
| 6211 | /* |
Nitesh Shah | bb40583 | 2016-12-08 12:43:10 +0530 | [diff] [blame] | 6212 | * <ini> |
Krunal Soni | a2c0e41 | 2017-05-04 14:12:41 +0530 | [diff] [blame] | 6213 | * gTxLdpcEnable - Config Param to enable Tx LDPC capability |
| 6214 | * @Min: 0 |
| 6215 | * @Max: 3 |
| 6216 | * @Default: 3 |
| 6217 | * |
| 6218 | * This ini is used to enable/disable Tx LDPC capability |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6219 | * 0 - disable |
| 6220 | * 1 - HT LDPC enable |
| 6221 | * 2 - VHT LDPC enable |
Jeff Johnson | dcd2cf9 | 2017-01-12 10:44:23 -0800 | [diff] [blame] | 6222 | * 3 - HT & VHT LDPC enable |
Krunal Soni | a2c0e41 | 2017-05-04 14:12:41 +0530 | [diff] [blame] | 6223 | * |
| 6224 | * Related: STA/SAP/P2P/IBSS/NAN. |
| 6225 | * |
| 6226 | * Supported Feature: Concurrency/Standalone |
| 6227 | * |
| 6228 | * Usage: Internal/External |
| 6229 | * |
| 6230 | * </ini> |
Jeff Johnson | dcd2cf9 | 2017-01-12 10:44:23 -0800 | [diff] [blame] | 6231 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6232 | #define CFG_TX_LDPC_ENABLE_FEATURE "gTxLdpcEnable" |
| 6233 | #define CFG_TX_LDPC_ENABLE_FEATURE_MIN (0) |
| 6234 | #define CFG_TX_LDPC_ENABLE_FEATURE_MAX (3) |
Kiran Kumar Lokere | 333a995 | 2016-03-01 15:40:23 -0800 | [diff] [blame] | 6235 | #define CFG_TX_LDPC_ENABLE_FEATURE_DEFAULT (3) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6236 | |
| 6237 | /* |
Nitesh Shah | 03161d1 | 2016-12-06 18:30:12 +0530 | [diff] [blame] | 6238 | * <ini> |
Krunal Soni | a2c0e41 | 2017-05-04 14:12:41 +0530 | [diff] [blame] | 6239 | * gEnableRXLDPC - Config Param to enable Rx LDPC capability |
| 6240 | * @Min: 0 |
| 6241 | * @Max: 1 |
| 6242 | * @Default: 0 |
| 6243 | * |
| 6244 | * This ini is used to enable/disable Rx LDPC capability |
| 6245 | * |
| 6246 | * Related: STA/SAP/P2P/IBSS/NAN. |
| 6247 | * |
| 6248 | * Supported Feature: Concurrency/Standalone |
| 6249 | * |
| 6250 | * Usage: Internal/External |
| 6251 | * |
| 6252 | * </ini> |
| 6253 | */ |
| 6254 | |
| 6255 | #define CFG_ENABLE_RX_LDPC "gEnableRXLDPC" |
| 6256 | #define CFG_ENABLE_RX_LDPC_MIN (0) |
| 6257 | #define CFG_ENABLE_RX_LDPC_MAX (1) |
| 6258 | #define CFG_ENABLE_RX_LDPC_DEFAULT (0) |
| 6259 | |
| 6260 | /* |
| 6261 | * <ini> |
Nitesh Shah | 03161d1 | 2016-12-06 18:30:12 +0530 | [diff] [blame] | 6262 | * gEnableMCCAdaptiveScheduler - MCC Adaptive Scheduler feature. |
| 6263 | * @Min: 0 |
| 6264 | * @Max: 1 |
| 6265 | * @Default: 1 |
| 6266 | * |
| 6267 | * This ini is used to enable/disable MCC Adaptive Scheduler feature. |
| 6268 | * |
| 6269 | * Related: None. |
| 6270 | * |
| 6271 | * Supported Feature: Concurrency |
| 6272 | * |
| 6273 | * Usage: Internal/External |
| 6274 | * |
| 6275 | * </ini> |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6276 | */ |
| 6277 | #define CFG_ENABLE_MCC_ADATIVE_SCHEDULER_ENABLED_NAME "gEnableMCCAdaptiveScheduler" |
| 6278 | #define CFG_ENABLE_MCC_ADATIVE_SCHEDULER_ENABLED_MIN (0) |
| 6279 | #define CFG_ENABLE_MCC_ADATIVE_SCHEDULER_ENABLED_MAX (1) |
| 6280 | #define CFG_ENABLE_MCC_ADATIVE_SCHEDULER_ENABLED_DEFAULT (1) |
| 6281 | |
| 6282 | #define CFG_VHT_SU_BEAMFORMEE_CAP_FEATURE "gTxBFEnable" |
| 6283 | #define CFG_VHT_SU_BEAMFORMEE_CAP_FEATURE_MIN (WNI_CFG_VHT_SU_BEAMFORMEE_CAP_STAMIN) |
| 6284 | #define CFG_VHT_SU_BEAMFORMEE_CAP_FEATURE_MAX (WNI_CFG_VHT_SU_BEAMFORMEE_CAP_STAMAX) |
| 6285 | #define CFG_VHT_SU_BEAMFORMEE_CAP_FEATURE_DEFAULT (WNI_CFG_VHT_SU_BEAMFORMEE_CAP_STADEF) |
| 6286 | |
Kiran Kumar Lokere | 5302ab6 | 2015-12-16 16:03:16 -0800 | [diff] [blame] | 6287 | /* |
Abhishek Singh | 6884428 | 2018-01-25 16:48:41 +0530 | [diff] [blame] | 6288 | * <ini> |
| 6289 | * enable_subfee_vendor_vhtie - ini to enable/disable SU Bformee in vendor VHTIE |
| 6290 | * @Min: 0 |
| 6291 | * @Max: 1 |
| 6292 | * @Default: 1 |
| 6293 | * |
| 6294 | * This ini is used to enable/disable SU Bformee in vendor vht ie if gTxBFEnable |
| 6295 | * is enabled. if gTxBFEnable is 0 this will not have any effect. |
| 6296 | * |
| 6297 | * Related: gTxBFEnable. |
| 6298 | * |
| 6299 | * Supported Feature: STA |
| 6300 | * |
| 6301 | * Usage: External |
| 6302 | * |
| 6303 | * </ini> |
| 6304 | */ |
| 6305 | #define CFG_ENABLE_SUBFEE_IN_VENDOR_VHTIE_NAME "enable_subfee_vendor_vhtie" |
| 6306 | #define CFG_ENABLE_SUBFEE_IN_VENDOR_VHTIE_MIN (0) |
| 6307 | #define CFG_ENABLE_SUBFEE_IN_VENDOR_VHTIE_MAX (1) |
| 6308 | #define CFG_ENABLE_SUBFEE_IN_VENDOR_VHTIE_DEFAULT (1) |
| 6309 | |
| 6310 | /* |
Kiran Kumar Lokere | 5302ab6 | 2015-12-16 16:03:16 -0800 | [diff] [blame] | 6311 | * Enable / Disable Tx beamformee in SAP mode |
| 6312 | * Default: Disable |
| 6313 | */ |
| 6314 | #define CFG_VHT_ENABLE_TXBF_SAP_MODE "gEnableTxBFeeSAP" |
| 6315 | #define CFG_VHT_ENABLE_TXBF_SAP_MODE_MIN (0) |
| 6316 | #define CFG_VHT_ENABLE_TXBF_SAP_MODE_MAX (1) |
| 6317 | #define CFG_VHT_ENABLE_TXBF_SAP_MODE_DEFAULT (0) |
| 6318 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6319 | #define CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED "gTxBFCsnValue" |
| 6320 | #define CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_MIN (WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_STAMIN) |
| 6321 | #define CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_MAX (WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_STAMAX - 1) |
Nachiket Kukade | 8b4bfd8 | 2017-05-25 18:34:48 +0530 | [diff] [blame] | 6322 | #define CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_DEFAULT (WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_STADEF - 1) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6323 | |
| 6324 | #define CFG_VHT_ENABLE_TXBF_IN_20MHZ "gEnableTxBFin20MHz" |
| 6325 | #define CFG_VHT_ENABLE_TXBF_IN_20MHZ_MIN (0) |
| 6326 | #define CFG_VHT_ENABLE_TXBF_IN_20MHZ_MAX (1) |
| 6327 | #define CFG_VHT_ENABLE_TXBF_IN_20MHZ_DEFAULT (0) |
| 6328 | |
Naveen Rawat | efa0108 | 2015-12-01 12:08:45 -0800 | [diff] [blame] | 6329 | #define CFG_VHT_ENABLE_TX_SU_BEAM_FORMER "gEnableTxSUBeamformer" |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6330 | #define CFG_VHT_ENABLE_TX_SU_BEAM_FORMER_MIN (0) |
| 6331 | #define CFG_VHT_ENABLE_TX_SU_BEAM_FORMER_MAX (1) |
| 6332 | #define CFG_VHT_ENABLE_TX_SU_BEAM_FORMER_DEFAULT (0) |
| 6333 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6334 | /* |
| 6335 | * SAP ALLOW All Channels |
| 6336 | */ |
| 6337 | #define CFG_SAP_ALLOW_ALL_CHANNEL_PARAM_NAME "gSapAllowAllChannel" |
| 6338 | #define CFG_SAP_ALLOW_ALL_CHANNEL_PARAM_MIN (0) |
| 6339 | #define CFG_SAP_ALLOW_ALL_CHANNEL_PARAM_MAX (1) |
| 6340 | #define CFG_SAP_ALLOW_ALL_CHANNEL_PARAM_DEFAULT (0) |
| 6341 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6342 | #define CFG_DISABLE_LDPC_WITH_TXBF_AP "gDisableLDPCWithTxbfAP" |
| 6343 | #define CFG_DISABLE_LDPC_WITH_TXBF_AP_MIN (0) |
| 6344 | #define CFG_DISABLE_LDPC_WITH_TXBF_AP_MAX (1) |
| 6345 | #define CFG_DISABLE_LDPC_WITH_TXBF_AP_DEFAULT (0) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6346 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6347 | /* Parameter to control VHT support in 2.4 GHz band */ |
| 6348 | #define CFG_ENABLE_VHT_FOR_24GHZ_NAME "gEnableVhtFor24GHzBand" |
| 6349 | #define CFG_ENABLE_VHT_FOR_24GHZ_MIN (0) |
| 6350 | #define CFG_ENABLE_VHT_FOR_24GHZ_MAX (1) |
| 6351 | #define CFG_ENABLE_VHT_FOR_24GHZ_DEFAULT (0) |
| 6352 | |
Kapil Gupta | 4b2efbb | 2016-10-03 13:07:20 +0530 | [diff] [blame] | 6353 | /* |
Agrawal Ashish | e030f78 | 2017-01-27 17:52:05 +0530 | [diff] [blame] | 6354 | * gEnableVendorVhtFor24GHzBand:Parameter to control VHT support |
| 6355 | * based on vendor ie in 2.4 GHz band |
| 6356 | * @Min: 0 |
| 6357 | * @Max: 1 |
| 6358 | * @Default: 1 |
| 6359 | * |
Kapil Gupta | 4b2efbb | 2016-10-03 13:07:20 +0530 | [diff] [blame] | 6360 | * This parameter will enable SAP to read VHT capability in vendor ie in Assoc |
| 6361 | * Req and send VHT caps in Resp to establish connection in VHT Mode. |
Agrawal Ashish | e030f78 | 2017-01-27 17:52:05 +0530 | [diff] [blame] | 6362 | * Supported Feature: SAP |
| 6363 | * |
| 6364 | * |
| 6365 | * Usage: Internal/External |
| 6366 | * |
| 6367 | * </ini> |
Kapil Gupta | 4b2efbb | 2016-10-03 13:07:20 +0530 | [diff] [blame] | 6368 | */ |
| 6369 | #define CFG_ENABLE_VENDOR_VHT_FOR_24GHZ_NAME "gEnableVendorVhtFor24GHzBand" |
| 6370 | #define CFG_ENABLE_VENDOR_VHT_FOR_24GHZ_MIN (0) |
| 6371 | #define CFG_ENABLE_VENDOR_VHT_FOR_24GHZ_MAX (1) |
| 6372 | #define CFG_ENABLE_VENDOR_VHT_FOR_24GHZ_DEFAULT (1) |
| 6373 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 6374 | /* |
| 6375 | * <ini> |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 6376 | * gEnableSNRMonitoring - Enables SNR Monitoring |
| 6377 | * @Min: 0 |
| 6378 | * @Max: 1 |
| 6379 | * @Default: 0 |
| 6380 | * |
| 6381 | * This ini is used to set default snr monitor |
| 6382 | * |
| 6383 | * Related: None |
| 6384 | * |
| 6385 | * Supported Feature: STA |
| 6386 | * |
| 6387 | * Usage: Internal/External |
| 6388 | * |
| 6389 | * </ini> |
| 6390 | */ |
| 6391 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6392 | #define CFG_ENABLE_SNR_MONITORING_NAME "gEnableSNRMonitoring" |
| 6393 | #define CFG_ENABLE_SNR_MONITORING_MIN (0) |
| 6394 | #define CFG_ENABLE_SNR_MONITORING_MAX (1) |
| 6395 | #define CFG_ENABLE_SNR_MONITORING_DEFAULT (0) |
| 6396 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 6397 | /* |
| 6398 | * <ini> |
| 6399 | * gEnableIpTcpUdpChecksumOffload - It enables IP, TCP and UDP checksum |
| 6400 | * offload in hardware |
| 6401 | * @Min: 0 |
| 6402 | * @Max: 1 |
| 6403 | * @Default: DEF |
| 6404 | * |
| 6405 | * This ini is used to enable IP, TCP and UDP checksum offload in hardware |
| 6406 | * and also advertise same to network stack |
| 6407 | * |
| 6408 | * Related: None |
| 6409 | * |
| 6410 | * Supported Feature: STA |
| 6411 | * |
| 6412 | * Usage: Internal/External |
| 6413 | * |
| 6414 | * </ini> |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6415 | */ |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 6416 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6417 | #define CFG_ENABLE_IP_TCP_UDP_CHKSUM_OFFLOAD "gEnableIpTcpUdpChecksumOffload" |
| 6418 | #define CFG_ENABLE_IP_TCP_UDP_CHKSUM_OFFLOAD_DISABLE (0) |
| 6419 | #define CFG_ENABLE_IP_TCP_UDP_CHKSUM_OFFLOAD_ENABLE (1) |
| 6420 | #define CFG_ENABLE_IP_TCP_UDP_CHKSUM_OFFLOAD_DEFAULT (CFG_ENABLE_IP_TCP_UDP_CHKSUM_OFFLOAD_ENABLE) |
| 6421 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6422 | #ifdef WLAN_FEATURE_FASTPATH |
Poddar, Siddarth | cc250aa | 2016-12-05 19:21:03 +0530 | [diff] [blame] | 6423 | |
| 6424 | /* |
| 6425 | * <ini> |
| 6426 | * gEnableFastPath - Control to enable fastpath feature |
| 6427 | * |
| 6428 | * @Min: 0 |
| 6429 | * @Max: 1 |
| 6430 | * @Default: 0 |
| 6431 | * |
| 6432 | * This ini is used to enable fastpath feature |
| 6433 | * |
| 6434 | * Supported Feature: Wlan Fastpath Feature |
| 6435 | * |
| 6436 | * Usage: Internal |
| 6437 | * |
| 6438 | * </ini> |
| 6439 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6440 | #define CFG_ENABLE_FASTPATH "gEnableFastPath" |
| 6441 | #define CFG_ENABLE_FASTPATH_MIN (0) |
| 6442 | #define CFG_ENABLE_FASTPATH_MAX (1) |
| 6443 | #define CFG_ENABLE_FASTPATH_DEFAULT (CFG_ENABLE_FASTPATH_MIN) |
| 6444 | #endif /* WLAN_FEATURE_FASTPATH */ |
| 6445 | |
| 6446 | /* |
| 6447 | * IPA Offload configuration - Each bit enables a feature |
| 6448 | * bit0 - IPA Enable |
| 6449 | * bit1 - IPA Pre filter enable |
| 6450 | * bit2 - IPv6 enable |
| 6451 | * bit3 - IPA Resource Manager (RM) enable |
| 6452 | * bit4 - IPA Clock scaling enable |
| 6453 | */ |
| 6454 | #define CFG_IPA_OFFLOAD_CONFIG_NAME "gIPAConfig" |
| 6455 | #define CFG_IPA_OFFLOAD_CONFIG_MIN (0) |
| 6456 | #define CFG_IPA_OFFLOAD_CONFIG_MAX (0xFFFFFFFF) |
| 6457 | #define CFG_IPA_OFFLOAD_CONFIG_DEFAULT (CFG_IPA_OFFLOAD_CONFIG_MIN) |
| 6458 | |
| 6459 | /* |
| 6460 | * IPA DESC SIZE |
| 6461 | */ |
| 6462 | #define CFG_IPA_DESC_SIZE_NAME "gIPADescSize" |
| 6463 | #define CFG_IPA_DESC_SIZE_MIN (800) |
| 6464 | #define CFG_IPA_DESC_SIZE_MAX (8000) |
| 6465 | #define CFG_IPA_DESC_SIZE_DEFAULT (800) |
| 6466 | |
| 6467 | #define CFG_IPA_HIGH_BANDWIDTH_MBPS "gIPAHighBandwidthMbps" |
| 6468 | #define CFG_IPA_HIGH_BANDWIDTH_MBPS_MIN (200) |
| 6469 | #define CFG_IPA_HIGH_BANDWIDTH_MBPS_MAX (1000) |
| 6470 | #define CFG_IPA_HIGH_BANDWIDTH_MBPS_DEFAULT (400) |
| 6471 | |
| 6472 | #define CFG_IPA_MEDIUM_BANDWIDTH_MBPS "gIPAMediumBandwidthMbps" |
| 6473 | #define CFG_IPA_MEDIUM_BANDWIDTH_MBPS_MIN (100) |
| 6474 | #define CFG_IPA_MEDIUM_BANDWIDTH_MBPS_MAX (400) |
| 6475 | #define CFG_IPA_MEDIUM_BANDWIDTH_MBPS_DEFAULT (200) |
| 6476 | |
| 6477 | #define CFG_IPA_LOW_BANDWIDTH_MBPS "gIPALowBandwidthMbps" |
| 6478 | #define CFG_IPA_LOW_BANDWIDTH_MBPS_MIN (0) |
| 6479 | #define CFG_IPA_LOW_BANDWIDTH_MBPS_MAX (100) |
| 6480 | #define CFG_IPA_LOW_BANDWIDTH_MBPS_DEFAULT (100) |
| 6481 | |
| 6482 | /* |
| 6483 | * Firmware uart print |
| 6484 | */ |
| 6485 | #define CFG_ENABLE_FW_UART_PRINT_NAME "gEnablefwprint" |
| 6486 | #define CFG_ENABLE_FW_UART_PRINT_DISABLE (0) |
| 6487 | #define CFG_ENABLE_FW_UART_PRINT_ENABLE (1) |
| 6488 | #define CFG_ENABLE_FW_UART_PRINT_DEFAULT (CFG_ENABLE_FW_UART_PRINT_DISABLE) |
| 6489 | |
| 6490 | /* |
| 6491 | * Firmware log |
| 6492 | */ |
| 6493 | #define CFG_ENABLE_FW_LOG_NAME "gEnablefwlog" |
| 6494 | #define CFG_ENABLE_FW_LOG_DISABLE (0) |
Yuanyuan Liu | 7a97b8f | 2017-01-27 10:42:52 -0800 | [diff] [blame] | 6495 | #define CFG_ENABLE_FW_LOG_WMI (1) |
| 6496 | #define CFG_ENABLE_FW_LOG_DIAG (2) |
Ashish Kumar Dhanotiya | f998a58 | 2017-02-20 12:20:41 +0530 | [diff] [blame] | 6497 | #define CFG_ENABLE_FW_LOG_MIN (CFG_ENABLE_FW_LOG_DISABLE) |
Yuanyuan Liu | 7a97b8f | 2017-01-27 10:42:52 -0800 | [diff] [blame] | 6498 | #define CFG_ENABLE_FW_LOG_MAX (CFG_ENABLE_FW_LOG_DIAG) |
Yuanyuan Liu | 7a97b8f | 2017-01-27 10:42:52 -0800 | [diff] [blame] | 6499 | #define CFG_ENABLE_FW_LOG_DEFAULT (CFG_ENABLE_FW_LOG_WMI) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6500 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6501 | /* Macro to handle maximum receive AMPDU size configuration */ |
| 6502 | #define CFG_VHT_AMPDU_LEN_EXPONENT_NAME "gVhtAmpduLenExponent" |
| 6503 | #define CFG_VHT_AMPDU_LEN_EXPONENT_MIN (0) |
| 6504 | #define CFG_VHT_AMPDU_LEN_EXPONENT_MAX (7) |
| 6505 | #define CFG_VHT_AMPDU_LEN_EXPONENT_DEFAULT (3) |
| 6506 | |
| 6507 | #define CFG_VHT_MPDU_LEN_NAME "gVhtMpduLen" |
| 6508 | #define CFG_VHT_MPDU_LEN_MIN (0) |
| 6509 | #define CFG_VHT_MPDU_LEN_MAX (2) |
| 6510 | #define CFG_VHT_MPDU_LEN_DEFAULT (0) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6511 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6512 | #define CFG_SAP_MAX_NO_PEERS "gSoftApMaxPeers" |
| 6513 | #define CFG_SAP_MAX_NO_PEERS_MIN (1) |
Naveen Rawat | b0c5b6b | 2017-11-27 17:37:40 -0800 | [diff] [blame] | 6514 | #define CFG_SAP_MAX_NO_PEERS_MAX (SIR_SAP_MAX_NUM_PEERS) |
| 6515 | #define CFG_SAP_MAX_NO_PEERS_DEFAULT (SIR_SAP_MAX_NUM_PEERS) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6516 | |
| 6517 | /* |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 6518 | * <ini> |
| 6519 | * gEnableDebugLog - Enable/Disable the Connection related logs |
| 6520 | * @Min: 0 |
| 6521 | * @Max: 0xFF |
| 6522 | * @Default: 0x0F |
| 6523 | * |
| 6524 | * This ini is used to enable/disable the connection related logs |
Chandrasekaran, Manishekar | b2d9fa1 | 2016-04-07 12:00:10 +0530 | [diff] [blame] | 6525 | * 0x1 - Enable mgmt pkt logs (excpet probe req/rsp, beacons). |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6526 | * 0x2 - Enable EAPOL pkt logs. |
| 6527 | * 0x4 - Enable DHCP pkt logs. |
Chandrasekaran, Manishekar | b2d9fa1 | 2016-04-07 12:00:10 +0530 | [diff] [blame] | 6528 | * 0x8 - Enable mgmt action frames logs. |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6529 | * 0x0 - Disable all the above connection related logs. |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 6530 | * The default value of 0x0F will enable all the above logs |
Chandrasekaran, Manishekar | b2d9fa1 | 2016-04-07 12:00:10 +0530 | [diff] [blame] | 6531 | * |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 6532 | * Related: None |
| 6533 | * |
| 6534 | * Supported Feature: STA |
| 6535 | * |
| 6536 | * Usage: Internal/External |
| 6537 | * |
| 6538 | * </ini> |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6539 | */ |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 6540 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6541 | #define CFG_ENABLE_DEBUG_CONNECT_ISSUE "gEnableDebugLog" |
| 6542 | #define CFG_ENABLE_DEBUG_CONNECT_ISSUE_MIN (0) |
| 6543 | #define CFG_ENABLE_DEBUG_CONNECT_ISSUE_MAX (0xFF) |
Chandrasekaran, Manishekar | b2d9fa1 | 2016-04-07 12:00:10 +0530 | [diff] [blame] | 6544 | #define CFG_ENABLE_DEBUG_CONNECT_ISSUE_DEFAULT (0x0F) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6545 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6546 | /* SAR Thermal limit values for 2g and 5g */ |
| 6547 | |
| 6548 | #define CFG_SET_TXPOWER_LIMIT2G_NAME "TxPower2g" |
| 6549 | #define CFG_SET_TXPOWER_LIMIT2G_MIN (0) |
| 6550 | #define CFG_SET_TXPOWER_LIMIT2G_MAX (30) |
Hanumanth Reddy Pothula | 366fa8e | 2016-09-07 15:05:17 +0530 | [diff] [blame] | 6551 | #define CFG_SET_TXPOWER_LIMIT2G_DEFAULT (30) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6552 | |
| 6553 | #define CFG_SET_TXPOWER_LIMIT5G_NAME "TxPower5g" |
| 6554 | #define CFG_SET_TXPOWER_LIMIT5G_MIN (0) |
| 6555 | #define CFG_SET_TXPOWER_LIMIT5G_MAX (30) |
Hanumanth Reddy Pothula | 366fa8e | 2016-09-07 15:05:17 +0530 | [diff] [blame] | 6556 | #define CFG_SET_TXPOWER_LIMIT5G_DEFAULT (30) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6557 | |
| 6558 | #ifdef QCA_LL_LEGACY_TX_FLOW_CONTROL |
Poddar, Siddarth | cc250aa | 2016-12-05 19:21:03 +0530 | [diff] [blame] | 6559 | |
| 6560 | /* |
| 6561 | * <ini> |
| 6562 | * TxFlowLowWaterMark - Low watermark for pausing network queues |
| 6563 | * |
| 6564 | * @Min: 0 |
| 6565 | * @Max: 1000 |
| 6566 | * @Default: 300 |
| 6567 | * |
| 6568 | * This ini specifies the low watermark of data packets transmitted |
| 6569 | * before pausing netif queues in tx flow path. It is only applicable |
| 6570 | * where legacy flow control is used i.e.for Rome. |
| 6571 | * |
| 6572 | * Related: TxFlowHighWaterMarkOffset, TxFlowMaxQueueDepth, |
| 6573 | * TxLbwFlowLowWaterMark, TxLbwFlowHighWaterMarkOffset, |
| 6574 | * TxLbwFlowMaxQueueDepth, TxHbwFlowLowWaterMark, |
| 6575 | * TxHbwFlowHighWaterMarkOffset, TxHbwFlowMaxQueueDepth |
| 6576 | * |
| 6577 | * Supported Feature: Dynamic Flow Control |
| 6578 | * |
| 6579 | * Usage: Internal |
| 6580 | * |
| 6581 | * </ini> |
| 6582 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6583 | #define CFG_LL_TX_FLOW_LWM "TxFlowLowWaterMark" |
| 6584 | #define CFG_LL_TX_FLOW_LWM_MIN (0) |
| 6585 | #define CFG_LL_TX_FLOW_LWM_MAX (1000) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6586 | #define CFG_LL_TX_FLOW_LWM_DEFAULT (300) |
| 6587 | |
Poddar, Siddarth | cc250aa | 2016-12-05 19:21:03 +0530 | [diff] [blame] | 6588 | /* |
| 6589 | * <ini> |
| 6590 | * TxFlowHighWaterMarkOffset - High Watermark offset to unpause Netif queues |
| 6591 | * @Min: 0 |
| 6592 | * @Max: 300 |
| 6593 | * @Default: 94 |
| 6594 | * |
| 6595 | * This ini specifies the offset to upause the netif queues |
| 6596 | * when they are paused due to insufficient descriptors as guided by |
| 6597 | * ini TxFlowLowWaterMark. It is only applicable where legacy flow control |
| 6598 | * is used i.e.for Rome. |
| 6599 | * |
| 6600 | * Related: TxFlowLowWaterMark, TxFlowMaxQueueDepth, |
| 6601 | * TxLbwFlowLowWaterMark, TxLbwFlowHighWaterMarkOffset, |
| 6602 | * TxLbwFlowMaxQueueDepth, TxHbwFlowLowWaterMark, |
| 6603 | * TxHbwFlowHighWaterMarkOffset, TxHbwFlowMaxQueueDepth |
| 6604 | * |
| 6605 | * Supported Feature: Dynamic Flow Control |
| 6606 | * |
| 6607 | * Usage: Internal |
| 6608 | * |
| 6609 | * </ini> |
| 6610 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6611 | #define CFG_LL_TX_FLOW_HWM_OFFSET "TxFlowHighWaterMarkOffset" |
| 6612 | #define CFG_LL_TX_FLOW_HWM_OFFSET_MIN (0) |
| 6613 | #define CFG_LL_TX_FLOW_HWM_OFFSET_MAX (300) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6614 | #define CFG_LL_TX_FLOW_HWM_OFFSET_DEFAULT (94) |
| 6615 | |
Poddar, Siddarth | cc250aa | 2016-12-05 19:21:03 +0530 | [diff] [blame] | 6616 | /* |
| 6617 | * <ini> |
| 6618 | * TxFlowMaxQueueDepth - Max pause queue depth. |
| 6619 | * |
| 6620 | * @Min: 400 |
| 6621 | * @Max: 3500 |
| 6622 | * @Default: 1500 |
| 6623 | * |
| 6624 | * This ini specifies the max queue pause depth.It is only applicable |
| 6625 | * where legacy flow control is used i.e.for Rome. |
| 6626 | * |
| 6627 | * Related: TxFlowLowWaterMark, TxFlowHighWaterMarkOffset, |
| 6628 | * TxLbwFlowLowWaterMark, TxLbwFlowHighWaterMarkOffset, |
| 6629 | * TxLbwFlowMaxQueueDepth, TxHbwFlowLowWaterMark, |
| 6630 | * TxHbwFlowHighWaterMarkOffset, TxHbwFlowMaxQueueDepth |
| 6631 | * |
| 6632 | * Supported Feature: Dynamic Flow Control |
| 6633 | * |
| 6634 | * Usage: Internal |
| 6635 | * |
| 6636 | * </ini> |
| 6637 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6638 | #define CFG_LL_TX_FLOW_MAX_Q_DEPTH "TxFlowMaxQueueDepth" |
| 6639 | #define CFG_LL_TX_FLOW_MAX_Q_DEPTH_MIN (400) |
| 6640 | #define CFG_LL_TX_FLOW_MAX_Q_DEPTH_MAX (3500) |
| 6641 | #define CFG_LL_TX_FLOW_MAX_Q_DEPTH_DEFAULT (1500) |
| 6642 | |
Poddar, Siddarth | cc250aa | 2016-12-05 19:21:03 +0530 | [diff] [blame] | 6643 | /* |
| 6644 | * <ini> |
| 6645 | * TxLbwFlowLowWaterMark - Low watermark for pausing network queues |
| 6646 | * in low bandwidth band |
| 6647 | * @Min: 0 |
| 6648 | * @Max: 1000 |
| 6649 | * @Default: 450 |
| 6650 | * |
| 6651 | * This ini specifies the low watermark of data packets transmitted |
| 6652 | * before pausing netif queues in tx flow path in low bandwidth band. |
| 6653 | * It is only applicable where legacy flow control is used i.e.for Rome. |
| 6654 | * |
| 6655 | * Related: TxFlowLowWaterMark, TxFlowHighWaterMarkOffset, |
| 6656 | * TxFlowMaxQueueDepth, TxLbwFlowHighWaterMarkOffset, |
| 6657 | * TxLbwFlowMaxQueueDepth, TxHbwFlowLowWaterMark, |
| 6658 | * TxHbwFlowHighWaterMarkOffset, TxHbwFlowMaxQueueDepth |
| 6659 | * |
| 6660 | * Supported Feature: Dynamic Flow Control |
| 6661 | * |
| 6662 | * Usage: Internal |
| 6663 | * |
| 6664 | * </ini> |
| 6665 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6666 | #define CFG_LL_TX_LBW_FLOW_LWM "TxLbwFlowLowWaterMark" |
| 6667 | #define CFG_LL_TX_LBW_FLOW_LWM_MIN (0) |
| 6668 | #define CFG_LL_TX_LBW_FLOW_LWM_MAX (1000) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6669 | #define CFG_LL_TX_LBW_FLOW_LWM_DEFAULT (450) |
| 6670 | |
Poddar, Siddarth | cc250aa | 2016-12-05 19:21:03 +0530 | [diff] [blame] | 6671 | /* |
| 6672 | * <ini> |
| 6673 | * TxLbwFlowHighWaterMarkOffset - High Watermark offset to unpause Netif queues |
| 6674 | * in low bandwidth band. |
| 6675 | * @Min: 0 |
| 6676 | * @Max: 300 |
| 6677 | * @Default: 50 |
| 6678 | * |
| 6679 | * This ini specifies the offset to upause the netif queues |
| 6680 | * when they are paused due to insufficient descriptors as guided by |
| 6681 | * ini TxLbwFlowLowWaterMark in low bandwidth band. It is only applicable |
| 6682 | * where legacy flow control is used i.e.for Rome. |
| 6683 | * |
| 6684 | * Related: TxFlowLowWaterMark, TxFlowHighWaterMarkOffset, |
| 6685 | * TxFlowMaxQueueDepth, TxLbwFlowLowWaterMark, |
| 6686 | * TxLbwFlowMaxQueueDepth, TxHbwFlowLowWaterMark, |
| 6687 | * TxHbwFlowHighWaterMarkOffset, TxHbwFlowMaxQueueDepth |
| 6688 | * |
| 6689 | * Supported Feature: Dynamic Flow Control |
| 6690 | * |
| 6691 | * Usage: Internal |
| 6692 | * |
| 6693 | * </ini> |
| 6694 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6695 | #define CFG_LL_TX_LBW_FLOW_HWM_OFFSET "TxLbwFlowHighWaterMarkOffset" |
| 6696 | #define CFG_LL_TX_LBW_FLOW_HWM_OFFSET_MIN (0) |
| 6697 | #define CFG_LL_TX_LBW_FLOW_HWM_OFFSET_MAX (300) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6698 | #define CFG_LL_TX_LBW_FLOW_HWM_OFFSET_DEFAULT (50) |
| 6699 | |
Poddar, Siddarth | cc250aa | 2016-12-05 19:21:03 +0530 | [diff] [blame] | 6700 | /* |
| 6701 | * <ini> |
| 6702 | * TxLbwFlowMaxQueueDepth - Max pause queue depth in low bandwidth band |
| 6703 | * |
| 6704 | * @Min: 400 |
| 6705 | * @Max: 3500 |
| 6706 | * @Default: 750 |
| 6707 | * |
| 6708 | * This ini specifies the max queue pause depth in low bandwidth band. |
| 6709 | * It is only applicable where legacy flow control is used i.e.for Rome. |
| 6710 | * |
| 6711 | * Related: TxFlowLowWaterMark, TxFlowHighWaterMarkOffset, |
| 6712 | * TxFlowMaxQueueDepth, TxLbwFlowLowWaterMark, |
| 6713 | * TxLbwFlowHighWaterMarkOffset, TxHbwFlowLowWaterMark, |
| 6714 | * TxHbwFlowHighWaterMarkOffset, TxHbwFlowMaxQueueDepth |
| 6715 | * |
| 6716 | * Supported Feature: Dynamic Flow Control |
| 6717 | * |
| 6718 | * Usage: Internal |
| 6719 | * |
| 6720 | * </ini> |
| 6721 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6722 | #define CFG_LL_TX_LBW_FLOW_MAX_Q_DEPTH "TxLbwFlowMaxQueueDepth" |
| 6723 | #define CFG_LL_TX_LBW_FLOW_MAX_Q_DEPTH_MIN (400) |
| 6724 | #define CFG_LL_TX_LBW_FLOW_MAX_Q_DEPTH_MAX (3500) |
| 6725 | #define CFG_LL_TX_LBW_FLOW_MAX_Q_DEPTH_DEFAULT (750) |
| 6726 | |
Poddar, Siddarth | cc250aa | 2016-12-05 19:21:03 +0530 | [diff] [blame] | 6727 | /* |
| 6728 | * <ini> |
| 6729 | * TxHbwFlowLowWaterMark - Low watermark for pausing network queues |
| 6730 | * in high bandwidth band |
| 6731 | * @Min: 0 |
| 6732 | * @Max: 1000 |
| 6733 | * @Default: 406 |
| 6734 | * |
| 6735 | * This ini specifies the threshold of data packets transmitted |
| 6736 | * before pausing netif queues.It is only applicable where |
| 6737 | * legacy flow control is used i.e.for Rome. |
| 6738 | * |
| 6739 | * Related: TxFlowLowWaterMark, TxFlowHighWaterMarkOffset, |
| 6740 | * TxFlowMaxQueueDepth, TxLbwFlowLowWaterMark, |
| 6741 | * TxLbwFlowHighWaterMarkOffset, TxLbwFlowMaxQueueDepth, |
| 6742 | * TxHbwFlowHighWaterMarkOffset, TxHbwFlowMaxQueueDepth |
| 6743 | * |
| 6744 | * Supported Feature: Dynamic Flow Control |
| 6745 | * |
| 6746 | * Usage: Internal |
| 6747 | * |
| 6748 | * </ini> |
| 6749 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6750 | #define CFG_LL_TX_HBW_FLOW_LWM "TxHbwFlowLowWaterMark" |
| 6751 | #define CFG_LL_TX_HBW_FLOW_LWM_MIN (0) |
| 6752 | #define CFG_LL_TX_HBW_FLOW_LWM_MAX (1000) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6753 | #define CFG_LL_TX_HBW_FLOW_LWM_DEFAULT (406) |
| 6754 | |
Poddar, Siddarth | cc250aa | 2016-12-05 19:21:03 +0530 | [diff] [blame] | 6755 | /* |
| 6756 | * <ini> |
| 6757 | * TxHbwFlowHighWaterMarkOffset - High Watermark offset to unpause Netif queues |
| 6758 | * in high bandwidth band. |
| 6759 | * @Min: 0 |
| 6760 | * @Max: 300 |
| 6761 | * @Default: 94 |
| 6762 | * |
| 6763 | * This ini specifies the offset to upause the netif queues |
| 6764 | * when they are paused due to insufficient descriptors as guided by |
| 6765 | * ini TxHbwFlowLowWaterMark in high bandwidth band. It is only applicable |
| 6766 | * where legacy flow control is used i.e.for Rome. |
| 6767 | * |
| 6768 | * Related: TxFlowLowWaterMark, TxFlowHighWaterMarkOffset, |
| 6769 | * TxFlowMaxQueueDepth, TxLbwFlowLowWaterMark, |
| 6770 | * TxLbwFlowHighWaterMarkOffset, TxLbwFlowMaxQueueDepth, |
| 6771 | * TxHbwFlowLowWaterMark, TxHbwFlowMaxQueueDepth |
| 6772 | * |
| 6773 | * Supported Feature: Dynamic Flow Control |
| 6774 | * |
| 6775 | * Usage: Internal |
| 6776 | * |
| 6777 | * </ini> |
| 6778 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6779 | #define CFG_LL_TX_HBW_FLOW_HWM_OFFSET "TxHbwFlowHighWaterMarkOffset" |
| 6780 | #define CFG_LL_TX_HBW_FLOW_HWM_OFFSET_MIN (0) |
| 6781 | #define CFG_LL_TX_HBW_FLOW_HWM_OFFSET_MAX (300) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6782 | #define CFG_LL_TX_HBW_FLOW_HWM_OFFSET_DEFAULT (94) |
| 6783 | |
Poddar, Siddarth | cc250aa | 2016-12-05 19:21:03 +0530 | [diff] [blame] | 6784 | /* |
| 6785 | * <ini> |
| 6786 | * TxHbwFlowMaxQueueDepth - Max pause queue depth in high bandwidth band |
| 6787 | * @Min: 4000 |
| 6788 | * @Max: 3500 |
| 6789 | * @Default: 1500 |
| 6790 | * |
| 6791 | * This ini specifies the max queue pause depth in high bandwidth band. |
| 6792 | * It is only applicable where legacy flow control is used i.e.for Rome. |
| 6793 | * |
| 6794 | * Related: TxFlowLowWaterMark, TxFlowHighWaterMarkOffset, |
| 6795 | * TxFlowMaxQueueDepth, TxLbwFlowLowWaterMark, |
| 6796 | * TxLbwFlowHighWaterMarkOffset, TxLbwFlowMaxQueueDepth, |
| 6797 | * TxHbwFlowLowWaterMark, TxHbwFlowHighWaterMarkOffset |
| 6798 | * |
| 6799 | * Supported Feature: Dynamic Flow Control |
| 6800 | * |
| 6801 | * Usage: Internal |
| 6802 | * |
| 6803 | * </ini> |
| 6804 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6805 | #define CFG_LL_TX_HBW_FLOW_MAX_Q_DEPTH "TxHbwFlowMaxQueueDepth" |
| 6806 | #define CFG_LL_TX_HBW_FLOW_MAX_Q_DEPTH_MIN (400) |
| 6807 | #define CFG_LL_TX_HBW_FLOW_MAX_Q_DEPTH_MAX (3500) |
| 6808 | #define CFG_LL_TX_HBW_FLOW_MAX_Q_DEPTH_DEFAULT (1500) |
| 6809 | #endif /* QCA_LL_LEGACY_TX_FLOW_CONTROL */ |
| 6810 | |
| 6811 | #ifdef QCA_LL_TX_FLOW_CONTROL_V2 |
| 6812 | |
Poddar, Siddarth | cc250aa | 2016-12-05 19:21:03 +0530 | [diff] [blame] | 6813 | /* |
| 6814 | * <ini> |
| 6815 | * TxFlowStopQueueThreshold - Stop queue Threshold to pause |
| 6816 | * Netif queues when it reaches |
| 6817 | * @Min: 0 |
| 6818 | * @Max: 50 |
| 6819 | * @Default: 15 |
| 6820 | * |
| 6821 | * This ini specifies the threshold of data packets transmitted |
| 6822 | * before pausing netif queues. |
| 6823 | * |
| 6824 | * Related: TxFlowStartQueueOffset |
| 6825 | * |
| 6826 | * Supported Feature: Dynamic Flow Control |
| 6827 | * |
| 6828 | * Usage: Internal |
| 6829 | * |
| 6830 | * </ini> |
| 6831 | */ |
| 6832 | #define CFG_LL_TX_FLOW_STOP_QUEUE_TH "TxFlowStopQueueThreshold" |
| 6833 | #define CFG_LL_TX_FLOW_STOP_QUEUE_TH_DEFAULT (15) |
| 6834 | #define CFG_LL_TX_FLOW_STOP_QUEUE_TH_MIN (0) |
| 6835 | #define CFG_LL_TX_FLOW_STOP_QUEUE_TH_MAX (50) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6836 | |
Poddar, Siddarth | cc250aa | 2016-12-05 19:21:03 +0530 | [diff] [blame] | 6837 | /* |
| 6838 | * <ini> |
| 6839 | * TxFlowStartQueueOffset - Start queue offset to unpause |
| 6840 | * Netif queues |
| 6841 | * @Min: 0 |
| 6842 | * @Max: 30 |
| 6843 | * @Default: 11 |
| 6844 | * |
| 6845 | * This ini specifies the offset to upause the netif queues |
| 6846 | * when they are paused due to insufficient descriptors as guided by |
| 6847 | * ini TxFlowStopQueueThreshold. |
| 6848 | * |
| 6849 | * Related: TxFlowStopQueueThreshold |
| 6850 | * |
| 6851 | * Supported Feature: Dynamic Flow Control |
| 6852 | * |
| 6853 | * Usage: Internal |
| 6854 | * |
| 6855 | * </ini> |
| 6856 | */ |
| 6857 | #define CFG_LL_TX_FLOW_START_QUEUE_OFFSET "TxFlowStartQueueOffset" |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6858 | #define CFG_LL_TX_FLOW_START_QUEUE_OFFSET_DEFAULT (10) |
Poddar, Siddarth | cc250aa | 2016-12-05 19:21:03 +0530 | [diff] [blame] | 6859 | #define CFG_LL_TX_FLOW_START_QUEUE_OFFSET_MIN (0) |
| 6860 | #define CFG_LL_TX_FLOW_START_QUEUE_OFFSET_MAX (30) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6861 | |
| 6862 | #endif /* QCA_LL_TX_FLOW_CONTROL_V2 */ |
| 6863 | |
| 6864 | #define CFG_SAP_MAX_OFFLOAD_PEERS "gMaxOffloadPeers" |
| 6865 | #define CFG_SAP_MAX_OFFLOAD_PEERS_MIN (2) |
| 6866 | #define CFG_SAP_MAX_OFFLOAD_PEERS_MAX (5) |
| 6867 | #define CFG_SAP_MAX_OFFLOAD_PEERS_DEFAULT (2) |
| 6868 | |
| 6869 | #define CFG_SAP_MAX_OFFLOAD_REORDER_BUFFS "gMaxOffloadReorderBuffs" |
| 6870 | #define CFG_SAP_MAX_OFFLOAD_REORDER_BUFFS_MIN (0) |
| 6871 | #define CFG_SAP_MAX_OFFLOAD_REORDER_BUFFS_MAX (3) |
| 6872 | #define CFG_SAP_MAX_OFFLOAD_REORDER_BUFFS_DEFAULT (2) |
| 6873 | |
| 6874 | #ifdef FEATURE_WLAN_RA_FILTERING |
| 6875 | #define CFG_RA_FILTER_ENABLE_NAME "gRAFilterEnable" |
| 6876 | #define CFG_RA_FILTER_ENABLE_MIN (0) |
| 6877 | #define CFG_RA_FILTER_ENABLE_MAX (1) |
Dustin Brown | 87c4428 | 2016-10-06 10:17:13 -0700 | [diff] [blame] | 6878 | #define CFG_RA_FILTER_ENABLE_DEFAULT (1) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6879 | |
| 6880 | #define CFG_RA_RATE_LIMIT_INTERVAL_NAME "gRArateLimitInterval" |
| 6881 | #define CFG_RA_RATE_LIMIT_INTERVAL_MIN (60) |
| 6882 | #define CFG_RA_RATE_LIMIT_INTERVAL_MAX (3600) |
| 6883 | #define CFG_RA_RATE_LIMIT_INTERVAL_DEFAULT (60) /*60 SEC */ |
| 6884 | #endif |
| 6885 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 6886 | /* |
| 6887 | * <ini> |
| 6888 | * gIgnorePeerErpInfo - Used for ignore peer infrormation |
| 6889 | * @Min: 0 |
| 6890 | * @Max: 1 |
| 6891 | * @Default: 0 |
| 6892 | * |
| 6893 | * This ini is used to ignore default peer info |
| 6894 | * |
| 6895 | * Related: None |
| 6896 | * |
| 6897 | * Supported Feature: STA |
| 6898 | * |
| 6899 | * Usage: Internal/External |
| 6900 | * |
| 6901 | * </ini> |
| 6902 | */ |
| 6903 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6904 | #define CFG_IGNORE_PEER_ERP_INFO_NAME "gIgnorePeerErpInfo" |
| 6905 | #define CFG_IGNORE_PEER_ERP_INFO_MIN (0) |
| 6906 | #define CFG_IGNORE_PEER_ERP_INFO_MAX (1) |
| 6907 | #define CFG_IGNORE_PEER_ERP_INFO_DEFAULT (0) |
| 6908 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 6909 | /* |
| 6910 | * <ini> |
| 6911 | * gEnableMemoryDebug - Enables the memory debug |
| 6912 | * @Min: 0 |
| 6913 | * @Max: 1 |
| 6914 | * @Default: 1 |
| 6915 | * |
| 6916 | * This ini is used to enable default memory debug |
| 6917 | * |
| 6918 | * Related: None |
| 6919 | * |
| 6920 | * Supported Feature: STA |
| 6921 | * |
| 6922 | * Usage: Internal/External |
| 6923 | * |
| 6924 | * </ini> |
| 6925 | */ |
| 6926 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6927 | #ifdef MEMORY_DEBUG |
| 6928 | #define CFG_ENABLE_MEMORY_DEBUG_NAME "gEnableMemoryDebug" |
| 6929 | #define CFG_ENABLE_MEMORY_DEBUG_MIN (0) |
| 6930 | #define CFG_ENABLE_MEMORY_DEBUG_MAX (1) |
| 6931 | #define CFG_ENABLE_MEMORY_DEBUG_DEFAULT (1) |
| 6932 | #endif |
| 6933 | |
Ravi Kumar Bokka | 05c14e5 | 2017-03-27 14:48:23 +0530 | [diff] [blame] | 6934 | /* |
| 6935 | * <ini> |
| 6936 | * g_auto_detect_power_failure_mode - auto detect power save failure mode |
Hanumanth Reddy Pothula | ab39595 | 2017-09-05 19:12:26 +0530 | [diff] [blame] | 6937 | * @Min: PMO_FW_TO_CRASH_ON_PWR_FAILURE |
| 6938 | * @Max: PMO_AUTO_PWR_FAILURE_DETECT_DISABLE |
| 6939 | * @Default: PMO_FW_TO_CRASH_ON_PWR_FAILURE |
Ravi Kumar Bokka | 05c14e5 | 2017-03-27 14:48:23 +0530 | [diff] [blame] | 6940 | * |
| 6941 | * This ini specifies the behavior of FW in case of |
| 6942 | * CHIP_POWER_SAVE_FAIL_DETECTED event |
| 6943 | * |
| 6944 | * Usage: External |
| 6945 | * |
| 6946 | * </ini> |
| 6947 | */ |
Hanumanth Reddy Pothula | ab39595 | 2017-09-05 19:12:26 +0530 | [diff] [blame] | 6948 | #define CFG_AUTO_DETECT_POWER_FAIL_MODE_NAME "g_auto_detect_power_failure_mode" |
| 6949 | #define CFG_AUTO_DETECT_POWER_FAIL_MODE_DEFAULT (PMO_FW_TO_CRASH_ON_PWR_FAILURE) |
| 6950 | #define CFG_AUTO_DETECT_POWER_FAIL_MODE_MIN (PMO_FW_TO_CRASH_ON_PWR_FAILURE) |
| 6951 | #define CFG_AUTO_DETECT_POWER_FAIL_MODE_MAX \ |
| 6952 | (PMO_AUTO_PWR_FAILURE_DETECT_DISABLE) |
Deepak Dhamdhere | 612392c | 2016-08-28 02:56:51 -0700 | [diff] [blame] | 6953 | /* |
| 6954 | * <ini> |
| 6955 | * gMaxAmsduNum - Max number of MSDU's in aggregate |
| 6956 | * @Min: 0 |
| 6957 | * @Max: 3 |
| 6958 | * @Default: 1 |
| 6959 | * gMaxAmsduNum is the number of MSDU's transmitted in the 11n aggregate |
| 6960 | * frame. Setting it to a value larger than 1 enables transmit aggregation. |
| 6961 | * It is a PHY parameter that applies to all vdev's in firmware. |
| 6962 | * |
| 6963 | * Supported Feature: 11n aggregation |
| 6964 | * |
| 6965 | * Usage: Internal |
| 6966 | * |
| 6967 | * </ini> |
| 6968 | */ |
| 6969 | #define CFG_MAX_AMSDU_NUM_NAME "gMaxAmsduNum" |
| 6970 | #define CFG_MAX_AMSDU_NUM_MIN (0) |
| 6971 | #define CFG_MAX_AMSDU_NUM_MAX (3) |
| 6972 | #define CFG_MAX_AMSDU_NUM_DEFAULT (1) |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 6973 | |
| 6974 | /* |
| 6975 | * <ini> |
| 6976 | * gInitialDwellTime - Used to set initial dwell time |
| 6977 | * @Min: 0 |
| 6978 | * @Max: 0 |
| 6979 | * @Default: 100 |
| 6980 | * |
| 6981 | * This ini is used to set default initial dwell time |
| 6982 | * |
| 6983 | * Related: None |
| 6984 | * |
| 6985 | * Supported Feature: STA |
| 6986 | * |
| 6987 | * Usage: Internal/External |
| 6988 | * |
| 6989 | * </ini> |
| 6990 | */ |
| 6991 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 6992 | #define CFG_INITIAL_DWELL_TIME_NAME "gInitialDwellTime" |
| 6993 | #define CFG_INITIAL_DWELL_TIME_DEFAULT (0) |
| 6994 | #define CFG_INITIAL_DWELL_TIME_MIN (0) |
| 6995 | #define CFG_INITIAL_DWELL_TIME_MAX (100) |
| 6996 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 6997 | /* |
| 6998 | * <ini> |
| 6999 | * gInitialScanNoDFSChnl - WLAN skips scanning the DFS channels |
| 7000 | * @Min: 0 |
| 7001 | * @Max: 0 |
| 7002 | * @Default: 1 |
| 7003 | * |
| 7004 | * This ini is used to set for the first scan after driver |
| 7005 | * |
| 7006 | * Related: None |
| 7007 | * |
| 7008 | * Supported Feature: STA |
| 7009 | * |
| 7010 | * Usage: Internal/External |
| 7011 | * |
| 7012 | * </ini> |
| 7013 | */ |
| 7014 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7015 | #define CFG_INITIAL_SCAN_NO_DFS_CHNL_NAME "gInitialScanNoDFSChnl" |
| 7016 | #define CFG_INITIAL_SCAN_NO_DFS_CHNL_DEFAULT (0) |
| 7017 | #define CFG_INITIAL_SCAN_NO_DFS_CHNL_MIN (0) |
| 7018 | #define CFG_INITIAL_SCAN_NO_DFS_CHNL_MAX (1) |
| 7019 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 7020 | /* |
| 7021 | * <ini> |
| 7022 | * gAllowDFSChannelRoam - Allow dfs channel in roam |
| 7023 | * @Min: 0 |
| 7024 | * @Max: 1 |
| 7025 | * @Default: 2 |
| 7026 | * |
| 7027 | * This ini is used to set default dfs channel |
| 7028 | * |
| 7029 | * Related: None |
| 7030 | * |
| 7031 | * Supported Feature: STA |
| 7032 | * |
| 7033 | * Usage: Internal/External |
| 7034 | * |
| 7035 | * </ini> |
| 7036 | */ |
| 7037 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7038 | #define CFG_ROAMING_DFS_CHANNEL_NAME "gAllowDFSChannelRoam" |
| 7039 | #define CFG_ROAMING_DFS_CHANNEL_DISABLED (0) |
| 7040 | #define CFG_ROAMING_DFS_CHANNEL_ENABLED_NORMAL (1) |
| 7041 | #define CFG_ROAMING_DFS_CHANNEL_ENABLED_ACTIVE (2) |
| 7042 | #define CFG_ROAMING_DFS_CHANNEL_MIN (CFG_ROAMING_DFS_CHANNEL_DISABLED) |
| 7043 | #define CFG_ROAMING_DFS_CHANNEL_MAX (CFG_ROAMING_DFS_CHANNEL_ENABLED_ACTIVE) |
| 7044 | #define CFG_ROAMING_DFS_CHANNEL_DEFAULT (CFG_ROAMING_DFS_CHANNEL_DISABLED) |
| 7045 | |
| 7046 | #ifdef MSM_PLATFORM |
| 7047 | #define CFG_BUS_BANDWIDTH_HIGH_THRESHOLD "gBusBandwidthHighThreshold" |
| 7048 | #define CFG_BUS_BANDWIDTH_HIGH_THRESHOLD_DEFAULT (2000) |
| 7049 | #define CFG_BUS_BANDWIDTH_HIGH_THRESHOLD_MIN (0) |
| 7050 | #define CFG_BUS_BANDWIDTH_HIGH_THRESHOLD_MAX (4294967295UL) |
| 7051 | |
| 7052 | #define CFG_BUS_BANDWIDTH_MEDIUM_THRESHOLD "gBusBandwidthMediumThreshold" |
| 7053 | #define CFG_BUS_BANDWIDTH_MEDIUM_THRESHOLD_DEFAULT (500) |
| 7054 | #define CFG_BUS_BANDWIDTH_MEDIUM_THRESHOLD_MIN (0) |
| 7055 | #define CFG_BUS_BANDWIDTH_MEDIUM_THRESHOLD_MAX (4294967295UL) |
| 7056 | |
| 7057 | #define CFG_BUS_BANDWIDTH_LOW_THRESHOLD "gBusBandwidthLowThreshold" |
| 7058 | #define CFG_BUS_BANDWIDTH_LOW_THRESHOLD_DEFAULT (150) |
| 7059 | #define CFG_BUS_BANDWIDTH_LOW_THRESHOLD_MIN (0) |
| 7060 | #define CFG_BUS_BANDWIDTH_LOW_THRESHOLD_MAX (4294967295UL) |
| 7061 | |
| 7062 | #define CFG_BUS_BANDWIDTH_COMPUTE_INTERVAL "gBusBandwidthComputeInterval" |
| 7063 | #define CFG_BUS_BANDWIDTH_COMPUTE_INTERVAL_DEFAULT (100) |
| 7064 | #define CFG_BUS_BANDWIDTH_COMPUTE_INTERVAL_MIN (0) |
| 7065 | #define CFG_BUS_BANDWIDTH_COMPUTE_INTERVAL_MAX (10000) |
Prakash Manjunathappa | e73e3b5 | 2018-02-27 18:56:22 -0800 | [diff] [blame] | 7066 | |
| 7067 | /* |
| 7068 | * <ini> |
| 7069 | * gEnableTcpLimitOutput - Control to enable TCP limit output byte |
| 7070 | * @Min: 0 |
| 7071 | * @Max: 1 |
| 7072 | * @Default: 1 |
| 7073 | * |
| 7074 | * This ini is used to enable dynamic configuration of TCP limit output bytes |
| 7075 | * tcp_limit_output_bytes param. Enabling this will let driver post message to |
| 7076 | * cnss-daemon, accordingly cnss-daemon will modify the tcp_limit_output_bytes. |
| 7077 | * |
| 7078 | * Supported Feature: Tcp limit output bytes |
| 7079 | * |
| 7080 | * Usage: Internal |
| 7081 | * |
| 7082 | * </ini> |
| 7083 | */ |
| 7084 | #define CFG_ENABLE_TCP_LIMIT_OUTPUT "gTcpLimitOutputEnable" |
| 7085 | #define CFG_ENABLE_TCP_LIMIT_OUTPUT_DEFAULT (1) |
| 7086 | #define CFG_ENABLE_TCP_LIMIT_OUTPUT_MIN (0) |
| 7087 | #define CFG_ENABLE_TCP_LIMIT_OUTPUT_MAX (1) |
| 7088 | |
Mohit Khanna | 6272fb68 | 2017-04-13 09:34:36 -0700 | [diff] [blame] | 7089 | /* |
| 7090 | * <ini> |
| 7091 | * gTcpAdvWinScaleEnable - Control to enable TCP adv window scaling |
| 7092 | * @Min: -0 |
| 7093 | * @Max: 1 |
| 7094 | * @Default: 1 |
| 7095 | * |
| 7096 | * This ini is used to enable dynamic configuration of TCP adv window scaling system parameter. |
| 7097 | * |
| 7098 | * Supported Feature: Tcp Advance Window Scaling |
| 7099 | * |
| 7100 | * Usage: Internal |
| 7101 | * |
| 7102 | * </ini> |
| 7103 | */ |
| 7104 | #define CFG_ENABLE_TCP_ADV_WIN_SCALE "gTcpAdvWinScaleEnable" |
| 7105 | #define CFG_ENABLE_TCP_ADV_WIN_SCALE_DEFAULT (1) |
| 7106 | #define CFG_ENABLE_TCP_ADV_WIN_SCALE_MIN (0) |
| 7107 | #define CFG_ENABLE_TCP_ADV_WIN_SCALE_MAX (1) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7108 | |
Ravi Joshi | e2331e8 | 2015-07-01 18:18:54 -0700 | [diff] [blame] | 7109 | /* |
Poddar, Siddarth | cc250aa | 2016-12-05 19:21:03 +0530 | [diff] [blame] | 7110 | * <ini> |
| 7111 | * gTcpDelAckEnable - Control to enable Dynamic Configuration of Tcp Delayed Ack |
| 7112 | * @Min: 0 |
| 7113 | * @Max: 1 |
| 7114 | * @Default: 1 |
| 7115 | * |
| 7116 | * This ini is used to enable Dynamic Configuration of Tcp Delayed Ack |
| 7117 | * |
| 7118 | * Related: gTcpDelAckThresholdHigh, gTcpDelAckThresholdLow, |
| 7119 | * gTcpDelAckTimerCount |
| 7120 | * |
| 7121 | * Supported Feature: Tcp Delayed Ack |
| 7122 | * |
| 7123 | * Usage: Internal |
| 7124 | * |
| 7125 | * </ini> |
Ravi Joshi | e2331e8 | 2015-07-01 18:18:54 -0700 | [diff] [blame] | 7126 | */ |
| 7127 | #define CFG_ENABLE_TCP_DELACK "gTcpDelAckEnable" |
| 7128 | #define CFG_ENABLE_TCP_DELACK_DEFAULT (1) |
| 7129 | #define CFG_ENABLE_TCP_DELACK_MIN (0) |
| 7130 | #define CFG_ENABLE_TCP_DELACK_MAX (1) |
| 7131 | |
Poddar, Siddarth | cc250aa | 2016-12-05 19:21:03 +0530 | [diff] [blame] | 7132 | |
| 7133 | /* |
| 7134 | * <ini> |
| 7135 | * gTcpDelAckThresholdHigh - High Threshold inorder to trigger TCP Del Ack |
| 7136 | * indication |
| 7137 | * @Min: 0 |
| 7138 | * @Max: 16000 |
| 7139 | * @Default: 500 |
| 7140 | * |
| 7141 | * This ini is used to mention the High Threshold inorder to trigger TCP Del Ack |
| 7142 | * indication i.e the threshold of packets received over a period of 100 ms. |
| 7143 | * i.e to have a low RX throughput requirement |
| 7144 | * Related: gTcpDelAckEnable, gTcpDelAckThresholdLow, gTcpDelAckTimerCount |
| 7145 | * |
| 7146 | * Supported Feature: Tcp Delayed Ack |
| 7147 | * |
| 7148 | * Usage: Internal |
| 7149 | * |
| 7150 | * </ini> |
| 7151 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7152 | #define CFG_TCP_DELACK_THRESHOLD_HIGH "gTcpDelAckThresholdHigh" |
| 7153 | #define CFG_TCP_DELACK_THRESHOLD_HIGH_DEFAULT (500) |
| 7154 | #define CFG_TCP_DELACK_THRESHOLD_HIGH_MIN (0) |
| 7155 | #define CFG_TCP_DELACK_THRESHOLD_HIGH_MAX (16000) |
| 7156 | |
Poddar, Siddarth | cc250aa | 2016-12-05 19:21:03 +0530 | [diff] [blame] | 7157 | /* |
| 7158 | * <ini> |
| 7159 | * gTcpDelAckThresholdLow - Low Threshold inorder to trigger TCP Del Ack |
| 7160 | * indication |
| 7161 | * @Min: 0 |
| 7162 | * @Max: 10000 |
| 7163 | * @Default: 1000 |
| 7164 | * |
| 7165 | * This ini is used to mention the Low Threshold inorder to trigger TCP Del Ack |
| 7166 | * indication i.e the threshold of packets received over a period of 100 ms. |
| 7167 | * i.e to have a low RX throughput requirement |
| 7168 | * |
| 7169 | * Related: gTcpDelAckEnable, gTcpDelAckThresholdHigh, gTcpDelAckTimerCount |
| 7170 | * |
| 7171 | * Supported Feature: Tcp Delayed Ack |
| 7172 | * |
| 7173 | * Usage: Internal |
| 7174 | * |
| 7175 | * </ini> |
| 7176 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7177 | #define CFG_TCP_DELACK_THRESHOLD_LOW "gTcpDelAckThresholdLow" |
| 7178 | #define CFG_TCP_DELACK_THRESHOLD_LOW_DEFAULT (1000) |
| 7179 | #define CFG_TCP_DELACK_THRESHOLD_LOW_MIN (0) |
| 7180 | #define CFG_TCP_DELACK_THRESHOLD_LOW_MAX (10000) |
Mohit Khanna | e71e226 | 2015-11-10 09:37:24 -0800 | [diff] [blame] | 7181 | |
Poddar, Siddarth | cc250aa | 2016-12-05 19:21:03 +0530 | [diff] [blame] | 7182 | /* |
| 7183 | * <ini> |
| 7184 | * gTcpDelAckTimerCount - Del Ack Timer Count inorder to trigger TCP Del Ack |
| 7185 | * indication |
| 7186 | * @Min: 1 |
| 7187 | * @Max: 1000 |
| 7188 | * @Default: 30 |
| 7189 | * |
| 7190 | * This ini is used to mention the Del Ack Timer Count inorder to |
| 7191 | * trigger TCP Del Ack indication i.e number of 100 ms periods |
| 7192 | * |
| 7193 | * Related: gTcpDelAckEnable, gTcpDelAckThresholdHigh, gTcpDelAckThresholdLow |
| 7194 | * |
| 7195 | * Supported Feature: Tcp Delayed Ack |
| 7196 | * |
| 7197 | * Usage: Internal |
| 7198 | * |
| 7199 | * </ini> |
| 7200 | */ |
Ravi Joshi | b89e7f7 | 2016-09-07 13:43:15 -0700 | [diff] [blame] | 7201 | #define CFG_TCP_DELACK_TIMER_COUNT "gTcpDelAckTimerCount" |
| 7202 | #define CFG_TCP_DELACK_TIMER_COUNT_DEFAULT (30) |
| 7203 | #define CFG_TCP_DELACK_TIMER_COUNT_MIN (1) |
| 7204 | #define CFG_TCP_DELACK_TIMER_COUNT_MAX (1000) |
| 7205 | |
| 7206 | |
Poddar, Siddarth | cc250aa | 2016-12-05 19:21:03 +0530 | [diff] [blame] | 7207 | /* |
| 7208 | * <ini> |
| 7209 | * gTcpTxHighTputThreshold - High Threshold inorder to trigger High |
| 7210 | * Tx Throughput requirement. |
| 7211 | * @Min: 0 |
| 7212 | * @Max: 16000 |
| 7213 | * @Default: 500 |
| 7214 | * |
| 7215 | * This ini specifies the threshold of packets transmitted |
Mohit Khanna | e71e226 | 2015-11-10 09:37:24 -0800 | [diff] [blame] | 7216 | * over a period of 100 ms beyond which TCP can be considered to have a high |
| 7217 | * TX throughput requirement. The driver uses this condition to tweak TCP TX |
Poddar, Siddarth | cc250aa | 2016-12-05 19:21:03 +0530 | [diff] [blame] | 7218 | * specific parameters (via cnss-daemon) |
| 7219 | * |
| 7220 | * Supported Feature: To tweak TCP TX n/w parameters |
| 7221 | * |
| 7222 | * Usage: Internal |
| 7223 | * |
| 7224 | * </ini> |
Mohit Khanna | e71e226 | 2015-11-10 09:37:24 -0800 | [diff] [blame] | 7225 | */ |
| 7226 | #define CFG_TCP_TX_HIGH_TPUT_THRESHOLD_NAME "gTcpTxHighTputThreshold" |
| 7227 | #define CFG_TCP_TX_HIGH_TPUT_THRESHOLD_DEFAULT (500) |
| 7228 | #define CFG_TCP_TX_HIGH_TPUT_THRESHOLD_MIN (0) |
| 7229 | #define CFG_TCP_TX_HIGH_TPUT_THRESHOLD_MAX (16000) |
| 7230 | |
Mohit Khanna | ca4173b | 2017-09-12 21:52:19 -0700 | [diff] [blame] | 7231 | /* |
| 7232 | * <ini> |
| 7233 | * periodic_stats_display_time - time(seconds) after which stats will be printed |
| 7234 | * @Min: 0 |
| 7235 | * @Max: 256 |
| 7236 | * @Default: 10 |
| 7237 | * |
| 7238 | * This values specifies the recurring time period after which stats will be |
| 7239 | * printed in wlan driver logs. |
| 7240 | * |
| 7241 | * Usage: Internal / External |
| 7242 | * |
| 7243 | * </ini> |
| 7244 | */ |
| 7245 | #define CFG_PERIODIC_STATS_DISPLAY_TIME_NAME "periodic_stats_display_time" |
| 7246 | #define CFG_PERIODIC_STATS_DISPLAY_TIME_DEFAULT (10) |
| 7247 | #define CFG_PERIODIC_STATS_DISPLAY_TIME_MIN (0) |
| 7248 | #define CFG_PERIODIC_STATS_DISPLAY_TIME_MAX (256) |
| 7249 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7250 | #endif /* MSM_PLATFORM */ |
| 7251 | |
| 7252 | #ifdef WLAN_FEATURE_11W |
Abhishek Singh | 2f81049 | 2016-12-01 11:39:39 +0530 | [diff] [blame] | 7253 | /* |
| 7254 | * <ini> |
| 7255 | * pmfSaQueryMaxRetries - Control PMF SA query retries for SAP |
| 7256 | * @Min: 0 |
| 7257 | * @Max: 20 |
| 7258 | * @Default: 5 |
| 7259 | * |
| 7260 | * This ini to set the number of PMF SA query retries for SAP |
| 7261 | * |
| 7262 | * Related: None. |
| 7263 | * |
| 7264 | * Supported Feature: PMF(11W) |
| 7265 | * |
| 7266 | * Usage: Internal/External |
| 7267 | * |
| 7268 | * </ini> |
| 7269 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7270 | #define CFG_PMF_SA_QUERY_MAX_RETRIES_NAME "pmfSaQueryMaxRetries" |
| 7271 | #define CFG_PMF_SA_QUERY_MAX_RETRIES_DEFAULT (5) |
| 7272 | #define CFG_PMF_SA_QUERY_MAX_RETRIES_MIN (0) |
| 7273 | #define CFG_PMF_SA_QUERY_MAX_RETRIES_MAX (20) |
| 7274 | |
Abhishek Singh | 2f81049 | 2016-12-01 11:39:39 +0530 | [diff] [blame] | 7275 | /* |
| 7276 | * <ini> |
| 7277 | * pmfSaQueryRetryInterval - Control PMF SA query retry interval |
| 7278 | * for SAP in ms |
| 7279 | * @Min: 0 |
| 7280 | * @Max: 2000 |
| 7281 | * @Default: 200 |
| 7282 | * |
| 7283 | * This ini to set the PMF SA query retry interval for SAP in ms |
| 7284 | * |
| 7285 | * Related: None. |
| 7286 | * |
| 7287 | * Supported Feature: PMF(11W) |
| 7288 | * |
| 7289 | * Usage: Internal/External |
| 7290 | * |
| 7291 | * </ini> |
| 7292 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7293 | #define CFG_PMF_SA_QUERY_RETRY_INTERVAL_NAME "pmfSaQueryRetryInterval" |
| 7294 | #define CFG_PMF_SA_QUERY_RETRY_INTERVAL_DEFAULT (200) |
| 7295 | #define CFG_PMF_SA_QUERY_RETRY_INTERVAL_MIN (0) |
| 7296 | #define CFG_PMF_SA_QUERY_RETRY_INTERVAL_MAX (2000) |
| 7297 | #endif |
| 7298 | |
Nitesh Shah | 03161d1 | 2016-12-06 18:30:12 +0530 | [diff] [blame] | 7299 | /* |
| 7300 | * <ini> |
| 7301 | * gMaxConcurrentActiveSessions - Maximum number of concurrent connections. |
| 7302 | * @Min: 1 |
| 7303 | * @Max: 4 |
| 7304 | * @Default: 3 |
| 7305 | * |
| 7306 | * This ini is used to configure the maximum number of concurrent connections. |
| 7307 | * |
| 7308 | * Related: None. |
| 7309 | * |
| 7310 | * Supported Feature: Concurrency |
| 7311 | * |
| 7312 | * Usage: Internal/External |
| 7313 | * |
| 7314 | * </ini> |
| 7315 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7316 | #define CFG_MAX_CONCURRENT_CONNECTIONS_NAME "gMaxConcurrentActiveSessions" |
Tushnim Bhattacharyya | e67bfc7 | 2016-01-27 11:47:37 -0800 | [diff] [blame] | 7317 | #define CFG_MAX_CONCURRENT_CONNECTIONS_DEFAULT (3) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7318 | #define CFG_MAX_CONCURRENT_CONNECTIONS_MIN (1) |
| 7319 | #define CFG_MAX_CONCURRENT_CONNECTIONS_MAX (4) |
| 7320 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 7321 | /* |
| 7322 | * <ini> |
| 7323 | * gIgnoreCAC - Used to ignore CAC |
| 7324 | * @Min: 0 |
| 7325 | * @Max: 1 |
| 7326 | * @Default: 0 |
| 7327 | * |
| 7328 | * This ini is used to set default CAC |
| 7329 | * |
| 7330 | * Related: None |
| 7331 | * |
| 7332 | * Supported Feature: STA |
| 7333 | * |
| 7334 | * Usage: Internal/External |
| 7335 | * |
| 7336 | * </ini> |
| 7337 | */ |
| 7338 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7339 | #define CFG_IGNORE_CAC_NAME "gIgnoreCAC" |
| 7340 | #define CFG_IGNORE_CAC_MIN (0) |
| 7341 | #define CFG_IGNORE_CAC_MAX (1) |
| 7342 | #define CFG_IGNORE_CAC_DEFAULT (0) |
| 7343 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7344 | #define CFG_DFS_RADAR_PRI_MULTIPLIER_NAME "gDFSradarMappingPriMultiplier" |
| 7345 | #define CFG_DFS_RADAR_PRI_MULTIPLIER_DEFAULT (4) |
| 7346 | #define CFG_DFS_RADAR_PRI_MULTIPLIER_MIN (0) |
| 7347 | #define CFG_DFS_RADAR_PRI_MULTIPLIER_MAX (10) |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 7348 | |
| 7349 | /* |
| 7350 | * <ini> |
| 7351 | * gReorderOffloadSupported - Packet reordering offload to firmware |
| 7352 | * @Min: 0 |
| 7353 | * @Max: 1 |
| 7354 | * @Default: 0 |
| 7355 | * |
| 7356 | * This ini is used to set default Packet reordering |
| 7357 | * |
| 7358 | * Related: None |
| 7359 | * |
| 7360 | * Supported Feature: STA |
| 7361 | * |
| 7362 | * Usage: Internal/External |
| 7363 | * |
| 7364 | * </ini> |
| 7365 | */ |
| 7366 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7367 | #define CFG_REORDER_OFFLOAD_SUPPORT_NAME "gReorderOffloadSupported" |
| 7368 | #define CFG_REORDER_OFFLOAD_SUPPORT_MIN (0) |
| 7369 | #define CFG_REORDER_OFFLOAD_SUPPORT_MAX (1) |
Kiran Kumar Lokere | 52d8dc3 | 2016-12-05 19:20:40 -0800 | [diff] [blame] | 7370 | #define CFG_REORDER_OFFLOAD_SUPPORT_DEFAULT (1) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7371 | |
Yun Park | de38078 | 2016-08-17 16:26:54 -0700 | [diff] [blame] | 7372 | /* IpaUcTxBufCount should be power of 2 */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7373 | #define CFG_IPA_UC_TX_BUF_COUNT_NAME "IpaUcTxBufCount" |
| 7374 | #define CFG_IPA_UC_TX_BUF_COUNT_MIN (0) |
| 7375 | #define CFG_IPA_UC_TX_BUF_COUNT_MAX (2048) |
| 7376 | #define CFG_IPA_UC_TX_BUF_COUNT_DEFAULT (512) |
| 7377 | |
| 7378 | #define CFG_IPA_UC_TX_BUF_SIZE_NAME "IpaUcTxBufSize" |
| 7379 | #define CFG_IPA_UC_TX_BUF_SIZE_MIN (0) |
| 7380 | #define CFG_IPA_UC_TX_BUF_SIZE_MAX (4096) |
| 7381 | #define CFG_IPA_UC_TX_BUF_SIZE_DEFAULT (2048) |
| 7382 | |
Yun Park | de38078 | 2016-08-17 16:26:54 -0700 | [diff] [blame] | 7383 | /* IpaUcRxIndRingCount should be power of 2 */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7384 | #define CFG_IPA_UC_RX_IND_RING_COUNT_NAME "IpaUcRxIndRingCount" |
| 7385 | #define CFG_IPA_UC_RX_IND_RING_COUNT_MIN (0) |
| 7386 | #define CFG_IPA_UC_RX_IND_RING_COUNT_MAX (2048) |
| 7387 | #define CFG_IPA_UC_RX_IND_RING_COUNT_DEFAULT (1024) |
| 7388 | |
| 7389 | #define CFG_IPA_UC_TX_PARTITION_BASE_NAME "IpaUcTxPartitionBase" |
| 7390 | #define CFG_IPA_UC_TX_PARTITION_BASE_MIN (0) |
| 7391 | #define CFG_IPA_UC_TX_PARTITION_BASE_MAX (9000) |
| 7392 | #define CFG_IPA_UC_TX_PARTITION_BASE_DEFAULT (3000) |
| 7393 | |
| 7394 | #ifdef WLAN_LOGGING_SOCK_SVC_ENABLE |
| 7395 | /* Enable WLAN Logging to app space */ |
| 7396 | #define CFG_WLAN_LOGGING_SUPPORT_NAME "wlanLoggingEnable" |
| 7397 | #define CFG_WLAN_LOGGING_SUPPORT_ENABLE (1) |
| 7398 | #define CFG_WLAN_LOGGING_SUPPORT_DISABLE (0) |
| 7399 | #define CFG_WLAN_LOGGING_SUPPORT_DEFAULT (1) |
| 7400 | |
Srinivas Girigowda | 8187e79 | 2017-03-03 11:50:59 -0800 | [diff] [blame] | 7401 | /* Enable forwarding the driver logs to kmsg console */ |
| 7402 | #define CFG_WLAN_LOGGING_CONSOLE_SUPPORT_NAME "wlanLoggingToConsole" |
| 7403 | #define CFG_WLAN_LOGGING_CONSOLE_SUPPORT_ENABLE (1) |
| 7404 | #define CFG_WLAN_LOGGING_CONSOLE_SUPPORT_DISABLE (0) |
| 7405 | #define CFG_WLAN_LOGGING_CONSOLE_SUPPORT_DEFAULT (1) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7406 | #endif /* WLAN_LOGGING_SOCK_SVC_ENABLE */ |
| 7407 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7408 | #ifdef WLAN_FEATURE_LPSS |
| 7409 | #define CFG_ENABLE_LPASS_SUPPORT "gEnableLpassSupport" |
| 7410 | #define CFG_ENABLE_LPASS_SUPPORT_DEFAULT (0) |
| 7411 | #define CFG_ENABLE_LPASS_SUPPORT_MIN (0) |
| 7412 | #define CFG_ENABLE_LPASS_SUPPORT_MAX (1) |
| 7413 | #endif |
| 7414 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7415 | #define CFG_ENABLE_SELF_RECOVERY "gEnableSelfRecovery" |
| 7416 | #define CFG_ENABLE_SELF_RECOVERY_MIN (0) |
| 7417 | #define CFG_ENABLE_SELF_RECOVERY_MAX (1) |
| 7418 | #define CFG_ENABLE_SELF_RECOVERY_DEFAULT (0) |
| 7419 | |
| 7420 | #define CFG_ENABLE_SAP_SUSPEND "gEnableSapSuspend" |
| 7421 | #define CFG_ENABLE_SAP_SUSPEND_MIN (0) |
| 7422 | #define CFG_ENABLE_SAP_SUSPEND_MAX (1) |
| 7423 | #define CFG_ENABLE_SAP_SUSPEND_DEFAULT (1) |
| 7424 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 7425 | /* |
| 7426 | * <ini> |
| 7427 | * gEnableDeauthToDisassocMap - Enables deauth to disassoc map |
| 7428 | * @Min: 0 |
| 7429 | * @Max: 1 |
| 7430 | * @Default: 0 |
| 7431 | * |
| 7432 | * This ini is used to set default disassoc map |
| 7433 | * |
| 7434 | * Related: None |
| 7435 | * |
| 7436 | * Supported Feature: STA |
| 7437 | * |
| 7438 | * Usage: Internal/External |
| 7439 | * |
| 7440 | * </ini> |
| 7441 | */ |
| 7442 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7443 | #define CFG_ENABLE_DEAUTH_TO_DISASSOC_MAP_NAME "gEnableDeauthToDisassocMap" |
| 7444 | #define CFG_ENABLE_DEAUTH_TO_DISASSOC_MAP_MIN (0) |
| 7445 | #define CFG_ENABLE_DEAUTH_TO_DISASSOC_MAP_MAX (1) |
| 7446 | #define CFG_ENABLE_DEAUTH_TO_DISASSOC_MAP_DEFAULT (0) |
| 7447 | |
| 7448 | #ifdef DHCP_SERVER_OFFLOAD |
| 7449 | #define CFG_DHCP_SERVER_OFFLOAD_SUPPORT_NAME "gDHCPServerOffloadEnable" |
| 7450 | #define CFG_DHCP_SERVER_OFFLOAD_SUPPORT_MIN (0) |
| 7451 | #define CFG_DHCP_SERVER_OFFLOAD_SUPPORT_MAX (1) |
| 7452 | #define CFG_DHCP_SERVER_OFFLOAD_SUPPORT_DEFAULT (CFG_DHCP_SERVER_OFFLOAD_SUPPORT_MIN) |
| 7453 | |
| 7454 | #define CFG_DHCP_SERVER_OFFLOAD_NUM_CLIENT_NAME "gDHCPMaxNumClients" |
| 7455 | #define CFG_DHCP_SERVER_OFFLOAD_NUM_CLIENT_MIN (1) |
| 7456 | #define CFG_DHCP_SERVER_OFFLOAD_NUM_CLIENT_MAX (8) |
| 7457 | #define CFG_DHCP_SERVER_OFFLOAD_NUM_CLIENT_DEFAULT (CFG_DHCP_SERVER_OFFLOAD_NUM_CLIENT_MAX) |
| 7458 | |
| 7459 | #define CFG_DHCP_SERVER_IP_NAME "gDHCPServerIP" |
| 7460 | #define CFG_DHCP_SERVER_IP_DEFAULT "" |
| 7461 | #endif /* DHCP_SERVER_OFFLOAD */ |
| 7462 | |
| 7463 | /* |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 7464 | * <ini> |
| 7465 | * gSendDeauthBeforeCon - It will send deauth before connection |
| 7466 | * @Min: 0 |
| 7467 | * @Max: 1 |
| 7468 | * @Default: 0 |
| 7469 | * |
| 7470 | * This ini is used to set default DeauthBeforeCon |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7471 | * If last disconnection was due to HB failure and we reconnect |
| 7472 | * to same AP next time, send Deauth before starting connection |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 7473 | * |
| 7474 | * Related: None |
| 7475 | * |
| 7476 | * Supported Feature: STA |
| 7477 | * |
| 7478 | * Usage: Internal/External |
| 7479 | * |
| 7480 | * </ini> |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7481 | */ |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 7482 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7483 | #define CFG_ENABLE_DEAUTH_BEFORE_CONNECTION "gSendDeauthBeforeCon" |
| 7484 | #define CFG_ENABLE_DEAUTH_BEFORE_CONNECTION_MIN (0) |
| 7485 | #define CFG_ENABLE_DEAUTH_BEFORE_CONNECTION_MAX (1) |
| 7486 | #define CFG_ENABLE_DEAUTH_BEFORE_CONNECTION_DEFAULT (0) |
| 7487 | |
| 7488 | /* |
Nitesh Shah | 03161d1 | 2016-12-06 18:30:12 +0530 | [diff] [blame] | 7489 | * <ini> |
| 7490 | * gEnableCustomConcRule1 - Enable custom concurrency rule1. |
| 7491 | * @Min: 0 |
| 7492 | * @Max: 1 |
| 7493 | * @Default: 0 |
| 7494 | * |
| 7495 | * This ini is used to enable/disable custom concurrency rule1. |
| 7496 | * If SAP comes up first and STA comes up later then SAP needs to follow STA's |
| 7497 | * channel. |
| 7498 | * |
| 7499 | * Related: None. |
| 7500 | * |
| 7501 | * Supported Feature: Concurrency |
| 7502 | * |
| 7503 | * Usage: Internal/External |
| 7504 | * |
| 7505 | * </ini> |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7506 | */ |
| 7507 | #define CFG_ENABLE_CUSTOM_CONC_RULE1_NAME "gEnableCustomConcRule1" |
| 7508 | #define CFG_ENABLE_CUSTOM_CONC_RULE1_NAME_MIN (0) |
| 7509 | #define CFG_ENABLE_CUSTOM_CONC_RULE1_NAME_MAX (1) |
| 7510 | #define CFG_ENABLE_CUSTOM_CONC_RULE1_NAME_DEFAULT (0) |
| 7511 | |
Nitesh Shah | 03161d1 | 2016-12-06 18:30:12 +0530 | [diff] [blame] | 7512 | /* |
| 7513 | * <ini> |
| 7514 | * gEnableCustomConcRule2 - Enable custom concurrency rule2. |
| 7515 | * @Min: 0 |
| 7516 | * @Max: 1 |
| 7517 | * @Default: 0 |
| 7518 | * |
| 7519 | * This ini is used to enable/disable custom concurrency rule2. |
| 7520 | * If P2PGO comes up first and STA comes up later then P2PGO need to follow |
| 7521 | * STA's channel in 5Ghz. In following if condition we are just adding sanity |
| 7522 | * check to make sure that by this time P2PGO's channel is same as STA's |
| 7523 | * channel. |
| 7524 | * |
| 7525 | * Related: None. |
| 7526 | * |
| 7527 | * Supported Feature: Concurrency |
| 7528 | * |
| 7529 | * Usage: Internal/External |
| 7530 | * |
| 7531 | * </ini> |
| 7532 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7533 | #define CFG_ENABLE_CUSTOM_CONC_RULE2_NAME "gEnableCustomConcRule2" |
| 7534 | #define CFG_ENABLE_CUSTOM_CONC_RULE2_NAME_MIN (0) |
| 7535 | #define CFG_ENABLE_CUSTOM_CONC_RULE2_NAME_MAX (1) |
| 7536 | #define CFG_ENABLE_CUSTOM_CONC_RULE2_NAME_DEFAULT (0) |
| 7537 | |
| 7538 | #define CFG_ENABLE_STA_CONNECTION_IN_5GHZ "gEnableStaConnectionIn5Ghz" |
| 7539 | #define CFG_ENABLE_STA_CONNECTION_IN_5GHZ_MIN (0) |
| 7540 | #define CFG_ENABLE_STA_CONNECTION_IN_5GHZ_MAX (1) |
| 7541 | #define CFG_ENABLE_STA_CONNECTION_IN_5GHZ_DEFAULT (1) |
| 7542 | |
| 7543 | #define CFG_ENABLE_MAC_ADDR_SPOOFING "gEnableMacAddrSpoof" |
| 7544 | #define CFG_ENABLE_MAC_ADDR_SPOOFING_MIN (0) |
| 7545 | #define CFG_ENABLE_MAC_ADDR_SPOOFING_MAX (1) |
| 7546 | #define CFG_ENABLE_MAC_ADDR_SPOOFING_DEFAULT (1) |
| 7547 | |
Agrawal Ashish | e030f78 | 2017-01-27 17:52:05 +0530 | [diff] [blame] | 7548 | /* |
| 7549 | * <ini> |
Nitesh Shah | 03161d1 | 2016-12-06 18:30:12 +0530 | [diff] [blame] | 7550 | * gStaMiracastMccRestTimeVal - Rest time when Miracast is running. |
| 7551 | * @Min: 100 |
| 7552 | * @Max: 500 |
| 7553 | * @Default: 400 |
| 7554 | * |
| 7555 | * This ini is used to set rest time for home channel for Miracast before |
| 7556 | * going for scan. |
| 7557 | * |
| 7558 | * Related: None. |
| 7559 | * |
| 7560 | * Supported Feature: Concurrency |
| 7561 | * |
| 7562 | * Usage: Internal/External |
| 7563 | * |
| 7564 | * </ini> |
| 7565 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7566 | #define CFG_STA_MIRACAST_MCC_REST_TIME_VAL "gStaMiracastMccRestTimeVal" |
| 7567 | #define CFG_STA_MIRACAST_MCC_REST_TIME_VAL_MIN (100) |
| 7568 | #define CFG_STA_MIRACAST_MCC_REST_TIME_VAL_MAX (500) |
| 7569 | #define CFG_STA_MIRACAST_MCC_REST_TIME_VAL_DEFAULT (400) |
| 7570 | |
| 7571 | #ifdef FEATURE_AP_MCC_CH_AVOIDANCE |
Nitesh Shah | 03161d1 | 2016-12-06 18:30:12 +0530 | [diff] [blame] | 7572 | /* |
| 7573 | * <ini> |
| 7574 | * gSapChannelAvoidance - SAP MCC channel avoidance. |
| 7575 | * @Min: 0 |
| 7576 | * @Max: 1 |
| 7577 | * @Default: 0 |
| 7578 | * |
| 7579 | * This ini is used to sets sap mcc channel avoidance. |
| 7580 | * |
| 7581 | * Related: None. |
| 7582 | * |
| 7583 | * Supported Feature: Concurrency |
| 7584 | * |
| 7585 | * Usage: Internal/External |
| 7586 | * |
| 7587 | * </ini> |
| 7588 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7589 | #define CFG_SAP_MCC_CHANNEL_AVOIDANCE_NAME "gSapChannelAvoidance" |
| 7590 | #define CFG_SAP_MCC_CHANNEL_AVOIDANCE_MIN (0) |
| 7591 | #define CFG_SAP_MCC_CHANNEL_AVOIDANCE_MAX (1) |
| 7592 | #define CFG_SAP_MCC_CHANNEL_AVOIDANCE_DEFAULT (0) |
| 7593 | #endif /* FEATURE_AP_MCC_CH_AVOIDANCE */ |
| 7594 | |
Agrawal Ashish | e030f78 | 2017-01-27 17:52:05 +0530 | [diff] [blame] | 7595 | /* |
| 7596 | * <ini> |
Himanshu Agarwal | 4ecf6ca | 2018-05-09 16:48:56 +0530 | [diff] [blame] | 7597 | * gSAP11ACOverride - Override bw to 11ac for SAP in driver even if supplicant |
| 7598 | * or hostapd configures HT. |
Agrawal Ashish | e030f78 | 2017-01-27 17:52:05 +0530 | [diff] [blame] | 7599 | * @Min: 0 |
| 7600 | * @Max: 1 |
Himanshu Agarwal | 4ecf6ca | 2018-05-09 16:48:56 +0530 | [diff] [blame] | 7601 | * @Default: 0 |
Agrawal Ashish | e030f78 | 2017-01-27 17:52:05 +0530 | [diff] [blame] | 7602 | * |
Himanshu Agarwal | 4ecf6ca | 2018-05-09 16:48:56 +0530 | [diff] [blame] | 7603 | * This ini is used to enable/disable 11AC override for SAP. |
| 7604 | * Android UI does not provide advanced configuration options |
| 7605 | * for SoftAP for Android O and below. |
| 7606 | * Default override disabled for android. Can be enabled from |
| 7607 | * ini for Android O and below. |
Agrawal Ashish | e030f78 | 2017-01-27 17:52:05 +0530 | [diff] [blame] | 7608 | * |
| 7609 | * |
| 7610 | * Supported Feature: SAP |
| 7611 | * |
| 7612 | * |
| 7613 | * Usage: Internal/External |
| 7614 | * |
| 7615 | * </ini> |
| 7616 | */ |
Himanshu Agarwal | 4ecf6ca | 2018-05-09 16:48:56 +0530 | [diff] [blame] | 7617 | #define CFG_SAP_11AC_OVERRIDE_NAME "gSAP11ACOverride" |
| 7618 | #define CFG_SAP_11AC_OVERRIDE_MIN (0) |
| 7619 | #define CFG_SAP_11AC_OVERRIDE_MAX (1) |
| 7620 | #define CFG_SAP_11AC_OVERRIDE_DEFAULT (0) |
Agrawal Ashish | e030f78 | 2017-01-27 17:52:05 +0530 | [diff] [blame] | 7621 | |
Himanshu Agarwal | 4ecf6ca | 2018-05-09 16:48:56 +0530 | [diff] [blame] | 7622 | /* |
| 7623 | * <ini> |
| 7624 | * gGO11ACOverride - Override bw to 11ac for P2P GO |
| 7625 | * @Min: 0 |
| 7626 | * @Max: 1 |
| 7627 | * @Default: 1 |
| 7628 | * |
| 7629 | * This ini is used to enable/disable 11AC override for GO. |
| 7630 | * P2P GO also follows start_bss and since P2P GO could not be |
| 7631 | * configured to setup VHT channel width in wpa_supplicant, driver |
| 7632 | * can override 11AC. |
| 7633 | * |
| 7634 | * |
| 7635 | * Supported Feature: P2P |
| 7636 | * |
| 7637 | * |
| 7638 | * Usage: Internal/External |
| 7639 | * |
| 7640 | * </ini> |
| 7641 | */ |
| 7642 | #define CFG_GO_11AC_OVERRIDE_NAME "gGO11ACOverride" |
| 7643 | #define CFG_GO_11AC_OVERRIDE_MIN (0) |
| 7644 | #define CFG_GO_11AC_OVERRIDE_MAX (1) |
| 7645 | #define CFG_GO_11AC_OVERRIDE_DEFAULT (1) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7646 | |
| 7647 | #define CFG_SAP_DOT11MC "gSapDot11mc" |
| 7648 | #define CFG_SAP_DOT11MC_MIN (0) |
| 7649 | #define CFG_SAP_DOT11MC_MAX (1) |
| 7650 | #define CFG_SAP_DOT11MC_DEFAULT (0) |
| 7651 | |
| 7652 | #define CFG_ENABLE_NON_DFS_CHAN_ON_RADAR "gPreferNonDfsChanOnRadar" |
| 7653 | #define CFG_ENABLE_NON_DFS_CHAN_ON_RADAR_MIN (0) |
| 7654 | #define CFG_ENABLE_NON_DFS_CHAN_ON_RADAR_MAX (1) |
| 7655 | #define CFG_ENABLE_NON_DFS_CHAN_ON_RADAR_DEFAULT (0) |
| 7656 | |
| 7657 | #define CFG_MULTICAST_HOST_FW_MSGS "gMulticastHostFwMsgs" |
| 7658 | #define CFG_MULTICAST_HOST_FW_MSGS_MIN (0) |
| 7659 | #define CFG_MULTICAST_HOST_FW_MSGS_MAX (1) |
Zhu Jianmin | 35fcd0d | 2017-08-30 10:47:31 +0800 | [diff] [blame] | 7660 | #if defined(MDM_PLATFORM) && !defined(FEATURE_MULTICAST_HOST_FW_MSGS) |
| 7661 | #define CFG_MULTICAST_HOST_FW_MSGS_DEFAULT (0) |
| 7662 | #else |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7663 | #define CFG_MULTICAST_HOST_FW_MSGS_DEFAULT (1) |
Zhu Jianmin | 35fcd0d | 2017-08-30 10:47:31 +0800 | [diff] [blame] | 7664 | #endif |
| 7665 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7666 | |
| 7667 | /* |
Nitesh Shah | 428e70d | 2016-12-06 18:39:58 +0530 | [diff] [blame] | 7668 | * <ini> |
| 7669 | * gSystemPref - Configure wlan system preference for PCL. |
| 7670 | * @Min: 0 |
| 7671 | * @Max: 2 |
| 7672 | * @Default: 0 |
| 7673 | * |
| 7674 | * This ini is used to configure wlan system preference option to help |
| 7675 | * policy manager decide on Preferred Channel List for a new connection. |
| 7676 | * For possible values refer to enum hdd_conc_priority_mode |
| 7677 | * |
| 7678 | * Related: None. |
| 7679 | * |
| 7680 | * Supported Feature: DBS |
| 7681 | * |
| 7682 | * Usage: Internal/External |
| 7683 | * |
| 7684 | * </ini> |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7685 | */ |
| 7686 | #define CFG_CONC_SYSTEM_PREF "gSystemPref" |
| 7687 | #define CFG_CONC_SYSTEM_PREF_MIN (0) |
| 7688 | #define CFG_CONC_SYSTEM_PREF_MAX (2) |
| 7689 | #define CFG_CONC_SYSTEM_PREF_DEFAULT (0) |
| 7690 | |
Poddar, Siddarth | cc250aa | 2016-12-05 19:21:03 +0530 | [diff] [blame] | 7691 | /* |
| 7692 | * <ini> |
| 7693 | * TSOEnable - Control to enable tso feature |
| 7694 | * |
| 7695 | * @Min: 0 |
| 7696 | * @Max: 1 |
| 7697 | * @Default: 0 |
| 7698 | * |
| 7699 | * This ini is used to enable TSO feature |
| 7700 | * |
| 7701 | * Supported Feature: TSO Feature |
| 7702 | * |
| 7703 | * Usage: Internal |
| 7704 | * |
| 7705 | * </ini> |
| 7706 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7707 | #define CFG_TSO_ENABLED_NAME "TSOEnable" |
| 7708 | #define CFG_TSO_ENABLED_MIN (0) |
| 7709 | #define CFG_TSO_ENABLED_MAX (1) |
| 7710 | #define CFG_TSO_ENABLED_DEFAULT (0) |
| 7711 | |
| 7712 | /* |
Himanshu Agarwal | f048172 | 2016-12-06 12:46:24 +0530 | [diff] [blame] | 7713 | * <ini> |
| 7714 | * LROEnable - Control to enable lro feature |
| 7715 | * |
| 7716 | * @Min: 0 |
| 7717 | * @Max: 1 |
| 7718 | * @Default: 0 |
| 7719 | * |
| 7720 | * This ini is used to enable LRO feature |
| 7721 | * |
| 7722 | * Supported Feature: LRO |
| 7723 | * |
| 7724 | * Usage: Internal |
| 7725 | * |
| 7726 | * </ini> |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7727 | */ |
| 7728 | #define CFG_LRO_ENABLED_NAME "LROEnable" |
| 7729 | #define CFG_LRO_ENABLED_MIN (0) |
| 7730 | #define CFG_LRO_ENABLED_MAX (1) |
| 7731 | #define CFG_LRO_ENABLED_DEFAULT (0) |
| 7732 | |
| 7733 | /* |
Manjunathappa Prakash | 7b0ad46 | 2018-04-15 00:37:16 -0700 | [diff] [blame] | 7734 | * <ini> |
| 7735 | * GROEnable - Control to enable gro feature |
| 7736 | * |
| 7737 | * @Disable: 0 |
| 7738 | * @Enable: 1 |
| 7739 | * @Default: 0 |
| 7740 | * |
| 7741 | * This ini is used to enable GRO feature |
| 7742 | * |
| 7743 | * Supported Feature: GRO |
| 7744 | * |
| 7745 | * Usage: Internal |
| 7746 | * |
| 7747 | * </ini> |
| 7748 | */ |
| 7749 | #define CFG_GRO_ENABLED_NAME "GROEnable" |
| 7750 | #define CFG_GRO_ENABLED_MIN (0) |
| 7751 | #define CFG_GRO_ENABLED_MAX (1) |
| 7752 | #define CFG_GRO_ENABLED_DEFAULT (0) |
| 7753 | |
| 7754 | /* |
Manjunathappa Prakash | fff753c | 2016-09-01 19:34:56 -0700 | [diff] [blame] | 7755 | * Enable Rx traffic flow steering to enable Rx interrupts on multiple CEs based |
| 7756 | * on the flows. Different CEs<==>different IRQs<==>probably different CPUs. |
| 7757 | * Parallel Rx paths. |
| 7758 | * 1 - enable 0 - disable |
| 7759 | */ |
| 7760 | #define CFG_FLOW_STEERING_ENABLED_NAME "gEnableFlowSteering" |
| 7761 | #define CFG_FLOW_STEERING_ENABLED_MIN (0) |
| 7762 | #define CFG_FLOW_STEERING_ENABLED_MAX (1) |
| 7763 | #define CFG_FLOW_STEERING_ENABLED_DEFAULT (0) |
| 7764 | |
| 7765 | /* |
Orhan K AKYILDIZ | 30e8cbc | 2017-08-11 18:00:28 -0700 | [diff] [blame] | 7766 | * Max number of MSDUs per HTT RX IN ORDER INDICATION msg. |
| 7767 | * Note that this has a direct impact on the size of source CE rings. |
| 7768 | * It is possible to go below 8, but would require testing; so we are |
| 7769 | * restricting the lower limit to 8 artificially |
| 7770 | * |
| 7771 | * It is recommended that this value is a POWER OF 2. |
| 7772 | * |
| 7773 | * Values lower than 8 are for experimental purposes only. |
| 7774 | */ |
| 7775 | #define CFG_MAX_MSDUS_PER_RXIND_NAME "maxMSDUsPerRxInd" |
| 7776 | #define CFG_MAX_MSDUS_PER_RXIND_MIN (4) |
| 7777 | #define CFG_MAX_MSDUS_PER_RXIND_MAX (32) |
| 7778 | #define CFG_MAX_MSDUS_PER_RXIND_DEFAULT (32) |
| 7779 | /* |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7780 | * In static display use case when APPS is in stand alone power save mode enable |
| 7781 | * active offload mode which helps FW to filter out MC/BC data packets to avoid |
| 7782 | * APPS wake up and save more power. |
| 7783 | * |
| 7784 | * By default enable active mode offload as it helps to save more power in |
| 7785 | * static display usecase(APPS stand alone power collapse). |
| 7786 | * |
| 7787 | * If active mode offload(gActiveModeOffload=1) is enabled then all applicable |
| 7788 | * data offload/filtering is enabled immediately in FW once config is available |
Jeff Johnson | 48a281a | 2018-05-06 00:04:54 -0700 | [diff] [blame] | 7789 | * in WLAN driver and FW caches this configuration across suspend/resume |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7790 | * |
| 7791 | * If active mode offload is disabled(gActiveModeOffload=0) then all applicable |
| 7792 | * data offload/filtering is enabled during cfg80211 suspend and disabled |
| 7793 | * during cfg80211 resume |
| 7794 | * |
Rajeev Kumar | 5324d75 | 2017-02-13 17:11:19 -0800 | [diff] [blame] | 7795 | * Active mode offload feature is bydefault enabled for all targets |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7796 | */ |
| 7797 | |
| 7798 | #define CFG_ACTIVE_MODE_OFFLOAD "gActiveModeOffload" |
| 7799 | #define CFG_ACTIVE_MODE_OFFLOAD_MIN (0) |
| 7800 | #define CFG_ACTIVE_MODE_OFFLOAD_MAX (1) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7801 | #define CFG_ACTIVE_MODE_OFFLOAD_DEFAULT (1) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7802 | |
| 7803 | /* |
Nachiket Kukade | e547a48 | 2018-05-22 16:43:30 +0530 | [diff] [blame] | 7804 | * 0: Disable APF packet filter |
| 7805 | * 1: Enable APF packet filter |
Rajeev Kumar | dd3bc60 | 2016-08-16 14:21:05 -0700 | [diff] [blame] | 7806 | */ |
Nachiket Kukade | e547a48 | 2018-05-22 16:43:30 +0530 | [diff] [blame] | 7807 | #define CFG_APF_PACKET_FILTER_OFFLOAD "gBpfFilterEnable" |
| 7808 | #define CFG_APF_PACKET_FILTER_OFFLOAD_MIN (0) |
| 7809 | #define CFG_APF_PACKET_FILTER_OFFLOAD_MAX (1) |
| 7810 | #define CFG_APF_PACKET_FILTER_OFFLOAD_DEFAULT (1) |
Rajeev Kumar | dd3bc60 | 2016-08-16 14:21:05 -0700 | [diff] [blame] | 7811 | |
| 7812 | /* |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 7813 | * <ini> |
| 7814 | * gCckChainMaskEnable - Used to enable/disable Cck ChainMask |
| 7815 | * @Min: 0 |
| 7816 | * @Max: 1 |
| 7817 | * @Default: 0 |
| 7818 | * |
| 7819 | * This ini is used to set default Cck ChainMask |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7820 | * 0: disable the cck tx chain mask (default) |
| 7821 | * 1: enable the cck tx chain mask |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 7822 | * |
| 7823 | * Related: None |
| 7824 | * |
| 7825 | * Supported Feature: STA |
| 7826 | * |
| 7827 | * Usage: Internal/External |
| 7828 | * |
| 7829 | * </ini> |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7830 | */ |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 7831 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7832 | #define CFG_TX_CHAIN_MASK_CCK "gCckChainMaskEnable" |
| 7833 | #define CFG_TX_CHAIN_MASK_CCK_MIN (0) |
| 7834 | #define CFG_TX_CHAIN_MASK_CCK_MAX (1) |
| 7835 | #define CFG_TX_CHAIN_MASK_CCK_DEFAULT (0) |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 7836 | /* |
| 7837 | * <ini> |
| 7838 | * gTxChainMask1ss - Enables/disables tx chain Mask1ss |
| 7839 | * @Min: 0 |
| 7840 | * @Max: 3 |
| 7841 | * @Default: 1 |
| 7842 | * |
| 7843 | * This ini is used to set default tx chain Mask1ss |
| 7844 | * |
| 7845 | * Related: None |
| 7846 | * |
| 7847 | * Supported Feature: STA |
| 7848 | * |
| 7849 | * Usage: Internal/External |
| 7850 | * |
| 7851 | * </ini> |
| 7852 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7853 | |
| 7854 | #define CFG_TX_CHAIN_MASK_1SS "gTxChainMask1ss" |
| 7855 | #define CFG_TX_CHAIN_MASK_1SS_MIN (0) |
| 7856 | #define CFG_TX_CHAIN_MASK_1SS_MAX (3) |
| 7857 | #define CFG_TX_CHAIN_MASK_1SS_DEFAULT (1) |
| 7858 | |
| 7859 | /* |
Jeff Johnson | a89e25d | 2017-02-24 12:25:07 -0800 | [diff] [blame] | 7860 | * <ini> |
| 7861 | * gEnableSmartChainmask - Enable Smart Chainmask |
| 7862 | * @Min: 0 |
| 7863 | * @Max: 1 |
| 7864 | * @Default: 0 |
| 7865 | * |
| 7866 | * This ini is used to enable/disable the Smart Chainmask feature via |
| 7867 | * the WMI_PDEV_PARAM_SMART_CHAINMASK_SCHEME firmware parameter. |
| 7868 | * |
| 7869 | * Related: None |
| 7870 | * |
| 7871 | * Supported Feature: STA |
| 7872 | * |
| 7873 | * Usage: Internal/External |
| 7874 | * |
| 7875 | * </ini> |
| 7876 | */ |
| 7877 | #define CFG_ENABLE_SMART_CHAINMASK_NAME "gEnableSmartChainmask" |
| 7878 | #define CFG_ENABLE_SMART_CHAINMASK_MIN (0) |
| 7879 | #define CFG_ENABLE_SMART_CHAINMASK_MAX (1) |
| 7880 | #define CFG_ENABLE_SMART_CHAINMASK_DEFAULT (0) |
| 7881 | |
| 7882 | /* |
| 7883 | * <ini> |
| 7884 | * gEnableAlternativeChainmask - Enable Co-Ex Alternative Chainmask |
| 7885 | * @Min: 0 |
| 7886 | * @Max: 1 |
| 7887 | * @Default: 0 |
| 7888 | * |
| 7889 | * This ini is used to enable/disable the Co-ex Alternative Chainmask |
| 7890 | * feature via the WMI_PDEV_PARAM_ALTERNATIVE_CHAINMASK_SCHEME |
| 7891 | * firmware parameter. |
| 7892 | * |
| 7893 | * Related: None |
| 7894 | * |
| 7895 | * Supported Feature: STA |
| 7896 | * |
| 7897 | * Usage: Internal/External |
| 7898 | * |
| 7899 | * </ini> |
| 7900 | */ |
| 7901 | #define CFG_ENABLE_COEX_ALT_CHAINMASK_NAME "gEnableAlternativeChainmask" |
| 7902 | #define CFG_ENABLE_COEX_ALT_CHAINMASK_MIN (0) |
| 7903 | #define CFG_ENABLE_COEX_ALT_CHAINMASK_MAX (1) |
| 7904 | #define CFG_ENABLE_COEX_ALT_CHAINMASK_DEFAULT (0) |
| 7905 | |
| 7906 | /* |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7907 | * set the self gen power value from |
| 7908 | * 0 to 0xffff |
| 7909 | */ |
| 7910 | #define CFG_SELF_GEN_FRM_PWR "gSelfGenFrmPwr" |
| 7911 | #define CFG_SELF_GEN_FRM_PWR_MIN (0) |
| 7912 | #define CFG_SELF_GEN_FRM_PWR_MAX (0xffff) |
| 7913 | #define CFG_SELF_GEN_FRM_PWR_DEFAULT (0) |
| 7914 | |
| 7915 | /* |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 7916 | * <ini> |
| 7917 | * gTxAggregationSize - Gives an option to configure Tx aggregation size |
| 7918 | * in no of MPDUs |
| 7919 | * @Min: 0 |
| 7920 | * @Max: 64 |
| 7921 | * @Default: 64 |
| 7922 | * |
Padma, Santhosh Kumar | a711967 | 2016-08-16 16:05:14 +0530 | [diff] [blame] | 7923 | * gTxAggregationSize gives an option to configure Tx aggregation size |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 7924 | * in no of MPDUs.This can be useful in debugging throughput issues |
| 7925 | * |
| 7926 | * Related: None |
| 7927 | * |
| 7928 | * Supported Feature: STA |
| 7929 | * |
| 7930 | * Usage: Internal/External |
| 7931 | * |
| 7932 | * </ini> |
Padma, Santhosh Kumar | a711967 | 2016-08-16 16:05:14 +0530 | [diff] [blame] | 7933 | */ |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 7934 | |
Padma, Santhosh Kumar | a711967 | 2016-08-16 16:05:14 +0530 | [diff] [blame] | 7935 | #define CFG_TX_AGGREGATION_SIZE "gTxAggregationSize" |
| 7936 | #define CFG_TX_AGGREGATION_SIZE_MIN (0) |
| 7937 | #define CFG_TX_AGGREGATION_SIZE_MAX (64) |
| 7938 | #define CFG_TX_AGGREGATION_SIZE_DEFAULT (64) |
| 7939 | |
| 7940 | /* |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 7941 | * <ini> |
Paul Zhang | ee09f8e | 2018-04-23 16:11:32 +0800 | [diff] [blame] | 7942 | * gTxAggregationSizeBE - To configure Tx aggregation size for BE queue |
| 7943 | * in no of MPDUs |
| 7944 | * @Min: 0 |
| 7945 | * @Max: 64 |
| 7946 | * @Default: 0 |
| 7947 | * |
| 7948 | * gTxAggregationSizeBE gives an option to configure Tx aggregation size |
| 7949 | * for BE queue in no of MPDUs.This can be useful in debugging |
| 7950 | * throughput issues |
| 7951 | * |
| 7952 | * Related: None |
| 7953 | * |
| 7954 | * Supported Feature: STA |
| 7955 | * |
Ashish Kumar Dhanotiya | eff05f1 | 2018-04-24 12:38:14 +0530 | [diff] [blame] | 7956 | * Usage: Internal |
Paul Zhang | ee09f8e | 2018-04-23 16:11:32 +0800 | [diff] [blame] | 7957 | * |
| 7958 | * </ini> |
| 7959 | */ |
| 7960 | |
| 7961 | #define CFG_TX_AGGREGATION_SIZEBE "gTxAggregationSizeBE" |
| 7962 | #define CFG_TX_AGGREGATION_SIZEBE_MIN (0) |
| 7963 | #define CFG_TX_AGGREGATION_SIZEBE_MAX (64) |
| 7964 | #define CFG_TX_AGGREGATION_SIZEBE_DEFAULT (0) |
| 7965 | |
| 7966 | /* |
| 7967 | * <ini> |
| 7968 | * gTxAggregationSizeBK - To configure Tx aggregation size for BK queue |
| 7969 | * in no of MPDUs |
| 7970 | * @Min: 0 |
| 7971 | * @Max: 64 |
| 7972 | * @Default: 0 |
| 7973 | * |
| 7974 | * gTxAggregationSizeBK gives an option to configure Tx aggregation size |
| 7975 | * for BK queue in no of MPDUs.This can be useful in debugging |
| 7976 | * throughput issues |
| 7977 | * |
| 7978 | * Related: None |
| 7979 | * |
| 7980 | * Supported Feature: STA |
| 7981 | * |
Ashish Kumar Dhanotiya | eff05f1 | 2018-04-24 12:38:14 +0530 | [diff] [blame] | 7982 | * Usage: Internal |
Paul Zhang | ee09f8e | 2018-04-23 16:11:32 +0800 | [diff] [blame] | 7983 | * |
| 7984 | * </ini> |
| 7985 | */ |
| 7986 | |
| 7987 | #define CFG_TX_AGGREGATION_SIZEBK "gTxAggregationSizeBK" |
| 7988 | #define CFG_TX_AGGREGATION_SIZEBK_MIN (0) |
| 7989 | #define CFG_TX_AGGREGATION_SIZEBK_MAX (64) |
| 7990 | #define CFG_TX_AGGREGATION_SIZEBK_DEFAULT (0) |
| 7991 | |
| 7992 | /* |
| 7993 | * <ini> |
| 7994 | * gTxAggregationSizeVI - To configure Tx aggregation size for VI queue |
| 7995 | * in no of MPDUs |
| 7996 | * @Min: 0 |
| 7997 | * @Max: 64 |
| 7998 | * @Default: 0 |
| 7999 | * |
| 8000 | * gTxAggregationSizeVI gives an option to configure Tx aggregation size |
| 8001 | * for VI queue in no of MPDUs.This can be useful in debugging |
| 8002 | * throughput issues |
| 8003 | * |
| 8004 | * Related: None |
| 8005 | * |
| 8006 | * Supported Feature: STA |
| 8007 | * |
Ashish Kumar Dhanotiya | eff05f1 | 2018-04-24 12:38:14 +0530 | [diff] [blame] | 8008 | * Usage: Internal |
Paul Zhang | ee09f8e | 2018-04-23 16:11:32 +0800 | [diff] [blame] | 8009 | * |
| 8010 | * </ini> |
| 8011 | */ |
| 8012 | |
| 8013 | #define CFG_TX_AGGREGATION_SIZEVI "gTxAggregationSizeVI" |
| 8014 | #define CFG_TX_AGGREGATION_SIZEVI_MIN (0) |
| 8015 | #define CFG_TX_AGGREGATION_SIZEVI_MAX (64) |
| 8016 | #define CFG_TX_AGGREGATION_SIZEVI_DEFAULT (0) |
| 8017 | |
| 8018 | /* |
| 8019 | * <ini> |
| 8020 | * gTxAggregationSizeVO - To configure Tx aggregation size for VO queue |
| 8021 | * in no of MPDUs |
| 8022 | * @Min: 0 |
| 8023 | * @Max: 64 |
| 8024 | * @Default: 0 |
| 8025 | * |
| 8026 | * gTxAggregationSizeVO gives an option to configure Tx aggregation size |
| 8027 | * for BE queue in no of MPDUs.This can be useful in debugging |
| 8028 | * throughput issues |
| 8029 | * |
| 8030 | * Related: None |
| 8031 | * |
| 8032 | * Supported Feature: STA |
| 8033 | * |
Ashish Kumar Dhanotiya | eff05f1 | 2018-04-24 12:38:14 +0530 | [diff] [blame] | 8034 | * Usage: Internal |
Paul Zhang | ee09f8e | 2018-04-23 16:11:32 +0800 | [diff] [blame] | 8035 | * |
| 8036 | * </ini> |
| 8037 | */ |
| 8038 | |
| 8039 | #define CFG_TX_AGGREGATION_SIZEVO "gTxAggregationSizeVO" |
| 8040 | #define CFG_TX_AGGREGATION_SIZEVO_MIN (0) |
| 8041 | #define CFG_TX_AGGREGATION_SIZEVO_MAX (64) |
| 8042 | #define CFG_TX_AGGREGATION_SIZEVO_DEFAULT (0) |
| 8043 | |
| 8044 | /* |
| 8045 | * <ini> |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 8046 | * gRxAggregationSize - Gives an option to configure Rx aggregation size |
| 8047 | * in no of MPDUs |
| 8048 | * @Min: 1 |
| 8049 | * @Max: 64 |
| 8050 | * @Default: 64 |
| 8051 | * |
Padma, Santhosh Kumar | a711967 | 2016-08-16 16:05:14 +0530 | [diff] [blame] | 8052 | * gRxAggregationSize gives an option to configure Rx aggregation size |
| 8053 | * in no of MPDUs. This can be useful in debugging throughput issues |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 8054 | * |
| 8055 | * Related: None |
| 8056 | * |
| 8057 | * Supported Feature: STA |
| 8058 | * |
| 8059 | * Usage: Internal/External |
| 8060 | * |
| 8061 | * </ini> |
Padma, Santhosh Kumar | a711967 | 2016-08-16 16:05:14 +0530 | [diff] [blame] | 8062 | */ |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 8063 | |
Padma, Santhosh Kumar | a711967 | 2016-08-16 16:05:14 +0530 | [diff] [blame] | 8064 | #define CFG_RX_AGGREGATION_SIZE "gRxAggregationSize" |
| 8065 | #define CFG_RX_AGGREGATION_SIZE_MIN (1) |
| 8066 | #define CFG_RX_AGGREGATION_SIZE_MAX (64) |
| 8067 | #define CFG_RX_AGGREGATION_SIZE_DEFAULT (64) |
| 8068 | |
| 8069 | /* |
Paul Zhang | 33fae27 | 2018-04-23 16:19:00 +0800 | [diff] [blame] | 8070 | * <ini> |
| 8071 | * gTxAggSwRetryBE - Configure Tx aggregation sw retry for BE |
| 8072 | * @Min: 0 |
| 8073 | * @Max: 64 |
| 8074 | * @Default: 0 |
| 8075 | * |
| 8076 | * gTxAggSwRetryBE gives an option to configure Tx aggregation sw |
| 8077 | * retry for BE. This can be useful in debugging throughput issues. |
| 8078 | * |
| 8079 | * Related: None |
| 8080 | * |
| 8081 | * Supported Feature: STA |
| 8082 | * |
Ashish Kumar Dhanotiya | eff05f1 | 2018-04-24 12:38:14 +0530 | [diff] [blame] | 8083 | * Usage: Internal |
Paul Zhang | 33fae27 | 2018-04-23 16:19:00 +0800 | [diff] [blame] | 8084 | * |
| 8085 | * </ini> |
| 8086 | */ |
| 8087 | |
| 8088 | #define CFG_TX_AGGR_SW_RETRY_BE "gTxAggSwRetryBE" |
| 8089 | #define CFG_TX_AGGR_SW_RETRY_BE_MIN (0) |
| 8090 | #define CFG_TX_AGGR_SW_RETRY_BE_MAX (64) |
| 8091 | #define CFG_TX_AGGR_SW_RETRY_BE_DEFAULT (0) |
| 8092 | |
| 8093 | /* |
| 8094 | * <ini> |
| 8095 | * gTxAggSwRetryBK - Configure Tx aggregation sw retry for BK |
| 8096 | * @Min: 0 |
| 8097 | * @Max: 64 |
| 8098 | * @Default: 0 |
| 8099 | * |
| 8100 | * gTxAggSwRetryBK gives an option to configure Tx aggregation sw |
| 8101 | * retry for BK. This can be useful in debugging throughput issues. |
| 8102 | * |
| 8103 | * Related: None |
| 8104 | * |
| 8105 | * Supported Feature: STA |
| 8106 | * |
Ashish Kumar Dhanotiya | eff05f1 | 2018-04-24 12:38:14 +0530 | [diff] [blame] | 8107 | * Usage: Internal |
Paul Zhang | 33fae27 | 2018-04-23 16:19:00 +0800 | [diff] [blame] | 8108 | * |
| 8109 | * </ini> |
| 8110 | */ |
| 8111 | |
| 8112 | #define CFG_TX_AGGR_SW_RETRY_BK "gTxAggSwRetryBK" |
| 8113 | #define CFG_TX_AGGR_SW_RETRY_BK_MIN (0) |
| 8114 | #define CFG_TX_AGGR_SW_RETRY_BK_MAX (64) |
| 8115 | #define CFG_TX_AGGR_SW_RETRY_BK_DEFAULT (0) |
| 8116 | |
| 8117 | /* |
| 8118 | * <ini> |
| 8119 | * gTxAggSwRetryVI - Configure Tx aggregation sw retry for VI |
| 8120 | * @Min: 0 |
| 8121 | * @Max: 64 |
| 8122 | * @Default: 0 |
| 8123 | * |
| 8124 | * gTxAggSwRetryVI gives an option to configure Tx aggregation sw |
| 8125 | * retry for VI. This can be useful in debugging throughput issues. |
| 8126 | * |
| 8127 | * Related: None |
| 8128 | * |
| 8129 | * Supported Feature: STA |
| 8130 | * |
Ashish Kumar Dhanotiya | eff05f1 | 2018-04-24 12:38:14 +0530 | [diff] [blame] | 8131 | * Usage: Internal |
Paul Zhang | 33fae27 | 2018-04-23 16:19:00 +0800 | [diff] [blame] | 8132 | * |
| 8133 | * </ini> |
| 8134 | */ |
| 8135 | |
| 8136 | #define CFG_TX_AGGR_SW_RETRY_VI "gTxAggSwRetryVI" |
| 8137 | #define CFG_TX_AGGR_SW_RETRY_VI_MIN (0) |
| 8138 | #define CFG_TX_AGGR_SW_RETRY_VI_MAX (64) |
| 8139 | #define CFG_TX_AGGR_SW_RETRY_VI_DEFAULT (0) |
| 8140 | |
| 8141 | /* |
| 8142 | * <ini> |
| 8143 | * gTxAggSwRetryVO - Configure Tx aggregation sw retry for VO |
| 8144 | * @Min: 0 |
| 8145 | * @Max: 64 |
| 8146 | * @Default: 0 |
| 8147 | * |
| 8148 | * gTxAggSwRetryVO gives an option to configure Tx aggregation sw |
| 8149 | * retry for VO. This can be useful in debugging throughput issues. |
| 8150 | * |
| 8151 | * Related: None |
| 8152 | * |
| 8153 | * Supported Feature: STA |
| 8154 | * |
Ashish Kumar Dhanotiya | eff05f1 | 2018-04-24 12:38:14 +0530 | [diff] [blame] | 8155 | * Usage: Internal |
Paul Zhang | 33fae27 | 2018-04-23 16:19:00 +0800 | [diff] [blame] | 8156 | * |
| 8157 | * </ini> |
| 8158 | */ |
| 8159 | |
| 8160 | #define CFG_TX_AGGR_SW_RETRY_VO "gTxAggSwRetryVO" |
| 8161 | #define CFG_TX_AGGR_SW_RETRY_VO_MIN (0) |
| 8162 | #define CFG_TX_AGGR_SW_RETRY_VO_MAX (64) |
| 8163 | #define CFG_TX_AGGR_SW_RETRY_VO_DEFAULT (0) |
| 8164 | |
| 8165 | /* |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 8166 | * fine timing measurement capability information |
| 8167 | * |
| 8168 | * <----- fine_time_meas_cap (in bits) -----> |
| 8169 | *+----------+-----+-----+------+------+-------+-------+-----+-----+ |
Naveen Rawat | 1af0939 | 2018-01-03 17:28:21 -0800 | [diff] [blame] | 8170 | *| 8-31 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 8171 | *+----------+-----+-----+------+------+-------+-------+-----+-----+ |
| 8172 | *| reserved | SAP | SAP |P2P-GO|P2P-GO|P2P-CLI|P2P-CLI| STA | STA | |
| 8173 | *| |resp |init |resp |init |resp |init |resp |init | |
| 8174 | *+----------+-----+-----+------+------+-------+-------+-----+-----+ |
| 8175 | * |
| 8176 | * resp - responder role; init- initiator role |
| 8177 | * |
| 8178 | * CFG_FINE_TIME_MEAS_CAPABILITY_MAX computed based on the table |
| 8179 | * +-----------------+-----------------+-----------+ |
| 8180 | * | Device Role | Initiator | Responder | |
| 8181 | * +-----------------+-----------------+-----------+ |
| 8182 | * | Station | Y | N | |
| 8183 | * | P2P-CLI | Y | Y | |
| 8184 | * | P2P-GO | Y | Y | |
| 8185 | * | SAP | N | Y | |
| 8186 | * +-----------------+-----------------+-----------+ |
| 8187 | */ |
| 8188 | #define CFG_FINE_TIME_MEAS_CAPABILITY "gfine_time_meas_cap" |
| 8189 | #define CFG_FINE_TIME_MEAS_CAPABILITY_MIN (0x0000) |
| 8190 | #define CFG_FINE_TIME_MEAS_CAPABILITY_MAX (0x00BD) |
| 8191 | #define CFG_FINE_TIME_MEAS_CAPABILITY_DEFAULT (0x000D) |
| 8192 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 8193 | /** |
| 8194 | * enum dot11p_mode - The 802.11p mode of operation |
| 8195 | * @WLAN_HDD_11P_DISABLED: 802.11p mode is disabled |
| 8196 | * @WLAN_HDD_11P_STANDALONE: 802.11p-only operation |
| 8197 | * @WLAN_HDD_11P_CONCURRENT: 802.11p and WLAN operate concurrently |
| 8198 | */ |
| 8199 | enum dot11p_mode { |
| 8200 | WLAN_HDD_11P_DISABLED = 0, |
| 8201 | WLAN_HDD_11P_STANDALONE, |
| 8202 | WLAN_HDD_11P_CONCURRENT, |
| 8203 | }; |
| 8204 | |
| 8205 | #define CFG_DOT11P_MODE_NAME "gDot11PMode" |
| 8206 | #define CFG_DOT11P_MODE_DEFAULT (WLAN_HDD_11P_DISABLED) |
| 8207 | #define CFG_DOT11P_MODE_MIN (WLAN_HDD_11P_DISABLED) |
| 8208 | #define CFG_DOT11P_MODE_MAX (WLAN_HDD_11P_CONCURRENT) |
| 8209 | |
Agrawal Ashish | e030f78 | 2017-01-27 17:52:05 +0530 | [diff] [blame] | 8210 | /* |
| 8211 | * <ini> |
Kiran Kumar Lokere | 1a43bcf | 2018-05-15 15:51:58 -0700 | [diff] [blame] | 8212 | * etsi13_srd_chan_in_master_mode - Enable/disable ETSI SRD channels in |
| 8213 | * master mode PCL and ACS functionality |
| 8214 | * @Min: 0 |
| 8215 | * @Max: 1 |
| 8216 | * @Default: 0 |
| 8217 | * |
| 8218 | * etsi13_srd_chan_in_master_mode is to enable/disable ETSI SRD channels in |
| 8219 | * master mode PCL and ACS functionality |
| 8220 | * |
| 8221 | * Related: None |
| 8222 | * |
| 8223 | * Supported Feature: SAP/P2P-GO |
| 8224 | * |
| 8225 | * Usage: Internal/External |
| 8226 | * |
| 8227 | * </ini> |
| 8228 | */ |
| 8229 | #define CFG_ETSI13_SRD_CHAN_IN_MASTER_MODE "etsi13_srd_chan_in_master_mode" |
| 8230 | #define CFG_ETSI13_SRD_CHAN_IN_MASTER_MODE_DEF (0) |
| 8231 | #define CFG_ETSI13_SRD_CHAN_IN_MASTER_MODE_MIN (0) |
| 8232 | #define CFG_ETSI13_SRD_CHAN_IN_MASTER_MODE_MAX (1) |
| 8233 | |
| 8234 | /* |
| 8235 | * <ini> |
Agrawal Ashish | e030f78 | 2017-01-27 17:52:05 +0530 | [diff] [blame] | 8236 | * gEnable_go_cts2self_for_sta - Indicate firmware to stop NOA and |
| 8237 | * start using cts2self |
| 8238 | * @Min: 1 |
| 8239 | * @Max: 1 |
| 8240 | * @Default: 0 |
| 8241 | * |
| 8242 | * When gEnable_go_cts2self_for_sta is |
Agrawal Ashish | b2d1a45 | 2016-05-05 12:23:58 +0530 | [diff] [blame] | 8243 | * enabled then if a legacy client connects to P2P GO, |
| 8244 | * Host will send a WMI VDEV command to FW to stop using NOA for P2P GO |
| 8245 | * and start using CTS2SELF. |
Agrawal Ashish | e030f78 | 2017-01-27 17:52:05 +0530 | [diff] [blame] | 8246 | * |
| 8247 | * |
| 8248 | * Supported Feature: P2P |
| 8249 | * |
| 8250 | * |
| 8251 | * Usage: Internal/External |
| 8252 | * |
| 8253 | * </ini> |
Agrawal Ashish | b2d1a45 | 2016-05-05 12:23:58 +0530 | [diff] [blame] | 8254 | */ |
| 8255 | #define CFG_ENABLE_GO_CTS2SELF_FOR_STA "gEnable_go_cts2self_for_sta" |
| 8256 | #define CFG_ENABLE_GO_CTS2SELF_FOR_STA_DEFAULT (0) |
| 8257 | #define CFG_ENABLE_GO_CTS2SELF_FOR_STA_MIN (0) |
| 8258 | #define CFG_ENABLE_GO_CTS2SELF_FOR_STA_MAX (1) |
| 8259 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 8260 | #define CFG_CE_CLASSIFY_ENABLE_NAME "gCEClassifyEnable" |
| 8261 | #define CFG_CE_CLASSIFY_ENABLE_MIN (0) |
| 8262 | #define CFG_CE_CLASSIFY_ENABLE_MAX (1) |
Prakash Manjunathappa | 6eae0cd | 2016-02-08 10:27:21 -0800 | [diff] [blame] | 8263 | #define CFG_CE_CLASSIFY_ENABLE_DEFAULT (1) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 8264 | |
Nitesh Shah | 5651b1e | 2017-02-02 17:59:52 +0530 | [diff] [blame] | 8265 | /* |
| 8266 | * |
| 8267 | * <ini> |
| 8268 | * gDualMacFeatureDisable - Disable Dual MAC feature. |
| 8269 | * @Min: 0 |
Tushnim Bhattacharyya | 49ed8ab | 2017-05-26 18:20:10 -0700 | [diff] [blame] | 8270 | * @Max: 4 |
Nitesh Shah | 5651b1e | 2017-02-02 17:59:52 +0530 | [diff] [blame] | 8271 | * @Default: 0 |
| 8272 | * |
| 8273 | * This ini is used to enable/disable dual MAC feature. |
Tushnim Bhattacharyya | 49ed8ab | 2017-05-26 18:20:10 -0700 | [diff] [blame] | 8274 | * 0 - enable DBS |
| 8275 | * 1 - disable DBS |
| 8276 | * 2 - disable DBS for connection but keep DBS for scan |
| 8277 | * 3 - disable DBS for connection but keep DBS scan with async |
| 8278 | * scan policy disabled |
| 8279 | * 4 - enable DBS for connection as well as for scan with async |
| 8280 | * scan policy disabled |
Bala Venkatesh | c8236ca | 2018-03-09 12:38:29 +0530 | [diff] [blame] | 8281 | * 5 - enable DBS for connection but disable DBS for scan. |
Tushnim Bhattacharyya | aececb2 | 2018-08-06 14:27:46 -0700 | [diff] [blame] | 8282 | * 6 - enable DBS for connection but disable simultaneous scan |
| 8283 | * from upper layer (DBS scan remains enabled in FW). |
Tushnim Bhattacharyya | 49ed8ab | 2017-05-26 18:20:10 -0700 | [diff] [blame] | 8284 | * |
| 8285 | * Note: INI item value should match 'enum dbs_support' |
Nitesh Shah | 5651b1e | 2017-02-02 17:59:52 +0530 | [diff] [blame] | 8286 | * |
| 8287 | * Related: None. |
| 8288 | * |
| 8289 | * Supported Feature: DBS |
| 8290 | * |
| 8291 | * Usage: Internal/External |
| 8292 | * |
| 8293 | * </ini> |
| 8294 | */ |
Tushnim Bhattacharyya | 49ed8ab | 2017-05-26 18:20:10 -0700 | [diff] [blame] | 8295 | #define CFG_DUAL_MAC_FEATURE_DISABLE "gDualMacFeatureDisable" |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 8296 | #define CFG_DUAL_MAC_FEATURE_DISABLE_MIN (0) |
Tushnim Bhattacharyya | aececb2 | 2018-08-06 14:27:46 -0700 | [diff] [blame] | 8297 | #define CFG_DUAL_MAC_FEATURE_DISABLE_MAX (6) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 8298 | #define CFG_DUAL_MAC_FEATURE_DISABLE_DEFAULT (0) |
| 8299 | |
Varun Reddy Yeturu | b43fda1 | 2015-09-10 18:16:21 -0700 | [diff] [blame] | 8300 | /* |
Nitesh Shah | 50a3de1 | 2017-04-03 19:37:19 +0530 | [diff] [blame] | 8301 | * <ini> |
| 8302 | * gdbs_scan_selection - DBS Scan Selection. |
Nitesh Shah | 45d6f33 | 2017-06-16 17:25:34 +0530 | [diff] [blame] | 8303 | * @Default: "" |
Nitesh Shah | 50a3de1 | 2017-04-03 19:37:19 +0530 | [diff] [blame] | 8304 | * |
| 8305 | * This ini is used to enable DBS scan selection. |
Nitesh Shah | 45d6f33 | 2017-06-16 17:25:34 +0530 | [diff] [blame] | 8306 | * Example |
| 8307 | * @Value: "5,2,2,16,2,2" |
Nitesh Shah | 50a3de1 | 2017-04-03 19:37:19 +0530 | [diff] [blame] | 8308 | * 1st argument is module_id, 2nd argument is number of DBS scan, |
| 8309 | * 3rd argument is number of non-DBS scan, |
| 8310 | * and other arguments follows. |
| 8311 | * 5,2,2,16,2,2 means: |
| 8312 | * 5 is module id, 2 is num of DBS scan, 2 is num of non-DBS scan. |
| 8313 | * 16 is module id, 2 is num of DBS scan, 2 is num of non-DBS scan. |
| 8314 | * |
| 8315 | * Related: None. |
| 8316 | * |
| 8317 | * Supported Feature: DBS Scan |
| 8318 | * |
| 8319 | * Usage: Internal/External |
| 8320 | * |
| 8321 | * </ini> |
| 8322 | */ |
| 8323 | #define CFG_DBS_SCAN_SELECTION_NAME "gdbs_scan_selection" |
Nitesh Shah | 45d6f33 | 2017-06-16 17:25:34 +0530 | [diff] [blame] | 8324 | #define CFG_DBS_SCAN_SELECTION_DEFAULT "" |
Nitesh Shah | 50a3de1 | 2017-04-03 19:37:19 +0530 | [diff] [blame] | 8325 | |
| 8326 | /* |
Ganesh Kondabattini | 930304c | 2017-10-10 15:25:36 +0530 | [diff] [blame] | 8327 | * <ini> |
| 8328 | * g_sta_sap_scc_on_dfs_chan - Allow STA+SAP SCC on DFS channel with master |
| 8329 | * mode support disabled. |
| 8330 | * @Min: 0 |
| 8331 | * @Max: 1 |
| 8332 | * @Default: 0 |
| 8333 | * |
| 8334 | * This ini is used to allow STA+SAP SCC on DFS channel with master mode |
| 8335 | * support disabled. |
| 8336 | * 0 - Disallow STA+SAP SCC on DFS channel |
| 8337 | * 1 - Allow STA+SAP SCC on DFS channel with master mode disabled |
| 8338 | * |
| 8339 | * Related: None. |
| 8340 | * |
| 8341 | * Supported Feature: Non-DBS, DBS |
| 8342 | * |
| 8343 | * Usage: Internal/External |
| 8344 | * |
| 8345 | * </ini> |
| 8346 | */ |
| 8347 | #define CFG_STA_SAP_SCC_ON_DFS_CHAN "g_sta_sap_scc_on_dfs_chan" |
| 8348 | #define CFG_STA_SAP_SCC_ON_DFS_CHAN_MIN (0) |
| 8349 | #define CFG_STA_SAP_SCC_ON_DFS_CHAN_MAX (1) |
| 8350 | #define CFG_STA_SAP_SCC_ON_DFS_CHAN_DEFAULT (0) |
| 8351 | |
| 8352 | /* |
Zhu Jianmin | 72d32de | 2018-05-11 10:54:10 +0800 | [diff] [blame] | 8353 | * <ini> |
| 8354 | * g_sta_sap_scc_on_lte_coex_chan - Allow STA+SAP SCC on LTE coex channel |
| 8355 | * @Min: 0 |
| 8356 | * @Max: 1 |
| 8357 | * @Default: 0 |
| 8358 | * |
| 8359 | * This ini is used to allow STA+SAP SCC on LTE coex channel |
| 8360 | * 0 - Disallow STA+SAP SCC on LTE coex channel |
| 8361 | * 1 - Allow STA+SAP SCC on LTE coex channel |
| 8362 | * |
| 8363 | * Related: None. |
| 8364 | * |
| 8365 | * Supported Feature: Non-DBS, DBS |
| 8366 | * |
| 8367 | * Usage: Internal/External |
| 8368 | * |
| 8369 | * </ini> |
| 8370 | */ |
| 8371 | #define CFG_STA_SAP_SCC_ON_LTE_COEX_CHAN "g_sta_sap_scc_on_lte_coex_chan" |
| 8372 | #define CFG_STA_SAP_SCC_ON_LTE_COEX_CHAN_MIN (0) |
| 8373 | #define CFG_STA_SAP_SCC_ON_LTE_COEX_CHAN_MAX (1) |
| 8374 | #define CFG_STA_SAP_SCC_ON_LTE_COEX_CHAN_DEFAULT (0) |
| 8375 | |
| 8376 | /* |
Varun Reddy Yeturu | b43fda1 | 2015-09-10 18:16:21 -0700 | [diff] [blame] | 8377 | * gPNOChannelPrediction will allow user to enable/disable the |
| 8378 | * PNO channel prediction feature. |
| 8379 | * In current PNO implementation, scan is always done until all configured |
| 8380 | * channels are scanned. If we can determine DUT is stationary based on |
| 8381 | * scanning a subset of channels, we may cancel the remaining channels. |
| 8382 | * Hence, we can save additional power consumption. |
| 8383 | */ |
| 8384 | #define CFG_PNO_CHANNEL_PREDICTION_NAME "gPNOChannelPrediction" |
| 8385 | #define CFG_PNO_CHANNEL_PREDICTION_MIN (0) |
| 8386 | #define CFG_PNO_CHANNEL_PREDICTION_MAX (1) |
| 8387 | #define CFG_PNO_CHANNEL_PREDICTION_DEFAULT (0) |
| 8388 | /* |
| 8389 | * The top K number of channels are used for tanimoto distance |
| 8390 | * calculation. These are the top channels on which the probability |
| 8391 | * of finding the AP's is extremely high. This number is intended |
| 8392 | * for tweaking the internal algorithm for experiments. This should |
| 8393 | * not be changed externally. |
| 8394 | */ |
| 8395 | #define CFG_TOP_K_NUM_OF_CHANNELS_NAME "gTopKNumOfChannels" |
| 8396 | #define CFG_TOP_K_NUM_OF_CHANNELS_MIN (1) |
| 8397 | #define CFG_TOP_K_NUM_OF_CHANNELS_MAX (5) |
| 8398 | #define CFG_TOP_K_NUM_OF_CHANNELS_DEFAULT (3) |
| 8399 | /* |
| 8400 | * This is the threshold value to determine that the STA is |
| 8401 | * stationary. If the tanimoto distance is less than this |
| 8402 | * value, then the device is considered to be stationary. |
| 8403 | * This parameter is intended to tweak the internal algorithm |
| 8404 | * for experiments. This should not be changed externally. |
| 8405 | */ |
| 8406 | #define CFG_STATIONARY_THRESHOLD_NAME "gStationaryThreshold" |
| 8407 | #define CFG_STATIONARY_THRESHOLD_MIN (0) |
| 8408 | #define CFG_STATIONARY_THRESHOLD_MAX (100) |
| 8409 | #define CFG_STATIONARY_THRESHOLD_DEFAULT (10) |
Varun Reddy Yeturu | 044bda2 | 2015-11-21 22:03:40 -0800 | [diff] [blame] | 8410 | |
Deepak Dhamdhere | 68929ec | 2015-08-05 15:16:35 -0700 | [diff] [blame] | 8411 | /* Option to report rssi in cfg80211_inform_bss_frame() |
| 8412 | * 0 = use rssi value based on noise floor = -96 dBm |
| 8413 | * 1 = use rssi value based on actual noise floor in hardware |
| 8414 | */ |
| 8415 | #define CFG_INFORM_BSS_RSSI_RAW_NAME "gInformBssRssiRaw" |
| 8416 | #define CFG_INFORM_BSS_RSSI_RAW_MIN (0) |
| 8417 | #define CFG_INFORM_BSS_RSSI_RAW_MAX (1) |
| 8418 | #define CFG_INFORM_BSS_RSSI_RAW_DEFAULT (1) |
Ravi Joshi | 742495d | 2015-11-09 18:56:53 -0800 | [diff] [blame] | 8419 | |
Manikandan Mohan | 976e756 | 2016-03-15 16:33:31 -0700 | [diff] [blame] | 8420 | /* GPIO pin to toggle when capture tsf */ |
| 8421 | #define CFG_SET_TSF_GPIO_PIN_NAME "gtsf_gpio_pin" |
| 8422 | #define CFG_SET_TSF_GPIO_PIN_MIN (0) |
Manikandan Mohan | 296d4b5 | 2016-03-15 16:39:31 -0700 | [diff] [blame] | 8423 | #define CFG_SET_TSF_GPIO_PIN_MAX (254) |
| 8424 | #define TSF_GPIO_PIN_INVALID (255) |
| 8425 | #define CFG_SET_TSF_GPIO_PIN_DEFAULT (TSF_GPIO_PIN_INVALID) |
Sandeep Puligilla | 93a29ec | 2016-02-12 16:10:56 -0800 | [diff] [blame] | 8426 | |
Yu Wang | 66a250b | 2017-07-19 11:46:40 +0800 | [diff] [blame] | 8427 | #ifdef WLAN_FEATURE_TSF_PLUS |
| 8428 | /* PTP options */ |
| 8429 | #define CFG_SET_TSF_PTP_OPT_NAME "gtsf_ptp_options" |
| 8430 | #define CFG_SET_TSF_PTP_OPT_MIN (0) |
| 8431 | #define CFG_SET_TSF_PTP_OPT_MAX (0xff) |
| 8432 | #define CFG_SET_TSF_PTP_OPT_RX (0x1) |
| 8433 | #define CFG_SET_TSF_PTP_OPT_TX (0x2) |
| 8434 | #define CFG_SET_TSF_PTP_OPT_RAW (0x4) |
| 8435 | #define CFG_SET_TSF_DBG_FS (0x8) |
| 8436 | #define CFG_SET_TSF_PTP_OPT_DEFAULT (0xf) |
| 8437 | #endif |
| 8438 | |
Sandeep Puligilla | 93a29ec | 2016-02-12 16:10:56 -0800 | [diff] [blame] | 8439 | /* |
Gupta, Kapil | c68ad46 | 2016-02-01 19:17:23 +0530 | [diff] [blame] | 8440 | * Dense traffic threshold |
| 8441 | * traffic threshold required for dense roam scan |
Kapil Gupta | 7bad431 | 2016-08-19 14:35:06 +0530 | [diff] [blame] | 8442 | * Measured in kbps |
Gupta, Kapil | c68ad46 | 2016-02-01 19:17:23 +0530 | [diff] [blame] | 8443 | */ |
| 8444 | #define CFG_ROAM_DENSE_TRAFFIC_THRESHOLD "gtraffic_threshold" |
| 8445 | #define CFG_ROAM_DENSE_TRAFFIC_THRESHOLD_MIN (0) |
Kapil Gupta | 7bad431 | 2016-08-19 14:35:06 +0530 | [diff] [blame] | 8446 | #define CFG_ROAM_DENSE_TRAFFIC_THRESHOLD_MAX (0xffffffff) |
| 8447 | #define CFG_ROAM_DENSE_TRAFFIC_THRESHOLD_DEFAULT (400) |
Gupta, Kapil | c68ad46 | 2016-02-01 19:17:23 +0530 | [diff] [blame] | 8448 | |
| 8449 | /* |
Kapil Gupta | 8878ad9 | 2017-02-13 11:56:04 +0530 | [diff] [blame] | 8450 | * <ini> |
| 8451 | * gvendor_acs_support - vendor based channel selection manager |
| 8452 | * @Min: 0 |
| 8453 | * @Max: 1 |
| 8454 | * @Default: 0 |
| 8455 | * |
| 8456 | * Enabling this parameter will force driver to use user application based |
| 8457 | * channel selection algo instead of driver based auto channel selection |
| 8458 | * logic. |
| 8459 | * |
| 8460 | * Supported Feature: ACS |
| 8461 | * |
| 8462 | * Usage: External/Internal |
| 8463 | * |
| 8464 | * </ini> |
| 8465 | */ |
| 8466 | #define CFG_USER_AUTO_CHANNEL_SELECTION "gvendor_acs_support" |
| 8467 | #define CFG_USER_AUTO_CHANNEL_SELECTION_DISABLE (0) |
| 8468 | #define CFG_USER_AUTO_CHANNEL_SELECTION_ENABLE (1) |
| 8469 | #define CFG_USER_AUTO_CHANNEL_SELECTION_DEFAULT (0) |
| 8470 | |
| 8471 | /* |
| 8472 | * <ini> |
| 8473 | * gacs_support_for_dfs_lte_coex - acs support for lte coex and dfs event |
| 8474 | * @Min: 0 |
| 8475 | * @Max: 1 |
| 8476 | * @Default: 0 |
| 8477 | * |
| 8478 | * Enabling this parameter will force driver to use user application based |
| 8479 | * channel selection algo for channel selection in case of dfs and lte |
| 8480 | * coex event. |
| 8481 | * |
| 8482 | * Supported Feature: ACS |
| 8483 | * |
| 8484 | * Usage: Internal |
| 8485 | * |
| 8486 | * </ini> |
| 8487 | */ |
| 8488 | #define CFG_USER_ACS_DFS_LTE "gacs_support_for_dfs_lte_coex" |
| 8489 | #define CFG_USER_ACS_DFS_LTE_DISABLE (0) |
| 8490 | #define CFG_USER_ACS_DFS_LTE_ENABLE (1) |
| 8491 | #define CFG_USER_ACS_DFS_LTE_DEFAULT (0) |
| 8492 | |
| 8493 | /* |
Abhishek Singh | 165bc60 | 2016-03-21 12:43:00 +0530 | [diff] [blame] | 8494 | * Enabling gignore_peer_ht_opmode will enable 11g |
| 8495 | * protection only when there is a 11g AP in vicinity. |
| 8496 | */ |
| 8497 | #define CFG_IGNORE_PEER_HT_MODE_NAME "gignore_peer_ht_opmode" |
| 8498 | #define CFG_IGNORE_PEER_HT_MODE_MIN (0) |
| 8499 | #define CFG_IGNORE_PEER_HT_MODE_MAX (1) |
| 8500 | #define CFG_IGNORE_PEER_HT_MODE_DEFAULT (0) |
| 8501 | |
| 8502 | /* |
Abhishek Singh | 5ea8653 | 2016-04-27 14:10:53 +0530 | [diff] [blame] | 8503 | * Enable/Disable to initiate BUG report in case of fatal event |
| 8504 | * Default: Enable |
| 8505 | */ |
| 8506 | #define CFG_ENABLE_FATAL_EVENT_TRIGGER "gEnableFatalEvent" |
| 8507 | #define CFG_ENABLE_FATAL_EVENT_TRIGGER_MIN (0) |
| 8508 | #define CFG_ENABLE_FATAL_EVENT_TRIGGER_MAX (1) |
| 8509 | #define CFG_ENABLE_FATAL_EVENT_TRIGGER_DEFAULT (1) |
| 8510 | |
Abhishek Singh | 10ecf58 | 2016-05-04 17:48:59 +0530 | [diff] [blame] | 8511 | /* |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 8512 | * <ini> |
| 8513 | * gEnableEdcaParams - Enable edca parameter |
| 8514 | * @Min: 0 |
| 8515 | * @Max: 1 |
| 8516 | * @Default: 0 |
| 8517 | * |
| 8518 | * This ini is used if gEnableEdcaParams is set to 1, params gEdcaVoCwmin, |
Abhishek Singh | 10ecf58 | 2016-05-04 17:48:59 +0530 | [diff] [blame] | 8519 | * gEdcaViCwmin, gEdcaBkCwmin, gEdcaBeCwmin, gEdcaVoCwmax, |
| 8520 | * gEdcaViCwmax, gEdcaBkCwmax, gEdcaBeCwmax, gEdcaVoAifs, |
| 8521 | * gEdcaViAifs, gEdcaBkAifs and gEdcaBeAifs values are used |
| 8522 | * to overwrite the values received from AP |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 8523 | * |
| 8524 | * Related: None |
| 8525 | * |
| 8526 | * Supported Feature: STA |
| 8527 | * |
| 8528 | * Usage: Internal/External |
| 8529 | * |
| 8530 | * </ini> |
Abhishek Singh | 10ecf58 | 2016-05-04 17:48:59 +0530 | [diff] [blame] | 8531 | */ |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 8532 | |
Abhishek Singh | 10ecf58 | 2016-05-04 17:48:59 +0530 | [diff] [blame] | 8533 | #define CFG_ENABLE_EDCA_INI_NAME "gEnableEdcaParams" |
| 8534 | #define CFG_ENABLE_EDCA_INI_MIN (0) |
| 8535 | #define CFG_ENABLE_EDCA_INI_MAX (1) |
| 8536 | #define CFG_ENABLE_EDCA_INI_DEFAULT (0) |
| 8537 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 8538 | /* |
| 8539 | * <ini> |
| 8540 | * gEdcaVoCwmin - Set Cwmin value for EDCA_AC_VO |
| 8541 | * @Min: 0 |
| 8542 | * @Max: 0x15 |
| 8543 | * @Default: 2 |
| 8544 | * |
| 8545 | * This ini is used to set default Cwmin value for EDCA_AC_VO |
| 8546 | * Cwmin value for EDCA_AC_VO. CWVomin = 2^gEdcaVoCwmin -1 |
| 8547 | * |
| 8548 | * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin etc |
| 8549 | * are aplicable |
| 8550 | * |
| 8551 | * Supported Feature: STA |
| 8552 | * |
| 8553 | * Usage: Internal/External |
| 8554 | * |
| 8555 | * </ini> |
| 8556 | */ |
| 8557 | |
Abhishek Singh | 10ecf58 | 2016-05-04 17:48:59 +0530 | [diff] [blame] | 8558 | #define CFG_EDCA_VO_CWMIN_VALUE_NAME "gEdcaVoCwmin" |
| 8559 | #define CFG_EDCA_VO_CWMIN_VALUE_MIN (0x0) |
| 8560 | #define CFG_EDCA_VO_CWMIN_VALUE_MAX (15) |
| 8561 | #define CFG_EDCA_VO_CWMIN_VALUE_DEFAULT (2) |
| 8562 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 8563 | /* |
| 8564 | * <ini> |
| 8565 | * gEdcaViCwmin - Set Cwmin value for EDCA_AC_VI |
| 8566 | * @Min: 0x0 |
| 8567 | * @Max: 15 |
| 8568 | * @Default: 3 |
| 8569 | * |
| 8570 | * This ini is used to set default value for EDCA_AC_VI |
| 8571 | * Cwmin value for EDCA_AC_VI. CWVimin = 2^gEdcaViCwmin -1 |
| 8572 | * |
| 8573 | * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin |
| 8574 | * etc are aplicable |
| 8575 | * |
| 8576 | * Supported Feature: STA |
| 8577 | * |
| 8578 | * Usage: Internal/External |
| 8579 | * |
| 8580 | * </ini> |
| 8581 | */ |
| 8582 | |
Abhishek Singh | 10ecf58 | 2016-05-04 17:48:59 +0530 | [diff] [blame] | 8583 | #define CFG_EDCA_VI_CWMIN_VALUE_NAME "gEdcaViCwmin" |
| 8584 | #define CFG_EDCA_VI_CWMIN_VALUE_MIN (0x0) |
| 8585 | #define CFG_EDCA_VI_CWMIN_VALUE_MAX (15) |
| 8586 | #define CFG_EDCA_VI_CWMIN_VALUE_DEFAULT (3) |
| 8587 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 8588 | /* |
| 8589 | * <ini> |
| 8590 | * gEdcaBkCwmin - Set Cwmin value for EDCA_AC_BK |
| 8591 | * @Min: 0x0 |
| 8592 | * @Max: 15 |
| 8593 | * @Default: 4 |
| 8594 | * |
| 8595 | * This ini is used to set default Cwmin value for EDCA_AC_BK |
| 8596 | * Cwmin value for EDCA_AC_BK. CWBkmin = 2^gEdcaBkCwmin -1 |
| 8597 | * |
| 8598 | * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin |
| 8599 | * etc are aplicable |
| 8600 | * |
| 8601 | * Supported Feature: STA |
| 8602 | * |
| 8603 | * Usage: Internal/External |
| 8604 | * </ini> |
| 8605 | */ |
| 8606 | |
Abhishek Singh | 10ecf58 | 2016-05-04 17:48:59 +0530 | [diff] [blame] | 8607 | #define CFG_EDCA_BK_CWMIN_VALUE_NAME "gEdcaBkCwmin" |
| 8608 | #define CFG_EDCA_BK_CWMIN_VALUE_MIN (0x0) |
| 8609 | #define CFG_EDCA_BK_CWMIN_VALUE_MAX (15) |
| 8610 | #define CFG_EDCA_BK_CWMIN_VALUE_DEFAULT (4) |
| 8611 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 8612 | /* |
| 8613 | * <ini> |
| 8614 | * gEdcaBeCwmin - Set Cwmin value for EDCA_AC_BE |
| 8615 | * @Min: 0x0 |
| 8616 | * @Max: 15 |
| 8617 | * @Default: 4 |
| 8618 | * |
| 8619 | * This ini is used to set default Cwmin value for EDCA_AC_BE |
| 8620 | * Cwmin value for EDCA_AC_BE. CWBemin = 2^gEdcaBeCwmin |
| 8621 | * |
| 8622 | * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin |
| 8623 | * etc are aplicable |
| 8624 | * |
| 8625 | * Supported Feature: STA |
| 8626 | * |
| 8627 | * Usage: Internal/External |
| 8628 | * |
| 8629 | * </ini> |
| 8630 | */ |
| 8631 | |
Abhishek Singh | 10ecf58 | 2016-05-04 17:48:59 +0530 | [diff] [blame] | 8632 | #define CFG_EDCA_BE_CWMIN_VALUE_NAME "gEdcaBeCwmin" |
| 8633 | #define CFG_EDCA_BE_CWMIN_VALUE_MIN (0x0) |
| 8634 | #define CFG_EDCA_BE_CWMIN_VALUE_MAX (15) |
| 8635 | #define CFG_EDCA_BE_CWMIN_VALUE_DEFAULT (4) |
| 8636 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 8637 | /* |
| 8638 | * <ini> |
| 8639 | * gEdcaVoCwmax - Set Cwmax value for EDCA_AC_VO |
| 8640 | * @Min: 0 |
| 8641 | * @Max: 15 |
| 8642 | * @Default: 3 |
| 8643 | * |
| 8644 | * This ini is used to set default Cwmax value for EDCA_AC_VO |
| 8645 | * Cwmax value for EDCA_AC_VO. CWVomax = 2^gEdcaVoCwmax -1 |
| 8646 | * |
| 8647 | * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin |
| 8648 | * etc are aplicable |
| 8649 | * |
| 8650 | * Supported Feature: STA |
| 8651 | * |
| 8652 | * Usage: Internal/External |
| 8653 | * |
| 8654 | * </ini> |
| 8655 | */ |
| 8656 | |
Abhishek Singh | 10ecf58 | 2016-05-04 17:48:59 +0530 | [diff] [blame] | 8657 | #define CFG_EDCA_VO_CWMAX_VALUE_NAME "gEdcaVoCwmax" |
| 8658 | #define CFG_EDCA_VO_CWMAX_VALUE_MIN (0) |
| 8659 | #define CFG_EDCA_VO_CWMAX_VALUE_MAX (15) |
| 8660 | #define CFG_EDCA_VO_CWMAX_VALUE_DEFAULT (3) |
| 8661 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 8662 | /* |
| 8663 | * <ini> |
| 8664 | * gEdcaViCwmax - Set Cwmax value for EDCA_AC_VI |
| 8665 | * @Min: 0 |
| 8666 | * @Max: 15 |
| 8667 | * @Default: 4 |
| 8668 | * |
| 8669 | * This ini is used to set default Cwmax value for EDCA_AC_VI |
| 8670 | * Cwmax value for EDCA_AC_VI. CWVimax = 2^gEdcaViCwmax -1 |
| 8671 | * |
| 8672 | * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin |
| 8673 | * etc are aplicable |
| 8674 | * |
| 8675 | * Supported Feature: STA |
| 8676 | * |
| 8677 | * Usage: Internal/External |
| 8678 | * |
| 8679 | * </ini> |
| 8680 | */ |
Abhishek Singh | 10ecf58 | 2016-05-04 17:48:59 +0530 | [diff] [blame] | 8681 | #define CFG_EDCA_VI_CWMAX_VALUE_NAME "gEdcaViCwmax" |
| 8682 | #define CFG_EDCA_VI_CWMAX_VALUE_MIN (0) |
| 8683 | #define CFG_EDCA_VI_CWMAX_VALUE_MAX (15) |
| 8684 | #define CFG_EDCA_VI_CWMAX_VALUE_DEFAULT (4) |
| 8685 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 8686 | /* |
| 8687 | * <ini> |
| 8688 | * gEdcaBkCwmax - Set Cwmax value for EDCA_AC_BK |
| 8689 | * @Min: 0 |
| 8690 | * @Max: 15 |
| 8691 | * @Default: 10 |
| 8692 | * |
| 8693 | * This ini is used to set default Cwmax value for EDCA_AC_BK |
| 8694 | * Cwmax value for EDCA_AC_BK. CWBkmax = 2^gEdcaBkCwmax -1 |
| 8695 | * |
| 8696 | * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin |
| 8697 | * etc are aplicable |
| 8698 | * |
| 8699 | * Supported Feature: STA |
| 8700 | * |
| 8701 | * Usage: Internal/External |
| 8702 | * |
| 8703 | * </ini> |
| 8704 | */ |
| 8705 | |
Abhishek Singh | 10ecf58 | 2016-05-04 17:48:59 +0530 | [diff] [blame] | 8706 | #define CFG_EDCA_BK_CWMAX_VALUE_NAME "gEdcaBkCwmax" |
| 8707 | #define CFG_EDCA_BK_CWMAX_VALUE_MIN (0) |
| 8708 | #define CFG_EDCA_BK_CWMAX_VALUE_MAX (15) |
| 8709 | #define CFG_EDCA_BK_CWMAX_VALUE_DEFAULT (10) |
| 8710 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 8711 | /* |
| 8712 | * <ini> |
| 8713 | * gEdcaBeCwmax - Set Cwmax value for EDCA_AC_BE |
| 8714 | * @Min: 0 |
| 8715 | * @Max: 15 |
| 8716 | * @Default: 10 |
| 8717 | * |
| 8718 | * This ini is used to set default Cwmax value for EDCA_AC_BE |
| 8719 | * Cwmax value for EDCA_AC_BE. CWBemax = 2^gEdcaBeCwmax -1 |
| 8720 | * |
| 8721 | * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin |
| 8722 | * etc are aplicable |
| 8723 | * |
| 8724 | * Supported Feature: STA |
| 8725 | * |
| 8726 | * Usage: Internal/External |
| 8727 | * |
| 8728 | * </ini> |
| 8729 | */ |
| 8730 | |
Abhishek Singh | 10ecf58 | 2016-05-04 17:48:59 +0530 | [diff] [blame] | 8731 | #define CFG_EDCA_BE_CWMAX_VALUE_NAME "gEdcaBeCwmax" |
| 8732 | #define CFG_EDCA_BE_CWMAX_VALUE_MIN (0) |
| 8733 | #define CFG_EDCA_BE_CWMAX_VALUE_MAX (15) |
| 8734 | #define CFG_EDCA_BE_CWMAX_VALUE_DEFAULT (10) |
| 8735 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 8736 | /* |
| 8737 | * <ini> |
| 8738 | * gEdcaVoAifs - Set Aifs value for EDCA_AC_VO |
| 8739 | * @Min: 0 |
| 8740 | * @Max: 15 |
| 8741 | * @Default: 2 |
| 8742 | * |
| 8743 | * This ini is used to set default Aifs value for EDCA_AC_VO |
| 8744 | * |
| 8745 | * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin |
| 8746 | * etc are aplicable |
| 8747 | * |
| 8748 | * Supported Feature: STA |
| 8749 | * |
| 8750 | * Usage: Internal/External |
| 8751 | * |
| 8752 | * </ini> |
| 8753 | */ |
| 8754 | |
Abhishek Singh | 10ecf58 | 2016-05-04 17:48:59 +0530 | [diff] [blame] | 8755 | #define CFG_EDCA_VO_AIFS_VALUE_NAME "gEdcaVoAifs" |
| 8756 | #define CFG_EDCA_VO_AIFS_VALUE_MIN (0) |
| 8757 | #define CFG_EDCA_VO_AIFS_VALUE_MAX (15) |
| 8758 | #define CFG_EDCA_VO_AIFS_VALUE_DEFAULT (2) |
| 8759 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 8760 | /* |
| 8761 | * <ini> |
| 8762 | * gEdcaViAifs - Set Aifs value for EDCA_AC_VI |
| 8763 | * @Min: 0 |
| 8764 | * @Max: 15 |
| 8765 | * @Default: 2 |
| 8766 | * |
| 8767 | * This ini is used to set default Aifs value for EDCA_AC_VI |
| 8768 | * |
| 8769 | * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin |
| 8770 | * etc are aplicable |
| 8771 | * |
| 8772 | * Supported Feature: STA |
| 8773 | * |
| 8774 | * Usage: Internal/External |
| 8775 | * |
| 8776 | * </ini> |
| 8777 | */ |
| 8778 | |
Abhishek Singh | 10ecf58 | 2016-05-04 17:48:59 +0530 | [diff] [blame] | 8779 | #define CFG_EDCA_VI_AIFS_VALUE_NAME "gEdcaViAifs" |
| 8780 | #define CFG_EDCA_VI_AIFS_VALUE_MIN (0) |
| 8781 | #define CFG_EDCA_VI_AIFS_VALUE_MAX (15) |
| 8782 | #define CFG_EDCA_VI_AIFS_VALUE_DEFAULT (2) |
| 8783 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 8784 | /* |
| 8785 | * <ini> |
| 8786 | * gEdcaBkAifs - Set Aifs value for EDCA_AC_BK |
| 8787 | * @Min: 0 |
| 8788 | * @Max: 15 |
| 8789 | * @Default: 7 |
| 8790 | * |
| 8791 | * This ini is used to set default Aifs value for EDCA_AC_BK |
| 8792 | * |
| 8793 | * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin |
| 8794 | * etc are aplicable |
| 8795 | * |
| 8796 | * Supported Feature: STA |
| 8797 | * |
| 8798 | * Usage: Internal/External |
| 8799 | * |
| 8800 | * </ini> |
| 8801 | */ |
| 8802 | |
Abhishek Singh | 10ecf58 | 2016-05-04 17:48:59 +0530 | [diff] [blame] | 8803 | #define CFG_EDCA_BK_AIFS_VALUE_NAME "gEdcaBkAifs" |
| 8804 | #define CFG_EDCA_BK_AIFS_VALUE_MIN (0) |
| 8805 | #define CFG_EDCA_BK_AIFS_VALUE_MAX (15) |
| 8806 | #define CFG_EDCA_BK_AIFS_VALUE_DEFAULT (7) |
| 8807 | |
Sen, Devendra | 9ca8c43 | 2017-02-23 15:10:26 +0530 | [diff] [blame] | 8808 | /* |
| 8809 | * <ini> |
| 8810 | * gEdcaBeAifs - Set Aifs value for EDCA_AC_BE |
| 8811 | * @Min: 0 |
| 8812 | * @Max: 15 |
| 8813 | * @Default: 3 |
| 8814 | * |
| 8815 | * This ini is used to set default Aifs value for EDCA_AC_BE |
| 8816 | * |
| 8817 | * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin |
| 8818 | * etc are aplicable |
| 8819 | * |
| 8820 | * Supported Feature: STA |
| 8821 | * |
| 8822 | * Usage: Internal/External |
| 8823 | * |
| 8824 | * </ini> |
| 8825 | */ |
| 8826 | |
Abhishek Singh | 10ecf58 | 2016-05-04 17:48:59 +0530 | [diff] [blame] | 8827 | #define CFG_EDCA_BE_AIFS_VALUE_NAME "gEdcaBeAifs" |
| 8828 | #define CFG_EDCA_BE_AIFS_VALUE_MIN (0) |
| 8829 | #define CFG_EDCA_BE_AIFS_VALUE_MAX (15) |
| 8830 | #define CFG_EDCA_BE_AIFS_VALUE_DEFAULT (3) |
| 8831 | |
Nirav Shah | cc1f1ae | 2016-04-26 11:41:29 +0530 | [diff] [blame] | 8832 | /* |
gbian | 62edd7e | 2017-03-07 13:12:13 +0800 | [diff] [blame] | 8833 | * <ini> |
| 8834 | * gEnableTxSchedWrrVO - Set TX sched parameters for VO |
| 8835 | * @Default: |
| 8836 | * |
| 8837 | * This key is mapping to VO defined in data path module through |
| 8838 | * OL_TX_SCHED_WRR_ADV_CAT_CFG_SPEC. The user can tune the |
| 8839 | * WRR TX sched parameters such as skip, credit, limit, credit, disc for VO. |
| 8840 | * e.g., gEnableTxSchedWrrVO = 10, 9, 8, 1, 8 |
| 8841 | */ |
| 8842 | #define CFG_ENABLE_TX_SCHED_WRR_VO_NAME "gEnableTxSchedWrrVO" |
| 8843 | #define CFG_ENABLE_TX_SCHED_WRR_VO_DEFAULT "" |
| 8844 | |
| 8845 | /* |
| 8846 | * <ini> |
| 8847 | * gEnableTxSchedWrrVI - Set TX sched parameters for VI |
| 8848 | * @Default: |
| 8849 | * |
| 8850 | * This key is mapping to VI defined in data path module through |
| 8851 | * OL_TX_SCHED_WRR_ADV_CAT_CFG_SPEC. The user can tune the |
| 8852 | * WRR TX sched parameters such as skip, credit, limit, credit, disc for VI. |
| 8853 | * e.g., gEnableTxSchedWrrVI = 10, 9, 8, 1, 8 |
| 8854 | */ |
| 8855 | #define CFG_ENABLE_TX_SCHED_WRR_VI_NAME "gEnableTxSchedWrrVI" |
| 8856 | #define CFG_ENABLE_TX_SCHED_WRR_VI_DEFAULT "" |
| 8857 | |
| 8858 | /* |
| 8859 | * <ini> |
| 8860 | * gEnableTxSchedWrrBE - Set TX sched parameters for BE |
| 8861 | * @Default: |
| 8862 | * |
| 8863 | * This key is mapping to BE defined in data path module through |
| 8864 | * OL_TX_SCHED_WRR_ADV_CAT_CFG_SPEC. The user can tune the |
| 8865 | * WRR TX sched parameters such as skip, credit, limit, credit, disc for BE. |
| 8866 | * e.g., gEnableTxSchedWrrBE = 10, 9, 8, 1, 8 |
| 8867 | */ |
| 8868 | #define CFG_ENABLE_TX_SCHED_WRR_BE_NAME "gEnableTxSchedWrrBE" |
| 8869 | #define CFG_ENABLE_TX_SCHED_WRR_BE_DEFAULT "" |
| 8870 | |
| 8871 | /* |
| 8872 | * <ini> |
| 8873 | * gEnableTxSchedWrrBK - Set TX sched parameters for BK |
| 8874 | * @Default: |
| 8875 | * |
| 8876 | * This key is mapping to BK defined in data path module through |
| 8877 | * OL_TX_SCHED_WRR_ADV_CAT_CFG_SPEC. The user can tune the |
| 8878 | * WRR TX sched parameters such as skip, credit, limit, credit, disc for BK. |
| 8879 | * e.g., gEnableTxSchedWrrBK = 10, 9, 8, 1, 8 |
| 8880 | */ |
| 8881 | #define CFG_ENABLE_TX_SCHED_WRR_BK_NAME "gEnableTxSchedWrrBK" |
| 8882 | #define CFG_ENABLE_TX_SCHED_WRR_BK_DEFAULT "" |
| 8883 | |
Nirav Shah | d21a2e3 | 2018-04-20 16:34:43 +0530 | [diff] [blame] | 8884 | #ifdef CONFIG_DP_TRACE |
gbian | 62edd7e | 2017-03-07 13:12:13 +0800 | [diff] [blame] | 8885 | /* |
Nirav Shah | cc1f1ae | 2016-04-26 11:41:29 +0530 | [diff] [blame] | 8886 | * Enable/disable DPTRACE |
| 8887 | * Enabling this might have performace impact. |
| 8888 | */ |
| 8889 | #define CFG_ENABLE_DP_TRACE "enable_dp_trace" |
| 8890 | #define CFG_ENABLE_DP_TRACE_MIN (0) |
Mohit Khanna | f8f9682 | 2017-05-17 17:11:59 -0700 | [diff] [blame] | 8891 | #define CFG_ENABLE_DP_TRACE_MAX (1) |
Nirav Shah | 1da7768 | 2016-05-03 20:16:39 +0530 | [diff] [blame] | 8892 | #define CFG_ENABLE_DP_TRACE_DEFAULT (1) |
Nirav Shah | cc1f1ae | 2016-04-26 11:41:29 +0530 | [diff] [blame] | 8893 | |
Mohit Khanna | f8f9682 | 2017-05-17 17:11:59 -0700 | [diff] [blame] | 8894 | /* Max length of gDptraceConfig string. e.g.- "1, 6, 1, 62" */ |
| 8895 | #define DP_TRACE_CONFIG_STRING_LENGTH (20) |
| 8896 | |
| 8897 | /* At max 4 DP Trace config parameters are allowed. Refer - gDptraceConfig */ |
| 8898 | #define DP_TRACE_CONFIG_NUM_PARAMS (4) |
| 8899 | |
| 8900 | /* |
| 8901 | * Default value of live mode in case it cannot be determined from cfg string |
| 8902 | * gDptraceConfig |
| 8903 | */ |
| 8904 | #define DP_TRACE_CONFIG_DEFAULT_LIVE_MODE (1) |
| 8905 | |
| 8906 | /* |
| 8907 | * Default value of thresh (packets/second) beyond which DP Trace is disabled. |
| 8908 | * Use this default in case the value cannot be determined from cfg string |
| 8909 | * gDptraceConfig |
| 8910 | */ |
Mohit Khanna | f7562c3 | 2018-07-05 17:42:36 -0700 | [diff] [blame] | 8911 | #define DP_TRACE_CONFIG_DEFAULT_THRESH (6) |
Mohit Khanna | f8f9682 | 2017-05-17 17:11:59 -0700 | [diff] [blame] | 8912 | |
| 8913 | /* |
| 8914 | * Number of intervals of BW timer to wait before enabling/disabling DP Trace. |
| 8915 | * Since throughput threshold to disable live logging for DP Trace is very low, |
| 8916 | * we calculate throughput based on # packets received in a second. |
Mohit Khanna | f7562c3 | 2018-07-05 17:42:36 -0700 | [diff] [blame] | 8917 | * For example assuming bandwidth timer interval is 100ms, and if more than 6 |
| 8918 | * prints are received in 10 * 100 ms interval, we want to disable DP Trace |
Mohit Khanna | f8f9682 | 2017-05-17 17:11:59 -0700 | [diff] [blame] | 8919 | * live logging. DP_TRACE_CONFIG_DEFAULT_THRESH_TIME_LIMIT is the default |
| 8920 | * value, to be used in case the real value cannot be derived from |
| 8921 | * bw timer interval |
| 8922 | */ |
| 8923 | #define DP_TRACE_CONFIG_DEFAULT_THRESH_TIME_LIMIT (10) |
| 8924 | |
| 8925 | /* Default proto bitmap in case its missing in gDptraceConfig string */ |
| 8926 | #define DP_TRACE_CONFIG_DEFAULT_BITMAP \ |
| 8927 | (QDF_NBUF_PKT_TRAC_TYPE_EAPOL |\ |
| 8928 | QDF_NBUF_PKT_TRAC_TYPE_DHCP |\ |
| 8929 | QDF_NBUF_PKT_TRAC_TYPE_MGMT_ACTION |\ |
| 8930 | QDF_NBUF_PKT_TRAC_TYPE_ARP |\ |
Poddar, Siddarth | 44aa5aa | 2017-07-10 17:30:22 +0530 | [diff] [blame] | 8931 | QDF_NBUF_PKT_TRAC_TYPE_ICMP |\ |
| 8932 | QDF_NBUF_PKT_TRAC_TYPE_ICMPv6)\ |
Mohit Khanna | f8f9682 | 2017-05-17 17:11:59 -0700 | [diff] [blame] | 8933 | |
| 8934 | /* Default verbosity, in case its missing in gDptraceConfig string*/ |
| 8935 | #define DP_TRACE_CONFIG_DEFAULT_VERBOSTY QDF_DP_TRACE_VERBOSITY_LOW |
| 8936 | /* |
| 8937 | * Config DPTRACE |
| 8938 | * The sequence of params is important. If some param is missing, defaults are |
| 8939 | * considered. |
| 8940 | * Param 1: Enable/Disable DP Trace live mode (uint8_t) |
| 8941 | * Param 2: DP Trace live mode high bandwidth thresh.(uint8_t) |
| 8942 | * (packets/second) beyond which DP Trace is disabled. Decimal Val. |
| 8943 | * MGMT, DHCP, EAPOL, ARP pkts are not counted. ICMP and Data are. |
Manjunathappa Prakash | 5f5ed13 | 2018-06-05 20:51:30 -0700 | [diff] [blame] | 8944 | * Param 3: Default Verbosity (0-4) |
Mohit Khanna | f8f9682 | 2017-05-17 17:11:59 -0700 | [diff] [blame] | 8945 | * Param 4: Proto Bitmap (uint8_t). Decimal Value. |
| 8946 | * (decimal 62 = 0x3e) |
| 8947 | * e.g., to disable live mode, use the following param in the ini file. |
| 8948 | * gDptraceConfig = 0 |
Mohit Khanna | f7562c3 | 2018-07-05 17:42:36 -0700 | [diff] [blame] | 8949 | * e.g., to enable dptrace live mode and set the thresh as 6, |
Mohit Khanna | f8f9682 | 2017-05-17 17:11:59 -0700 | [diff] [blame] | 8950 | * use the following param in the ini file. |
Mohit Khanna | f7562c3 | 2018-07-05 17:42:36 -0700 | [diff] [blame] | 8951 | * gDptraceConfig = 1, 6 |
Mohit Khanna | f8f9682 | 2017-05-17 17:11:59 -0700 | [diff] [blame] | 8952 | */ |
| 8953 | #define CFG_ENABLE_DP_TRACE_CONFIG "gDptraceConfig" |
Mohit Khanna | f7562c3 | 2018-07-05 17:42:36 -0700 | [diff] [blame] | 8954 | #define CFG_ENABLE_DP_TRACE_CONFIG_DEFAULT "1, 6, 2, 126" |
Nirav Shah | d21a2e3 | 2018-04-20 16:34:43 +0530 | [diff] [blame] | 8955 | #endif |
Mohit Khanna | f8f9682 | 2017-05-17 17:11:59 -0700 | [diff] [blame] | 8956 | |
Gupta, Kapil | 96c7f2f | 2016-04-25 19:13:41 +0530 | [diff] [blame] | 8957 | /* |
Gupta, Kapil | 96c7f2f | 2016-04-25 19:13:41 +0530 | [diff] [blame] | 8958 | * This parameter will set the weight to calculate the average low pass |
| 8959 | * filter for channel congestion. |
| 8960 | * Acceptable values for this: 0-100 (In %) |
| 8961 | */ |
| 8962 | #define CFG_ADAPT_DWELL_LPF_WEIGHT_NAME "adapt_dwell_lpf_weight" |
| 8963 | #define CFG_ADAPT_DWELL_LPF_WEIGHT_MIN (0) |
| 8964 | #define CFG_ADAPT_DWELL_LPF_WEIGHT_MAX (100) |
| 8965 | #define CFG_ADAPT_DWELL_LPF_WEIGHT_DEFAULT (80) |
| 8966 | |
| 8967 | /* |
| 8968 | * This parameter will set interval to monitor wifi activity |
| 8969 | * in passive scan in msec. |
| 8970 | * Acceptable values for this: 0-25 |
| 8971 | */ |
| 8972 | #define CFG_ADAPT_DWELL_PASMON_INTVAL_NAME "adapt_dwell_passive_mon_intval" |
| 8973 | #define CFG_ADAPT_DWELL_PASMON_INTVAL_MIN (0) |
Kapil Gupta | 6eb83c0 | 2017-03-03 11:07:52 +0530 | [diff] [blame] | 8974 | #define CFG_ADAPT_DWELL_PASMON_INTVAL_MAX (25) |
| 8975 | #define CFG_ADAPT_DWELL_PASMON_INTVAL_DEFAULT (10) |
Gupta, Kapil | 96c7f2f | 2016-04-25 19:13:41 +0530 | [diff] [blame] | 8976 | |
| 8977 | /* |
| 8978 | * This parameter will set % of wifi activity used in passive scan 0-100. |
| 8979 | * Acceptable values for this: 0-100 (in %) |
| 8980 | */ |
| 8981 | #define CFG_ADAPT_DWELL_WIFI_THRESH_NAME "adapt_dwell_wifi_act_threshold" |
| 8982 | #define CFG_ADAPT_DWELL_WIFI_THRESH_MIN (0) |
| 8983 | #define CFG_ADAPT_DWELL_WIFI_THRESH_MAX (100) |
| 8984 | #define CFG_ADAPT_DWELL_WIFI_THRESH_DEFAULT (10) |
| 8985 | |
| 8986 | /* |
Manjeet Singh | a5acc16 | 2017-01-06 17:38:16 +0530 | [diff] [blame] | 8987 | * <ini> |
| 8988 | * g_bug_on_reinit_failure - Enable/Disable bug on reinit |
| 8989 | * @Min: 0 |
| 8990 | * @Max: 1 |
| 8991 | * @Default: 1 |
| 8992 | * |
| 8993 | * This ini is used to debug ssr reinit failure issues by raising vos bug so |
| 8994 | * dumps can be collected. |
| 8995 | * g_bug_on_reinit_failure = 0 wlan driver will only recover after driver |
| 8996 | * unload and load |
| 8997 | * g_bug_on_reinit_failure = 1 raise vos bug to collect dumps |
| 8998 | * |
| 8999 | * Related: gEnableSSR |
| 9000 | * |
| 9001 | * Supported Feature: SSR |
| 9002 | * |
| 9003 | * Usage: External |
| 9004 | * |
| 9005 | * </ini> |
Mukul Sharma | f7d62e1 | 2016-09-03 15:16:22 +0530 | [diff] [blame] | 9006 | */ |
| 9007 | #define CFG_BUG_ON_REINIT_FAILURE_NAME "g_bug_on_reinit_failure" |
| 9008 | #define CFG_BUG_ON_REINIT_FAILURE_MIN (0) |
| 9009 | #define CFG_BUG_ON_REINIT_FAILURE_MAX (1) |
| 9010 | #define CFG_BUG_ON_REINIT_FAILURE_DEFAULT (1) |
| 9011 | |
| 9012 | /* |
Abhishek Singh | 76587c3 | 2016-12-01 11:47:44 +0530 | [diff] [blame] | 9013 | * <ini> |
| 9014 | * gSub20ChannelWidth - Control sub 20 channel width (5/10 Mhz) |
| 9015 | * @Min: 0 |
| 9016 | * @Max: 2 |
| 9017 | * @Default: 0 |
| 9018 | * |
| 9019 | * This ini is used to set the sub 20 channel width. |
Naveen Rawat | 64e477e | 2016-05-20 10:34:56 -0700 | [diff] [blame] | 9020 | * gSub20ChannelWidth=0: indicates do not use Sub 20 MHz bandwidth |
| 9021 | * gSub20ChannelWidth=1: Bring up SAP/STA in 5 MHz bandwidth |
| 9022 | * gSub20ChannelWidth=2: Bring up SAP/STA in 10 MHz bandwidth |
Abhishek Singh | 76587c3 | 2016-12-01 11:47:44 +0530 | [diff] [blame] | 9023 | * |
| 9024 | * Related: None |
| 9025 | * |
| 9026 | * Supported Feature: 5/10 Mhz channel width support |
| 9027 | * |
| 9028 | * Usage: Internal/External |
| 9029 | * |
| 9030 | * </ini> |
Naveen Rawat | 64e477e | 2016-05-20 10:34:56 -0700 | [diff] [blame] | 9031 | */ |
| 9032 | #define CFG_SUB_20_CHANNEL_WIDTH_NAME "gSub20ChannelWidth" |
| 9033 | #define CFG_SUB_20_CHANNEL_WIDTH_MIN (WLAN_SUB_20_CH_WIDTH_NONE) |
| 9034 | #define CFG_SUB_20_CHANNEL_WIDTH_MAX (WLAN_SUB_20_CH_WIDTH_10) |
| 9035 | #define CFG_SUB_20_CHANNEL_WIDTH_DEFAULT (WLAN_SUB_20_CH_WIDTH_NONE) |
Nirav Shah | bd36b06 | 2016-07-18 11:12:59 +0530 | [diff] [blame] | 9036 | |
Rajeev Kumar Sirasanagandla | af47474 | 2016-09-06 17:54:50 +0530 | [diff] [blame] | 9037 | #define CFG_TGT_GTX_USR_CFG_NAME "tgt_gtx_usr_cfg" |
| 9038 | #define CFG_TGT_GTX_USR_CFG_MIN (0) |
| 9039 | #define CFG_TGT_GTX_USR_CFG_MAX (32) |
| 9040 | #define CFG_TGT_GTX_USR_CFG_DEFAULT (32) |
| 9041 | |
Arun Khandavalli | cc544b3 | 2017-01-30 19:52:16 +0530 | [diff] [blame] | 9042 | #define CFG_SAP_INTERNAL_RESTART_NAME "gEnableSapInternalRestart" |
| 9043 | #define CFG_SAP_INTERNAL_RESTART_MIN (0) |
| 9044 | #define CFG_SAP_INTERNAL_RESTART_MAX (1) |
| 9045 | #define CFG_SAP_INTERNAL_RESTART_DEFAULT (1) |
| 9046 | |
Nirav Shah | bd36b06 | 2016-07-18 11:12:59 +0530 | [diff] [blame] | 9047 | /* |
Hanumanth Reddy Pothula | 9c161dd | 2017-03-23 19:03:08 +0530 | [diff] [blame] | 9048 | * <ini> |
Hanumanth Reddy Pothula | ffc2d48 | 2017-07-04 11:32:44 +0530 | [diff] [blame] | 9049 | * restart_beaconing_on_chan_avoid_event - control the beaconing entity to move |
| 9050 | * away from active LTE channels |
Hanumanth Reddy Pothula | 9c161dd | 2017-03-23 19:03:08 +0530 | [diff] [blame] | 9051 | * @Min: 0 |
Tushnim Bhattacharyya | 3efa49a | 2017-07-18 15:43:09 -0700 | [diff] [blame] | 9052 | * @Max: 2 |
Hanumanth Reddy Pothula | 9c161dd | 2017-03-23 19:03:08 +0530 | [diff] [blame] | 9053 | * @Default: 1 |
| 9054 | * |
Hanumanth Reddy Pothula | ffc2d48 | 2017-07-04 11:32:44 +0530 | [diff] [blame] | 9055 | * This ini is used to control the beaconing entity (SAP/GO) to move away from |
| 9056 | * active LTE channels when channel avoidance event is received |
| 9057 | * restart_beaconing_on_chan_avoid_event=0: Don't allow beaconing entity move |
| 9058 | * from active LTE channels |
| 9059 | * restart_beaconing_on_chan_avoid_event=1: Allow beaconing entity move from |
| 9060 | * active LTE channels |
Tushnim Bhattacharyya | 3efa49a | 2017-07-18 15:43:09 -0700 | [diff] [blame] | 9061 | * restart_beaconing_on_chan_avoid_event=2: Allow beaconing entity move from |
| 9062 | * 2.4G active LTE channels only |
Hanumanth Reddy Pothula | 9c161dd | 2017-03-23 19:03:08 +0530 | [diff] [blame] | 9063 | * |
| 9064 | * Related: None |
| 9065 | * |
| 9066 | * Supported Feature: channel avoidance |
| 9067 | * |
| 9068 | * Usage: Internal/External |
| 9069 | * |
| 9070 | * </ini> |
| 9071 | */ |
Hanumanth Reddy Pothula | ffc2d48 | 2017-07-04 11:32:44 +0530 | [diff] [blame] | 9072 | #define CFG_RESTART_BEACONING_ON_CH_AVOID_NAME "restart_beaconing_on_chan_avoid_event" |
Tushnim Bhattacharyya | 3efa49a | 2017-07-18 15:43:09 -0700 | [diff] [blame] | 9073 | #define CFG_RESTART_BEACONING_ON_CH_AVOID_MIN (CH_AVOID_RULE_DO_NOT_RESTART) |
| 9074 | #define CFG_RESTART_BEACONING_ON_CH_AVOID_MAX (CH_AVOID_RULE_RESTART_24G_ONLY) |
| 9075 | #define CFG_RESTART_BEACONING_ON_CH_AVOID_DEFAULT (CH_AVOID_RULE_RESTART) |
Hanumanth Reddy Pothula | 9c161dd | 2017-03-23 19:03:08 +0530 | [diff] [blame] | 9076 | /* |
Agrawal, Ashish | 4e5fa1c | 2016-09-21 19:03:43 +0530 | [diff] [blame] | 9077 | * This parameter will avoid updating ap_sta_inactivity from hostapd.conf |
| 9078 | * file. If a station does not send anything in ap_max_inactivity seconds, an |
| 9079 | * empty data frame is sent to it in order to verify whether it is |
| 9080 | * still in range. If this frame is not ACKed, the station will be |
| 9081 | * disassociated and then deauthenticated. This feature is used to |
| 9082 | * clear station table of old entries when the STAs move out of the |
| 9083 | * range. |
| 9084 | * Default : Disable |
| 9085 | */ |
| 9086 | #define CFG_SAP_MAX_INACTIVITY_OVERRIDE_NAME "gSapMaxInactivityOverride" |
| 9087 | #define CFG_SAP_MAX_INACTIVITY_OVERRIDE_MIN (0) |
| 9088 | #define CFG_SAP_MAX_INACTIVITY_OVERRIDE_MAX (1) |
| 9089 | #define CFG_SAP_MAX_INACTIVITY_OVERRIDE_DEFAULT (0) |
| 9090 | |
| 9091 | /* |
Himanshu Agarwal | f048172 | 2016-12-06 12:46:24 +0530 | [diff] [blame] | 9092 | * <ini> |
Mohit Khanna | 7032200 | 2018-05-15 19:21:32 -0700 | [diff] [blame] | 9093 | * rx_mode - Control to decide rx mode for packet procesing |
Himanshu Agarwal | f048172 | 2016-12-06 12:46:24 +0530 | [diff] [blame] | 9094 | * |
| 9095 | * @Min: 0 |
Tang Yingying | 5a4ccf2 | 2018-03-30 15:58:27 +0800 | [diff] [blame] | 9096 | * @Max: (CFG_ENABLE_RX_THREAD | CFG_ENABLE_RPS | CFG_ENABLE_NAPI | \ |
Mohit Khanna | 7032200 | 2018-05-15 19:21:32 -0700 | [diff] [blame] | 9097 | * CFG_ENABLE_DYNAMIC_RPS) |
| 9098 | * Some possible configurations: |
| 9099 | * rx_mode=0 - Uses tasklets for bottom half |
| 9100 | * CFG_ENABLE_NAPI (rx_mode=4) - Uses NAPI for bottom half |
| 9101 | * CFG_ENABLE_RX_THREAD | CFG_ENABLE_NAPI (rx_mode=5) - NAPI for bottom half, |
| 9102 | * rx_thread for stack. Single threaded. |
| 9103 | * CFG_ENABLE_DP_RX_THREAD | CFG_ENABLE_NAPI (rx_mode=10) - NAPI for bottom |
| 9104 | * half, dp_rx_thread for stack processing. Supports multiple rx threads. |
Himanshu Agarwal | f048172 | 2016-12-06 12:46:24 +0530 | [diff] [blame] | 9105 | * |
| 9106 | * Usage: Internal |
| 9107 | * |
| 9108 | * </ini> |
Nirav Shah | bd36b06 | 2016-07-18 11:12:59 +0530 | [diff] [blame] | 9109 | */ |
| 9110 | #define CFG_RX_MODE_NAME "rx_mode" |
| 9111 | #define CFG_RX_MODE_MIN (0) |
| 9112 | #define CFG_RX_MODE_MAX (CFG_ENABLE_RX_THREAD | CFG_ENABLE_RPS | \ |
Mohit Khanna | 7032200 | 2018-05-15 19:21:32 -0700 | [diff] [blame] | 9113 | CFG_ENABLE_NAPI | CFG_ENABLE_DYNAMIC_RPS | \ |
| 9114 | CFG_ENABLE_DP_RX_THREADS) |
Nirav Shah | bd36b06 | 2016-07-18 11:12:59 +0530 | [diff] [blame] | 9115 | #ifdef MDM_PLATFORM |
| 9116 | #define CFG_RX_MODE_DEFAULT (0) |
Manjunathappa Prakash | 2721f94 | 2016-08-24 16:08:23 -0700 | [diff] [blame] | 9117 | #elif defined(HELIUMPLUS) |
| 9118 | #define CFG_RX_MODE_DEFAULT CFG_ENABLE_NAPI |
Mohit Khanna | 7032200 | 2018-05-15 19:21:32 -0700 | [diff] [blame] | 9119 | #elif defined(QCA_WIFI_QCA6290_11AX) |
| 9120 | #define CFG_RX_MODE_DEFAULT (CFG_ENABLE_DP_RX_THREADS | CFG_ENABLE_NAPI) |
Nirav Shah | bd36b06 | 2016-07-18 11:12:59 +0530 | [diff] [blame] | 9121 | #else |
| 9122 | #define CFG_RX_MODE_DEFAULT (CFG_ENABLE_RX_THREAD | CFG_ENABLE_NAPI) |
| 9123 | #endif |
| 9124 | |
Himanshu Agarwal | 24aa27e | 2017-05-23 11:07:50 +0530 | [diff] [blame] | 9125 | /* |
| 9126 | * <ini> |
Mohit Khanna | 7032200 | 2018-05-15 19:21:32 -0700 | [diff] [blame] | 9127 | * num_dp_rx_threads - Control to set the number of dp rx threads |
| 9128 | * |
| 9129 | * @Min: 1 |
| 9130 | * @Max: 4 |
| 9131 | * @Default: 1 |
| 9132 | * |
| 9133 | * Usage: Internal |
| 9134 | * |
| 9135 | * </ini> |
| 9136 | */ |
| 9137 | #define CFG_NUM_DP_RX_THREADS_NAME "num_dp_rx_threads" |
| 9138 | #define CFG_NUM_DP_RX_THREADS_MIN (1) |
| 9139 | #define CFG_NUM_DP_RX_THREADS_MAX (4) |
| 9140 | #define CFG_NUM_DP_RX_THREADS_DEFAULT (1) |
| 9141 | |
| 9142 | /* |
| 9143 | * <ini> |
Himanshu Agarwal | bdc776f | 2017-08-02 12:51:08 +0530 | [diff] [blame] | 9144 | * ce_service_max_yield_time - Control to set ce service max yield time (in us) |
Himanshu Agarwal | 24aa27e | 2017-05-23 11:07:50 +0530 | [diff] [blame] | 9145 | * |
Himanshu Agarwal | bdc776f | 2017-08-02 12:51:08 +0530 | [diff] [blame] | 9146 | * @Min: 500 |
| 9147 | * @Max: 10000 |
| 9148 | * @Default: 10000 |
Himanshu Agarwal | 24aa27e | 2017-05-23 11:07:50 +0530 | [diff] [blame] | 9149 | * |
Himanshu Agarwal | bdc776f | 2017-08-02 12:51:08 +0530 | [diff] [blame] | 9150 | * This ini is used to set ce service max yield time (in us) |
Himanshu Agarwal | 24aa27e | 2017-05-23 11:07:50 +0530 | [diff] [blame] | 9151 | * |
| 9152 | * Supported Feature: NAPI |
| 9153 | * |
| 9154 | * Usage: Internal |
| 9155 | * |
| 9156 | * </ini> |
| 9157 | */ |
| 9158 | #define CFG_CE_SERVICE_MAX_YIELD_TIME_NAME "ce_service_max_yield_time" |
Himanshu Agarwal | bdc776f | 2017-08-02 12:51:08 +0530 | [diff] [blame] | 9159 | #define CFG_CE_SERVICE_MAX_YIELD_TIME_MIN (500) |
| 9160 | #define CFG_CE_SERVICE_MAX_YIELD_TIME_MAX (10000) |
| 9161 | #define CFG_CE_SERVICE_MAX_YIELD_TIME_DEFAULT (10000) |
Himanshu Agarwal | 24aa27e | 2017-05-23 11:07:50 +0530 | [diff] [blame] | 9162 | |
Poddar, Siddarth | 04eed33 | 2017-06-28 14:20:26 +0530 | [diff] [blame] | 9163 | /* |
| 9164 | * <ini> |
| 9165 | * ce_service_max_rx_ind_flush - Control to set ce service max rx ind flush |
| 9166 | * |
| 9167 | * @Min: 1 |
| 9168 | * @Max: 32 |
| 9169 | * @Default: 1 |
| 9170 | * |
| 9171 | * This ini is used to set ce service max rx ind flush |
| 9172 | * |
| 9173 | * Supported Feature: NAPI |
| 9174 | * |
| 9175 | * Usage: Internal |
| 9176 | * |
| 9177 | * </ini> |
| 9178 | */ |
| 9179 | #define CFG_CE_SERVICE_MAX_RX_IND_FLUSH_NAME "ce_service_max_rx_ind_flush" |
| 9180 | #define CFG_CE_SERVICE_MAX_RX_IND_FLUSH_MIN (1) |
| 9181 | #define CFG_CE_SERVICE_MAX_RX_IND_FLUSH_MAX (32) |
| 9182 | #define CFG_CE_SERVICE_MAX_RX_IND_FLUSH_DEFAULT (32) |
| 9183 | |
Manjunathappa Prakash | cb6df76 | 2018-05-29 18:54:58 -0700 | [diff] [blame] | 9184 | /* |
| 9185 | * <ini> |
| 9186 | * NAPI_CPU_AFFINITY_MASK - CPU mask to affine NAPIs |
| 9187 | * |
| 9188 | * @Min: 0 |
| 9189 | * @Max: 0xFF |
| 9190 | * @Default: 0 |
| 9191 | * |
| 9192 | * This ini is used to set NAPI IRQ CPU affinity |
| 9193 | * |
| 9194 | * Supported Feature: NAPI |
| 9195 | * |
| 9196 | * Usage: Internal |
| 9197 | * |
| 9198 | * </ini> |
| 9199 | */ |
| 9200 | #define CFG_NAPI_CE_CPU_MASK_NAME "NAPI_CPU_AFFINITY_MASK" |
| 9201 | #define CFG_NAPI_CE_CPU_MASK_MIN (0) |
| 9202 | #define CFG_NAPI_CE_CPU_MASK_MAX (0xFF) |
| 9203 | #define CFG_NAPI_CE_CPU_MASK_DEFAULT (0) |
| 9204 | |
Manjunathappa Prakash | b6b4ff1 | 2018-06-04 12:32:33 -0700 | [diff] [blame] | 9205 | /* |
| 9206 | * <ini> |
| 9207 | * RX_THREAD_CPU_AFFINITY_MASK - CPU mask to affine Rx_thread |
| 9208 | * |
| 9209 | * @Min: 0 |
| 9210 | * @Max: 0xFF |
| 9211 | * @Default: 0 |
| 9212 | * |
| 9213 | * This ini is used to set Rx_thread CPU affinity |
| 9214 | * |
| 9215 | * Supported Feature: Rx_thread |
| 9216 | * |
| 9217 | * Usage: Internal |
| 9218 | * |
| 9219 | * </ini> |
| 9220 | */ |
Manjunathappa Prakash | 3a21bea | 2018-05-29 20:41:12 -0700 | [diff] [blame] | 9221 | #define CFG_RX_THREAD_CPU_MASK_NAME "RX_THREAD_CPU_AFFINITY_MASK" |
Manjunathappa Prakash | b6b4ff1 | 2018-06-04 12:32:33 -0700 | [diff] [blame] | 9222 | #define CFG_RX_THREAD_CPU_MASK_MIN (0) |
| 9223 | #define CFG_RX_THREAD_CPU_MASK_MAX (0xFF) |
| 9224 | #define CFG_RX_THREAD_CPU_MASK_DEFAULT (0) |
Poddar, Siddarth | 04eed33 | 2017-06-28 14:20:26 +0530 | [diff] [blame] | 9225 | |
Nirav Shah | bd36b06 | 2016-07-18 11:12:59 +0530 | [diff] [blame] | 9226 | /* List of RPS CPU maps for different rx queues registered by WLAN driver |
| 9227 | * Ref - Kernel/Documentation/networking/scaling.txt |
| 9228 | * RPS CPU map for a particular RX queue, selects CPU(s) for bottom half |
| 9229 | * processing of RX packets. For example, for a system with 4 CPUs, |
| 9230 | * 0xe: Use CPU1 - CPU3 and donot use CPU0. |
| 9231 | * 0x0: RPS is disabled, packets are processed on the interrupting CPU. |
| 9232 | .* |
| 9233 | * WLAN driver registers NUM_TX_QUEUES queues for tx and rx each during |
| 9234 | * alloc_netdev_mq. Hence, we need to have a cpu mask for each of the rx queues. |
| 9235 | * |
| 9236 | * For example, if the NUM_TX_QUEUES is 4, a sample WLAN ini entry may look like |
| 9237 | * rpsRxQueueCpuMapList=a b c d |
| 9238 | * For a 4 CPU system (CPU0 - CPU3), this implies: |
| 9239 | * 0xa - (1010) use CPU1, CPU3 for rx queue 0 |
| 9240 | * 0xb - (1011) use CPU0, CPU1 and CPU3 for rx queue 1 |
| 9241 | * 0xc - (1100) use CPU2, CPU3 for rx queue 2 |
| 9242 | * 0xd - (1101) use CPU0, CPU2 and CPU3 for rx queue 3 |
| 9243 | |
| 9244 | * In practice, we may want to avoid the cores which are heavily loaded. |
| 9245 | */ |
| 9246 | |
| 9247 | /* Name of the ini file entry to specify RPS map for different RX queus */ |
| 9248 | #define CFG_RPS_RX_QUEUE_CPU_MAP_LIST_NAME "rpsRxQueueCpuMapList" |
| 9249 | |
| 9250 | /* Default value of rpsRxQueueCpuMapList. Different platforms may have |
| 9251 | * different configurations for NUM_TX_QUEUES and # of cpus, and will need to |
| 9252 | * configure an appropriate value via ini file. Setting default value to 'e' to |
| 9253 | * avoid use of CPU0 (since its heavily used by other system processes) by rx |
| 9254 | * queue 0, which is currently being used for rx packet processing. |
| 9255 | */ |
| 9256 | #define CFG_RPS_RX_QUEUE_CPU_MAP_LIST_DEFAULT "e" |
| 9257 | |
| 9258 | /* Maximum length of string used to hold a list of cpu maps for various rx |
| 9259 | * queues. Considering a 16 core system with 5 rx queues, a RPS CPU map |
| 9260 | * list may look like - |
| 9261 | * rpsRxQueueCpuMapList = ffff ffff ffff ffff ffff |
| 9262 | * (all 5 rx queues can be processed on all 16 cores) |
| 9263 | * max string len = 24 + 1(for '\0'). Considering 30 to be on safe side. |
| 9264 | */ |
| 9265 | #define CFG_RPS_RX_QUEUE_CPU_MAP_LIST_LEN 30 |
| 9266 | |
Yingying Tang | 9540997 | 2016-10-20 15:16:15 +0800 | [diff] [blame] | 9267 | #ifdef WLAN_FEATURE_WOW_PULSE |
| 9268 | /* |
| 9269 | * Enable/Disable WOW PULSE feature |
| 9270 | * Set the wakeup pulse which FW use to wake up HOST |
| 9271 | * Default : Disable |
| 9272 | */ |
| 9273 | #define CFG_WOW_PULSE_SUPPORT_NAME "gwow_pulse_support" |
| 9274 | #define CFG_WOW_PULSE_SUPPORT_MIN (0) |
| 9275 | #define CFG_WOW_PULSE_SUPPORT_MAX (1) |
| 9276 | #define CFG_WOW_PULSE_SUPPORT_DEFAULT (CFG_WOW_PULSE_SUPPORT_MIN) |
| 9277 | |
| 9278 | /* |
| 9279 | * GPIO PIN for Pulse |
| 9280 | * Which PIN to send the Pulse |
| 9281 | */ |
| 9282 | #define CFG_WOW_PULSE_PIN_NAME "gwow_pulse_pin" |
| 9283 | #define CFG_WOW_PULSE_PIN_MIN (CFG_SET_TSF_GPIO_PIN_MIN) |
| 9284 | #define CFG_WOW_PULSE_PIN_MAX (CFG_SET_TSF_GPIO_PIN_MAX) |
| 9285 | #define CFG_WOW_PULSE_PIN_DEFAULT (35) |
| 9286 | |
| 9287 | /* |
| 9288 | * Pulse interval low |
| 9289 | * The interval of low level in the pulse |
| 9290 | * The value which defined by customer should between 160 and 480 |
| 9291 | */ |
| 9292 | #define CFG_WOW_PULSE_INTERVAL_LOW_NAME "gwow_pulse_interval_low" |
| 9293 | #define CFG_WOW_PULSE_INTERVAL_LOW_MIN (160) |
| 9294 | #define CFG_WOW_PULSE_INTERVAL_LOW_MAX (480) |
| 9295 | #define CFG_WOW_PULSE_INTERVAL_LOW_DEFAULT (180) |
| 9296 | |
| 9297 | /* |
| 9298 | * Pulse interval high |
| 9299 | * The interval of high level in the pulse |
| 9300 | * The value which defined by customer should between 20 and 40 |
| 9301 | */ |
| 9302 | #define CFG_WOW_PULSE_INTERVAL_HIGH_NAME "gwow_pulse_interval_high" |
| 9303 | #define CFG_WOW_PULSE_INTERVAL_HIGH_MIN (20) |
| 9304 | #define CFG_WOW_PULSE_INTERVAL_HIGH_MAX (40) |
| 9305 | #define CFG_WOW_PULSE_INTERVAL_HIGH_DEFAULT (20) |
| 9306 | #endif |
| 9307 | |
Amar Singhal | 1851788 | 2016-08-08 12:26:20 -0700 | [diff] [blame] | 9308 | /* |
| 9309 | * Support to start sap in indoor channel |
| 9310 | * Customer can config this item to enable/disable sap in indoor channel |
| 9311 | * Default: Disable |
| 9312 | */ |
| 9313 | #define CFG_INDOOR_CHANNEL_SUPPORT_NAME "gindoor_channel_support" |
| 9314 | #define CFG_INDOOR_CHANNEL_SUPPORT_MIN (0) |
| 9315 | #define CFG_INDOOR_CHANNEL_SUPPORT_MAX (1) |
| 9316 | #define CFG_INDOOR_CHANNEL_SUPPORT_DEFAULT (0) |
Nirav Shah | bd36b06 | 2016-07-18 11:12:59 +0530 | [diff] [blame] | 9317 | |
Ravi Joshi | bb8d451 | 2016-08-22 10:14:52 -0700 | [diff] [blame] | 9318 | /* |
Mukul Sharma | ecf8e09 | 2017-12-19 22:36:31 +0530 | [diff] [blame] | 9319 | * <ini> |
| 9320 | * g_mark_sap_indoor_as_disable - Enable/Disable Indoor channel |
| 9321 | * @Min: 0 |
| 9322 | * @Max: 1 |
| 9323 | * @Default: 0 |
| 9324 | * |
| 9325 | * This ini is used to mark the Indoor channel as |
| 9326 | * disable when SAP start and revert it on SAP stop, |
| 9327 | * so SAP will not turn on indoor channel and |
| 9328 | * sta will not scan/associate and roam on indoor |
| 9329 | * channels. |
| 9330 | * |
| 9331 | * Related: If g_mark_sap_indoor_as_disable set, turn the |
| 9332 | * indoor channels to disable and update Wiphy & fw. |
| 9333 | * |
| 9334 | * Supported Feature: SAP/STA |
| 9335 | * |
| 9336 | * Usage: External |
| 9337 | * |
| 9338 | * </ini> |
| 9339 | */ |
| 9340 | #define CFG_MARK_INDOOR_AS_DISABLE_NAME "g_mark_sap_indoor_as_disable" |
| 9341 | #define CFG_MARK_INDOOR_AS_DISABLE_MIN (0) |
| 9342 | #define CFG_MARK_INDOOR_AS_DISABLE_MAX (1) |
| 9343 | #define CFG_MARK_INDOOR_AS_DISABLE_DEFAULT (0) |
| 9344 | |
| 9345 | /* |
Rajeev Kumar Sirasanagandla | b79b546 | 2016-09-06 18:33:17 +0530 | [diff] [blame] | 9346 | * Force softap to 11n, when gSapForce11NFor11AC is set to 1 from ini |
| 9347 | * despite of hostapd.conf request for 11ac |
| 9348 | */ |
| 9349 | #define CFG_SAP_FORCE_11N_FOR_11AC_NAME "gSapForce11NFor11AC" |
| 9350 | #define CFG_SAP_FORCE_11N_FOR_11AC_MIN (0) |
| 9351 | #define CFG_SAP_FORCE_11N_FOR_11AC_MAX (1) |
| 9352 | #define CFG_SAP_FORCE_11N_FOR_11AC_DEFAULT (0) |
| 9353 | |
Bala Venkatesh | b9cf336 | 2017-11-09 15:48:46 +0530 | [diff] [blame] | 9354 | #define CFG_GO_FORCE_11N_FOR_11AC_NAME "gGoForce11NFor11AC" |
| 9355 | #define CFG_GO_FORCE_11N_FOR_11AC_MIN (0) |
| 9356 | #define CFG_GO_FORCE_11N_FOR_11AC_MAX (1) |
| 9357 | #define CFG_GO_FORCE_11N_FOR_11AC_DEFAULT (0) |
| 9358 | |
Rajeev Kumar Sirasanagandla | b79b546 | 2016-09-06 18:33:17 +0530 | [diff] [blame] | 9359 | /* |
Yingying Tang | b4832f7 | 2016-10-20 13:44:55 +0800 | [diff] [blame] | 9360 | * sap tx leakage threshold |
| 9361 | * customer can set this value from 100 to 1000 which means |
| 9362 | * sap tx leakage threshold is -10db to -100db |
| 9363 | */ |
| 9364 | #define CFG_SAP_TX_LEAKAGE_THRESHOLD_NAME "gsap_tx_leakage_threshold" |
| 9365 | #define CFG_SAP_TX_LEAKAGE_THRESHOLD_MIN (100) |
| 9366 | #define CFG_SAP_TX_LEAKAGE_THRESHOLD_MAX (1000) |
| 9367 | #define CFG_SAP_TX_LEAKAGE_THRESHOLD_DEFAULT (310) |
| 9368 | |
| 9369 | |
| 9370 | /* |
Ravi Joshi | bb8d451 | 2016-08-22 10:14:52 -0700 | [diff] [blame] | 9371 | * Enable filtering of replayed multicast packets |
| 9372 | * In a typical infrastructure setup, it is quite normal to receive |
| 9373 | * replayed multicast packets. These packets may cause more harm than |
| 9374 | * help if not handled properly. Providing a configuration option |
| 9375 | * to enable filtering of such packets |
| 9376 | */ |
| 9377 | #define CFG_FILTER_MULTICAST_REPLAY_NAME "enable_multicast_replay_filter" |
| 9378 | #define CFG_FILTER_MULTICAST_REPLAY_MIN (0) |
| 9379 | #define CFG_FILTER_MULTICAST_REPLAY_MAX (1) |
| 9380 | #define CFG_FILTER_MULTICAST_REPLAY_DEFAULT (1) |
| 9381 | |
Jeff Johnson | ff4b683 | 2018-05-06 00:06:24 -0700 | [diff] [blame] | 9382 | /* Optimize channel avoidance indication coming from firmware */ |
Selvaraj, Sridhar | ebda0f2 | 2016-08-29 16:05:23 +0530 | [diff] [blame] | 9383 | #define CFG_OPTIMIZE_CA_EVENT_NAME "goptimize_chan_avoid_event" |
| 9384 | #define CFG_OPTIMIZE_CA_EVENT_DISABLE (0) |
| 9385 | #define CFG_OPTIMIZE_CA_EVENT_ENABLE (1) |
| 9386 | #define CFG_OPTIMIZE_CA_EVENT_DEFAULT (0) |
Ravi Joshi | bb8d451 | 2016-08-22 10:14:52 -0700 | [diff] [blame] | 9387 | |
Manjeet Singh | a5acc16 | 2017-01-06 17:38:16 +0530 | [diff] [blame] | 9388 | /* |
| 9389 | * <ini> |
| 9390 | * fw_timeout_crash - Enable/Disable BUG ON |
| 9391 | * @Min: 0 |
| 9392 | * @Max: 1 |
Himanshu Agarwal | 1230ee0 | 2018-05-04 00:31:12 +0530 | [diff] [blame] | 9393 | * @Default: 1 |
Manjeet Singh | a5acc16 | 2017-01-06 17:38:16 +0530 | [diff] [blame] | 9394 | * |
| 9395 | * This ini is used to Trigger host crash when firmware fails to send the |
| 9396 | * response to host |
| 9397 | * fw_timeout_crash = 0 Disabled |
| 9398 | * fw_timeout_crash = 1 Trigger host crash |
| 9399 | * |
| 9400 | * Related: None |
| 9401 | * |
| 9402 | * Supported Feature: SSR |
| 9403 | * |
| 9404 | * Usage: Internal/External |
| 9405 | * |
| 9406 | * </ini> |
| 9407 | */ |
Sandeep Puligilla | afa5289 | 2016-10-26 19:03:16 -0700 | [diff] [blame] | 9408 | #define CFG_CRASH_FW_TIMEOUT_NAME "fw_timeout_crash" |
| 9409 | #define CFG_CRASH_FW_TIMEOUT_DISABLE (0) |
| 9410 | #define CFG_CRASH_FW_TIMEOUT_ENABLE (1) |
Himanshu Agarwal | 1230ee0 | 2018-05-04 00:31:12 +0530 | [diff] [blame] | 9411 | #define CFG_CRASH_FW_TIMEOUT_DEFAULT (1) |
Sandeep Puligilla | afa5289 | 2016-10-26 19:03:16 -0700 | [diff] [blame] | 9412 | |
Dustin Brown | cd75694 | 2016-11-23 12:25:33 -0800 | [diff] [blame] | 9413 | /* |
| 9414 | * <ini> |
| 9415 | * rx_wakelock_timeout - Amount of time to hold wakelock for RX unicast packets |
| 9416 | * @Min: 0 |
| 9417 | * @Max: 100 |
| 9418 | * @Default: 50 |
| 9419 | * |
| 9420 | * This ini item configures the amount of time, in milliseconds, that the driver |
| 9421 | * should prevent system power collapse after receiving an RX unicast packet. |
| 9422 | * A conigured value of 0 disables the RX Wakelock feature completely. |
| 9423 | * |
| 9424 | * Related: None. |
| 9425 | * |
| 9426 | * Supported Feature: RX Wakelock |
| 9427 | * |
| 9428 | * Usage: Internal/External |
| 9429 | * |
| 9430 | * </ini> |
| 9431 | */ |
| 9432 | #define CFG_RX_WAKELOCK_TIMEOUT_NAME "rx_wakelock_timeout" |
| 9433 | #define CFG_RX_WAKELOCK_TIMEOUT_DEFAULT (50) |
| 9434 | #define CFG_RX_WAKELOCK_TIMEOUT_MIN (0) |
| 9435 | #define CFG_RX_WAKELOCK_TIMEOUT_MAX (100) |
Sandeep Puligilla | afa5289 | 2016-10-26 19:03:16 -0700 | [diff] [blame] | 9436 | |
Anurag Chouhan | 7c01cc4 | 2016-12-16 21:33:43 +0530 | [diff] [blame] | 9437 | /* |
| 9438 | * <ini> |
Manjeet Singh | a9cae43 | 2017-02-28 11:58:22 +0530 | [diff] [blame] | 9439 | * enable_5g_band_pref - Enable preference for 5G from INI. |
| 9440 | * @Min: 0 |
| 9441 | * @Max: 1 |
| 9442 | * @Default: 0 |
| 9443 | * This ini is used to enable 5G preference parameters. |
| 9444 | * |
| 9445 | * Related: 5g_rssi_boost_threshold, 5g_rssi_boost_factor, 5g_max_rssi_boost |
| 9446 | * 5g_rssi_penalize_threshold, 5g_rssi_penalize_factor, 5g_max_rssi_penalize |
| 9447 | * |
| 9448 | * Supported Feature: 5G band preference |
| 9449 | * |
| 9450 | * Usage: External |
| 9451 | * |
| 9452 | * </ini> |
| 9453 | */ |
| 9454 | |
| 9455 | #define CFG_ENABLE_5G_BAND_PREF_NAME "enable_5g_band_pref" |
| 9456 | #define CFG_ENABLE_5G_BAND_PREF_MIN (0) |
| 9457 | #define CFG_ENABLE_5G_BAND_PREF_MAX (1) |
| 9458 | #define CFG_ENABLE_5G_BAND_PREF_DEFAULT (0) |
| 9459 | |
| 9460 | /* |
| 9461 | * <ini> |
| 9462 | * 5g_rssi_boost_threshold - A_band_boost_threshold above which 5 GHz is favored. |
| 9463 | * @Min: -55 |
| 9464 | * @Max: -70 |
| 9465 | * @Default: -60 |
| 9466 | * This ini is used to set threshold for 5GHz band preference. |
| 9467 | * |
| 9468 | * Related: 5g_rssi_boost_factor, 5g_max_rssi_boost |
| 9469 | * 5g_rssi_penalize_threshold, 5g_rssi_penalize_factor, 5g_max_rssi_penalize |
| 9470 | * |
| 9471 | * Supported Feature: 5G band preference |
| 9472 | * |
| 9473 | * Usage: External |
| 9474 | * |
| 9475 | * </ini> |
| 9476 | */ |
| 9477 | #define CFG_5G_RSSI_BOOST_THRESHOLD_NAME "5g_rssi_boost_threshold" |
| 9478 | #define CFG_5G_RSSI_BOOST_THRESHOLD_MIN (-55) |
| 9479 | #define CFG_5G_RSSI_BOOST_THRESHOLD_MAX (-70) |
| 9480 | #define CFG_5G_RSSI_BOOST_THRESHOLD_DEFAULT (-60) |
| 9481 | |
| 9482 | /* |
| 9483 | * <ini> |
| 9484 | * 5g_rssi_boost_factor - Factor by which 5GHz RSSI is boosted. |
| 9485 | * @Min: 0 |
| 9486 | * @Max: 2 |
| 9487 | * @Default: 1 |
| 9488 | * This ini is used to set the 5Ghz boost factor. |
| 9489 | * |
| 9490 | * Related: 5g_rssi_boost_threshold, 5g_max_rssi_boost |
| 9491 | * 5g_rssi_penalize_threshold, 5g_rssi_penalize_factor, 5g_max_rssi_penalize |
| 9492 | * |
| 9493 | * Supported Feature: 5G band preference |
| 9494 | * |
| 9495 | * Usage: External |
| 9496 | * |
| 9497 | * </ini> |
| 9498 | */ |
| 9499 | #define CFG_5G_RSSI_BOOST_FACTOR_NAME "5g_rssi_boost_factor" |
| 9500 | #define CFG_5G_RSSI_BOOST_FACTOR_MIN (0) |
| 9501 | #define CFG_5G_RSSI_BOOST_FACTOR_MAX (2) |
| 9502 | #define CFG_5G_RSSI_BOOST_FACTOR_DEFAULT (1) |
| 9503 | |
| 9504 | /* |
| 9505 | * <ini> |
| 9506 | * 5g_max_rssi_boost - Maximum boost that can be applied to 5GHz RSSI. |
| 9507 | * @Min: 0 |
| 9508 | * @Max: 20 |
| 9509 | * @Default: 10 |
| 9510 | * This ini is used to set maximum boost which can be given to a 5Ghz network. |
| 9511 | * |
| 9512 | * Related: 5g_rssi_boost_threshold, 5g_rssi_boost_factor |
| 9513 | * 5g_rssi_penalize_threshold, 5g_rssi_penalize_factor, 5g_max_rssi_penalize |
| 9514 | * |
| 9515 | * Supported Feature: 5G band preference |
| 9516 | * |
| 9517 | * Usage: External |
| 9518 | * |
| 9519 | * </ini> |
| 9520 | */ |
| 9521 | #define CFG_5G_MAX_RSSI_BOOST_NAME "5g_max_rssi_boost" |
| 9522 | #define CFG_5G_MAX_RSSI_BOOST_MIN (0) |
| 9523 | #define CFG_5G_MAX_RSSI_BOOST_MAX (20) |
| 9524 | #define CFG_5G_MAX_RSSI_BOOST_DEFAULT (10) |
| 9525 | |
| 9526 | /* |
| 9527 | * <ini> |
| 9528 | * 5g_rssi_penalize_threshold - A_band_penalize_threshold above which |
| 9529 | * 5 GHz is not favored. |
| 9530 | * @Min: -65 |
| 9531 | * @Max: -80 |
| 9532 | * @Default: -70 |
| 9533 | * This ini is used to set threshold for 5GHz band preference. |
| 9534 | * |
| 9535 | * Related: 5g_rssi_penalize_factor, 5g_max_rssi_penalize |
| 9536 | * 5g_rssi_boost_threshold, 5g_rssi_boost_factor, 5g_max_rssi_boost |
| 9537 | * |
| 9538 | * Supported Feature: 5G band preference |
| 9539 | * |
| 9540 | * Usage: External |
| 9541 | * |
| 9542 | * </ini> |
| 9543 | */ |
| 9544 | #define CFG_5G_RSSI_PENALIZE_THRESHOLD_NAME "5g_rssi_penalize_threshold" |
| 9545 | #define CFG_5G_RSSI_PENALIZE_THRESHOLD_MIN (-65) |
| 9546 | #define CFG_5G_RSSI_PENALIZE_THRESHOLD_MAX (-80) |
| 9547 | #define CFG_5G_RSSI_PENALIZE_THRESHOLD_DEFAULT (-70) |
| 9548 | |
| 9549 | /* |
| 9550 | * <ini> |
| 9551 | * 5g_rssi_penalize_factor - Factor by which 5GHz RSSI is penalizeed. |
| 9552 | * @Min: 0 |
| 9553 | * @Max: 2 |
| 9554 | * @Default: 1 |
| 9555 | * This ini is used to set the 5Ghz penalize factor. |
| 9556 | * |
| 9557 | * Related: 5g_rssi_penalize_threshold, 5g_max_rssi_penalize |
| 9558 | * 5g_rssi_boost_threshold, 5g_rssi_boost_factor, 5g_max_rssi_boost |
| 9559 | * |
| 9560 | * Supported Feature: 5G band preference |
| 9561 | * |
| 9562 | * Usage: External |
| 9563 | * |
| 9564 | * </ini> |
| 9565 | */ |
| 9566 | #define CFG_5G_RSSI_PENALIZE_FACTOR_NAME "5g_rssi_penalize_factor" |
| 9567 | #define CFG_5G_RSSI_PENALIZE_FACTOR_MIN (0) |
| 9568 | #define CFG_5G_RSSI_PENALIZE_FACTOR_MAX (2) |
| 9569 | #define CFG_5G_RSSI_PENALIZE_FACTOR_DEFAULT (1) |
| 9570 | |
| 9571 | /* |
| 9572 | * <ini> |
| 9573 | * 5g_max_rssi_penalize - Maximum penalty that can be applied to 5GHz RSSI. |
| 9574 | * @Min: 0 |
| 9575 | * @Max: 20 |
| 9576 | * @Default: 10 |
| 9577 | * This ini is used to set maximum penalty which can be given to a 5Ghz network. |
| 9578 | * |
| 9579 | * Related: 5g_rssi_penalize_threshold, 5g_rssi_penalize_factor |
| 9580 | * 5g_rssi_boost_threshold, 5g_rssi_boost_factor, 5g_max_rssi_boost |
| 9581 | * |
| 9582 | * Supported Feature: 5G band preference |
| 9583 | * |
| 9584 | * Usage: External |
| 9585 | * |
| 9586 | * </ini> |
| 9587 | */ |
| 9588 | #define CFG_5G_MAX_RSSI_PENALIZE_NAME "5g_max_rssi_penalize" |
| 9589 | #define CFG_5G_MAX_RSSI_PENALIZE_MIN (0) |
| 9590 | #define CFG_5G_MAX_RSSI_PENALIZE_MAX (20) |
| 9591 | #define CFG_5G_MAX_RSSI_PENALIZE_DEFAULT (10) |
| 9592 | |
| 9593 | /* |
| 9594 | * <ini> |
Anurag Chouhan | 7c01cc4 | 2016-12-16 21:33:43 +0530 | [diff] [blame] | 9595 | * g_max_sched_scan_plan_int - pno sched max scan plan interval. |
| 9596 | * @Min: 1 |
| 9597 | * @Max: 7200 |
| 9598 | * @Default: 3600 |
| 9599 | * |
| 9600 | * This ini is used to set max sched scan plan interval for pno scan |
| 9601 | * (value in seconds). |
| 9602 | * |
| 9603 | * Related: gPNOScanSupport |
| 9604 | * |
| 9605 | * Supported Feature: PNO scan |
| 9606 | * |
| 9607 | * Usage: External |
| 9608 | * |
| 9609 | * </ini> |
| 9610 | */ |
| 9611 | #define CFG_MAX_SCHED_SCAN_PLAN_INT_NAME "g_max_sched_scan_plan_int" |
| 9612 | #define CFG_MAX_SCHED_SCAN_PLAN_INT_MIN (1) |
| 9613 | #define CFG_MAX_SCHED_SCAN_PLAN_INT_MAX (7200) |
| 9614 | #define CFG_MAX_SCHED_SCAN_PLAN_INT_DEFAULT (3600) |
| 9615 | |
| 9616 | /* |
| 9617 | * <ini> |
| 9618 | * g_max_sched_scan_plan_iterations - pno sched max scan plan iterations. |
| 9619 | * @Min: 1 |
| 9620 | * @Max: 100 |
| 9621 | * @Default: 10 |
| 9622 | * |
| 9623 | * This ini is used to set max sched scan plan iterations for pno scan |
| 9624 | * (value in seconds). |
| 9625 | * |
| 9626 | * Related: gPNOScanSupport |
| 9627 | * |
| 9628 | * Supported Feature: PNO scan |
| 9629 | * |
| 9630 | * Usage: External |
| 9631 | * |
| 9632 | * </ini> |
| 9633 | */ |
| 9634 | #define CFG_MAX_SCHED_SCAN_PLAN_ITRNS_NAME "g_max_sched_scan_plan_iterations" |
| 9635 | #define CFG_MAX_SCHED_SCAN_PLAN_ITRNS_MIN (1) |
| 9636 | #define CFG_MAX_SCHED_SCAN_PLAN_ITRNS_MAX (100) |
| 9637 | #define CFG_MAX_SCHED_SCAN_PLAN_ITRNS_DEFAULT (10) |
| 9638 | |
Jeff Johnson | 441e1f7 | 2017-02-07 08:50:49 -0800 | [diff] [blame] | 9639 | /** |
| 9640 | * enum hdd_wext_control - knob for wireless extensions |
| 9641 | * @hdd_wext_disabled - interface is completely disabled. An access |
| 9642 | * control error log will be generated for each attempted use. |
| 9643 | * @hdd_wext_deprecated - interface is available but should not be |
| 9644 | * used. An access control warning log will be generated for each |
| 9645 | * use. |
| 9646 | * @hdd_wext_enabled - interface is available without restriction. No |
| 9647 | * access control logs will be generated. |
| 9648 | * |
| 9649 | * enum hdd_wext_control is used to enable coarse grained control on |
| 9650 | * wireless extensions ioctls. This control is used by configuration |
Jeff Johnson | 618764f | 2018-03-21 16:04:35 -0700 | [diff] [blame] | 9651 | * item private_wext_control. |
Jeff Johnson | 441e1f7 | 2017-02-07 08:50:49 -0800 | [diff] [blame] | 9652 | * |
| 9653 | */ |
| 9654 | enum hdd_wext_control { |
| 9655 | hdd_wext_disabled = 0, |
| 9656 | hdd_wext_deprecated = 1, |
| 9657 | hdd_wext_enabled = 2, |
| 9658 | }; |
| 9659 | |
| 9660 | /* |
| 9661 | * <ini> |
Jeff Johnson | 441e1f7 | 2017-02-07 08:50:49 -0800 | [diff] [blame] | 9662 | * private_wext_control - Private wireless extensions control |
| 9663 | * @Min: 0 |
| 9664 | * @Max: 2 |
| 9665 | * @Default: 1 |
| 9666 | * |
| 9667 | * Values are per enum hdd_wext_control. |
| 9668 | * |
| 9669 | * This ini is used to control access to private wireless extensions |
| 9670 | * ioctls SIOCIWFIRSTPRIV (0x8BE0) thru SIOCIWLASTPRIV (0x8BFF). The |
| 9671 | * functionality provided by some of these ioctls has been superceeded |
| 9672 | * by cfg80211 (either standard commands or vendor commands), but many |
| 9673 | * of the private ioctls do not have a cfg80211-based equivalent, so |
| 9674 | * by default support for these ioctls is deprecated. |
| 9675 | * |
| 9676 | * Related: None |
| 9677 | * |
| 9678 | * Supported Feature: All |
| 9679 | * |
| 9680 | * Usage: Internal/External |
| 9681 | * |
| 9682 | * </ini> |
| 9683 | */ |
| 9684 | #define CFG_PRIVATE_WEXT_CONTROL_NAME "private_wext_control" |
| 9685 | #define CFG_PRIVATE_WEXT_CONTROL_MIN (hdd_wext_disabled) |
| 9686 | #define CFG_PRIVATE_WEXT_CONTROL_MAX (hdd_wext_enabled) |
| 9687 | #define CFG_PRIVATE_WEXT_CONTROL_DEFAULT (hdd_wext_deprecated) |
| 9688 | |
Jeff Johnson | dcd2cf9 | 2017-01-12 10:44:23 -0800 | [diff] [blame] | 9689 | /* |
Selvaraj, Sridhar | 0a71e54 | 2017-01-10 10:21:06 +0530 | [diff] [blame] | 9690 | * <ini> |
Kapil Gupta | 957827b | 2017-02-13 15:47:04 +0530 | [diff] [blame] | 9691 | * gper_roam_mon_time - Minimum time required in seconds to |
| 9692 | * be considered as valid scenario for PER based roam |
| 9693 | * @Min: 5 |
| 9694 | * @Max: 25 |
| 9695 | * @Default: 25 |
| 9696 | * |
| 9697 | * This ini is used to define minimum time in seconds for which DUT has |
| 9698 | * collected the PER stats before it can consider the stats hysteresis to be |
| 9699 | * valid for PER based scan. |
| 9700 | * DUT collects following information during this period: |
| 9701 | * 1. % of packets below gper_roam_low_rate_th |
| 9702 | * 2. # packets above gper_roam_high_rate_th |
| 9703 | * if DUT gets (1) greater than gper_roam_th_percent and (2) is zero during |
| 9704 | * this period, it triggers PER based roam scan. |
| 9705 | * |
| 9706 | * Related: gper_roam_enabled, gper_roam_high_rate_th, gper_roam_low_rate_th, |
| 9707 | * gper_roam_th_percent, gper_roam_rest_time |
| 9708 | * |
| 9709 | * Supported Feature: LFR-3.0 |
| 9710 | * |
| 9711 | * Usage: Internal |
| 9712 | * |
| 9713 | * </ini> |
| 9714 | */ |
| 9715 | #define CFG_PER_ROAM_MONITOR_TIME "gper_roam_mon_time" |
| 9716 | #define CFG_PER_ROAM_MONITOR_TIME_MIN (5) |
| 9717 | #define CFG_PER_ROAM_MONITOR_TIME_MAX (25) |
| 9718 | #define CFG_PER_ROAM_MONTIOR_TIME_DEFAULT (25) |
| 9719 | |
| 9720 | /* |
| 9721 | * <ini> |
Selvaraj, Sridhar | 0a71e54 | 2017-01-10 10:21:06 +0530 | [diff] [blame] | 9722 | * gPowerUsage - Preferred Power Usage |
| 9723 | * @Min: Min |
| 9724 | * @Max: Max |
| 9725 | * @Default: Mod |
| 9726 | * |
| 9727 | * This ini is used to set the preferred power usage |
| 9728 | * |
| 9729 | * Related: None |
| 9730 | * |
| 9731 | * Supported Feature: Power Save |
| 9732 | * |
| 9733 | * Usage: External |
| 9734 | * |
| 9735 | * </ini> |
| 9736 | */ |
| 9737 | #define CFG_POWER_USAGE_NAME "gPowerUsage" |
| 9738 | #define CFG_POWER_USAGE_MIN "Min" |
| 9739 | #define CFG_POWER_USAGE_MAX "Max" |
| 9740 | #define CFG_POWER_USAGE_DEFAULT "Mod" |
| 9741 | |
Selvaraj, Sridhar | 0a71e54 | 2017-01-10 10:21:06 +0530 | [diff] [blame] | 9742 | |
| 9743 | /* |
| 9744 | * <ini> |
Selvaraj, Sridhar | 0641fab | 2017-05-17 16:02:00 +0530 | [diff] [blame] | 9745 | * gper_min_rssi_threshold_for_roam - Minimum roamable AP RSSI for |
| 9746 | * candidate selection for PER based roam |
| 9747 | * @Min: 0 |
| 9748 | * @Max: 96 |
| 9749 | * @Default: 83 |
| 9750 | * |
| 9751 | * Minimum roamable AP RSSI for candidate selection for PER based roam |
| 9752 | * |
| 9753 | * Related: gper_roam_enabled, gper_roam_high_rate_th, gper_roam_low_rate_th, |
| 9754 | * gper_roam_th_percent, gper_roam_rest_time |
| 9755 | * |
| 9756 | * Supported Feature: LFR-3.0 |
| 9757 | * |
| 9758 | * Usage: Internal |
| 9759 | * |
| 9760 | * </ini> |
| 9761 | */ |
| 9762 | #define CFG_PER_ROAM_MIN_CANDIDATE_RSSI "gper_min_rssi_threshold_for_roam" |
| 9763 | #define CFG_PER_ROAM_MIN_CANDIDATE_RSSI_MIN (0) |
| 9764 | #define CFG_PER_ROAM_MIN_CANDIDATE_RSSI_MAX (96) |
| 9765 | #define CFG_PER_ROAM_MIN_CANDIDATE_RSSI_DEFAULT (83) |
| 9766 | |
| 9767 | |
| 9768 | /* |
| 9769 | * <ini> |
Selvaraj, Sridhar | 0a71e54 | 2017-01-10 10:21:06 +0530 | [diff] [blame] | 9770 | * gEnableImps - Enable/Disable IMPS |
| 9771 | * @Min: 0 |
| 9772 | * @Max: 1 |
| 9773 | * @Default: 1 |
| 9774 | * |
| 9775 | * This ini is used to enable/Disable IMPS(IdleModePowerSave) Mode |
| 9776 | * |
| 9777 | * Related: None |
| 9778 | * |
| 9779 | * Supported Feature: Power Save |
| 9780 | * |
| 9781 | * Usage: External |
| 9782 | * |
| 9783 | * </ini> |
| 9784 | */ |
| 9785 | #define CFG_ENABLE_IMPS_NAME "gEnableImps" |
| 9786 | #define CFG_ENABLE_IMPS_MIN (0) |
| 9787 | #define CFG_ENABLE_IMPS_MAX (1) |
| 9788 | #define CFG_ENABLE_IMPS_DEFAULT (1) |
| 9789 | |
| 9790 | /* |
| 9791 | * <ini> |
| 9792 | * gEnableBmps - Enable/Disable BMPS |
| 9793 | * @Min: 0 |
| 9794 | * @Max: 1 |
| 9795 | * @Default: 1 |
| 9796 | * |
| 9797 | * This ini is used to enable/Disable BMPS(BeaconModePowerSave) Mode |
| 9798 | * |
| 9799 | * Related: None |
| 9800 | * |
| 9801 | * Supported Feature: Power Save |
| 9802 | * |
| 9803 | * Usage: External |
| 9804 | * |
| 9805 | * </ini> |
| 9806 | */ |
| 9807 | #define CFG_ENABLE_PS_NAME "gEnableBmps" |
| 9808 | #define CFG_ENABLE_PS_MIN (0) |
| 9809 | #define CFG_ENABLE_PS_MAX (1) |
| 9810 | #define CFG_ENABLE_PS_DEFAULT (1) |
| 9811 | |
| 9812 | /* |
| 9813 | * <ini> |
| 9814 | * gAutoBmpsTimerValue - Set Auto BMPS Timer value |
| 9815 | * @Min: 0 |
| 9816 | * @Max: 120 |
Rajeev Kumar | 4a70823 | 2018-03-28 10:30:12 -0700 | [diff] [blame] | 9817 | * @Default: 5 |
Selvaraj, Sridhar | 0a71e54 | 2017-01-10 10:21:06 +0530 | [diff] [blame] | 9818 | * |
| 9819 | * This ini is used to set Auto BMPS Timer value in seconds |
| 9820 | * |
| 9821 | * Related: gEnableBmps |
| 9822 | * |
| 9823 | * Supported Feature: Power Save |
| 9824 | * |
| 9825 | * Usage: External |
| 9826 | * |
| 9827 | * </ini> |
| 9828 | */ |
| 9829 | #define CFG_AUTO_PS_ENABLE_TIMER_NAME "gAutoBmpsTimerValue" |
| 9830 | #define CFG_AUTO_PS_ENABLE_TIMER_MIN (0) |
| 9831 | #define CFG_AUTO_PS_ENABLE_TIMER_MAX (120) |
Rajeev Kumar | 4a70823 | 2018-03-28 10:30:12 -0700 | [diff] [blame] | 9832 | #define CFG_AUTO_PS_ENABLE_TIMER_DEFAULT (5) |
Selvaraj, Sridhar | 0a71e54 | 2017-01-10 10:21:06 +0530 | [diff] [blame] | 9833 | |
Zhu Jianmin | 04392c4 | 2017-05-12 16:34:53 +0800 | [diff] [blame] | 9834 | #ifdef WLAN_ICMP_DISABLE_PS |
| 9835 | /* |
| 9836 | * <ini> |
| 9837 | * gIcmpDisablePsValue - Set ICMP packet disable power save value |
| 9838 | * @Min: 0 |
| 9839 | * @Max: 10000 |
| 9840 | * @Default: 5000 |
| 9841 | * |
| 9842 | * This ini is used to set ICMP packet disable power save value in |
| 9843 | * millisecond. |
| 9844 | * |
| 9845 | * Related: gEnableBmps |
| 9846 | * |
| 9847 | * Supported Feature: Power Save |
| 9848 | * |
| 9849 | * Usage: External |
| 9850 | * |
| 9851 | * </ini> |
| 9852 | */ |
| 9853 | #define CFG_ICMP_DISABLE_PS_NAME "gIcmpDisablePsValue" |
| 9854 | #define CFG_ICMP_DISABLE_PS_MIN (0) |
| 9855 | #define CFG_ICMP_DISABLE_PS_MAX (10000) |
| 9856 | #define CFG_ICMP_DISABLE_PS_DEFAULT (5000) |
| 9857 | #endif |
| 9858 | |
Selvaraj, Sridhar | 0a71e54 | 2017-01-10 10:21:06 +0530 | [diff] [blame] | 9859 | /* |
| 9860 | * <ini> |
| 9861 | * gBmpsMinListenInterval - Set BMPS Minimum Listen Interval |
| 9862 | * @Min: 1 |
| 9863 | * @Max: 65535 |
| 9864 | * @Default: 1 |
| 9865 | * |
| 9866 | * This ini is used to set BMPS Minimum Listen Interval. If gPowerUsage |
| 9867 | * is set "Min", this INI need to be set. |
| 9868 | * |
| 9869 | * Related: gEnableBmps, gPowerUsage |
| 9870 | * |
| 9871 | * Supported Feature: Power Save |
| 9872 | * |
| 9873 | * Usage: External |
| 9874 | * |
| 9875 | * </ini> |
| 9876 | */ |
| 9877 | #define CFG_BMPS_MINIMUM_LI_NAME "gBmpsMinListenInterval" |
| 9878 | #define CFG_BMPS_MINIMUM_LI_MIN (1) |
| 9879 | #define CFG_BMPS_MINIMUM_LI_MAX (65535) |
| 9880 | #define CFG_BMPS_MINIMUM_LI_DEFAULT (1) |
| 9881 | |
| 9882 | /* |
| 9883 | * <ini> |
Selvaraj, Sridhar | 0a71e54 | 2017-01-10 10:21:06 +0530 | [diff] [blame] | 9884 | * gBmpsMaxListenInterval - Set BMPS Maximum Listen Interval |
| 9885 | * @Min: 1 |
| 9886 | * @Max: 65535 |
| 9887 | * @Default: 1 |
| 9888 | * |
| 9889 | * This ini is used to set BMPS Maximum Listen Interval. If gPowerUsage |
| 9890 | * is set "Max", this INI need to be set. |
| 9891 | * |
| 9892 | * Related: gEnableBmps, gPowerUsage |
| 9893 | * |
| 9894 | * Supported Feature: Power Save |
| 9895 | * |
| 9896 | * Usage: External |
| 9897 | * |
| 9898 | * </ini> |
| 9899 | */ |
| 9900 | #define CFG_BMPS_MAXIMUM_LI_NAME "gBmpsMaxListenInterval" |
| 9901 | #define CFG_BMPS_MAXIMUM_LI_MIN (1) |
| 9902 | #define CFG_BMPS_MAXIMUM_LI_MAX (65535) |
| 9903 | #define CFG_BMPS_MAXIMUM_LI_DEFAULT (1) |
| 9904 | |
| 9905 | #ifdef FEATURE_RUNTIME_PM |
| 9906 | /* |
| 9907 | * <ini> |
| 9908 | * gRuntimePM - enable runtime suspend |
| 9909 | * @Min: 0 |
| 9910 | * @Max: 1 |
| 9911 | * @Default: 0 |
| 9912 | * |
| 9913 | * This ini is used to enable runtime_suspend |
| 9914 | * |
| 9915 | * Related: None |
| 9916 | * |
| 9917 | * Supported Feature: Power Save |
| 9918 | * |
| 9919 | * Usage: External |
| 9920 | * |
| 9921 | * </ini> |
| 9922 | */ |
| 9923 | #define CFG_ENABLE_RUNTIME_PM "gRuntimePM" |
| 9924 | #define CFG_ENABLE_RUNTIME_PM_MIN (0) |
| 9925 | #define CFG_ENABLE_RUNTIME_PM_MAX (1) |
| 9926 | #define CFG_ENABLE_RUNTIME_PM_DEFAULT (0) |
| 9927 | |
| 9928 | /* |
| 9929 | * <ini> |
| 9930 | * gRuntimePMDelay - Set runtime pm's inactivity timer |
| 9931 | * @Min: 0 |
| 9932 | * @Max: 1 |
| 9933 | * @Default: 0 |
| 9934 | * |
| 9935 | * This ini is used to set runtime pm's inactivity timer value. |
| 9936 | * the wlan driver will wait for this number of milliseconds of |
| 9937 | * inactivity before performing a runtime suspend. |
| 9938 | * |
| 9939 | * Related: gRuntimePM |
| 9940 | * |
| 9941 | * Supported Feature: Power Save |
| 9942 | * |
| 9943 | * Usage: External |
| 9944 | * |
| 9945 | * </ini> |
| 9946 | */ |
| 9947 | #define CFG_RUNTIME_PM_DELAY_NAME "gRuntimePMDelay" |
| 9948 | #define CFG_RUNTIME_PM_DELAY_MIN (100) |
| 9949 | #define CFG_RUNTIME_PM_DELAY_MAX (10000) |
| 9950 | #define CFG_RUNTIME_PM_DELAY_DEFAULT (500) |
| 9951 | #endif |
| 9952 | |
| 9953 | /* |
| 9954 | * <ini> |
| 9955 | * gEnablePowerSaveOffload - Enable Power Save Offload |
| 9956 | * @Min: 0 |
| 9957 | * @Max: 5 |
| 9958 | * @Default: 0 |
| 9959 | * |
| 9960 | * This ini is used to set Power Save Offload configuration: |
| 9961 | * Current values of gEnablePowerSaveOffload: |
| 9962 | * 0 -> Power save offload is disabled |
| 9963 | * 1 -> Legacy Power save enabled + Deep sleep Disabled |
| 9964 | * 2 -> QPower enabled + Deep sleep Disabled |
| 9965 | * 3 -> Legacy Power save enabled + Deep sleep Enabled |
| 9966 | * 4 -> QPower enabled + Deep sleep Enabled |
| 9967 | * 5 -> Duty cycling QPower enabled |
| 9968 | * |
| 9969 | * Related: None |
| 9970 | * |
| 9971 | * Supported Feature: Power Save |
| 9972 | * |
| 9973 | * Usage: External |
| 9974 | * |
| 9975 | * </ini> |
| 9976 | */ |
| 9977 | #define CFG_POWERSAVE_OFFLOAD_NAME "gEnablePowerSaveOffload" |
| 9978 | #define CFG_POWERSAVE_OFFLOAD_MIN (0) |
| 9979 | #define CFG_POWERSAVE_OFFLOAD_MAX (PS_DUTY_CYCLING_QPOWER) |
| 9980 | #define CFG_POWERSAVE_OFFLOAD_DEFAULT (CFG_POWERSAVE_OFFLOAD_MIN) |
| 9981 | |
| 9982 | /* |
| 9983 | * <ini> |
| 9984 | * gEnableWoW - Enable/Disable WoW |
| 9985 | * @Min: 0 |
| 9986 | * @Max: 3 |
| 9987 | * @Default: 3 |
| 9988 | * |
| 9989 | * This ini is used to enable/disable WoW. Configurations are as follows: |
| 9990 | * 0 - Disable both magic pattern match and pattern byte match. |
| 9991 | * 1 - Enable magic pattern match on all interfaces. |
| 9992 | * 2 - Enable pattern byte match on all interfaces. |
| 9993 | * 3 - Enable both magic patter and pattern byte match on all interfaces. |
| 9994 | * |
| 9995 | * Related: None |
| 9996 | * |
| 9997 | * Supported Feature: Power Save |
| 9998 | * |
| 9999 | * Usage: External |
| 10000 | * |
| 10001 | * </ini> |
| 10002 | */ |
| 10003 | #define CFG_WOW_STATUS_NAME "gEnableWoW" |
| 10004 | #define CFG_WOW_ENABLE_MIN (0) |
| 10005 | #define CFG_WOW_ENABLE_MAX (3) |
| 10006 | #define CFG_WOW_STATUS_DEFAULT (3) |
| 10007 | |
| 10008 | #ifdef WLAN_FEATURE_EXTWOW_SUPPORT |
| 10009 | /* |
| 10010 | * <ini> |
| 10011 | * gExtWoWgotoSuspend - Enable/Disable Extended WoW |
| 10012 | * @Min: 0 |
| 10013 | * @Max: 1 |
| 10014 | * @Default: 1 |
| 10015 | * |
| 10016 | * This ini is used to enable/disable Extended WoW. |
| 10017 | * |
| 10018 | * Related: None |
| 10019 | * |
| 10020 | * Supported Feature: Power Save |
| 10021 | * |
| 10022 | * Usage: External |
| 10023 | * |
| 10024 | * </ini> |
| 10025 | */ |
| 10026 | #define CFG_EXTWOW_GO_TO_SUSPEND "gExtWoWgotoSuspend" |
| 10027 | #define CFG_EXTWOW_GO_TO_SUSPEND_MIN (0) |
| 10028 | #define CFG_EXTWOW_GO_TO_SUSPEND_MAX (1) |
| 10029 | #define CFG_EXTWOW_GO_TO_SUSPEND_DEFAULT (1) |
| 10030 | |
| 10031 | /* |
| 10032 | * <ini> |
| 10033 | * gExtWowApp1WakeupPinNumber - Set wakeup1 PIN number |
| 10034 | * @Min: 0 |
| 10035 | * @Max: 255 |
| 10036 | * @Default: 12 |
| 10037 | * |
| 10038 | * This ini is used to set EXT WOW APP1 wakeup PIN number |
| 10039 | * |
| 10040 | * Related: None |
| 10041 | * |
| 10042 | * Supported Feature: Power Save |
| 10043 | * |
| 10044 | * Usage: External |
| 10045 | * |
| 10046 | * </ini> |
| 10047 | */ |
| 10048 | #define CFG_EXTWOW_APP1_WAKE_PIN_NUMBER "gExtWowApp1WakeupPinNumber" |
| 10049 | #define CFG_EXTWOW_APP1_WAKE_PIN_NUMBER_MIN (0) |
| 10050 | #define CFG_EXTWOW_APP1_WAKE_PIN_NUMBER_MAX (255) |
| 10051 | #define CFG_EXTWOW_APP1_WAKE_PIN_NUMBER_DEFAULT (12) |
| 10052 | |
| 10053 | /* |
| 10054 | * <ini> |
| 10055 | * gExtWowApp2WakeupPinNumber - Set wakeup2 PIN number |
| 10056 | * @Min: 0 |
| 10057 | * @Max: 255 |
| 10058 | * @Default: 16 |
| 10059 | * |
| 10060 | * This ini is used to set EXT WOW APP2 wakeup PIN number |
| 10061 | * |
| 10062 | * Related: None |
| 10063 | * |
| 10064 | * Supported Feature: Power Save |
| 10065 | * |
| 10066 | * Usage: External |
| 10067 | * |
| 10068 | * </ini> |
| 10069 | */ |
| 10070 | #define CFG_EXTWOW_APP2_WAKE_PIN_NUMBER "gExtWowApp2WakeupPinNumber" |
| 10071 | #define CFG_EXTWOW_APP2_WAKE_PIN_NUMBER_MIN (0) |
| 10072 | #define CFG_EXTWOW_APP2_WAKE_PIN_NUMBER_MAX (255) |
| 10073 | #define CFG_EXTWOW_APP2_WAKE_PIN_NUMBER_DEFAULT (16) |
| 10074 | |
| 10075 | /* |
| 10076 | * <ini> |
| 10077 | * gExtWoWApp2KAInitPingInterval - Set Keep Alive Init Ping Interval |
| 10078 | * @Min: 0 |
| 10079 | * @Max: 0xffffffff |
| 10080 | * @Default: 240 |
| 10081 | * |
| 10082 | * This ini is used to set Keep Alive Init Ping Interval for EXT WOW |
| 10083 | * |
| 10084 | * Related: None |
| 10085 | * |
| 10086 | * Supported Feature: Power Save |
| 10087 | * |
| 10088 | * Usage: External |
| 10089 | * |
| 10090 | * </ini> |
| 10091 | */ |
| 10092 | #define CFG_EXTWOW_KA_INIT_PING_INTERVAL "gExtWoWApp2KAInitPingInterval" |
| 10093 | #define CFG_EXTWOW_KA_INIT_PING_INTERVAL_MIN (0) |
| 10094 | #define CFG_EXTWOW_KA_INIT_PING_INTERVAL_MAX (0xffffffff) |
| 10095 | #define CFG_EXTWOW_KA_INIT_PING_INTERVAL_DEFAULT (240) |
| 10096 | |
| 10097 | /* |
| 10098 | * <ini> |
| 10099 | * gExtWoWApp2KAMinPingInterval - Set Keep Alive Minimum Ping Interval |
| 10100 | * @Min: 0 |
| 10101 | * @Max: 0xffffffff |
| 10102 | * @Default: 240 |
| 10103 | * |
| 10104 | * This ini is used to set Keep Alive Minimum Ping Interval for EXT WOW |
| 10105 | * |
| 10106 | * Related: None |
| 10107 | * |
| 10108 | * Supported Feature: Power Save |
| 10109 | * |
| 10110 | * Usage: External |
| 10111 | * |
| 10112 | * </ini> |
| 10113 | */ |
| 10114 | #define CFG_EXTWOW_KA_MIN_PING_INTERVAL "gExtWoWApp2KAMinPingInterval" |
| 10115 | #define CFG_EXTWOW_KA_MIN_PING_INTERVAL_MIN (0) |
| 10116 | #define CFG_EXTWOW_KA_MIN_PING_INTERVAL_MAX (0xffffffff) |
| 10117 | #define CFG_EXTWOW_KA_MIN_PING_INTERVAL_DEFAULT (240) |
| 10118 | |
| 10119 | /* |
| 10120 | * <ini> |
| 10121 | * gExtWoWApp2KAMaxPingInterval - Set Keep Alive Maximum Ping Interval |
| 10122 | * @Min: 0 |
| 10123 | * @Max: 0xffffffff |
| 10124 | * @Default: 1280 |
| 10125 | * |
| 10126 | * This ini is used to set Keep Alive Maximum Ping Interval for EXT WOW |
| 10127 | * |
| 10128 | * Related: None |
| 10129 | * |
| 10130 | * Supported Feature: Power Save |
| 10131 | * |
| 10132 | * Usage: External |
| 10133 | * |
| 10134 | * </ini> |
| 10135 | */ |
| 10136 | #define CFG_EXTWOW_KA_MAX_PING_INTERVAL "gExtWoWApp2KAMaxPingInterval" |
| 10137 | #define CFG_EXTWOW_KA_MAX_PING_INTERVAL_MIN (0) |
| 10138 | #define CFG_EXTWOW_KA_MAX_PING_INTERVAL_MAX (0xffffffff) |
| 10139 | #define CFG_EXTWOW_KA_MAX_PING_INTERVAL_DEFAULT (1280) |
| 10140 | |
| 10141 | /* |
| 10142 | * <ini> |
| 10143 | * gExtWoWApp2KAIncPingInterval - Set Keep Alive increment of Ping Interval |
| 10144 | * @Min: 0 |
| 10145 | * @Max: 0xffffffff |
| 10146 | * @Default: 4 |
| 10147 | * |
| 10148 | * This ini is used to set Keep Alive increment of Ping Interval for EXT WOW |
| 10149 | * |
| 10150 | * Related: None |
| 10151 | * |
| 10152 | * Supported Feature: Power Save |
| 10153 | * |
| 10154 | * Usage: External |
| 10155 | * |
| 10156 | * </ini> |
| 10157 | */ |
| 10158 | #define CFG_EXTWOW_KA_INC_PING_INTERVAL "gExtWoWApp2KAIncPingInterval" |
| 10159 | #define CFG_EXTWOW_KA_INC_PING_INTERVAL_MIN (0) |
| 10160 | #define CFG_EXTWOW_KA_INC_PING_INTERVAL_MAX (0xffffffff) |
| 10161 | #define CFG_EXTWOW_KA_INC_PING_INTERVAL_DEFAULT (4) |
| 10162 | |
| 10163 | /* |
| 10164 | * <ini> |
| 10165 | * gExtWoWApp2KAIncPingInterval - Set TCP source port |
| 10166 | * @Min: 0 |
| 10167 | * @Max: 65535 |
| 10168 | * @Default: 5000 |
| 10169 | * |
| 10170 | * This ini is used to set TCP source port when EXT WOW is enabled |
| 10171 | * |
| 10172 | * Related: None |
| 10173 | * |
| 10174 | * Supported Feature: Power Save |
| 10175 | * |
| 10176 | * Usage: External |
| 10177 | * |
| 10178 | * </ini> |
| 10179 | */ |
| 10180 | #define CFG_EXTWOW_TCP_SRC_PORT "gExtWoWApp2TcpSrcPort" |
| 10181 | #define CFG_EXTWOW_TCP_SRC_PORT_MIN (0) |
| 10182 | #define CFG_EXTWOW_TCP_SRC_PORT_MAX (65535) |
| 10183 | #define CFG_EXTWOW_TCP_SRC_PORT_DEFAULT (5000) |
| 10184 | |
| 10185 | /* |
| 10186 | * <ini> |
| 10187 | * gExtWoWApp2TcpDstPort - Set TCP Destination port |
| 10188 | * @Min: 0 |
| 10189 | * @Max: 65535 |
| 10190 | * @Default: 5001 |
| 10191 | * |
| 10192 | * This ini is used to set TCP Destination port when EXT WOW is enabled |
| 10193 | * |
| 10194 | * Related: None |
| 10195 | * |
| 10196 | * Supported Feature: Power Save |
| 10197 | * |
| 10198 | * Usage: External |
| 10199 | * |
| 10200 | * </ini> |
| 10201 | */ |
| 10202 | #define CFG_EXTWOW_TCP_DST_PORT "gExtWoWApp2TcpDstPort" |
| 10203 | #define CFG_EXTWOW_TCP_DST_PORT_MIN (0) |
| 10204 | #define CFG_EXTWOW_TCP_DST_PORT_MAX (65535) |
| 10205 | #define CFG_EXTWOW_TCP_DST_PORT_DEFAULT (5001) |
| 10206 | |
| 10207 | /* |
| 10208 | * <ini> |
| 10209 | * gExtWoWApp2TcpTxTimeout - Set TCP tx timeout |
| 10210 | * @Min: 0 |
| 10211 | * @Max: 0xffffffff |
| 10212 | * @Default: 200 |
| 10213 | * |
| 10214 | * This ini is used to set TCP Tx timeout when EXT WOW is enabled |
| 10215 | * |
| 10216 | * Related: None |
| 10217 | * |
| 10218 | * Supported Feature: Power Save |
| 10219 | * |
| 10220 | * Usage: External |
| 10221 | * |
| 10222 | * </ini> |
| 10223 | */ |
| 10224 | #define CFG_EXTWOW_TCP_TX_TIMEOUT "gExtWoWApp2TcpTxTimeout" |
| 10225 | #define CFG_EXTWOW_TCP_TX_TIMEOUT_MIN (0) |
| 10226 | #define CFG_EXTWOW_TCP_TX_TIMEOUT_MAX (0xffffffff) |
| 10227 | #define CFG_EXTWOW_TCP_TX_TIMEOUT_DEFAULT (200) |
| 10228 | |
| 10229 | /* |
| 10230 | * <ini> |
| 10231 | * gExtWoWApp2TcpRxTimeout - Set TCP rx timeout |
| 10232 | * @Min: 0 |
| 10233 | * @Max: 0xffffffff |
| 10234 | * @Default: 200 |
| 10235 | * |
| 10236 | * This ini is used to set TCP Rx timeout when EXT WOW is enabled |
| 10237 | * |
| 10238 | * Related: None |
| 10239 | * |
| 10240 | * Supported Feature: Power Save |
| 10241 | * |
| 10242 | * Usage: External |
| 10243 | * |
| 10244 | * </ini> |
| 10245 | */ |
| 10246 | #define CFG_EXTWOW_TCP_RX_TIMEOUT "gExtWoWApp2TcpRxTimeout" |
| 10247 | #define CFG_EXTWOW_TCP_RX_TIMEOUT_MIN (0) |
| 10248 | #define CFG_EXTWOW_TCP_RX_TIMEOUT_MAX (0xffffffff) |
| 10249 | #define CFG_EXTWOW_TCP_RX_TIMEOUT_DEFAULT (200) |
| 10250 | #endif |
| 10251 | |
| 10252 | /* |
Kapil Gupta | 5cda225 | 2016-12-29 18:44:26 +0530 | [diff] [blame] | 10253 | * <ini> |
| 10254 | * gper_roam_enabled - To enabled/disable PER based roaming in FW |
| 10255 | * @Min: 0 |
Kapil Gupta | 6e6c26b | 2017-01-20 18:59:43 +0530 | [diff] [blame] | 10256 | * @Max: 3 |
| 10257 | * @Default: 0 |
Kapil Gupta | 5cda225 | 2016-12-29 18:44:26 +0530 | [diff] [blame] | 10258 | * |
| 10259 | * This ini is used to enable/disable Packet error based roaming, enabling this |
| 10260 | * will cause DUT to monitor Tx and Rx traffic and roam to a better candidate |
| 10261 | * if current is not good enough. |
| 10262 | * |
Kapil Gupta | 6e6c26b | 2017-01-20 18:59:43 +0530 | [diff] [blame] | 10263 | * Values supported: |
| 10264 | * 0: disabled |
| 10265 | * 1: enabled for Rx traffic |
| 10266 | * 2: enabled for Tx traffic |
| 10267 | * 3: enabled for Tx and Rx traffic |
| 10268 | * |
Kapil Gupta | 5cda225 | 2016-12-29 18:44:26 +0530 | [diff] [blame] | 10269 | * Related: gper_roam_high_rate_th, gper_roam_low_rate_th, |
| 10270 | * gper_roam_th_percent, gper_roam_rest_time |
| 10271 | * |
| 10272 | * Supported Feature: LFR-3.0 |
| 10273 | * |
| 10274 | * Usage: Internal |
| 10275 | * |
| 10276 | * </ini> |
| 10277 | */ |
| 10278 | #define CFG_PER_ROAM_ENABLE_NAME "gper_roam_enabled" |
| 10279 | #define CFG_PER_ROAM_ENABLE_MIN (0) |
Kapil Gupta | 6e6c26b | 2017-01-20 18:59:43 +0530 | [diff] [blame] | 10280 | #define CFG_PER_ROAM_ENABLE_MAX (3) |
Kapil Gupta | aa902a7 | 2017-04-04 14:00:51 +0530 | [diff] [blame] | 10281 | #define CFG_PER_ROAM_ENABLE_DEFAULT (3) |
Kapil Gupta | 5cda225 | 2016-12-29 18:44:26 +0530 | [diff] [blame] | 10282 | |
| 10283 | /* |
| 10284 | * <ini> |
| 10285 | * gper_roam_high_rate_th - Rate at which PER based roam will stop |
| 10286 | * @Min: 1 Mbps |
| 10287 | * @Max: 0xffffffff |
| 10288 | * @Default: 40 Mbps |
| 10289 | * |
| 10290 | * This ini is used to define the data rate in mbps*10 at which FW will stop |
| 10291 | * monitoring the traffic for PER based roam. |
| 10292 | * |
| 10293 | * Related: gper_roam_enabled, gper_roam_low_rate_th, |
| 10294 | * gper_roam_th_percent, gper_roam_rest_time |
| 10295 | * |
| 10296 | * Supported Feature: LFR-3.0 |
| 10297 | * |
| 10298 | * Usage: Internal |
| 10299 | * |
| 10300 | * </ini> |
| 10301 | */ |
| 10302 | #define CFG_PER_ROAM_CONFIG_HIGH_RATE_TH_NAME "gper_roam_high_rate_th" |
| 10303 | #define CFG_PER_ROAM_CONFIG_HIGH_RATE_TH_MIN (10) |
| 10304 | #define CFG_PER_ROAM_CONFIG_HIGH_RATE_TH_MAX (0xffffffff) |
| 10305 | #define CFG_PER_ROAM_CONFIG_HIGH_RATE_TH_DEFAULT (400) |
| 10306 | |
| 10307 | /* |
| 10308 | * <ini> |
| 10309 | * gper_roam_low_rate_th - Rate at which FW starts considering traffic for PER |
| 10310 | * based roam. |
| 10311 | * |
| 10312 | * @Min: 1 Mbps |
| 10313 | * @Max: 0xffffffff |
| 10314 | * @Default: 20 Mbps |
| 10315 | * |
| 10316 | * This ini is used to define the rate in mbps*10 at which FW starts considering |
| 10317 | * traffic for PER based roam, if gper_roam_th_percent of data is below this |
| 10318 | * rate, FW will issue a roam scan. |
| 10319 | * |
| 10320 | * Related: gper_roam_enabled, gper_roam_high_rate_th, |
| 10321 | * gper_roam_th_percent, gper_roam_rest_time |
| 10322 | * |
| 10323 | * Supported Feature: LFR-3.0 |
| 10324 | * |
| 10325 | * Usage: Internal |
| 10326 | * |
| 10327 | * </ini> |
| 10328 | */ |
| 10329 | #define CFG_PER_ROAM_CONFIG_LOW_RATE_TH_NAME "gper_roam_low_rate_th" |
| 10330 | #define CFG_PER_ROAM_CONFIG_LOW_RATE_TH_MIN (10) |
| 10331 | #define CFG_PER_ROAM_CONFIG_LOW_RATE_TH_MAX (0xffffffff) |
| 10332 | #define CFG_PER_ROAM_CONFIG_LOW_RATE_TH_DEFAULT (200) |
| 10333 | |
| 10334 | /* |
| 10335 | * <ini> |
| 10336 | * gper_roam_th_percent - Percentage at which FW will issue a roam scan if |
| 10337 | * traffic is below gper_roam_low_rate_th rate. |
| 10338 | * |
| 10339 | * @Min: 10% |
| 10340 | * @Max: 100% |
| 10341 | * @Default: 60% |
| 10342 | * |
| 10343 | * This ini is used to define the percentage at which FW will issue a roam scan |
| 10344 | * if traffic is below gper_roam_low_rate_th rate. |
| 10345 | * |
| 10346 | * Related: gper_roam_enabled, gper_roam_high_rate_th, |
| 10347 | * gper_roam_high_rate_th, gper_roam_rest_time |
| 10348 | * |
| 10349 | * Supported Feature: LFR-3.0 |
| 10350 | * |
| 10351 | * Usage: Internal |
| 10352 | * |
| 10353 | * </ini> |
| 10354 | */ |
| 10355 | #define CFG_PER_ROAM_CONFIG_RATE_TH_PERCENT_NAME "gper_roam_th_percent" |
| 10356 | #define CFG_PER_ROAM_CONFIG_RATE_TH_PERCENT_MIN (10) |
| 10357 | #define CFG_PER_ROAM_CONFIG_RATE_TH_PERCENT_MAX (100) |
| 10358 | #define CFG_PER_ROAM_CONFIG_RATE_TH_PERCENT_DEFAULT (60) |
| 10359 | |
| 10360 | /* |
| 10361 | * <ini> |
| 10362 | * gper_roam_rest_time - Time for which FW will wait once it issues a |
| 10363 | * roam scan. |
| 10364 | * |
| 10365 | * @Min: 10 seconds |
| 10366 | * @Max: 3600 seconds |
| 10367 | * @Default: 300 seconds |
| 10368 | * |
| 10369 | * This ini is used to define the time for which FW will wait once it issues a |
| 10370 | * PER based roam scan. |
| 10371 | * |
| 10372 | * Related: gper_roam_enabled, gper_roam_high_rate_th, |
| 10373 | * gper_roam_high_rate_th, gper_roam_th_percent |
| 10374 | * |
| 10375 | * Supported Feature: LFR-3.0 |
| 10376 | * |
| 10377 | * Usage: Internal |
| 10378 | * |
| 10379 | * </ini> |
| 10380 | */ |
| 10381 | #define CFG_PER_ROAM_REST_TIME_NAME "gper_roam_rest_time" |
| 10382 | #define CFG_PER_ROAM_REST_TIME_MIN (10) |
| 10383 | #define CFG_PER_ROAM_REST_TIME_MAX (3600) |
| 10384 | #define CFG_PER_ROAM_REST_TIME_DEFAULT (300) |
| 10385 | |
| 10386 | /* |
Selvaraj, Sridhar | 4f684bb | 2017-01-19 15:59:23 +0530 | [diff] [blame] | 10387 | * <ini> |
Vignesh Viswanathan | cc7f1b9 | 2017-09-28 13:12:24 +0530 | [diff] [blame] | 10388 | * g_is_fils_enabled - Enable/Disable FILS support in driver |
| 10389 | * @Min: 0 |
| 10390 | * @Max: 1 |
| 10391 | * @Default: 1 |
| 10392 | * |
| 10393 | * This ini is used to enable/disable FILS support in driver |
| 10394 | * Driver will update config to supplicant based on this config. |
| 10395 | * |
| 10396 | * Related: None |
| 10397 | * |
| 10398 | * Supported Feature: FILS |
| 10399 | * |
| 10400 | * Usage: External |
| 10401 | * |
| 10402 | * </ini> |
| 10403 | */ |
| 10404 | #define CFG_IS_FILS_ENABLED_NAME "g_is_fils_enabled" |
| 10405 | #define CFG_IS_FILS_ENABLED_DEFAULT (1) |
| 10406 | #define CFG_IS_FILS_ENABLED_MIN (0) |
| 10407 | #define CFG_IS_FILS_ENABLED_MAX (1) |
| 10408 | |
| 10409 | /* |
| 10410 | * <ini> |
Selvaraj, Sridhar | 4f684bb | 2017-01-19 15:59:23 +0530 | [diff] [blame] | 10411 | * g_enable_bcast_probe_rsp - Enable Broadcast probe response. |
| 10412 | * @Min: 0 |
| 10413 | * @Max: 1 |
Selvaraj, Sridhar | ca03ad2 | 2017-04-28 11:59:55 +0530 | [diff] [blame] | 10414 | * @Default: 1 |
Selvaraj, Sridhar | 4f684bb | 2017-01-19 15:59:23 +0530 | [diff] [blame] | 10415 | * |
Yeshwanth Sriram Guntuka | 2ba6fe9 | 2017-10-04 14:40:45 +0530 | [diff] [blame] | 10416 | * This ini is used to enable/disable broadcast probe response. |
Yeshwanth Sriram Guntuka | 2ba6fe9 | 2017-10-04 14:40:45 +0530 | [diff] [blame] | 10417 | * If this is disabled then OCE ini oce_sta_enable will also be |
| 10418 | * disabled and OCE IE will not be sent in frames. |
Selvaraj, Sridhar | 4f684bb | 2017-01-19 15:59:23 +0530 | [diff] [blame] | 10419 | * |
| 10420 | * Related: None |
| 10421 | * |
| 10422 | * Supported Feature: FILS |
| 10423 | * |
| 10424 | * Usage: External |
| 10425 | * |
| 10426 | * </ini> |
| 10427 | */ |
| 10428 | #define CFG_ENABLE_BCAST_PROBE_RESP_NAME "g_enable_bcast_probe_rsp" |
| 10429 | #define CFG_ENABLE_BCAST_PROBE_RESP_MIN (0) |
| 10430 | #define CFG_ENABLE_BCAST_PROBE_RESP_MAX (1) |
Selvaraj, Sridhar | ca03ad2 | 2017-04-28 11:59:55 +0530 | [diff] [blame] | 10431 | #define CFG_ENABLE_BCAST_PROBE_RESP_DEFAULT (1) |
Selvaraj, Sridhar | 4f684bb | 2017-01-19 15:59:23 +0530 | [diff] [blame] | 10432 | |
Srinivas Girigowda | 70e169a | 2017-03-07 23:55:57 -0800 | [diff] [blame] | 10433 | /** |
| 10434 | * arp_ac_category - ARP access category |
| 10435 | * @Min: 0 |
| 10436 | * @Max: 3 |
| 10437 | * @Default: 3 |
| 10438 | * |
| 10439 | * Firmware by default categorizes ARP packets with VOICE TID. |
| 10440 | * This ini shall be used to override the default configuration. |
| 10441 | * Access category enums are referenced in ieee80211_common.h |
| 10442 | * WME_AC_BE = 0 (Best effort) |
| 10443 | * WME_AC_BK = 1 (Background) |
| 10444 | * WME_AC_VI = 2 (Video) |
| 10445 | * WME_AC_VO = 3 (Voice) |
| 10446 | * |
| 10447 | * Related: none |
| 10448 | * |
| 10449 | * Usage: Internal/External |
| 10450 | * |
| 10451 | * </ini> |
| 10452 | */ |
| 10453 | #define CFG_ARP_AC_CATEGORY "arp_ac_category" |
| 10454 | #define CFG_ARP_AC_CATEGORY_MIN (0) |
| 10455 | #define CFG_ARP_AC_CATEGORY_MAX (3) |
| 10456 | #define CFG_ARP_AC_CATEGORY_DEFAULT (3) |
| 10457 | |
Selvaraj, Sridhar | 4f684bb | 2017-01-19 15:59:23 +0530 | [diff] [blame] | 10458 | /* |
Dustin Brown | 13995f0 | 2017-01-12 15:38:42 -0800 | [diff] [blame] | 10459 | * <ini> |
Nachiket Kukade | e547a48 | 2018-05-22 16:43:30 +0530 | [diff] [blame] | 10460 | * gActiveUcBpfMode - Control UC active APF mode |
Dustin Brown | 13995f0 | 2017-01-12 15:38:42 -0800 | [diff] [blame] | 10461 | * @Min: 0 (disabled) |
| 10462 | * @Max: 2 (adaptive) |
| 10463 | * @Default: 0 (disabled) |
| 10464 | * |
Nachiket Kukade | e547a48 | 2018-05-22 16:43:30 +0530 | [diff] [blame] | 10465 | * This config item controls UC APF in active mode. There are 3 modes: |
| 10466 | * 0) disabled - APF is disabled in active mode |
| 10467 | * 1) enabled - APF is enabled for all packets in active mode |
| 10468 | * 2) adaptive - APF is enabled for packets up to some throughput threshold |
Dustin Brown | 13995f0 | 2017-01-12 15:38:42 -0800 | [diff] [blame] | 10469 | * |
Hanumanth Reddy Pothula | e87621b | 2017-04-12 20:53:35 +0530 | [diff] [blame] | 10470 | * Related: gActiveMcBcBpfMode |
Dustin Brown | 13995f0 | 2017-01-12 15:38:42 -0800 | [diff] [blame] | 10471 | * |
Nachiket Kukade | e547a48 | 2018-05-22 16:43:30 +0530 | [diff] [blame] | 10472 | * Supported Feature: Active Mode APF |
Dustin Brown | 13995f0 | 2017-01-12 15:38:42 -0800 | [diff] [blame] | 10473 | * |
| 10474 | * Usage: Internal/External |
| 10475 | * </ini> |
| 10476 | */ |
Nachiket Kukade | e547a48 | 2018-05-22 16:43:30 +0530 | [diff] [blame] | 10477 | #define CFG_ACTIVE_UC_APF_MODE_NAME "gActiveUcBpfMode" |
| 10478 | #define CFG_ACTIVE_UC_APF_MODE_MIN (ACTIVE_APF_DISABLED) |
| 10479 | #define CFG_ACTIVE_UC_APF_MODE_MAX (ACTIVE_APF_MODE_COUNT - 1) |
| 10480 | #define CFG_ACTIVE_UC_APF_MODE_DEFAULT (ACTIVE_APF_DISABLED) |
Hanumanth Reddy Pothula | e87621b | 2017-04-12 20:53:35 +0530 | [diff] [blame] | 10481 | |
| 10482 | /* |
| 10483 | * <ini> |
Nachiket Kukade | e547a48 | 2018-05-22 16:43:30 +0530 | [diff] [blame] | 10484 | * gActiveMcBcBpfMode - Control MC/BC active APF mode |
Hanumanth Reddy Pothula | e87621b | 2017-04-12 20:53:35 +0530 | [diff] [blame] | 10485 | * @Min: 0 (disabled) |
Ravi Kumar Bokka | 7a4034e | 2017-08-17 11:51:32 +0530 | [diff] [blame] | 10486 | * @Max: 1 (enabled) |
Hanumanth Reddy Pothula | e87621b | 2017-04-12 20:53:35 +0530 | [diff] [blame] | 10487 | * @Default: 0 (disabled) |
| 10488 | * |
Nachiket Kukade | e547a48 | 2018-05-22 16:43:30 +0530 | [diff] [blame] | 10489 | * This config item controls MC/BC APF in active mode. There are 3 modes: |
| 10490 | * 0) disabled - APF is disabled in active mode |
| 10491 | * 1) enabled - APF is enabled for all packets in active mode |
| 10492 | * 2) adaptive - APF is enabled for packets up to some throughput threshold |
Hanumanth Reddy Pothula | e87621b | 2017-04-12 20:53:35 +0530 | [diff] [blame] | 10493 | * |
| 10494 | * Related: gActiveUcBpfMode |
| 10495 | * |
Nachiket Kukade | e547a48 | 2018-05-22 16:43:30 +0530 | [diff] [blame] | 10496 | * Supported Feature: Active Mode APF |
Hanumanth Reddy Pothula | e87621b | 2017-04-12 20:53:35 +0530 | [diff] [blame] | 10497 | * |
| 10498 | * Usage: Internal/External |
| 10499 | * </ini> |
| 10500 | */ |
Nachiket Kukade | e547a48 | 2018-05-22 16:43:30 +0530 | [diff] [blame] | 10501 | #define CFG_ACTIVE_MC_BC_APF_MODE_NAME "gActiveMcBcBpfMode" |
| 10502 | #define CFG_ACTIVE_MC_BC_APF_MODE_MIN (ACTIVE_APF_DISABLED) |
| 10503 | #define CFG_ACTIVE_MC_BC_APF_MODE_MAX (ACTIVE_APF_ENABLED) |
| 10504 | #define CFG_ACTIVE_MC_BC_APF_MODE_DEFAULT (ACTIVE_APF_DISABLED) |
Dustin Brown | 13995f0 | 2017-01-12 15:38:42 -0800 | [diff] [blame] | 10505 | |
gaolez | e510894 | 2017-03-31 16:56:42 +0800 | [diff] [blame] | 10506 | /* |
| 10507 | * <ini> |
| 10508 | * acs_with_more_param- Enable acs calculation with more param. |
| 10509 | * @Min: 0 |
| 10510 | * @Max: 1 |
| 10511 | * @Default: 0 |
| 10512 | * |
| 10513 | * This ini is used to enable acs calculation with more param. |
| 10514 | * |
| 10515 | * Related: NA |
| 10516 | * |
| 10517 | * Supported Feature: ACS |
| 10518 | * |
| 10519 | * Usage: Internal/External |
| 10520 | * |
| 10521 | * </ini> |
| 10522 | */ |
| 10523 | |
| 10524 | #define CFG_ACS_WITH_MORE_PARAM_NAME "acs_with_more_param" |
| 10525 | #define CFG_ACS_WITH_MORE_PARAM_MIN (0) |
| 10526 | #define CFG_ACS_WITH_MORE_PARAM_MAX (1) |
| 10527 | #define CFG_ACS_WITH_MORE_PARAM_DEFAULT (0) |
| 10528 | |
| 10529 | /* |
| 10530 | * <ini> |
| 10531 | * AutoChannelSelectWeight - ACS channel weight |
Himanshu Agarwal | 87696b6 | 2018-02-01 22:58:40 +0530 | [diff] [blame] | 10532 | * @Min: 0 |
gaolez | e510894 | 2017-03-31 16:56:42 +0800 | [diff] [blame] | 10533 | * @Max: 0xFFFFFFFF |
| 10534 | * @Default: 0x000000FF |
| 10535 | * |
| 10536 | * This ini is used to adjust weight of factors in |
| 10537 | * acs algorithm. |
| 10538 | * |
| 10539 | * Supported Feature: ACS |
| 10540 | * |
| 10541 | * Usage: Internal/External |
| 10542 | * |
| 10543 | * bits 0-3: rssi weight |
| 10544 | * bits 4-7: bss count weight |
| 10545 | * bits 8-11: noise floor weight |
| 10546 | * bits 12-15: channel free weight |
| 10547 | * bits 16-19: tx power range weight |
| 10548 | * bits 20-23: tx power throughput weight |
| 10549 | * bits 24-31: reserved |
| 10550 | * |
| 10551 | * </ini> |
| 10552 | */ |
| 10553 | #define CFG_AUTO_CHANNEL_SELECT_WEIGHT "AutoChannelSelectWeight" |
Himanshu Agarwal | 87696b6 | 2018-02-01 22:58:40 +0530 | [diff] [blame] | 10554 | #define CFG_AUTO_CHANNEL_SELECT_WEIGHT_MIN (0) |
gaolez | e510894 | 2017-03-31 16:56:42 +0800 | [diff] [blame] | 10555 | #define CFG_AUTO_CHANNEL_SELECT_WEIGHT_MAX (0xFFFFFFFF) |
| 10556 | #define CFG_AUTO_CHANNEL_SELECT_WEIGHT_DEFAULT (0x000000FF) |
| 10557 | |
Krishna Kumaar Natarajan | 90bb6f1 | 2017-03-03 21:05:52 -0800 | [diff] [blame] | 10558 | #ifdef WLAN_FEATURE_11AX |
| 10559 | /* 11AX related INI configuration */ |
| 10560 | /* |
| 10561 | * <ini> |
Kiran Kumar Lokere | 4aa08a5 | 2017-12-15 19:00:39 -0800 | [diff] [blame] | 10562 | * he_dynamic_frag_support - configure dynamic fragmentation |
| 10563 | * @Min: 0 |
| 10564 | * @Max: 3 |
| 10565 | * @Default: 1 |
| 10566 | * |
| 10567 | * This ini is used to configure dynamic fragmentation. |
| 10568 | * |
| 10569 | * Related: NA |
| 10570 | * |
| 10571 | * Supported Feature: 11AX |
| 10572 | * |
| 10573 | * Usage: Internal/External |
| 10574 | * |
| 10575 | * </ini> |
| 10576 | */ |
| 10577 | |
| 10578 | #define CFG_HE_DYNAMIC_FRAGMENTATION_NAME "he_dynamic_frag_support" |
| 10579 | #define CFG_HE_DYNAMIC_FRAGMENTATION_MIN (0) |
| 10580 | #define CFG_HE_DYNAMIC_FRAGMENTATION_MAX (3) |
Kiran Kumar Lokere | a0c1faa | 2018-01-05 14:47:06 -0800 | [diff] [blame] | 10581 | #define CFG_HE_DYNAMIC_FRAGMENTATION_DEFAULT (0) |
Kiran Kumar Lokere | 4aa08a5 | 2017-12-15 19:00:39 -0800 | [diff] [blame] | 10582 | |
| 10583 | /* |
| 10584 | * <ini> |
Krishna Kumaar Natarajan | 90bb6f1 | 2017-03-03 21:05:52 -0800 | [diff] [blame] | 10585 | * enable_ul_mimo- Enable UL MIMO. |
| 10586 | * @Min: 0 |
| 10587 | * @Max: 1 |
| 10588 | * @Default: 0 |
| 10589 | * |
| 10590 | * This ini is used to enable or disable UL MIMO. |
| 10591 | * |
| 10592 | * Related: NA |
| 10593 | * |
| 10594 | * Supported Feature: 11AX |
| 10595 | * |
| 10596 | * Usage: External |
| 10597 | * |
| 10598 | * </ini> |
| 10599 | */ |
| 10600 | |
| 10601 | #define CFG_ENABLE_UL_MIMO_NAME "enable_ul_mimo" |
| 10602 | #define CFG_ENABLE_UL_MIMO_MIN (0) |
| 10603 | #define CFG_ENABLE_UL_MIMO_MAX (1) |
| 10604 | #define CFG_ENABLE_UL_MIMO_DEFAULT (0) |
| 10605 | |
| 10606 | /* |
| 10607 | * <ini> |
| 10608 | * enable_ul_ofdma- Enable UL OFDMA. |
| 10609 | * @Min: 0 |
| 10610 | * @Max: 1 |
| 10611 | * @Default: 0 |
| 10612 | * |
| 10613 | * This ini is used to enable or disable UL OFDMA. |
| 10614 | * |
| 10615 | * Related: NA |
| 10616 | * |
| 10617 | * Supported Feature: 11AX |
| 10618 | * |
| 10619 | * Usage: External |
| 10620 | * |
| 10621 | * </ini> |
| 10622 | */ |
| 10623 | #define CFG_ENABLE_UL_OFDMA_NAME "enable_ul_ofdma" |
| 10624 | #define CFG_ENABLE_UL_OFDMA_MIN (0) |
| 10625 | #define CFG_ENABLE_UL_OFDMA_MAX (1) |
| 10626 | #define CFG_ENABLE_UL_OFDMA_DEFAULT (0) |
| 10627 | |
Manikandan Mohan | 39accff | 2017-05-02 16:09:00 -0700 | [diff] [blame] | 10628 | /* |
| 10629 | * <ini> |
| 10630 | * he_sta_obsspd- 11AX HE OBSS PD bit field |
| 10631 | * @Min: 0 |
| 10632 | * @Max: uin32_t max |
| 10633 | * @Default: 0x15b8c2ae |
| 10634 | * |
| 10635 | * 4 Byte value with each byte representing a signed value for following params: |
| 10636 | * Param Bit position Default |
| 10637 | * OBSS_PD min (primary) 7:0 -82 (0xae) |
| 10638 | * OBSS_PD max (primary) 15:8 -62 (0xc2) |
| 10639 | * Secondary channel Ed 23:16 -72 (0xb8) |
| 10640 | * TX_PWR(ref) 31:24 21 (0x15) |
| 10641 | * This bit field value is directly applied to FW |
| 10642 | * |
| 10643 | * Related: NA |
| 10644 | * |
| 10645 | * Supported Feature: 11AX |
| 10646 | * |
| 10647 | * Usage: External |
| 10648 | * |
| 10649 | * </ini> |
| 10650 | */ |
| 10651 | #define CFG_HE_STA_OBSSPD_NAME "he_sta_obsspd" |
| 10652 | #define CFG_HE_STA_OBSSPD_MIN (0) |
| 10653 | #define CFG_HE_STA_OBSSPD_MAX (0xffffffff) |
| 10654 | #define CFG_HE_STA_OBSSPD_DEFAULT (0x15b8c2ae) |
| 10655 | |
Krishna Kumaar Natarajan | 90bb6f1 | 2017-03-03 21:05:52 -0800 | [diff] [blame] | 10656 | #endif /* WLAN_FEATURE_11AX */ |
Varun Reddy Yeturu | d33033f | 2018-06-11 10:58:30 -0700 | [diff] [blame] | 10657 | #ifdef WLAN_SUPPORT_TWT |
Varun Reddy Yeturu | 96285a2 | 2018-05-08 13:37:43 -0700 | [diff] [blame] | 10658 | /* |
| 10659 | * <ini> |
| 10660 | * enable_twt - Enable Target Wake Time support. |
| 10661 | * @Min: 0 |
| 10662 | * @Max: 1 |
| 10663 | * @Default: 1 |
| 10664 | * |
| 10665 | * This ini is used to enable or disable TWT support. |
| 10666 | * |
| 10667 | * Related: NA |
| 10668 | * |
| 10669 | * Supported Feature: 11AX |
| 10670 | * |
| 10671 | * Usage: External |
| 10672 | * |
| 10673 | * </ini> |
| 10674 | */ |
| 10675 | #define CFG_ENABLE_TWT_NAME "enable_twt" |
| 10676 | #define CFG_ENABLE_TWT_MIN (0) |
| 10677 | #define CFG_ENABLE_TWT_MAX (1) |
| 10678 | #define CFG_ENABLE_TWT_DEFAULT (1) |
| 10679 | |
| 10680 | /* |
| 10681 | * <ini> |
| 10682 | * twt_congestion_timeout - Target wake time congestion timeout. |
Varun Reddy Yeturu | adc0090 | 2018-07-05 07:55:24 -0700 | [diff] [blame] | 10683 | * @Min: 0 |
Varun Reddy Yeturu | 96285a2 | 2018-05-08 13:37:43 -0700 | [diff] [blame] | 10684 | * @Max: 10000 |
| 10685 | * @Default: 100 |
| 10686 | * |
| 10687 | * STA uses this timer to continuously monitor channel congestion levels to |
| 10688 | * decide whether to start or stop TWT. This ini is used to configure the |
| 10689 | * target wake time congestion timeout value in the units of milliseconds. |
Varun Reddy Yeturu | adc0090 | 2018-07-05 07:55:24 -0700 | [diff] [blame] | 10690 | * A value of Zero indicates that this is a host triggered TWT and all the |
| 10691 | * necessary configuration for TWT will be directed from the host. |
Varun Reddy Yeturu | 96285a2 | 2018-05-08 13:37:43 -0700 | [diff] [blame] | 10692 | * |
| 10693 | * Related: NA |
| 10694 | * |
| 10695 | * Supported Feature: 11AX |
| 10696 | * |
| 10697 | * Usage: External |
| 10698 | * |
| 10699 | * </ini> |
| 10700 | */ |
| 10701 | #define CFG_TWT_CONGESTION_TIMEOUT_NAME "twt_congestion_timeout" |
Varun Reddy Yeturu | adc0090 | 2018-07-05 07:55:24 -0700 | [diff] [blame] | 10702 | #define CFG_TWT_CONGESTION_TIMEOUT_MIN (0) |
Varun Reddy Yeturu | 96285a2 | 2018-05-08 13:37:43 -0700 | [diff] [blame] | 10703 | #define CFG_TWT_CONGESTION_TIMEOUT_MAX (10000) |
| 10704 | #define CFG_TWT_CONGESTION_TIMEOUT_DEFAULT (100) |
| 10705 | |
Varun Reddy Yeturu | d33033f | 2018-06-11 10:58:30 -0700 | [diff] [blame] | 10706 | #endif /* WLAN_SUPPORT_TWT */ |
Krishna Kumaar Natarajan | 90bb6f1 | 2017-03-03 21:05:52 -0800 | [diff] [blame] | 10707 | |
| 10708 | /* |
Jeff Johnson | 12a744b | 2017-04-04 08:19:37 -0700 | [diff] [blame] | 10709 | * <ini> |
| 10710 | * gEnableANI - Enable Adaptive Noise Immunity |
| 10711 | * @Min: 0 |
| 10712 | * @Max: 1 |
| 10713 | * @Default: 1 |
| 10714 | * |
| 10715 | * This ini is used to enable or disable Adaptive Noise Immunity. |
| 10716 | * |
| 10717 | * Related: None |
| 10718 | * |
| 10719 | * Supported Feature: ANI |
| 10720 | * |
| 10721 | * Usage: External |
| 10722 | * |
| 10723 | * </ini> |
| 10724 | */ |
| 10725 | #define CFG_ENABLE_ANI_NAME "gEnableANI" |
| 10726 | #define CFG_ENABLE_ANI_MIN (0) |
| 10727 | #define CFG_ENABLE_ANI_MAX (1) |
| 10728 | #define CFG_ENABLE_ANI_DEFAULT (1) |
| 10729 | |
| 10730 | /* |
Selvaraj, Sridhar | a521aab | 2017-03-25 16:42:34 +0530 | [diff] [blame] | 10731 | * <ini> |
| 10732 | * g_qcn_ie_support - QCN IE Support |
| 10733 | * @Min: 0 (disabled) |
| 10734 | * @Max: 1 (enabled) |
Selvaraj, Sridhar | ca03ad2 | 2017-04-28 11:59:55 +0530 | [diff] [blame] | 10735 | * @Default: 1 (enabled) |
Selvaraj, Sridhar | a521aab | 2017-03-25 16:42:34 +0530 | [diff] [blame] | 10736 | * |
| 10737 | * This config item is used to support QCN IE in probe/assoc/reassoc request |
| 10738 | * for STA mode. QCN IE support is not added for SAP mode. |
| 10739 | * |
| 10740 | * Related: N/A |
| 10741 | * |
| 10742 | * Supported Feature: N/A |
| 10743 | * |
| 10744 | * Usage: Internal/External |
| 10745 | * |
| 10746 | * </ini> |
| 10747 | */ |
| 10748 | #define CFG_QCN_IE_SUPPORT_NAME "g_qcn_ie_support" |
| 10749 | #define CFG_QCN_IE_SUPPORT_MIN 0 |
| 10750 | #define CFG_QCN_IE_SUPPORT_MAX 1 |
Selvaraj, Sridhar | ca03ad2 | 2017-04-28 11:59:55 +0530 | [diff] [blame] | 10751 | #define CFG_QCN_IE_SUPPORT_DEFAULT 1 |
Selvaraj, Sridhar | a521aab | 2017-03-25 16:42:34 +0530 | [diff] [blame] | 10752 | |
Dustin Brown | 7f93993 | 2017-05-18 15:02:17 -0700 | [diff] [blame] | 10753 | /* |
| 10754 | * <ini> |
| 10755 | * gTimerMultiplier - Scale QDF timers by this value |
| 10756 | * @Min: 1 |
| 10757 | * @Max: 0xFFFFFFFF |
| 10758 | * @Default: 1 (100 for emulation) |
| 10759 | * |
| 10760 | * To assist in debugging emulation setups, scale QDF timers by this factor. |
| 10761 | * |
| 10762 | * @E.g. |
| 10763 | * # QDF timers expire in real time |
| 10764 | * gTimerMultiplier=1 |
| 10765 | * # QDF timers expire after 100 times real time |
| 10766 | * gTimerMultiplier=100 |
| 10767 | * |
| 10768 | * Related: N/A |
| 10769 | * |
| 10770 | * Usage: Internal |
| 10771 | * |
| 10772 | * </ini> |
| 10773 | */ |
| 10774 | #define CFG_TIMER_MULTIPLIER_NAME "gTimerMultiplier" |
| 10775 | #define CFG_TIMER_MULTIPLIER_MIN (1) |
| 10776 | #define CFG_TIMER_MULTIPLIER_MAX (0xFFFFFFFF) |
| 10777 | #ifdef QCA_WIFI_NAPIER_EMULATION |
| 10778 | #define CFG_TIMER_MULTIPLIER_DEFAULT (100) |
| 10779 | #else |
| 10780 | #define CFG_TIMER_MULTIPLIER_DEFAULT (1) |
| 10781 | #endif |
| 10782 | |
Rajeev Kumar Sirasanagandla | aec0b08 | 2017-06-21 11:59:41 +0530 | [diff] [blame] | 10783 | /* Begin of probe request IE whitelisting feature ini params */ |
| 10784 | /* |
| 10785 | * <ini> |
| 10786 | * g_enable_probereq_whitelist_ies - Enable IE white listing |
| 10787 | * @Min: 0 |
| 10788 | * @Max: 1 |
| 10789 | * @Default: 0 |
| 10790 | * |
| 10791 | * This ini is used to enable/disable probe request IE white listing feature. |
| 10792 | * Values 0 and 1 are used to disable and enable respectively, by default this |
| 10793 | * feature is disabled. |
| 10794 | * |
| 10795 | * Related: None |
| 10796 | * |
| 10797 | * Supported Feature: Probe request IE whitelisting |
| 10798 | * |
| 10799 | * Usage: Internal/External |
| 10800 | * |
| 10801 | * </ini> |
| 10802 | */ |
| 10803 | #define CFG_PRB_REQ_IE_WHITELIST_NAME "g_enable_probereq_whitelist_ies" |
| 10804 | #define CFG_PRB_REQ_IE_WHITELIST_MIN (0) |
| 10805 | #define CFG_PRB_REQ_IE_WHITELIST_MAX (1) |
| 10806 | #define CFG_PRB_REQ_IE_WHITELIST_DEFAULT (0) |
| 10807 | |
| 10808 | /* |
| 10809 | * For IE white listing in Probe Req, following ini parameters from |
| 10810 | * g_probe_req_ie_bitmap_0 to g_probe_req_ie_bitmap_7 are used. User needs to |
| 10811 | * input this values in hexa decimal format, when bit is set in bitmap, |
| 10812 | * corresponding IE needs to be included in probe request. |
| 10813 | * |
| 10814 | * Example: |
| 10815 | * ======== |
| 10816 | * If IE 221 needs to be in the probe request, set the corresponding bit |
| 10817 | * as follows: |
| 10818 | * a= IE/32 = 221/32 = 6 = g_probe_req_ie_bitmap_6 |
| 10819 | * b = IE modulo 32 = 29, |
| 10820 | * means set the bth bit in g_probe_req_ie_bitmap_a, |
| 10821 | * therefore set 29th bit in g_probe_req_ie_bitmap_6, |
| 10822 | * as a result, g_probe_req_ie_bitmap_6=20000000 |
| 10823 | * |
| 10824 | * Note: For IE 221, its mandatory to set the gProbeReqOUIs. |
| 10825 | */ |
| 10826 | |
| 10827 | /* |
| 10828 | * <ini> |
| 10829 | * g_probe_req_ie_bitmap_0 - Used to set the bitmap of IEs from 0 to 31 |
| 10830 | * @Min: 0x00000000 |
| 10831 | * @Max: 0xFFFFFFFF |
| 10832 | * @Default: 0x00000000 |
| 10833 | * |
| 10834 | * This ini is used to include the IEs from 0 to 31 in probe request, |
| 10835 | * when corresponding bit is set. |
| 10836 | * |
| 10837 | * Related: Need to enable g_enable_probereq_whitelist_ies. |
| 10838 | * |
| 10839 | * Supported Feature: Probe request ie whitelisting |
| 10840 | * |
| 10841 | * Usage: Internal/External |
| 10842 | * |
| 10843 | * </ini> |
| 10844 | */ |
| 10845 | #define CFG_PRB_REQ_IE_BIT_MAP0_NAME "g_probe_req_ie_bitmap_0" |
| 10846 | #define CFG_PRB_REQ_IE_BIT_MAP0_MIN (0x00000000) |
| 10847 | #define CFG_PRB_REQ_IE_BIT_MAP0_MAX (0xFFFFFFFF) |
| 10848 | #define CFG_PRB_REQ_IE_BIT_MAP0_DEFAULT (0x00000000) |
| 10849 | |
| 10850 | /* |
| 10851 | * <ini> |
| 10852 | * g_probe_req_ie_bitmap_1 - Used to set the bitmap of IEs from 32 to 63 |
| 10853 | * @Min: 0x00000000 |
| 10854 | * @Max: 0xFFFFFFFF |
| 10855 | * @Default: 0x00000000 |
| 10856 | * |
| 10857 | * This ini is used to include the IEs from 32 to 63 in probe request, |
| 10858 | * when corresponding bit is set. |
| 10859 | * |
| 10860 | * Related: Need to enable g_enable_probereq_whitelist_ies. |
| 10861 | * |
| 10862 | * Supported Feature: Probe request ie whitelisting |
| 10863 | * |
| 10864 | * Usage: Internal/External |
| 10865 | * |
| 10866 | * </ini> |
| 10867 | */ |
| 10868 | #define CFG_PRB_REQ_IE_BIT_MAP1_NAME "g_probe_req_ie_bitmap_1" |
| 10869 | #define CFG_PRB_REQ_IE_BIT_MAP1_MIN (0x00000000) |
| 10870 | #define CFG_PRB_REQ_IE_BIT_MAP1_MAX (0xFFFFFFFF) |
| 10871 | #define CFG_PRB_REQ_IE_BIT_MAP1_DEFAULT (0x00000000) |
| 10872 | |
| 10873 | /* |
| 10874 | * <ini> |
| 10875 | * g_probe_req_ie_bitmap_2 - Used to set the bitmap of IEs from 64 to 95 |
| 10876 | * @Min: 0x00000000 |
| 10877 | * @Max: 0xFFFFFFFF |
| 10878 | * @Default: 0x00000000 |
| 10879 | * |
| 10880 | * This ini is used to include the IEs from 64 to 95 in probe request, |
| 10881 | * when corresponding bit is set. |
| 10882 | * |
| 10883 | * Related: Need to enable g_enable_probereq_whitelist_ies. |
| 10884 | * |
| 10885 | * Supported Feature: Probe request ie whitelisting |
| 10886 | * |
| 10887 | * Usage: Internal/External |
| 10888 | * |
| 10889 | * </ini> |
| 10890 | */ |
| 10891 | #define CFG_PRB_REQ_IE_BIT_MAP2_NAME "g_probe_req_ie_bitmap_2" |
| 10892 | #define CFG_PRB_REQ_IE_BIT_MAP2_MIN (0x00000000) |
| 10893 | #define CFG_PRB_REQ_IE_BIT_MAP2_MAX (0xFFFFFFFF) |
| 10894 | #define CFG_PRB_REQ_IE_BIT_MAP2_DEFAULT (0x00000000) |
| 10895 | |
| 10896 | /* |
| 10897 | * <ini> |
| 10898 | * g_probe_req_ie_bitmap_3 - Used to set the bitmap of IEs from 96 to 127 |
| 10899 | * @Min: 0x00000000 |
| 10900 | * @Max: 0xFFFFFFFF |
| 10901 | * @Default: 0x00000000 |
| 10902 | * |
| 10903 | * This ini is used to include the IEs from 96 to 127 in probe request, |
| 10904 | * when corresponding bit is set. |
| 10905 | * |
| 10906 | * Related: Need to enable g_enable_probereq_whitelist_ies. |
| 10907 | * |
| 10908 | * Supported Feature: Probe request ie whitelisting |
| 10909 | * |
| 10910 | * Usage: Internal/External |
| 10911 | * |
| 10912 | * </ini> |
| 10913 | */ |
| 10914 | #define CFG_PRB_REQ_IE_BIT_MAP3_NAME "g_probe_req_ie_bitmap_3" |
| 10915 | #define CFG_PRB_REQ_IE_BIT_MAP3_MIN (0x00000000) |
| 10916 | #define CFG_PRB_REQ_IE_BIT_MAP3_MAX (0xFFFFFFFF) |
| 10917 | #define CFG_PRB_REQ_IE_BIT_MAP3_DEFAULT (0x00000000) |
| 10918 | |
| 10919 | /* |
| 10920 | * <ini> |
| 10921 | * g_probe_req_ie_bitmap_4 - Used to set the bitmap of IEs from 128 to 159 |
| 10922 | * @Min: 0x00000000 |
| 10923 | * @Max: 0xFFFFFFFF |
| 10924 | * @Default: 0x00000000 |
| 10925 | * |
| 10926 | * This ini is used to include the IEs from 128 to 159 in probe request, |
| 10927 | * when corresponding bit is set. |
| 10928 | * |
| 10929 | * Related: Need to enable g_enable_probereq_whitelist_ies. |
| 10930 | * |
| 10931 | * Supported Feature: Probe request ie whitelisting |
| 10932 | * |
| 10933 | * Usage: Internal/External |
| 10934 | * |
| 10935 | * </ini> |
| 10936 | */ |
| 10937 | #define CFG_PRB_REQ_IE_BIT_MAP4_NAME "g_probe_req_ie_bitmap_4" |
| 10938 | #define CFG_PRB_REQ_IE_BIT_MAP4_MIN (0x00000000) |
| 10939 | #define CFG_PRB_REQ_IE_BIT_MAP4_MAX (0xFFFFFFFF) |
| 10940 | #define CFG_PRB_REQ_IE_BIT_MAP4_DEFAULT (0x00000000) |
| 10941 | |
| 10942 | /* |
| 10943 | * <ini> |
| 10944 | * g_probe_req_ie_bitmap_5 - Used to set the bitmap of IEs from 160 to 191 |
| 10945 | * @Min: 0x00000000 |
| 10946 | * @Max: 0xFFFFFFFF |
| 10947 | * @Default: 0x00000000 |
| 10948 | * |
| 10949 | * This ini is used to include the IEs from 160 to 191 in probe request, |
| 10950 | * when corresponding bit is set. |
| 10951 | * |
| 10952 | * Related: Need to enable g_enable_probereq_whitelist_ies. |
| 10953 | * |
| 10954 | * Supported Feature: Probe request ie whitelisting |
| 10955 | * |
| 10956 | * Usage: Internal/External |
| 10957 | * |
| 10958 | * </ini> |
| 10959 | */ |
| 10960 | #define CFG_PRB_REQ_IE_BIT_MAP5_NAME "g_probe_req_ie_bitmap_5" |
| 10961 | #define CFG_PRB_REQ_IE_BIT_MAP5_MIN (0x00000000) |
| 10962 | #define CFG_PRB_REQ_IE_BIT_MAP5_MAX (0xFFFFFFFF) |
| 10963 | #define CFG_PRB_REQ_IE_BIT_MAP5_DEFAULT (0x00000000) |
| 10964 | |
| 10965 | /* |
| 10966 | * <ini> |
| 10967 | * g_probe_req_ie_bitmap_6 - Used to set the bitmap of IEs from 192 to 223 |
| 10968 | * @Min: 0x00000000 |
| 10969 | * @Max: 0xFFFFFFFF |
| 10970 | * @Default: 0x00000000 |
| 10971 | * |
| 10972 | * This ini is used to include the IEs from 192 to 223 in probe request, |
| 10973 | * when corresponding bit is set. |
| 10974 | * |
| 10975 | * Related: Need to enable g_enable_probereq_whitelist_ies. |
| 10976 | * |
| 10977 | * Supported Feature: Probe request ie whitelisting |
| 10978 | * |
| 10979 | * Usage: Internal/External |
| 10980 | * |
| 10981 | * </ini> |
| 10982 | */ |
| 10983 | #define CFG_PRB_REQ_IE_BIT_MAP6_NAME "g_probe_req_ie_bitmap_6" |
| 10984 | #define CFG_PRB_REQ_IE_BIT_MAP6_MIN (0x00000000) |
| 10985 | #define CFG_PRB_REQ_IE_BIT_MAP6_MAX (0xFFFFFFFF) |
| 10986 | #define CFG_PRB_REQ_IE_BIT_MAP6_DEFAULT (0x00000000) |
| 10987 | |
| 10988 | /* |
| 10989 | * <ini> |
| 10990 | * g_probe_req_ie_bitmap_7 - Used to set the bitmap of IEs from 224 to 255 |
| 10991 | * @Min: 0x00000000 |
| 10992 | * @Max: 0xFFFFFFFF |
| 10993 | * @Default: 0x00000000 |
| 10994 | * |
| 10995 | * This ini is used to include the IEs from 224 to 255 in probe request, |
| 10996 | * when corresponding bit is set. |
| 10997 | * |
| 10998 | * Related: Need to enable g_enable_probereq_whitelist_ies. |
| 10999 | * |
| 11000 | * Supported Feature: Probe request ie whitelisting |
| 11001 | * |
| 11002 | * Usage: Internal/External |
| 11003 | * |
| 11004 | * </ini> |
| 11005 | */ |
| 11006 | #define CFG_PRB_REQ_IE_BIT_MAP7_NAME "g_probe_req_ie_bitmap_7" |
| 11007 | #define CFG_PRB_REQ_IE_BIT_MAP7_MIN (0x00000000) |
| 11008 | #define CFG_PRB_REQ_IE_BIT_MAP7_MAX (0xFFFFFFFF) |
| 11009 | #define CFG_PRB_REQ_IE_BIT_MAP7_DEFAULT (0x00000000) |
| 11010 | |
| 11011 | /* |
| 11012 | * For vendor specific IE, Probe Req OUI types and sub types which are |
| 11013 | * to be white listed are specified in gProbeReqOUIs in the following |
| 11014 | * example format - gProbeReqOUIs=AABBCCDD EEFF1122 |
| 11015 | */ |
| 11016 | |
| 11017 | /* |
| 11018 | * <ini> |
| 11019 | * gProbeReqOUIs - Used to specify vendor specific OUIs |
| 11020 | * @Default: Empty string |
| 11021 | * |
| 11022 | * This ini is used to include the specified OUIs in vendor specific IE |
| 11023 | * of probe request. |
| 11024 | * |
| 11025 | * Related: Need to enable g_enable_probereq_whitelist_ies and |
| 11026 | * vendor specific IE should be set in g_probe_req_ie_bitmap_6. |
| 11027 | * |
| 11028 | * Supported Feature: Probe request ie whitelisting |
| 11029 | * |
| 11030 | * Usage: Internal/External |
| 11031 | * |
| 11032 | * </ini> |
| 11033 | */ |
| 11034 | #define CFG_PROBE_REQ_OUI_NAME "gProbeReqOUIs" |
| 11035 | #define CFG_PROBE_REQ_OUI_DEFAULT "" |
| 11036 | /* End of probe request IE whitelisting feature ini params */ |
| 11037 | |
Selvaraj, Sridhar | a521aab | 2017-03-25 16:42:34 +0530 | [diff] [blame] | 11038 | /* |
Selvaraj, Sridhar | 97ce658 | 2017-01-20 17:06:34 +0530 | [diff] [blame] | 11039 | * <ini> |
gaolez | e2920bd | 2017-03-21 17:38:42 +0800 | [diff] [blame] | 11040 | * g_sap_chanswitch_beacon_cnt - channel switch beacon count |
| 11041 | * @Min: 1 |
Abhinav Kumar | e24e498 | 2018-05-01 23:00:39 +0530 | [diff] [blame] | 11042 | * @Max: 10 |
| 11043 | * @Default: 10 |
gaolez | e2920bd | 2017-03-21 17:38:42 +0800 | [diff] [blame] | 11044 | * |
| 11045 | * This ini is used to configure channel switch beacon count |
| 11046 | * |
| 11047 | * Related: none |
| 11048 | * |
| 11049 | * Usage: External |
| 11050 | * |
| 11051 | * </ini> |
| 11052 | */ |
| 11053 | #define CFG_SAP_CH_SWITCH_BEACON_CNT "g_sap_chanswitch_beacon_cnt" |
| 11054 | #define CFG_SAP_CH_SWITCH_BEACON_CNT_MIN (1) |
Ganesh Kondabattini | b6fdb63 | 2017-12-28 16:57:04 +0530 | [diff] [blame] | 11055 | #define CFG_SAP_CH_SWITCH_BEACON_CNT_MAX (10) |
Abhinav Kumar | e24e498 | 2018-05-01 23:00:39 +0530 | [diff] [blame] | 11056 | #define CFG_SAP_CH_SWITCH_BEACON_CNT_DEFAULT (10) |
gaolez | e2920bd | 2017-03-21 17:38:42 +0800 | [diff] [blame] | 11057 | |
| 11058 | /* |
| 11059 | * <ini> |
gaolez | 76d2a16 | 2017-03-21 19:23:58 +0800 | [diff] [blame] | 11060 | * g_sap_chanswitch_mode - channel switch mode |
| 11061 | * @Min: 0 |
| 11062 | * @Max: 1 |
| 11063 | * @Default: 1 |
| 11064 | * |
| 11065 | * This ini is used to configure channel switch mode |
| 11066 | * |
| 11067 | * Related: none |
| 11068 | * |
| 11069 | * Usage: External |
| 11070 | * |
| 11071 | * </ini> |
| 11072 | */ |
| 11073 | #define CFG_SAP_CH_SWITCH_MODE "g_sap_chanswitch_mode" |
| 11074 | #define CFG_SAP_CH_SWITCH_MODE_MIN (0) |
| 11075 | #define CFG_SAP_CH_SWITCH_MODE_MAX (1) |
| 11076 | #define CFG_SAP_CH_SWITCH_MODE_DEFAULT (1) |
| 11077 | |
| 11078 | /* |
| 11079 | * <ini> |
Selvaraj, Sridhar | 97ce658 | 2017-01-20 17:06:34 +0530 | [diff] [blame] | 11080 | * g_fils_max_chan_guard_time - Set maximum channel guard time(ms) |
| 11081 | * @Min: 0 |
| 11082 | * @Max: 10 |
| 11083 | * @Default: 0 |
| 11084 | * |
| 11085 | * This ini is used to set maximum channel guard time in milli seconds |
| 11086 | * |
| 11087 | * Related: None |
| 11088 | * |
| 11089 | * Supported Feature: FILS |
| 11090 | * |
| 11091 | * Usage: External |
| 11092 | * |
| 11093 | * </ini> |
| 11094 | */ |
| 11095 | #define CFG_FILS_MAX_CHAN_GUARD_TIME_NAME "g_fils_max_chan_guard_time" |
| 11096 | #define CFG_FILS_MAX_CHAN_GUARD_TIME_MIN (0) |
| 11097 | #define CFG_FILS_MAX_CHAN_GUARD_TIME_MAX (10) |
| 11098 | #define CFG_FILS_MAX_CHAN_GUARD_TIME_DEFAULT (0) |
| 11099 | |
lifeng | 959a04c | 2017-05-10 14:21:28 +0800 | [diff] [blame] | 11100 | /** |
| 11101 | * gSetRTSForSIFSBursting - set rts for sifs bursting |
| 11102 | * @Min: 0 |
| 11103 | * @Max: 1 |
| 11104 | * @Default: 0 |
| 11105 | * |
| 11106 | * This ini set rts for sifs bursting |
| 11107 | * |
| 11108 | * Usage: External |
| 11109 | * |
| 11110 | * </ini> |
| 11111 | */ |
| 11112 | #define CFG_SET_RTS_FOR_SIFS_BURSTING "gSetRTSForSIFSBursting" |
| 11113 | #define CFG_SET_RTS_FOR_SIFS_BURSTING_MIN (0) |
| 11114 | #define CFG_SET_RTS_FOR_SIFS_BURSTING_MAX (1) |
| 11115 | #define CFG_SET_RTS_FOR_SIFS_BURSTING_DEFAULT (0) |
| 11116 | |
| 11117 | /** |
| 11118 | * <ini> |
| 11119 | * gMaxMPDUsInAMPDU - max mpdus in ampdu |
| 11120 | * @Min: 0 |
| 11121 | * @Max: 64 |
| 11122 | * @Default: 0 |
| 11123 | * |
| 11124 | * This ini configure max mpdus in ampdu |
| 11125 | * |
| 11126 | * Usage: External |
| 11127 | * |
| 11128 | * </ini> |
| 11129 | */ |
| 11130 | #define CFG_MAX_MPDUS_IN_AMPDU "gMaxMPDUsInAMPDU" |
| 11131 | #define CFG_MAX_MPDUS_IN_AMPDU_MIN (0) |
| 11132 | #define CFG_MAX_MPDUS_IN_AMPDU_MAX (64) |
| 11133 | #define CFG_MAX_MPDUS_IN_AMPDU_DEFAULT (0) |
| 11134 | |
Selvaraj, Sridhar | 97ce658 | 2017-01-20 17:06:34 +0530 | [diff] [blame] | 11135 | /* |
Dustin Brown | 20b6fcf | 2017-05-17 15:35:17 -0700 | [diff] [blame] | 11136 | * <ini> |
| 11137 | * gScanBackoffMultiplier - For NLO/PNO, multiply fast scan period by this every |
| 11138 | * max cycles |
| 11139 | * @Min: 0 |
| 11140 | * @Max: 255 |
| 11141 | * @Default: 0 |
| 11142 | * |
| 11143 | * For Network Listen Offload and Perfered Network Offload, multiply the fast |
| 11144 | * scan period by this value after max cycles have occurred. Setting this to 0 |
| 11145 | * disables the feature. |
| 11146 | * |
| 11147 | * @E.g. |
| 11148 | * # Disable scan backoff multiplier |
| 11149 | * gScanBackoffMultiplier=0 |
| 11150 | * # Effectively the same |
| 11151 | * gScanBackoffMultiplier=1 |
| 11152 | * # Double the scan period after each max cycles have occurred |
| 11153 | * gScanBackoffMultiplier=2 |
| 11154 | * |
| 11155 | * Related: NLO, PNO |
| 11156 | * |
| 11157 | * Usage: Internal/External |
| 11158 | * |
| 11159 | * </ini> |
| 11160 | */ |
| 11161 | #define CFG_SCAN_BACKOFF_MULTIPLIER_NAME "gScanBackoffMultiplier" |
| 11162 | #define CFG_SCAN_BACKOFF_MULTIPLIER_MIN (0) |
| 11163 | #define CFG_SCAN_BACKOFF_MULTIPLIER_MAX (255) |
| 11164 | #define CFG_SCAN_BACKOFF_MULTIPLIER_DEFAULT (0) |
| 11165 | |
| 11166 | /* |
Varun Reddy Yeturu | bba32e9 | 2017-09-06 13:31:40 -0700 | [diff] [blame] | 11167 | * <ini> |
| 11168 | * mawc_nlo_enabled - For NLO/PNO, enable MAWC based scan |
| 11169 | * @Min: 0 |
| 11170 | * @Max: 1 |
| 11171 | * @Default: 1 |
| 11172 | * |
| 11173 | * Enable/Disable the Motion Aided Wireless Connectivity |
| 11174 | * based NLO using this parameter |
| 11175 | * |
| 11176 | * Related: NLO, PNO |
| 11177 | * |
| 11178 | * Usage: Internal/External |
| 11179 | * |
| 11180 | * </ini> |
| 11181 | */ |
| 11182 | #define CFG_MAWC_NLO_ENABLED_NAME "mawc_nlo_enabled" |
| 11183 | #define CFG_MAWC_NLO_ENABLED_MIN (0) |
| 11184 | #define CFG_MAWC_NLO_ENABLED_MAX (1) |
| 11185 | #define CFG_MAWC_NLO_ENABLED_DEFAULT (1) |
| 11186 | |
| 11187 | /* |
| 11188 | * <ini> |
| 11189 | * mawc_nlo_exp_backoff_ratio - Exponential back off ratio |
| 11190 | * @Min: 0 |
| 11191 | * @Max: 300 |
| 11192 | * @Default: 3 |
| 11193 | * |
| 11194 | * Configure the exponential back off ratio using this |
| 11195 | * parameter for MAWC based NLO |
| 11196 | * ratio of exponential backoff, next = current + current*ratio/100 |
| 11197 | * |
| 11198 | * Related: NLO, PNO |
| 11199 | * |
| 11200 | * Usage: Internal/External |
| 11201 | * |
| 11202 | * </ini> |
| 11203 | */ |
| 11204 | #define CFG_MAWC_NLO_EXP_BACKOFF_RATIO_NAME "mawc_nlo_exp_backoff_ratio" |
| 11205 | #define CFG_MAWC_NLO_EXP_BACKOFF_RATIO_MIN (0) |
| 11206 | #define CFG_MAWC_NLO_EXP_BACKOFF_RATIO_MAX (300) |
| 11207 | #define CFG_MAWC_NLO_EXP_BACKOFF_RATIO_DEFAULT (3) |
| 11208 | |
| 11209 | /* |
| 11210 | * <ini> |
| 11211 | * mawc_nlo_init_scan_interval - Initial Scan Interval |
| 11212 | * @Min: 1000 |
| 11213 | * @Max: 0xFFFFFFFF |
| 11214 | * @Default: 10000 |
| 11215 | * |
| 11216 | * Configure the initial scan interval using this |
| 11217 | * parameter for MAWC based NLO (Units in Milliseconds) |
| 11218 | * |
| 11219 | * Related: NLO, PNO |
| 11220 | * |
| 11221 | * Usage: Internal/External |
| 11222 | * |
| 11223 | * </ini> |
| 11224 | */ |
| 11225 | #define CFG_MAWC_NLO_INIT_SCAN_INTERVAL_NAME "mawc_nlo_init_scan_interval" |
| 11226 | #define CFG_MAWC_NLO_INIT_SCAN_INTERVAL_MIN (1000) |
| 11227 | #define CFG_MAWC_NLO_INIT_SCAN_INTERVAL_MAX (0xFFFFFFFF) |
| 11228 | #define CFG_MAWC_NLO_INIT_SCAN_INTERVAL_DEFAULT (10000) |
| 11229 | |
| 11230 | /* |
| 11231 | * <ini> |
| 11232 | * mawc_nlo_max_scan_interval - Maximum Scan Interval |
| 11233 | * @Min: 1000 |
| 11234 | * @Max: 0xFFFFFFFF |
| 11235 | * @Default: 60000 |
| 11236 | * |
| 11237 | * Configure the maximum scan interval using this |
| 11238 | * parameter for MAWC based NLO (Units in Milliseconds) |
| 11239 | * |
| 11240 | * Related: NLO, PNO |
| 11241 | * |
| 11242 | * Usage: Internal/External |
| 11243 | * |
| 11244 | * </ini> |
| 11245 | */ |
| 11246 | #define CFG_MAWC_NLO_MAX_SCAN_INTERVAL_NAME "mawc_nlo_max_scan_interval" |
| 11247 | #define CFG_MAWC_NLO_MAX_SCAN_INTERVAL_MIN (1000) |
| 11248 | #define CFG_MAWC_NLO_MAX_SCAN_INTERVAL_MAX (0xFFFFFFFF) |
| 11249 | #define CFG_MAWC_NLO_MAX_SCAN_INTERVAL_DEFAULT (60000) |
| 11250 | |
| 11251 | |
| 11252 | /* |
Jayachandran Sreekumaran | 68c952c | 2017-04-24 12:42:03 +0530 | [diff] [blame] | 11253 | * enum hdd_external_acs_policy - External ACS policy |
| 11254 | * @HDD_EXTERNAL_ACS_PCL_PREFERRED -Preferable for ACS to select a |
| 11255 | * channel with non-zero pcl weight. |
| 11256 | * @HDD_EXTERNAL_ACS_PCL_MANDATORY -Mandatory for ACS to select a |
| 11257 | * channel with non-zero pcl weight. |
| 11258 | * |
| 11259 | * enum hdd_external_acs_policy is used to select the ACS policy. |
| 11260 | * |
| 11261 | */ |
| 11262 | enum hdd_external_acs_policy { |
| 11263 | HDD_EXTERNAL_ACS_PCL_PREFERRED = 0, |
| 11264 | HDD_EXTERNAL_ACS_PCL_MANDATORY = 1, |
| 11265 | }; |
| 11266 | |
| 11267 | /* |
| 11268 | * <ini> |
| 11269 | * external_acs_policy - External ACS policy control |
| 11270 | * @Min: 0 |
| 11271 | * @Max: 1 |
| 11272 | * @Default: 0 |
| 11273 | * |
| 11274 | * Values are per enum hdd_external_acs_policy. |
| 11275 | * |
| 11276 | * This ini is used to control the external ACS policy. |
| 11277 | * |
| 11278 | * Related: None |
| 11279 | * |
| 11280 | * Supported Feature: ACS |
| 11281 | * |
| 11282 | * Usage: Internal/External |
| 11283 | * |
| 11284 | * </ini> |
| 11285 | */ |
| 11286 | #define CFG_EXTERNAL_ACS_POLICY "acs_policy" |
| 11287 | #define CFG_EXTERNAL_ACS_POLICY_MIN (HDD_EXTERNAL_ACS_PCL_PREFERRED) |
| 11288 | #define CFG_EXTERNAL_ACS_POLICY_MAX (HDD_EXTERNAL_ACS_PCL_MANDATORY) |
| 11289 | #define CFG_EXTERNAL_ACS_POLICY_DEFAULT (HDD_EXTERNAL_ACS_PCL_PREFERRED) |
| 11290 | |
| 11291 | /* |
Manjunathappa Prakash | dab74fa | 2017-06-19 12:11:03 -0700 | [diff] [blame] | 11292 | * <ini> |
| 11293 | * gEnableTxOrphan- Enable/Disable orphaning of Tx packets |
| 11294 | * @Min: 0 |
| 11295 | * @Max: 1 |
| 11296 | * @Default: 0 |
| 11297 | * |
| 11298 | * This ini is used to enable/disable orphaning of Tx packets. |
| 11299 | * |
| 11300 | * Related: None |
| 11301 | * |
| 11302 | * Usage: External |
| 11303 | * |
| 11304 | * </ini> |
| 11305 | */ |
| 11306 | #define CFG_TX_ORPHAN_ENABLE_NAME "gEnableTxOrphan" |
| 11307 | #define CFG_TX_ORPHAN_ENABLE_DEFAULT (0) |
| 11308 | #define CFG_TX_ORPHAN_ENABLE_MIN (0) |
| 11309 | #define CFG_TX_ORPHAN_ENABLE_MAX (1) |
Ashwini Patil | f2bf05e | 2017-03-10 03:41:03 +0530 | [diff] [blame] | 11310 | |
Ashish Kumar Dhanotiya | 9335d81 | 2017-06-30 16:57:20 +0530 | [diff] [blame] | 11311 | /* |
| 11312 | * <ini> |
| 11313 | * gItoRepeatCount - sets ito repeated count |
| 11314 | * @Min: 0 |
| 11315 | * @Max: 5 |
| 11316 | * @Default: 0 |
| 11317 | * |
| 11318 | * This ini sets the ito count in FW |
| 11319 | * |
| 11320 | * Usage: External |
| 11321 | * |
| 11322 | * </ini> |
| 11323 | */ |
Ashish Kumar Dhanotiya | 9335d81 | 2017-06-30 16:57:20 +0530 | [diff] [blame] | 11324 | #define CFG_ITO_REPEAT_COUNT_NAME "gItoRepeatCount" |
| 11325 | #define CFG_ITO_REPEAT_COUNT_MIN (0) |
| 11326 | #define CFG_ITO_REPEAT_COUNT_MAX (5) |
| 11327 | #define CFG_ITO_REPEAT_COUNT_DEFAULT (0) |
yeshwanth sriram guntuka | 1413dfb | 2017-06-23 14:09:48 +0530 | [diff] [blame] | 11328 | |
| 11329 | /* |
| 11330 | * <ini> |
| 11331 | * oce_sta_enable - Enable/disable oce feature for STA |
| 11332 | * @Min: 0 |
| 11333 | * @Max: 1 |
| 11334 | * @Default: 1 |
| 11335 | * |
| 11336 | * This ini is used to enable/disable oce feature for STA |
| 11337 | * |
| 11338 | * Related: None |
| 11339 | * |
| 11340 | * Supported Feature: OCE |
| 11341 | * |
| 11342 | * Usage: External |
| 11343 | * |
| 11344 | * </ini> |
| 11345 | */ |
| 11346 | #define CFG_OCE_ENABLE_STA_NAME "oce_sta_enable" |
| 11347 | #define CFG_OCE_ENABLE_STA_MIN (0) |
| 11348 | #define CFG_OCE_ENABLE_STA_MAX (1) |
| 11349 | #define CFG_OCE_ENABLE_STA_DEFAULT (1) |
| 11350 | |
| 11351 | /* |
| 11352 | * <ini> |
| 11353 | * oce_sap_enable - Enable/disable oce feature for SAP |
| 11354 | * @Min: 0 |
| 11355 | * @Max: 1 |
| 11356 | * @Default: 1 |
| 11357 | * |
| 11358 | * This ini is used to enable/disable oce feature for SAP |
| 11359 | * |
| 11360 | * Related: None |
| 11361 | * |
| 11362 | * Supported Feature: OCE |
| 11363 | * |
| 11364 | * Usage: External |
| 11365 | * |
| 11366 | * </ini> |
| 11367 | */ |
| 11368 | #define CFG_OCE_ENABLE_SAP_NAME "oce_sap_enable" |
| 11369 | #define CFG_OCE_ENABLE_SAP_MIN (0) |
| 11370 | #define CFG_OCE_ENABLE_SAP_MAX (1) |
| 11371 | #define CFG_OCE_ENABLE_SAP_DEFAULT (1) |
| 11372 | |
Manjunathappa Prakash | dab74fa | 2017-06-19 12:11:03 -0700 | [diff] [blame] | 11373 | /* |
Selvaraj, Sridhar | 57ce4df | 2017-05-29 18:30:49 +0530 | [diff] [blame] | 11374 | * <ini> |
| 11375 | * groam_disallow_duration -disallow duration before roaming |
| 11376 | * @Min: 0 |
| 11377 | * @Max: 3600 |
| 11378 | * @Default: 30 |
| 11379 | * |
| 11380 | * This ini is used to configure how long LCA[Last Connected AP] AP will |
| 11381 | * be disallowed before it can be a roaming candidate again, in units of |
| 11382 | * seconds. |
| 11383 | * |
| 11384 | * Related: LFR |
| 11385 | * |
| 11386 | * Usage: Internal |
| 11387 | * |
| 11388 | * </ini> |
| 11389 | */ |
| 11390 | #define CFG_ROAM_DISALLOW_DURATION_NAME "groam_disallow_duration" |
| 11391 | #define CFG_ROAM_DISALLOW_DURATION_MIN (0) |
| 11392 | #define CFG_ROAM_DISALLOW_DURATION_MAX (3600) |
| 11393 | #define CFG_ROAM_DISALLOW_DURATION_DEFAULT (30) |
| 11394 | |
| 11395 | /* |
| 11396 | * <ini> |
| 11397 | * grssi_channel_penalization - RSSI penalization |
| 11398 | * @Min: 0 |
| 11399 | * @Max: 15 |
| 11400 | * @Default: 5 |
| 11401 | * |
| 11402 | * This ini is used to configure RSSI that will be penalized if candidate(s) |
| 11403 | * are found to be in the same channel as disallowed AP's, in units of db. |
| 11404 | * |
| 11405 | * Related: LFR |
| 11406 | * |
| 11407 | * Usage: Internal |
| 11408 | * |
| 11409 | * </ini> |
| 11410 | */ |
| 11411 | #define CFG_ROAM_RSSI_CHANNEL_PENALIZATION_NAME "grssi_channel_penalization" |
| 11412 | #define CFG_ROAM_RSSI_CHANNEL_PENALIZATION_MIN (0) |
| 11413 | #define CFG_ROAM_RSSI_CHANNEL_PENALIZATION_MAX (15) |
| 11414 | #define CFG_ROAM_RSSI_CHANNEL_PENALIZATION_DEFAULT (5) |
| 11415 | |
| 11416 | /* |
| 11417 | * <ini> |
| 11418 | * groam_num_disallowed_aps - Max number of AP's to maintain in LCA list |
| 11419 | * @Min: 0 |
| 11420 | * @Max: 8 |
| 11421 | * @Default: 3 |
| 11422 | * |
| 11423 | * This ini is used to set the maximum number of AP's to be maintained |
| 11424 | * in LCA [Last Connected AP] list. |
| 11425 | * |
| 11426 | * Related: LFR |
| 11427 | * |
| 11428 | * Usage: Internal |
| 11429 | * |
| 11430 | * </ini> |
| 11431 | */ |
| 11432 | #define CFG_ROAM_NUM_DISALLOWED_APS_NAME "groam_num_disallowed_aps" |
| 11433 | #define CFG_ROAM_NUM_DISALLOWED_APS_MIN (0) |
| 11434 | #define CFG_ROAM_NUM_DISALLOWED_APS_MAX (8) |
| 11435 | #define CFG_ROAM_NUM_DISALLOWED_APS_DEFAULT (3) |
| 11436 | |
| 11437 | /* |
Ashish Kumar Dhanotiya | b8630ab | 2017-07-21 14:18:14 +0530 | [diff] [blame] | 11438 | * <ini> |
| 11439 | * gEnableLPRx - Enable/Disable LPRx |
| 11440 | * @Min: 0 |
| 11441 | * @Max: 1 |
| 11442 | * @Default: 1 |
| 11443 | * |
| 11444 | * This ini Enables or disables the LPRx in FW |
| 11445 | * |
| 11446 | * Usage: External |
| 11447 | * |
| 11448 | * </ini> |
| 11449 | */ |
| 11450 | |
| 11451 | #define CFG_LPRx_NAME "gEnableLPRx" |
| 11452 | #define CFG_LPRx_MIN (0) |
| 11453 | #define CFG_LPRx_MAX (1) |
| 11454 | #define CFG_LPRx_DEFAULT (1) |
| 11455 | |
| 11456 | /* |
Ashish Kumar Dhanotiya | b28338c | 2017-07-21 20:12:34 +0530 | [diff] [blame] | 11457 | * <ini> |
| 11458 | * gUpperBrssiThresh - Sets Upper threshold for beacon RSSI |
| 11459 | * @Min: 36 |
| 11460 | * @Max: 66 |
| 11461 | * @Default: 46 |
| 11462 | * |
| 11463 | * This ini sets Upper beacon threshold for beacon RSSI in FW |
| 11464 | * Used to reduced RX chainmask in FW, once this threshold is |
| 11465 | * reached FW will switch to 1X1 (Single chain). |
| 11466 | * |
| 11467 | * Supported Feature: STA |
| 11468 | * |
| 11469 | * Usage: External |
| 11470 | * |
| 11471 | * </ini> |
| 11472 | */ |
| 11473 | |
| 11474 | #define CFG_UPPER_BRSSI_THRESH_NAME "gUpperBrssiThresh" |
| 11475 | #define CFG_UPPER_BRSSI_THRESH_MIN (36) |
| 11476 | #define CFG_UPPER_BRSSI_THRESH_MAX (66) |
| 11477 | #define CFG_UPPER_BRSSI_THRESH_DEFAULT (46) |
| 11478 | |
| 11479 | /* |
| 11480 | * <ini> |
| 11481 | * gLowerrBrssiThresh - Sets Lower threshold for beacon RSSI |
| 11482 | * @Min: 6 |
| 11483 | * @Max: 36 |
| 11484 | * @Default: 26 |
| 11485 | * |
| 11486 | * This ini sets Lower beacon threshold for beacon RSSI in FW |
| 11487 | * Used to increase RX chainmask in FW, once this threshold is |
| 11488 | * reached FW will switch to 2X2 chain. |
| 11489 | * |
| 11490 | * Supported Feature: STA |
| 11491 | * |
| 11492 | * Usage: External |
| 11493 | * |
| 11494 | * </ini> |
| 11495 | */ |
| 11496 | |
| 11497 | #define CFG_LOWER_BRSSI_THRESH_NAME "gLowerBrssiThresh" |
| 11498 | #define CFG_LOWER_BRSSI_THRESH_MIN (6) |
| 11499 | #define CFG_LOWER_BRSSI_THRESH_MAX (36) |
| 11500 | #define CFG_LOWER_BRSSI_THRESH_DEFAULT (26) |
| 11501 | |
| 11502 | /* |
| 11503 | * <ini> |
| 11504 | * gDtim1ChRxEnable - Enable/Disable DTIM 1Chrx feature |
| 11505 | * @Min: 0 |
| 11506 | * @Max: 1 |
| 11507 | * @Default: 1 |
| 11508 | * |
| 11509 | * This ini Enables or Disables DTIM 1CHRX feature in FW |
| 11510 | * If this flag is set FW enables shutting off one chain |
| 11511 | * while going to power save. |
| 11512 | * |
| 11513 | * Supported Feature: STA |
| 11514 | * |
| 11515 | * Usage: External |
| 11516 | * |
| 11517 | * </ini> |
| 11518 | */ |
| 11519 | |
| 11520 | #define CFG_DTIM_1CHRX_ENABLE_NAME "gDtim1ChRxEnable" |
| 11521 | #define CFG_DTIM_1CHRX_ENABLE_MIN (0) |
| 11522 | #define CFG_DTIM_1CHRX_ENABLE_MAX (1) |
| 11523 | #define CFG_DTIM_1CHRX_ENABLE_DEFAULT (1) |
| 11524 | |
| 11525 | /* |
Amar Singhal | e4a2dd5 | 2017-08-07 13:59:05 -0700 | [diff] [blame] | 11526 | * <ini> |
| 11527 | * scan_11d_interval - 11d scan interval in ms |
| 11528 | * @Min: 1 sec |
| 11529 | * @Max: 10 hr |
| 11530 | * @Default: 1 hr |
| 11531 | * |
| 11532 | * This ini sets the 11d scan interval in FW |
| 11533 | * |
| 11534 | * |
| 11535 | * |
| 11536 | * Supported Feature: STA |
| 11537 | * |
| 11538 | * Usage: External |
| 11539 | * |
| 11540 | * </ini> |
| 11541 | */ |
| 11542 | |
| 11543 | #define CFG_SCAN_11D_INTERVAL_NAME "scan_11d_interval" |
| 11544 | #define CFG_SCAN_11D_INTERVAL_DEFAULT (3600000) |
| 11545 | #define CFG_SCAN_11D_INTERVAL_MIN (1000) |
| 11546 | #define CFG_SCAN_11D_INTERVAL_MAX (36000000) |
Abhishek Singh | b58164a | 2017-07-19 18:47:23 +0530 | [diff] [blame] | 11547 | /* |
| 11548 | * <ini> |
| 11549 | * is_bssid_hint_priority - Set priority for connection with bssid_hint |
| 11550 | * BSSID. |
| 11551 | * @Min: 0 |
| 11552 | * @Max: 1 |
| 11553 | * @Default: 1 |
| 11554 | * |
| 11555 | * This ini is used to give priority to BSS for connection which comes |
| 11556 | * as part of bssid_hint |
| 11557 | * |
| 11558 | * Related: None |
| 11559 | * |
| 11560 | * Supported Feature: STA |
| 11561 | * |
| 11562 | * Usage: External |
| 11563 | * |
| 11564 | * </ini> |
| 11565 | */ |
| 11566 | |
| 11567 | #define CFG_IS_BSSID_HINT_PRIORITY_NAME "is_bssid_hint_priority" |
gaurank kathpalia | 0efbb56 | 2017-12-19 18:05:00 +0530 | [diff] [blame] | 11568 | #define CFG_IS_BSSID_HINT_PRIORITY_DEFAULT (0) |
Abhishek Singh | b58164a | 2017-07-19 18:47:23 +0530 | [diff] [blame] | 11569 | #define CFG_IS_BSSID_HINT_PRIORITY_MIN (0) |
| 11570 | #define CFG_IS_BSSID_HINT_PRIORITY_MAX (1) |
Amar Singhal | e4a2dd5 | 2017-08-07 13:59:05 -0700 | [diff] [blame] | 11571 | |
| 11572 | /* |
hqu | 16d6e08 | 2017-09-04 10:52:31 +0800 | [diff] [blame] | 11573 | * <ini> |
Himanshu Agarwal | 8bcec57 | 2017-09-28 11:54:37 +0530 | [diff] [blame] | 11574 | * rssi_weightage - RSSI Weightage to calculate best candidate |
| 11575 | * @Min: 0 |
| 11576 | * @Max: 100 |
| 11577 | * @Default: 20 |
| 11578 | * |
| 11579 | * This ini is used to increase/decrease RSSI weightage in best candidate |
| 11580 | * selection. AP with better RSSI will get more weightage. |
| 11581 | * |
| 11582 | * Related: None |
| 11583 | * |
| 11584 | * Supported Feature: STA Candidate selection |
| 11585 | * |
| 11586 | * Usage: External |
| 11587 | * |
| 11588 | * </ini> |
| 11589 | */ |
| 11590 | #define CFG_RSSI_WEIGHTAGE_NAME "rssi_weightage" |
| 11591 | #define CFG_RSSI_WEIGHTAGE_DEFAULT (20) |
| 11592 | #define CFG_RSSI_WEIGHTAGE_MIN (0) |
| 11593 | #define CFG_RSSI_WEIGHTAGE_MAX (100) |
| 11594 | |
| 11595 | /* |
| 11596 | * <ini> |
| 11597 | * ht_caps_weightage - HT caps weightage to calculate best candidate |
| 11598 | * @Min: 0 |
| 11599 | * @Max: 100 |
| 11600 | * @Default: 2 |
| 11601 | * |
| 11602 | * This ini is used to increase/decrease HT caps weightage in best candidate |
| 11603 | * selection. If AP supports HT caps, AP will get additional Weightage with |
| 11604 | * this param. Weightage will be given only if dot11mode is HT capable. |
| 11605 | * |
| 11606 | * Related: None |
| 11607 | * |
| 11608 | * Supported Feature: STA Candidate selection |
| 11609 | * |
| 11610 | * Usage: External |
| 11611 | * |
| 11612 | * </ini> |
| 11613 | */ |
| 11614 | #define CFG_HT_CAPABILITY_WEIGHTAGE_NAME "ht_caps_weightage" |
| 11615 | #define CFG_HT_CAPABILITY_WEIGHTAGE_DEFAULT (2) |
| 11616 | #define CFG_HT_CAPABILITY_WEIGHTAGE_MIN (0) |
| 11617 | #define CFG_HT_CAPABILITY_WEIGHTAGE_MAX (100) |
| 11618 | |
| 11619 | /* |
| 11620 | * <ini> |
| 11621 | * vht_caps_weightage - VHT caps Weightage to calculate best candidate |
| 11622 | * @Min: 0 |
| 11623 | * @Max: 100 |
| 11624 | * @Default: 1 |
| 11625 | * |
| 11626 | * This ini is used to increase/decrease VHT caps weightage in best candidate |
| 11627 | * selection. If AP supports VHT caps, AP will get additional weightage with |
| 11628 | * this param. Weightage will be given only if dot11mode is VHT capable. |
| 11629 | * |
| 11630 | * Related: None |
| 11631 | * |
| 11632 | * Supported Feature: STA Candidate selection |
| 11633 | * |
| 11634 | * Usage: External |
| 11635 | * |
| 11636 | * </ini> |
| 11637 | */ |
| 11638 | #define CFG_VHT_CAPABILITY_WEIGHTAGE_NAME "vht_caps_weightage" |
| 11639 | #define CFG_VHT_CAPABILITY_WEIGHTAGE_DEFAULT (1) |
| 11640 | #define CFG_VHT_CAPABILITY_WEIGHTAGE_MIN (0) |
| 11641 | #define CFG_VHT_CAPABILITY_WEIGHTAGE_MAX (100) |
| 11642 | |
| 11643 | /* |
| 11644 | * <ini> |
| 11645 | * he_caps_weightage - HE caps Weightage to calculate best candidate |
| 11646 | * @Min: 0 |
| 11647 | * @Max: 100 |
| 11648 | * @Default: 1 |
| 11649 | * |
| 11650 | * This ini is used to increase/decrease HE caps weightage in best candidate |
| 11651 | * selection. If AP supports HE caps, AP will get additional weightage with |
| 11652 | * this param. Weightage will be given only if dot11mode is HE capable. |
| 11653 | * |
| 11654 | * Related: None |
| 11655 | * |
| 11656 | * Supported Feature: STA Candidate selection |
| 11657 | * |
| 11658 | * Usage: External |
| 11659 | * |
| 11660 | * </ini> |
| 11661 | */ |
| 11662 | #define CFG_HE_CAPABILITY_WEIGHTAGE_NAME "he_caps_weightage" |
| 11663 | #define CFG_HE_CAPABILITY_WEIGHTAGE_DEFAULT (2) |
| 11664 | #define CFG_HE_CAPABILITY_WEIGHTAGE_MIN (0) |
| 11665 | #define CFG_HE_CAPABILITY_WEIGHTAGE_MAX (100) |
| 11666 | |
| 11667 | /* |
| 11668 | * <ini> |
| 11669 | * chan_width_weightage - Channel Width Weightage to calculate best candidate |
| 11670 | * @Min: 0 |
| 11671 | * @Max: 100 |
| 11672 | * @Default: 17 |
| 11673 | * |
| 11674 | * This ini is used to increase/decrease Channel Width weightage in best |
| 11675 | * candidate selection. AP with Higher channel width will get higher weightage |
| 11676 | * |
| 11677 | * Related: bandwidth_weight_per_index |
| 11678 | * |
| 11679 | * Supported Feature: STA Candidate selection |
| 11680 | * |
| 11681 | * Usage: External |
| 11682 | * |
| 11683 | * </ini> |
| 11684 | */ |
| 11685 | #define CFG_CHAN_WIDTH_WEIGHTAGE_NAME "chan_width_weightage" |
| 11686 | #define CFG_CHAN_WIDTH_WEIGHTAGE_DEFAULT (17) |
| 11687 | #define CFG_CHAN_WIDTH_WEIGHTAGE_MIN (0) |
| 11688 | #define CFG_CHAN_WIDTH_WEIGHTAGE_MAX (100) |
| 11689 | |
| 11690 | /* |
| 11691 | * <ini> |
| 11692 | * chan_band_weightage - Channel Band perferance to 5GHZ to |
| 11693 | * calculate best candidate |
| 11694 | * @Min: 0 |
| 11695 | * @Max: 100 |
| 11696 | * @Default: 2 |
| 11697 | * |
| 11698 | * This ini is used to increase/decrease Channel Band Preference weightage |
| 11699 | * in best candidate selection. 5GHZ AP get this additional boost compare to |
| 11700 | * 2GHZ AP before rssi_pref_5g_rssi_thresh and 2.4Ghz get weightage after |
| 11701 | * rssi_pref_5g_rssi_thresh. |
| 11702 | * |
| 11703 | * Related: rssi_pref_5g_rssi_thresh, band_weight_per_index |
| 11704 | * |
| 11705 | * Supported Feature: STA Candidate selection |
| 11706 | * |
| 11707 | * Usage: External |
| 11708 | * |
| 11709 | * </ini> |
Ravi Kumar Bokka | 990edcc | 2017-01-09 20:02:58 +0530 | [diff] [blame] | 11710 | * gEnableFastPwrTransition - Configuration for fast power transition |
| 11711 | * @Min: 0 |
| 11712 | * @Max: 2 |
| 11713 | * @Default: 0 |
| 11714 | * |
| 11715 | * This ini supported values: |
| 11716 | * 0x0: Phy register retention disabled (Higher timeline, Good for power) |
| 11717 | * 0x1: Phy register retention statically enabled |
| 11718 | * 0x2: Phy register retention enabled/disabled dynamically |
| 11719 | * |
| 11720 | * Usage: Internal |
| 11721 | * |
| 11722 | * </ini> |
| 11723 | */ |
| 11724 | #define CFG_ENABLE_PHY_REG "gEnableFastPwrTransition" |
| 11725 | #define CFG_PHY_REG_DEFAULT (0x0) |
| 11726 | #define CFG_PHY_REG_MIN (0x0) |
| 11727 | #define CFG_PHY_REG_MAX (0x2) |
| 11728 | |
| 11729 | /* |
Padma, Santhosh Kumar | 3e47c63 | 2017-09-01 20:15:27 +0530 | [diff] [blame] | 11730 | * <ini> |
| 11731 | * sae_enabled - Enable/Disable SAE support in driver |
| 11732 | * @Min: 0 |
| 11733 | * @Max: 1 |
| 11734 | * @Default: 0 |
| 11735 | * |
| 11736 | * This ini is used to enable/disable SAE support in driver |
| 11737 | * Driver will update config to supplicant based on this config. |
| 11738 | * |
| 11739 | * Related: None |
| 11740 | * |
| 11741 | * Supported Feature: SAE |
| 11742 | * Usage: External |
| 11743 | * |
| 11744 | * </ini> |
| 11745 | */ |
| 11746 | |
| 11747 | #define CFG_IS_SAE_ENABLED_NAME "sae_enabled" |
Padma, Santhosh Kumar | a5eaeb8 | 2018-04-09 18:45:26 +0530 | [diff] [blame] | 11748 | #define CFG_IS_SAE_ENABLED_DEFAULT (1) |
Padma, Santhosh Kumar | 3e47c63 | 2017-09-01 20:15:27 +0530 | [diff] [blame] | 11749 | #define CFG_IS_SAE_ENABLED_MIN (0) |
| 11750 | #define CFG_IS_SAE_ENABLED_MAX (1) |
| 11751 | |
| 11752 | /* |
Ravi Kumar Bokka | 990edcc | 2017-01-09 20:02:58 +0530 | [diff] [blame] | 11753 | * Type declarations |
Himanshu Agarwal | 8bcec57 | 2017-09-28 11:54:37 +0530 | [diff] [blame] | 11754 | */ |
| 11755 | #define CFG_CHAN_BAND_WEIGHTAGE_NAME "chan_band_weightage" |
| 11756 | #define CFG_CHAN_BAND_WEIGHTAGE_DEFAULT (2) |
| 11757 | #define CFG_CHAN_BAND_WEIGHTAGE_MIN (0) |
| 11758 | #define CFG_CHAN_BAND_WEIGHTAGE_MAX (100) |
| 11759 | |
| 11760 | /* |
| 11761 | * <ini> |
| 11762 | * nss_weightage - NSS Weightage to calculate best candidate |
| 11763 | * @Min: 0 |
| 11764 | * @Max: 100 |
| 11765 | * @Default: 16 |
| 11766 | * |
| 11767 | * This ini is used to increase/decrease NSS weightage in best candidate |
| 11768 | * selection. If there are two AP, one AP supports 2x2 and another one supports |
| 11769 | * 1x1 and station supports 2X2, first A will get this additional weightage |
| 11770 | * depending on self-capability. |
| 11771 | * |
| 11772 | * Related: nss_weight_per_index |
| 11773 | * |
| 11774 | * Supported Feature: STA Candidate selection |
| 11775 | * |
| 11776 | * Usage: External |
| 11777 | * |
| 11778 | * </ini> |
| 11779 | */ |
| 11780 | #define CFG_NSS_WEIGHTAGE_NAME "nss_weightage" |
| 11781 | #define CFG_NSS_WEIGHTAGE_DEFAULT (16) |
| 11782 | #define CFG_NSS_WEIGHTAGE_MIN (0) |
| 11783 | #define CFG_NSS_WEIGHTAGE_MAX (100) |
| 11784 | |
| 11785 | /* |
| 11786 | * <ini> |
| 11787 | * beamforming_cap_weightage - Beam Forming Weightage to |
| 11788 | * calculate best candidate |
| 11789 | * @Min: 0 |
| 11790 | * @Max: 100 |
| 11791 | * @Default: 2 |
| 11792 | * |
| 11793 | * This ini is used to increase/decrease Beam forming Weightage if some AP |
| 11794 | * support Beam forming or not. If AP supports Beam forming, that AP will get |
| 11795 | * additional boost of this weightage. |
| 11796 | * |
| 11797 | * Related: None |
| 11798 | * |
| 11799 | * Supported Feature: STA Candidate selection |
| 11800 | * |
| 11801 | * Usage: External |
| 11802 | * |
| 11803 | * </ini> |
| 11804 | */ |
| 11805 | #define CFG_BEAMFORMING_CAP_WEIGHTAGE_NAME "beamforming_cap_weightage" |
| 11806 | #define CFG_BEAMFORMING_CAP_WEIGHTAGE_DEFAULT (2) |
| 11807 | #define CFG_BEAMFORMING_CAP_WEIGHTAGE_MIN (0) |
| 11808 | #define CFG_BEAMFORMING_CAP_WEIGHTAGE_MAX (100) |
| 11809 | |
| 11810 | /* |
| 11811 | * <ini> |
| 11812 | * pcl_weightage - PCL Weightage to calculate best candidate |
| 11813 | * @Min: 0 |
| 11814 | * @Max: 100 |
| 11815 | * @Default: 10 |
| 11816 | * |
| 11817 | * This ini is used to increase/decrease PCL weightage in best candidate |
| 11818 | * selection. If some APs are in PCL list, those AP will get addition |
| 11819 | * weightage. |
| 11820 | * |
| 11821 | * Related: None |
| 11822 | * |
| 11823 | * Supported Feature: STA Candidate selection |
| 11824 | * |
| 11825 | * Usage: External |
| 11826 | * |
| 11827 | * </ini> |
| 11828 | */ |
| 11829 | #define CFG_PCL_WEIGHT_WEIGHTAGE_NAME "pcl_weightage" |
Abhishek Singh | a6e5c3f | 2018-03-15 10:43:39 +0530 | [diff] [blame] | 11830 | #define CFG_PCL_WEIGHT_DEFAULT (10) |
Himanshu Agarwal | 8bcec57 | 2017-09-28 11:54:37 +0530 | [diff] [blame] | 11831 | #define CFG_PCL_WEIGHT_MIN (0) |
| 11832 | #define CFG_PCL_WEIGHT_MAX (100) |
| 11833 | |
| 11834 | /* |
| 11835 | * <ini> |
| 11836 | * channel_congestion_weightage - channel Congestion Weightage to |
| 11837 | * calculate best candidate |
| 11838 | * @Min: 0 |
| 11839 | * @Max: 100 |
| 11840 | * @Default: 5 |
| 11841 | * |
| 11842 | * This ini is used to increase/decrease channel congestion weightage in |
| 11843 | * candidate selection. Congestion is measured with the help of ESP/QBSS load. |
| 11844 | * |
| 11845 | * Related: num_esp_qbss_slots |
| 11846 | * |
| 11847 | * Supported Feature: STA Candidate selection |
| 11848 | * |
| 11849 | * Usage: External |
| 11850 | * |
| 11851 | * </ini> |
| 11852 | */ |
| 11853 | #define CFG_CHANNEL_CONGESTION_WEIGHTAGE_NAME "channel_congestion_weightage" |
| 11854 | #define CFG_CHANNEL_CONGESTION_WEIGHTAGE_DEFAULT (5) |
| 11855 | #define CFG_CHANNEL_CONGESTION_WEIGHTAGE_MIN (0) |
| 11856 | #define CFG_CHANNEL_CONGESTION_WEIGHTAGE_MAX (100) |
| 11857 | |
| 11858 | /* |
| 11859 | * <ini> |
| 11860 | * oce_wan_weightage - OCE WAN DL capacity Weightage to calculate best candidate |
| 11861 | * @Min: 0 |
| 11862 | * @Max: 100 |
Abhishek Singh | 388d090 | 2018-03-19 15:05:16 +0530 | [diff] [blame] | 11863 | * @Default: 2 |
Himanshu Agarwal | 8bcec57 | 2017-09-28 11:54:37 +0530 | [diff] [blame] | 11864 | * |
| 11865 | * This ini is used to increase/decrease OCE WAN caps weightage in best |
| 11866 | * candidate selection. If AP have OCE WAN information, give weightage depending |
| 11867 | * on the downaload available capacity. |
| 11868 | * |
| 11869 | * Related: num_oce_wan_slots |
| 11870 | * |
| 11871 | * Supported Feature: STA Candidate selection |
| 11872 | * |
| 11873 | * Usage: External |
| 11874 | * |
| 11875 | * </ini> |
| 11876 | */ |
| 11877 | #define CFG_OCE_WAN_WEIGHTAGE_NAME "oce_wan_weightage" |
Abhishek Singh | 388d090 | 2018-03-19 15:05:16 +0530 | [diff] [blame] | 11878 | #define CFG_OCE_WAN_WEIGHTAGE_DEFAULT (2) |
Himanshu Agarwal | 8bcec57 | 2017-09-28 11:54:37 +0530 | [diff] [blame] | 11879 | #define CFG_OCE_WAN_WEIGHTAGE_MIN (0) |
| 11880 | #define CFG_OCE_WAN_WEIGHTAGE_MAX (100) |
| 11881 | |
| 11882 | /* |
| 11883 | * <ini> |
| 11884 | * best_rssi_threshold - Best Rssi for score calculation |
| 11885 | * @Min: 0 |
| 11886 | * @Max: 96 |
| 11887 | * @Default: 55 |
| 11888 | * |
| 11889 | * This ini tells limit for best RSSI. RSSI better than this limit are |
| 11890 | * considered as best RSSI. The best RSSI is given full rssi_weightage. |
| 11891 | * |
| 11892 | * Related: rssi_weightage |
| 11893 | * |
| 11894 | * Supported Feature: STA Candidate selection |
| 11895 | * |
| 11896 | * Usage: External |
| 11897 | * |
| 11898 | * </ini> |
| 11899 | */ |
| 11900 | #define CFG_BEST_RSSI_THRESHOLD_NAME "best_rssi_threshold" |
| 11901 | #define CFG_BEST_RSSI_THRESHOLD_DEFAULT (55) |
| 11902 | #define CFG_BEST_RSSI_THRESHOLD_MIN (0) |
| 11903 | #define CFG_BEST_RSSI_THRESHOLD_MAX (96) |
| 11904 | |
| 11905 | /* |
| 11906 | * <ini> |
| 11907 | * good_rssi_threshold - Good Rssi for score calculation |
| 11908 | * @Min: 0 |
| 11909 | * @Max: 96 |
| 11910 | * @Default: 70 |
| 11911 | * |
| 11912 | * This ini tells limit for good RSSI. RSSI better than this limit and less |
| 11913 | * than best_rssi_threshold is considered as good RSSI. |
| 11914 | * |
| 11915 | * Related: rssi_weightage, best_rssi_threshold |
| 11916 | * |
| 11917 | * Supported Feature: STA Candidate selection |
| 11918 | * |
| 11919 | * Usage: External |
| 11920 | * |
| 11921 | * </ini> |
| 11922 | */ |
| 11923 | #define CFG_GOOD_RSSI_THRESHOLD_NAME "good_rssi_threshold" |
| 11924 | #define CFG_GOOD_RSSI_THRESHOLD_DEFAULT (70) |
| 11925 | #define CFG_GOOD_RSSI_THRESHOLD_MIN (0) |
| 11926 | #define CFG_GOOD_RSSI_THRESHOLD_MAX (96) |
| 11927 | |
| 11928 | /* |
| 11929 | * <ini> |
| 11930 | * bad_rssi_threshold - Bad Rssi for score calculation |
| 11931 | * @Min: 0 |
| 11932 | * @Max: 96 |
| 11933 | * @Default: 80 |
| 11934 | * |
| 11935 | * This ini tells limit for Bad RSSI. RSSI greater then bad_rssi_threshold |
| 11936 | * is considered as bad RSSI. |
| 11937 | * |
| 11938 | * Related: rssi_weightage, good_rssi_threshold |
| 11939 | * |
| 11940 | * Supported Feature: STA Candidate selection |
| 11941 | * |
| 11942 | * Usage: External |
| 11943 | * |
| 11944 | * </ini> |
| 11945 | */ |
| 11946 | #define CFG_BAD_RSSI_THRESHOLD_NAME "bad_rssi_threshold" |
| 11947 | #define CFG_BAD_RSSI_THRESHOLD_DEFAULT (80) |
| 11948 | #define CFG_BAD_RSSI_THRESHOLD_MIN (0) |
| 11949 | #define CFG_BAD_RSSI_THRESHOLD_MAX (96) |
| 11950 | |
| 11951 | /* |
| 11952 | * <ini> |
| 11953 | * good_rssi_pcnt - Percent Score to Good RSSI out of total RSSI score. |
| 11954 | * @Min: 0 |
| 11955 | * @Max: 100 |
| 11956 | * @Default: 80 |
| 11957 | * |
| 11958 | * This ini tells about how much percent should be given to good RSSI(RSSI |
| 11959 | * between best_rssi_threshold and good_rssi_threshold) out of RSSI weightage. |
| 11960 | * |
| 11961 | * Related: rssi_weightage, best_rssi_threshold, good_rssi_threshold |
| 11962 | * |
| 11963 | * Supported Feature: STA Candidate selection |
| 11964 | * |
| 11965 | * Usage: External |
| 11966 | * |
| 11967 | * </ini> |
| 11968 | */ |
| 11969 | #define CFG_GOOD_RSSI_PCNT_NAME "good_rssi_pcnt" |
| 11970 | #define CFG_GOOD_RSSI_PCNT_DEFAULT (80) |
| 11971 | #define CFG_GOOD_RSSI_PCNT_MIN (0) |
| 11972 | #define CFG_GOOD_RSSI_PCNT_MAX (100) |
| 11973 | |
| 11974 | /* |
| 11975 | * <ini> |
| 11976 | * bad_rssi_pcnt - Percent Score to BAD RSSI out of total RSSI score. |
| 11977 | * @Min: 0 |
| 11978 | * @Max: 100 |
| 11979 | * @Default: 25 |
| 11980 | * |
| 11981 | * This ini tells about how much percent should be given to bad RSSI (RSSI |
| 11982 | * between good_rssi_threshold and bad_rssi_threshold) out of RSSI weightage. |
| 11983 | * |
| 11984 | * Related: rssi_weightage, good_rssi_threshold, bad_rssi_threshold |
| 11985 | * |
| 11986 | * Supported Feature: STA Candidate selection |
| 11987 | * |
| 11988 | * Usage: External |
| 11989 | * |
| 11990 | * </ini> |
| 11991 | */ |
| 11992 | #define CFG_BAD_RSSI_PCNT_NAME "bad_rssi_pcnt" |
| 11993 | #define CFG_BAD_RSSI_PCNT_DEFAULT (25) |
| 11994 | #define CFG_BAD_RSSI_PCNT_MIN (0) |
| 11995 | #define CFG_BAD_RSSI_PCNT_MAX (100) |
| 11996 | |
| 11997 | /* |
| 11998 | * <ini> |
| 11999 | * good_rssi_bucket_size - Bucket size between best and good RSSI to score. |
| 12000 | * @Min: 1 |
| 12001 | * @Max: 10 |
| 12002 | * @Default: 5 |
| 12003 | * |
| 12004 | * This ini tells about bucket size for scoring between best and good RSSI. |
| 12005 | * Below Best RSSI, 100% score will be given. Between best and good RSSI, RSSI |
| 12006 | * is divided in buckets and score will be assigned bucket wise starting from |
| 12007 | * good_rssi_pcnt. |
| 12008 | * |
| 12009 | * Related: rssi_weightage, good_rssi_pcnt |
| 12010 | * |
| 12011 | * Supported Feature: STA Candidate selection |
| 12012 | * |
| 12013 | * Usage: External |
| 12014 | * |
| 12015 | * </ini> |
| 12016 | */ |
| 12017 | #define CFG_GOOD_RSSI_BUCKET_SIZE_NAME "good_rssi_bucket_size" |
| 12018 | #define CFG_GOOD_RSSI_BUCKET_SIZE_DEFAULT (5) |
| 12019 | #define CFG_GOOD_RSSI_BUCKET_SIZE_MIN (1) |
| 12020 | #define CFG_GOOD_RSSI_BUCKET_SIZE_MAX (10) |
| 12021 | |
| 12022 | /* |
| 12023 | * <ini> |
| 12024 | * bad_rssi_bucket_size - Bucket size between good and bad RSSI to score. |
| 12025 | * @Min: 1 |
| 12026 | * @Max: 10 |
| 12027 | * @Default: 5 |
| 12028 | * |
| 12029 | * This ini tells about bucket size for scoring between good and bad RSSI. |
| 12030 | * Between good and bad RSSI, RSSI is divided in buckets and score will be |
| 12031 | * assigned bucket wise starting from bad_rssi_pcnt. |
| 12032 | * |
| 12033 | * Related: rssi_weightage, bad_rssi_pcnt |
| 12034 | * |
| 12035 | * Supported Feature: STA Candidate selection |
| 12036 | * |
| 12037 | * Usage: External |
| 12038 | * |
| 12039 | * </ini> |
| 12040 | */ |
| 12041 | #define CFG_BAD_RSSI_BUCKET_SIZE_NAME "bad_rssi_bucket_size" |
| 12042 | #define CFG_BAD_RSSI_BUCKET_SIZE_DEFAULT (5) |
| 12043 | #define CFG_BAD_RSSI_BUCKET_SIZE_MIN (1) |
| 12044 | #define CFG_BAD_RSSI_BUCKET_SIZE_MAX (10) |
| 12045 | |
| 12046 | /* |
| 12047 | * <ini> |
| 12048 | * rssi_pref_5g_rssi_thresh - A RSSI threshold above which 5 GHz is not favored |
| 12049 | * @Min: 0 |
| 12050 | * @Max: 96 |
| 12051 | * @Default: 76 |
| 12052 | * |
| 12053 | * 5G AP are given chan_band_weightage. This ini tells about RSSI threshold |
| 12054 | * above which 5GHZ is not favored. |
| 12055 | * |
| 12056 | * Related: chan_band_weightage |
| 12057 | * |
| 12058 | * Supported Feature: STA Candidate selection |
| 12059 | * |
| 12060 | * Usage: External |
| 12061 | * |
| 12062 | * </ini> |
| 12063 | */ |
| 12064 | #define CFG_RSSI_PERF_5G_THRESHOLD_NAME "rssi_pref_5g_rssi_thresh" |
| 12065 | #define CFG_RSSI_PERF_5G_THRESHOLD_DEFAULT (76) |
| 12066 | #define CFG_RSSI_PERF_5G_THRESHOLD_MIN (0) |
| 12067 | #define CFG_RSSI_PERF_5G_THRESHOLD_MAX (96) |
| 12068 | |
| 12069 | /* |
| 12070 | * <ini> |
| 12071 | * bandwidth_weight_per_index - percentage as per bandwidth |
| 12072 | * @Min: 0x00000000 |
| 12073 | * @Max: 0x64646464 |
| 12074 | * @Default: 0x6432190C |
| 12075 | * |
| 12076 | * This INI give percentage value of chan_width_weightage to be used as per |
| 12077 | * peer bandwidth. Self BW is also considered while calculating score. Eg if |
| 12078 | * self BW is 20 MHZ 10% will be given for all AP irrespective of the AP |
| 12079 | * capability. |
| 12080 | * |
| 12081 | * Indexes are defined in this way. |
| 12082 | * 0 Index (BITS 0-7): 20 MHz - Def 12% |
| 12083 | * 1 Index (BITS 8-15): 40 MHz - Def 25% |
| 12084 | * 2 Index (BITS 16-23): 80 MHz - Def 50% |
| 12085 | * 3 Index (BITS 24-31): 160 MHz - Def 100% |
| 12086 | * These percentage values are stored in HEX. For any index max value, can be 64 |
| 12087 | * |
| 12088 | * Related: chan_width_weightage |
| 12089 | * |
| 12090 | * Supported Feature: STA Candidate selection |
| 12091 | * |
| 12092 | * Usage: External |
| 12093 | * |
| 12094 | * </ini> |
| 12095 | */ |
| 12096 | #define CFG_BAND_WIDTH_WEIGHT_PER_INDEX_NAME "bandwidth_weight_per_index" |
| 12097 | #define CFG_BAND_WIDTH_WEIGHT_PER_INDEX_DEFAULT (0x6432190C) |
| 12098 | #define CFG_BAND_WIDTH_WEIGHT_PER_INDEX_MIN (0x00000000) |
| 12099 | #define CFG_BAND_WIDTH_WEIGHT_PER_INDEX_MAX (0x64646464) |
| 12100 | |
| 12101 | /* |
| 12102 | * <ini> |
| 12103 | * nss_weight_per_index - percentage as per NSS |
| 12104 | * @Min: 0x00000000 |
| 12105 | * @Max: 0x64646464 |
| 12106 | * @Default: 0x6432190C |
| 12107 | * |
| 12108 | * This INI give percentage value of nss_weightage to be used as per peer NSS. |
| 12109 | * Self NSS capability is also considered. Eg if self NSS is 1x1 10% will be |
| 12110 | * given for all AP irrespective of the AP capability. |
| 12111 | * |
| 12112 | * Indexes are defined in this way. |
| 12113 | * 0 Index (BITS 0-7): 1X1- Def 12% |
| 12114 | * 1 Index (BITS 8-15): 2X2- Def 25% |
| 12115 | * 2 Index (BITS 16-23): 3X3- Def 50% |
| 12116 | * 3 Index (BITS 24-31): 4X4- Def 100% |
| 12117 | * These percentage values are stored in HEX. For any index max value, can be 64 |
| 12118 | * |
| 12119 | * Related: nss_weightage |
| 12120 | * |
| 12121 | * Supported Feature: STA Candidate selection |
| 12122 | * |
| 12123 | * Usage: External |
| 12124 | * |
| 12125 | * </ini> |
| 12126 | */ |
| 12127 | #define CFG_NSS_WEIGHT_PER_INDEX_NAME "nss_weight_per_index" |
| 12128 | #define CFG_NSS_WEIGHT_PER_INDEX_DEFAULT (0x6432190C) |
| 12129 | #define CFG_NSS_WEIGHT_PER_INDEX_MIN (0x00000000) |
| 12130 | #define CFG_NSS_WEIGHT_PER_INDEX_MAX (0x64646464) |
| 12131 | |
| 12132 | /* |
| 12133 | * <ini> |
| 12134 | * band_weight_per_index - percentage as per band |
| 12135 | * @Min: 0x00000000 |
| 12136 | * @Max: 0x64646464 |
| 12137 | * @Default: 0x0000644B |
| 12138 | * |
| 12139 | * This INI give percentage value of chan_band_weightage to be used as per band. |
| 12140 | * If RSSI is greater than rssi_pref_5g_rssi_thresh preference is given for 5Ghz |
| 12141 | * else, it's given for 2.4Ghz. |
| 12142 | * |
| 12143 | * Indexes are defined in this way. |
| 12144 | * 0 Index (BITS 0-7): 2.4GHz - Def 10% |
| 12145 | * 1 Index (BITS 8-15): 5GHz - Def 20% |
| 12146 | * 2 Index (BITS 16-23): Reserved |
| 12147 | * 3 Index (BITS 24-31): Reserved |
| 12148 | * These percentage values are stored in HEX. For any index max value, can be 64 |
| 12149 | * |
| 12150 | * Related: chan_band_weightage, rssi_pref_5g_rssi_thresh |
| 12151 | * |
| 12152 | * Supported Feature: STA Candidate selection |
| 12153 | * |
| 12154 | * Usage: External |
| 12155 | * |
| 12156 | * </ini> |
| 12157 | */ |
| 12158 | #define CFG_BAND_WEIGHT_PER_INDEX_NAME "band_weight_per_index" |
| 12159 | #define CFG_BAND_WEIGHT_PER_INDEX_DEFAULT (0x0000644B) |
| 12160 | #define CFG_BAND_WEIGHT_PER_INDEX_MIN (0x00000000) |
| 12161 | #define CFG_BAND_WEIGHT_PER_INDEX_MAX (0x64646464) |
| 12162 | |
| 12163 | /* |
| 12164 | * <ini> |
| 12165 | * num_esp_qbss_slots - number of slots in which the esp/qbss load will |
| 12166 | * be divided |
| 12167 | * |
| 12168 | * @Min: 1 |
| 12169 | * @Max: 15 |
| 12170 | * @Default: 4 |
| 12171 | * |
| 12172 | * Number of slots in which the esp/qbss load will be divided. Max 15. index 0 |
| 12173 | * is used for 'not_present. Num_slot will equally divide 100. e.g, if |
| 12174 | * num_slot = 4 slot 1 = 0-25% load, slot 2 = 26-50% load, slot 3 = 51-75% load, |
| 12175 | * slot 4 = 76-100% load. Remaining unused index can be 0. |
| 12176 | * |
| 12177 | * Usage: External |
| 12178 | * |
| 12179 | * </ini> |
| 12180 | */ |
| 12181 | #define CFG_ESP_QBSS_SLOTS_NAME "num_esp_qbss_slots" |
| 12182 | #define CFG_ESP_QBSS_SLOTS_DEFAULT (4) |
| 12183 | #define CFG_ESP_QBSS_SLOTS_MIN (1) |
| 12184 | #define CFG_ESP_QBSS_SLOTS_MAX (15) |
| 12185 | |
| 12186 | /* |
| 12187 | * <ini> |
| 12188 | * esp_qbss_score_idx3_to_0 - percentage for esp/qbss load for slots 0-3 |
| 12189 | * @Min: 0x00000000 |
| 12190 | * @Max: 0x64646464 |
| 12191 | * @Default: 0x19326432 |
| 12192 | * |
| 12193 | * This INI give percentage value of channel_congestion_weightage to be used as |
| 12194 | * index in which the load value falls. Index 0 is for percentage when ESP/QBSS |
| 12195 | * is not present. |
| 12196 | * |
| 12197 | * Indexes are defined in this way. |
| 12198 | * 0 Index (BITS 0-7): when ESP/QBSS is not present |
| 12199 | * 1 Index (BITS 8-15): SLOT_1 |
| 12200 | * 2 Index (BITS 16-23): SLOT_2 |
| 12201 | * 3 Index (BITS 24-31): SLOT_3 |
| 12202 | * These percentage values are stored in HEX. For any index max value, can be 64 |
| 12203 | * |
| 12204 | * Related: channel_congestion_weightage, num_esp_qbss_slots |
| 12205 | * |
| 12206 | * Supported Feature: STA Candidate selection |
| 12207 | * |
| 12208 | * Usage: External |
| 12209 | * |
| 12210 | * </ini> |
| 12211 | */ |
| 12212 | #define CFG_ESP_QBSS_SCORE_IDX3_TO_0_NAME "esp_qbss_score_idx3_to_0" |
| 12213 | #define CFG_ESP_QBSS_SCORE_IDX3_TO_0_DEFAULT (0x19326432) |
| 12214 | #define CFG_ESP_QBSS_SCORE_IDX3_TO_0_MIN (0x00000000) |
| 12215 | #define CFG_ESP_QBSS_SCORE_IDX3_TO_0_MAX (0x64646464) |
| 12216 | |
| 12217 | /* |
| 12218 | * <ini> |
| 12219 | * esp_qbss_score_idx7_to_4 - percentage for esp/qbss load for slots 4-7 |
| 12220 | * @Min: 0x00000000 |
| 12221 | * @Max: 0x64646464 |
gaurank kathpalia | 90f83f0 | 2017-12-20 14:10:58 +0530 | [diff] [blame] | 12222 | * @Default: 0x0000000A |
Himanshu Agarwal | 8bcec57 | 2017-09-28 11:54:37 +0530 | [diff] [blame] | 12223 | * |
| 12224 | * This INI give percentage value of channel_congestion_weightage to be used as |
| 12225 | * index in which the load value falls. Used only if num_esp_qbss_slots is |
| 12226 | * greater than 3. |
| 12227 | * |
| 12228 | * Indexes are defined in this way. |
| 12229 | * 0 Index (BITS 0-7): SLOT_4 |
| 12230 | * 1 Index (BITS 8-15): SLOT_5 |
| 12231 | * 2 Index (BITS 16-23): SLOT_6 |
| 12232 | * 3 Index (BITS 24-31): SLOT_7 |
| 12233 | * These percentage values are stored in HEX. For any index max value, can be 64 |
| 12234 | * |
| 12235 | * Related: channel_congestion_weightage, num_esp_qbss_slots |
| 12236 | * |
| 12237 | * Supported Feature: STA Candidate selection |
| 12238 | * |
| 12239 | * Usage: External |
| 12240 | * |
| 12241 | * </ini> |
| 12242 | */ |
| 12243 | #define CFG_ESP_QBSS_SCORE_IDX7_TO_4_NAME "esp_qbss_score_idx7_to_4" |
gaurank kathpalia | 90f83f0 | 2017-12-20 14:10:58 +0530 | [diff] [blame] | 12244 | #define CFG_ESP_QBSS_SCORE_IDX7_TO_4_DEFAULT (0x0000000A) |
Himanshu Agarwal | 8bcec57 | 2017-09-28 11:54:37 +0530 | [diff] [blame] | 12245 | #define CFG_ESP_QBSS_SCORE_IDX7_TO_4_MIN (0x00000000) |
| 12246 | #define CFG_ESP_QBSS_SCORE_IDX7_TO_4_MAX (0x64646464) |
| 12247 | |
| 12248 | |
| 12249 | /* |
| 12250 | * <ini> |
| 12251 | * esp_qbss_score_idx11_to_8 - percentage for esp/qbss load for slots 8-11 |
| 12252 | * @Min: 0x00000000 |
| 12253 | * @Max: 0x64646464 |
| 12254 | * @Default: 0x00000000 |
| 12255 | * |
| 12256 | * This INI give percentage value of channel_congestion_weightage to be used as |
| 12257 | * index in which the load value falls. Used only if num_esp_qbss_slots is |
| 12258 | * greater than 7. |
| 12259 | * |
| 12260 | * Indexes are defined in this way. |
| 12261 | * 0 Index (BITS 0-7): SLOT_8 |
| 12262 | * 1 Index (BITS 8-15): SLOT_9 |
| 12263 | * 2 Index (BITS 16-23): SLOT_10 |
| 12264 | * 3 Index (BITS 24-31): SLOT_11 |
| 12265 | * These percentage values are stored in HEX. For any index max value, can be 64 |
| 12266 | * |
| 12267 | * Related: channel_congestion_weightage, num_esp_qbss_slots |
| 12268 | * |
| 12269 | * Supported Feature: STA Candidate selection |
| 12270 | * |
| 12271 | * Usage: External |
| 12272 | * |
| 12273 | * </ini> |
| 12274 | */ |
| 12275 | #define CFG_ESP_QBSS_SCORE_IDX11_TO_8_NAME "esp_qbss_score_idx11_to_8" |
| 12276 | #define CFG_ESP_QBSS_SCORE_IDX11_TO_8_DEFAULT (0x00000000) |
| 12277 | #define CFG_ESP_QBSS_SCORE_IDX11_TO_8_MIN (0x00000000) |
| 12278 | #define CFG_ESP_QBSS_SCORE_IDX11_TO_8_MAX (0x64646464) |
| 12279 | |
| 12280 | |
| 12281 | /* |
| 12282 | * <ini> |
| 12283 | * esp_qbss_score_idx15_to_12 - percentage for esp/qbss load for slots 12-15 |
| 12284 | * @Min: 0x00000000 |
| 12285 | * @Max: 0x64646464 |
| 12286 | * @Default: 0x00000000 |
| 12287 | * |
| 12288 | * This INI give percentage value of channel_congestion_weightage to be used as |
| 12289 | * index in which the load value falls. Used only if num_esp_qbss_slots is |
| 12290 | * greater than 11. |
| 12291 | * |
| 12292 | * Indexes are defined in this way. |
| 12293 | * 0 Index (BITS 0-7): SLOT_12 |
| 12294 | * 1 Index (BITS 8-15): SLOT_13 |
| 12295 | * 2 Index (BITS 16-23): SLOT_14 |
| 12296 | * 3 Index (BITS 24-31): SLOT_15 |
| 12297 | * These percentage values are stored in HEX. For any index max value, can be 64 |
| 12298 | * |
| 12299 | * Related: channel_congestion_weightage, num_esp_qbss_slots |
| 12300 | * |
| 12301 | * Supported Feature: STA Candidate selection |
| 12302 | * |
| 12303 | * Usage: External |
| 12304 | * |
| 12305 | * </ini> |
| 12306 | */ |
| 12307 | #define CFG_ESP_QBSS_SCORE_IDX15_TO_12_NAME "esp_qbss_score_idx15_to_12" |
| 12308 | #define CFG_ESP_QBSS_SCORE_IDX15_TO_12_DEFAULT (0x00000000) |
| 12309 | #define CFG_ESP_QBSS_SCORE_IDX15_TO_12_MIN (0x00000000) |
| 12310 | #define CFG_ESP_QBSS_SCORE_IDX15_TO_12_MAX (0x64646464) |
| 12311 | |
| 12312 | /* |
| 12313 | * <ini> |
| 12314 | * num_oce_wan_slots - number of slots in which the oce wan metrics will |
| 12315 | * be divided |
| 12316 | * |
| 12317 | * @Min: 1 |
| 12318 | * @Max: 15 |
| 12319 | * @Default: 8 |
| 12320 | * |
| 12321 | * Number of slots in which the oce wan metrics will be divided. Max 15. index 0 |
| 12322 | * is used for not_present. Num_slot will equally divide 100. e.g, if |
| 12323 | * num_slot = 4 slot 1 = 0-3 DL CAP, slot 2 = 4-7 DL CAP, slot 3 = 8-11 DL CAP, |
| 12324 | * slot 4 = 12-15 DL CAP. Remaining unused index can be 0. |
| 12325 | * |
| 12326 | * Related: oce_wan_weightage |
| 12327 | * |
| 12328 | * Usage: External |
| 12329 | * |
| 12330 | * </ini> |
| 12331 | */ |
| 12332 | #define CFG_OCE_WAN_SLOTS_NAME "num_oce_wan_slots" |
Abhishek Singh | 388d090 | 2018-03-19 15:05:16 +0530 | [diff] [blame] | 12333 | #define CFG_OCE_WAN_SLOTS_DEFAULT (15) |
Himanshu Agarwal | 8bcec57 | 2017-09-28 11:54:37 +0530 | [diff] [blame] | 12334 | #define CFG_OCE_WAN_SLOTS_MIN (1) |
| 12335 | #define CFG_OCE_WAN_SLOTS_MAX (15) |
| 12336 | |
| 12337 | /* |
| 12338 | * <ini> |
| 12339 | * oce_wan_score_idx3_to_0 - percentage for OCE WAN metrics score for slots 0-3 |
| 12340 | * @Min: 0x00000000 |
| 12341 | * @Max: 0x64646464 |
Abhishek Singh | 388d090 | 2018-03-19 15:05:16 +0530 | [diff] [blame] | 12342 | * @Default: 0x00000032 |
Himanshu Agarwal | 8bcec57 | 2017-09-28 11:54:37 +0530 | [diff] [blame] | 12343 | * |
| 12344 | * This INI give percentage value of OCE WAN metrics DL CAP, to be used as |
| 12345 | * index in which the DL CAP value falls. Index 0 is for percentage when |
| 12346 | * OCE WAN metrics DL CAP is not present. |
| 12347 | * |
| 12348 | * Indexes are defined in this way. |
| 12349 | * 0 Index (BITS 0-7): when OCE WAN metrics DL CAP is not present |
| 12350 | * 1 Index (BITS 8-15): SLOT_1 |
| 12351 | * 2 Index (BITS 16-23): SLOT_2 |
| 12352 | * 3 Index (BITS 24-31): SLOT_3 |
| 12353 | * These percentage values are stored in HEX. For any index max value, can be 64 |
| 12354 | * |
| 12355 | * Related: num_oce_wan_slots, oce_wan_weightage |
| 12356 | * |
| 12357 | * Supported Feature: STA Candidate selection |
| 12358 | * |
| 12359 | * Usage: External |
| 12360 | * |
| 12361 | * </ini> |
| 12362 | */ |
| 12363 | #define CFG_OCE_WAN_SCORE_IDX3_TO_0_NAME "oce_wan_score_idx3_to_0" |
Abhishek Singh | 388d090 | 2018-03-19 15:05:16 +0530 | [diff] [blame] | 12364 | #define CFG_OCE_WAN_SCORE_IDX3_TO_0_DEFAULT (0x00000032) |
Himanshu Agarwal | 8bcec57 | 2017-09-28 11:54:37 +0530 | [diff] [blame] | 12365 | #define CFG_OCE_WAN_SCORE_IDX3_TO_0_MIN (0x00000000) |
| 12366 | #define CFG_OCE_WAN_SCORE_IDX3_TO_0_MAX (0x64646464) |
| 12367 | |
| 12368 | /* |
| 12369 | * <ini> |
| 12370 | * oce_wan_score_idx7_to_4 - percentage for OCE WAN metrics score for slots 4-7 |
| 12371 | * @Min: 0x00000000 |
| 12372 | * @Max: 0x64646464 |
Abhishek Singh | 388d090 | 2018-03-19 15:05:16 +0530 | [diff] [blame] | 12373 | * @Default: 0x00000000 |
Himanshu Agarwal | 8bcec57 | 2017-09-28 11:54:37 +0530 | [diff] [blame] | 12374 | * |
| 12375 | * This INI give percentage value of OCE WAN metrics DL CAP, to be used as |
| 12376 | * index in which the DL CAP value falls. Used only if num_oce_wan_slots is |
| 12377 | * greater than 3. |
| 12378 | * |
| 12379 | * Indexes are defined in this way. |
| 12380 | * 0 Index (BITS 0-7): SLOT_4 |
| 12381 | * 1 Index (BITS 8-15): SLOT_5 |
| 12382 | * 2 Index (BITS 16-23): SLOT_6 |
| 12383 | * 3 Index (BITS 24-31): SLOT_7 |
| 12384 | * These percentage values are stored in HEX. For any index max value, can be 64 |
| 12385 | * |
| 12386 | * Related: num_oce_wan_slots, oce_wan_weightage |
| 12387 | * |
| 12388 | * Supported Feature: STA Candidate selection |
| 12389 | * |
| 12390 | * Usage: External |
| 12391 | * |
| 12392 | * </ini> |
| 12393 | */ |
| 12394 | #define CFG_OCE_WAN_SCORE_IDX7_TO_4_NAME "oce_wan_score_idx7_to_4" |
Abhishek Singh | 388d090 | 2018-03-19 15:05:16 +0530 | [diff] [blame] | 12395 | #define CFG_OCE_WAN_SCORE_IDX7_TO_4_DEFAULT (0x00000000) |
Himanshu Agarwal | 8bcec57 | 2017-09-28 11:54:37 +0530 | [diff] [blame] | 12396 | #define CFG_OCE_WAN_SCORE_IDX7_TO_4_MIN (0x00000000) |
| 12397 | #define CFG_OCE_WAN_SCORE_IDX7_TO_4_MAX (0x64646464) |
| 12398 | |
| 12399 | /* |
| 12400 | * <ini> |
| 12401 | * oce_wan_score_idx11_to_8 - percentage for OCE WAN metrics score for slot 8-11 |
| 12402 | * @Min: 0x00000000 |
| 12403 | * @Max: 0x64646464 |
Abhishek Singh | 388d090 | 2018-03-19 15:05:16 +0530 | [diff] [blame] | 12404 | * @Default: 0x06030000 |
Himanshu Agarwal | 8bcec57 | 2017-09-28 11:54:37 +0530 | [diff] [blame] | 12405 | * |
| 12406 | * This INI give percentage value of OCE WAN metrics DL CAP, to be used as |
| 12407 | * index in which the DL CAP value falls. Used only if num_oce_wan_slots is |
| 12408 | * greater than 7. |
| 12409 | * |
| 12410 | * Indexes are defined in this way. |
| 12411 | * 0 Index (BITS 0-7): SLOT_8 |
| 12412 | * 1 Index (BITS 8-15): SLOT_9 |
| 12413 | * 2 Index (BITS 16-23): SLOT_10 |
| 12414 | * 3 Index (BITS 24-31): SLOT_11 |
| 12415 | * These percentage values are stored in HEX. For any index max value, can be 64 |
| 12416 | * |
| 12417 | * Related: num_oce_wan_slots, oce_wan_weightage |
| 12418 | * |
| 12419 | * Supported Feature: STA Candidate selection |
| 12420 | * |
| 12421 | * Usage: External |
| 12422 | * |
| 12423 | * </ini> |
| 12424 | */ |
| 12425 | #define CFG_OCE_WAN_SCORE_IDX11_TO_8_NAME "oce_wan_score_idx11_to_8" |
Abhishek Singh | 388d090 | 2018-03-19 15:05:16 +0530 | [diff] [blame] | 12426 | #define CFG_OCE_WAN_SCORE_IDX11_TO_8_DEFAULT (0x06030000) |
Himanshu Agarwal | 8bcec57 | 2017-09-28 11:54:37 +0530 | [diff] [blame] | 12427 | #define CFG_OCE_WAN_SCORE_IDX11_TO_8_MIN (0x00000000) |
| 12428 | #define CFG_OCE_WAN_SCORE_IDX11_TO_8_MAX (0x64646464) |
| 12429 | |
| 12430 | /* |
| 12431 | * <ini> |
| 12432 | * oce_wan_score_idx15_to_12 - % for OCE WAN metrics score for slot 12-15 |
| 12433 | * @Min: 0x00000000 |
| 12434 | * @Max: 0x64646464 |
Abhishek Singh | 388d090 | 2018-03-19 15:05:16 +0530 | [diff] [blame] | 12435 | * @Default: 0x6432190C |
Himanshu Agarwal | 8bcec57 | 2017-09-28 11:54:37 +0530 | [diff] [blame] | 12436 | * |
| 12437 | * This INI give percentage value of OCE WAN metrics DL CAP, to be used as |
| 12438 | * index in which the DL CAP value falls. Used only if num_oce_wan_slots is |
| 12439 | * greater than 11. |
| 12440 | * |
| 12441 | * Indexes are defined in this way. |
| 12442 | * 0 Index (BITS 0-7): SLOT_12 |
| 12443 | * 1 Index (BITS 8-15): SLOT_13 |
| 12444 | * 2 Index (BITS 16-23): SLOT_14 |
| 12445 | * 3 Index (BITS 24-31): SLOT_15 |
| 12446 | * These percentage values are stored in HEX. For any index max value, can be 64 |
| 12447 | * |
| 12448 | * Related: num_oce_wan_slots, oce_wan_weightage |
| 12449 | * |
| 12450 | * Supported Feature: STA Candidate selection |
| 12451 | * |
| 12452 | * Usage: External |
| 12453 | * |
| 12454 | * </ini> |
| 12455 | */ |
| 12456 | #define CFG_OCE_WAN_SCORE_IDX15_TO_12_NAME "oce_wan_score_idx15_to_12" |
Abhishek Singh | 388d090 | 2018-03-19 15:05:16 +0530 | [diff] [blame] | 12457 | #define CFG_OCE_WAN_SCORE_IDX15_TO_12_DEFAULT (0x6432190C) |
Himanshu Agarwal | 8bcec57 | 2017-09-28 11:54:37 +0530 | [diff] [blame] | 12458 | #define CFG_OCE_WAN_SCORE_IDX15_TO_12_MIN (0x00000000) |
| 12459 | #define CFG_OCE_WAN_SCORE_IDX15_TO_12_MAX (0x64646464) |
| 12460 | |
| 12461 | /* |
| 12462 | * <ini> |
| 12463 | * enable_scoring_for_roam - enable/disable scoring logic in FW for candidate |
| 12464 | * selection during roaming |
| 12465 | * |
| 12466 | * @Min: 0 |
| 12467 | * @Max: 1 |
Abhishek Singh | 104a1bf | 2017-12-12 14:46:11 +0530 | [diff] [blame] | 12468 | * @Default: 1 |
Himanshu Agarwal | 8bcec57 | 2017-09-28 11:54:37 +0530 | [diff] [blame] | 12469 | * |
| 12470 | * This ini is used to enable/disable scoring logic in FW for candidate |
| 12471 | * selection during roaming. |
| 12472 | * |
| 12473 | * Supported Feature: STA Candidate selection by FW during roaming based on |
| 12474 | * scoring logic. |
| 12475 | * |
| 12476 | * Usage: External |
| 12477 | * |
| 12478 | * </ini> |
| 12479 | */ |
| 12480 | #define CFG_ENABLE_SCORING_FOR_ROAM_NAME "enable_scoring_for_roam" |
Abhishek Singh | 104a1bf | 2017-12-12 14:46:11 +0530 | [diff] [blame] | 12481 | #define CFG_ENABLE_SCORING_FOR_ROAM_DEFAULT (1) |
Himanshu Agarwal | 8bcec57 | 2017-09-28 11:54:37 +0530 | [diff] [blame] | 12482 | #define CFG_ENABLE_SCORING_FOR_ROAM_MIN (0) |
| 12483 | #define CFG_ENABLE_SCORING_FOR_ROAM_MAX (1) |
| 12484 | |
| 12485 | /* |
| 12486 | * <ini> |
Abhishek Singh | 6454ad3 | 2017-12-20 10:42:21 +0530 | [diff] [blame] | 12487 | * force_rsne_override - force rsnie override from user |
| 12488 | * @Min: 0 |
| 12489 | * @Max: 1 |
| 12490 | * @Default: 0 |
| 12491 | * |
| 12492 | * This ini is used to enable/disable test mode to force rsne override used in |
| 12493 | * security enhancement test cases to pass the RSNIE sent by user in |
| 12494 | * assoc request. |
| 12495 | * |
| 12496 | * Related: None |
| 12497 | * |
| 12498 | * Supported Feature: STA |
| 12499 | * |
| 12500 | * Usage: internal |
| 12501 | * |
| 12502 | * </ini> |
| 12503 | */ |
| 12504 | #define CFG_FORCE_RSNE_OVERRIDE_NAME "force_rsne_override" |
| 12505 | #define CFG_FORCE_RSNE_OVERRIDE_MIN (0) |
| 12506 | #define CFG_FORCE_RSNE_OVERRIDE_MAX (1) |
| 12507 | #define CFG_FORCE_RSNE_OVERRIDE_DEFAULT (0) |
| 12508 | |
| 12509 | /* |
| 12510 | * <ini> |
hqu | 16d6e08 | 2017-09-04 10:52:31 +0800 | [diff] [blame] | 12511 | * gChanSwitchHostapdRateEnabled - Enable/disable hostapd rate when doing SAP |
| 12512 | * channel switch |
| 12513 | * @Min: 0 |
| 12514 | * @Max: 1 |
| 12515 | * @Default: 0 |
| 12516 | * |
| 12517 | * This ini is used to set supported rates calculated from hostapd.conf file |
| 12518 | * or not when doing SAP channel switch. It must set it to 0 when cross-band |
| 12519 | * channel switch happens such as from 2G to 5G or 5G to 2G. |
| 12520 | * |
| 12521 | * Related: When doing SAP channel switch, if gChanSwitchHostapdRateEnabled is |
| 12522 | * set to 1, supported rates will be calculated from hostapd.conf file, |
| 12523 | * if gChanSwitchHostapdRateEnabled is set to 0, supported rates will be |
| 12524 | * calculated from driver default rates. |
| 12525 | * |
| 12526 | * Supported Feature: SAP |
| 12527 | * |
| 12528 | * Usage: External |
| 12529 | * |
| 12530 | * </ini> |
| 12531 | */ |
| 12532 | #define CFG_CHAN_SWITCH_HOSTAPD_RATE_ENABLED_NAME \ |
| 12533 | "gChanSwitchHostapdRateEnabled" |
| 12534 | #define CFG_CHAN_SWITCH_HOSTAPD_RATE_ENABLED_MIN (0) |
| 12535 | #define CFG_CHAN_SWITCH_HOSTAPD_RATE_ENABLED_MAX (1) |
| 12536 | #define CFG_CHAN_SWITCH_HOSTAPD_RATE_ENABLED_DEFAULT (0) |
| 12537 | |
| 12538 | /* |
Ashwini Patil | f2bf05e | 2017-03-10 03:41:03 +0530 | [diff] [blame] | 12539 | * <ini> |
| 12540 | * g_mbo_candidate_rssi_thres - Candidate AP's minimum RSSI to accept |
| 12541 | * @Min: -120 |
| 12542 | * @Max: 0 |
| 12543 | * @Default: -72 |
| 12544 | * |
| 12545 | * This ini specifies the minimum RSSI value a candidate should have to accept |
| 12546 | * it as a target for transition. |
| 12547 | * |
| 12548 | * Related: N/A |
| 12549 | * |
| 12550 | * Supported Feature: MBO |
| 12551 | * |
| 12552 | * Usage: Internal |
| 12553 | * |
| 12554 | * </ini> |
| 12555 | */ |
| 12556 | #define CFG_MBO_CANDIDATE_RSSI_THRESHOLD_NAME "g_mbo_candidate_rssi_thres" |
| 12557 | #define CFG_CANDIDATE_RSSI_THRESHOLD_DEFAULT (-72) |
| 12558 | #define CFG_CANDIDATE_RSSI_THRESHOLD_MIN (-120) |
| 12559 | #define CFG_CANDIDATE_RSSI_THRESHOLD_MAX (0) |
| 12560 | |
| 12561 | /* |
| 12562 | * <ini> |
| 12563 | * g_mbo_current_rssi_thres - Connected AP's RSSI threshold to consider a |
| 12564 | * transition |
| 12565 | * @Min: -120 |
| 12566 | * @Max: 0 |
| 12567 | * @Default: -65 |
| 12568 | * |
| 12569 | * This ini is used to configure connected AP's RSSI threshold value to consider |
| 12570 | * a transition. |
| 12571 | * |
| 12572 | * Related: N/A |
| 12573 | * |
| 12574 | * Supported Feature: MBO |
| 12575 | * |
| 12576 | * Usage: Internal |
| 12577 | * |
| 12578 | * </ini> |
| 12579 | */ |
| 12580 | #define CFG_MBO_CURRENT_RSSI_THRESHOLD_NAME "g_mbo_current_rssi_thres" |
| 12581 | #define CFG_CURRENT_RSSI_THRESHOLD_DEFAULT (-65) |
| 12582 | #define CFG_CURRENT_RSSI_THRESHOLD_MIN (-120) |
| 12583 | #define CFG_CURRENT_RSSI_THRESHOLD_MAX (0) |
| 12584 | |
| 12585 | /* |
| 12586 | * <ini> |
| 12587 | * g_mbo_current_rssi_mcc_thres - connected AP's RSSI threshold value to prefer |
| 12588 | * against a MCC |
| 12589 | * @Min: -120 |
| 12590 | * @Max: 0 |
| 12591 | * @Default: -75 |
| 12592 | * |
| 12593 | * This ini is used to configure connected AP's minimum RSSI threshold that is |
| 12594 | * preferred against a MCC case, if the candidate can cause MCC. |
| 12595 | * |
| 12596 | * Related: N/A |
| 12597 | * |
| 12598 | * Supported Feature: MBO |
| 12599 | * |
| 12600 | * Usage: Internal |
| 12601 | * |
| 12602 | * </ini> |
| 12603 | */ |
| 12604 | #define CFG_MBO_CUR_RSSI_MCC_THRESHOLD_NAME "g_mbo_current_rssi_mcc_thres" |
| 12605 | #define CFG_MBO_CUR_RSSI_MCC_THRESHOLD_DEFAULT (-75) |
| 12606 | #define CFG_MBO_CUR_RSSI_MCC_THRESHOLD_MIN (-120) |
| 12607 | #define CFG_MBO_CUR_RSSI_MCC_THRESHOLD_MAX (0) |
| 12608 | |
| 12609 | /* |
| 12610 | * <ini> |
| 12611 | * g_mbo_candidate_rssi_btc_thres - Candidate AP's minimum RSSI threshold to |
| 12612 | * prefer it even in case of BT coex |
| 12613 | * @Min: -120 |
| 12614 | * @Max: 0 |
| 12615 | * @Default: -70 |
| 12616 | * |
| 12617 | * This ini is used to configure candidate AP's minimum RSSI threshold to prefer |
| 12618 | * it for transition even in case of BT coex. |
| 12619 | * |
| 12620 | * Related: N/A |
| 12621 | * |
| 12622 | * Supported Feature: MBO |
| 12623 | * |
| 12624 | * Usage: Internal |
| 12625 | * |
| 12626 | * </ini> |
| 12627 | */ |
| 12628 | #define CFG_MBO_CAND_RSSI_BTC_THRESHOLD_NAME "g_mbo_candidate_rssi_btc_thres" |
| 12629 | #define CFG_MBO_CAND_RSSI_BTC_THRESHOLD_DEFAULT (-70) |
| 12630 | #define CFG_MBO_CAND_RSSI_BTC_THRESHOLD_MIN (-120) |
| 12631 | #define CFG_MBO_CAND_RSSI_BTC_THRESHOLD_MAX (0) |
| 12632 | |
Qiwei Cai | 4505fc6 | 2018-05-17 18:35:19 +0800 | [diff] [blame] | 12633 | #ifdef WLAN_FEATURE_PACKET_FILTERING |
Ashwini Patil | f2bf05e | 2017-03-10 03:41:03 +0530 | [diff] [blame] | 12634 | /* |
Hanumanth Reddy Pothula | 3def894 | 2017-10-05 16:19:36 +0530 | [diff] [blame] | 12635 | * <ini> |
| 12636 | * g_enable_packet_filter_bitmap - Enable Packet filters before going into |
| 12637 | * suspend mode |
| 12638 | * @Min: 0 |
| 12639 | * @Max: 63 |
| 12640 | * @Default: 0 |
| 12641 | * Below is the Detailed bit map of the Filters |
| 12642 | * bit-0 : IPv6 multicast |
| 12643 | * bit-1 : IPv4 multicast |
| 12644 | * bit-2 : IPv4 broadcast |
| 12645 | * bit-3 : XID - Exchange station Identification packet, solicits the |
| 12646 | * identification of the receiving station |
| 12647 | * bit-4 : STP - Spanning Tree Protocol, builds logical loop free topology |
| 12648 | * bit-5 : DTP/LLC/CDP |
| 12649 | * DTP - Dynamic Trunking Protocol is used by Ciscoswitches to negotiate |
| 12650 | * whether an interconnection between two switches should be put into access or |
| 12651 | * trunk mode |
| 12652 | * LLC - Logical link control, used for multiplexing, flow & error control |
| 12653 | * CDP - Cisco Discovery Protocol packet contains information about the cisco |
| 12654 | * devices in the network |
| 12655 | * |
| 12656 | * This ini support to enable above mentioned packet filters |
| 12657 | * when target goes to suspend mode, clear those when resume |
| 12658 | * |
| 12659 | * Related: None |
| 12660 | * |
| 12661 | * Supported Feature: PACKET FILTERING |
| 12662 | * |
| 12663 | * Usage: Internal/External |
| 12664 | * |
| 12665 | * </ini> |
| 12666 | */ |
| 12667 | #define CFG_ENABLE_PACKET_FILTERS_NAME "g_enable_packet_filter_bitmap" |
| 12668 | #define CFG_ENABLE_PACKET_FILTERS_DEFAULT (0) |
| 12669 | #define CFG_ENABLE_PACKET_FILTERS_MIN (0) |
| 12670 | #define CFG_ENABLE_PACKET_FILTERS_MAX (63) |
Qiwei Cai | 4505fc6 | 2018-05-17 18:35:19 +0800 | [diff] [blame] | 12671 | #endif /* WLAN_FEATURE_PACKET_FILTERING */ |
lifeng | 1c16b6b | 2017-09-25 13:59:55 +0800 | [diff] [blame] | 12672 | |
| 12673 | /* |
| 12674 | * <ini> |
| 12675 | * gDfsBeaconTxEnhanced - beacon tx enhanced |
| 12676 | * @Min: 0 |
| 12677 | * @Max: 1 |
| 12678 | * @Default: 0 |
| 12679 | * |
| 12680 | * This ini is used to enhance dfs beacon tx |
| 12681 | * |
| 12682 | * Related: none |
| 12683 | * |
| 12684 | * Usage: External |
| 12685 | * |
| 12686 | * </ini> |
| 12687 | */ |
| 12688 | #define CFG_DFS_BEACON_TX_ENHANCED "gDfsBeaconTxEnhanced" |
| 12689 | #define CFG_DFS_BEACON_TX_ENHANCED_MIN (0) |
| 12690 | #define CFG_DFS_BEACON_TX_ENHANCED_MAX (1) |
| 12691 | #define CFG_DFS_BEACON_TX_ENHANCED_DEFAULT (0) |
| 12692 | |
Hanumanth Reddy Pothula | 3def894 | 2017-10-05 16:19:36 +0530 | [diff] [blame] | 12693 | /* |
lifeng | 7c607dd | 2017-02-21 21:16:49 +0800 | [diff] [blame] | 12694 | * gReducedBeaconInterval - beacon interval reduced |
| 12695 | * @Min: 0 |
| 12696 | * @Max: 100 |
| 12697 | * @Default: 0 |
| 12698 | * |
| 12699 | * This ini is used to reduce beacon interval before channel |
| 12700 | * switch (when val great than 0, or the feature is disabled). |
| 12701 | * It would reduce the downtime on the STA side which is |
| 12702 | * waiting for beacons from the AP to resume back transmission. |
| 12703 | * Switch back the beacon_interval to its original value after |
| 12704 | * channel switch based on the timeout. |
| 12705 | * |
| 12706 | * Related: none |
| 12707 | * |
| 12708 | * Usage: External |
| 12709 | * |
| 12710 | * </ini> |
| 12711 | */ |
| 12712 | #define CFG_REDUCED_BEACON_INTERVAL "gReducedBeaconInterval" |
| 12713 | #define CFG_REDUCED_BEACON_INTERVAL_MIN (0) |
| 12714 | #define CFG_REDUCED_BEACON_INTERVAL_MAX (100) |
| 12715 | #define CFG_REDUCED_BEACON_INTERVAL_DEFAULT (0) |
| 12716 | |
| 12717 | /* |
Yeshwanth Sriram Guntuka | 2ba6fe9 | 2017-10-04 14:40:45 +0530 | [diff] [blame] | 12718 | * oce_enable_rssi_assoc_reject - Enable/disable rssi based assoc rejection |
| 12719 | * @Min: 0 |
| 12720 | * @Max: 1 |
| 12721 | * @Default: 1 |
| 12722 | * |
| 12723 | * This ini is used to enable/disable rssi based assoc rejection. If this is |
| 12724 | * disabled then OCE ini oce_sta_enable will also be disabled and OCE IE will |
| 12725 | * not be sent in frames. |
| 12726 | * |
| 12727 | * Related: None |
| 12728 | * |
| 12729 | * Supported Feature: OCE |
| 12730 | * |
| 12731 | * Usage: External |
| 12732 | * |
| 12733 | * </ini> |
| 12734 | */ |
| 12735 | #define CFG_OCE_ENABLE_RSSI_BASED_ASSOC_REJECT_NAME \ |
| 12736 | "oce_enable_rssi_assoc_reject" |
| 12737 | #define CFG_OCE_ENABLE_RSSI_BASED_ASSOC_REJECT_MIN (0) |
| 12738 | #define CFG_OCE_ENABLE_RSSI_BASED_ASSOC_REJECT_MAX (1) |
| 12739 | #define CFG_OCE_ENABLE_RSSI_BASED_ASSOC_REJECT_DEFAULT (1) |
| 12740 | |
| 12741 | /* |
| 12742 | * <ini> |
| 12743 | * oce_enable_probe_req_rate - Set probe request rate |
| 12744 | * @Min: 0 |
| 12745 | * @Max: 1 |
| 12746 | * @Default: 0 |
| 12747 | * |
| 12748 | * This ini is used to set probe request rate to 5.5Mbps as per OCE requirement |
| 12749 | * in 2.4G band |
| 12750 | * |
| 12751 | * Related: None |
| 12752 | * |
| 12753 | * Supported Feature: OCE |
| 12754 | * |
| 12755 | * Usage: External |
| 12756 | * |
| 12757 | * </ini> |
| 12758 | */ |
| 12759 | #define CFG_OCE_PROBE_REQ_RATE_NAME "oce_enable_probe_req_rate" |
| 12760 | #define CFG_OCE_PROBE_REQ_RATE_MIN (0) |
| 12761 | #define CFG_OCE_PROBE_REQ_RATE_MAX (1) |
| 12762 | #define CFG_OCE_PROBE_REQ_RATE_DEFAULT (0) |
| 12763 | |
| 12764 | /* |
| 12765 | * <ini> |
| 12766 | * oce_enable_probe_resp_rate - Set probe response rate |
| 12767 | * @Min: 0 |
| 12768 | * @Max: 1 |
| 12769 | * @Default: 0 |
| 12770 | * |
| 12771 | * This ini is used to set probe response rate to 5.5Mbps as per OCE requirement |
| 12772 | * in 2.4G band |
| 12773 | * |
| 12774 | * Related: None |
| 12775 | * |
| 12776 | * Supported Feature: OCE |
| 12777 | * |
| 12778 | * Usage: External |
| 12779 | * |
| 12780 | * </ini> |
| 12781 | */ |
| 12782 | #define CFG_OCE_PROBE_RSP_RATE_NAME "oce_enable_probe_resp_rate" |
| 12783 | #define CFG_OCE_PROBE_RSP_RATE_MIN (0) |
| 12784 | #define CFG_OCE_PROBE_RSP_RATE_MAX (1) |
| 12785 | #define CFG_OCE_PROBE_RSP_RATE_DEFAULT (0) |
| 12786 | |
| 12787 | /* |
| 12788 | * <ini> |
| 12789 | * oce_enable_beacon_rate - Set beacon rate |
| 12790 | * @Min: 0 |
| 12791 | * @Max: 1 |
| 12792 | * @Default: 0 |
| 12793 | * |
| 12794 | * This ini is used to set beacon rate to 5.5Mbps as per OCE requirement in |
| 12795 | * 2.4G band |
| 12796 | * |
| 12797 | * Related: None |
| 12798 | * |
| 12799 | * Supported Feature: OCE |
| 12800 | * |
| 12801 | * Usage: External |
| 12802 | * |
| 12803 | * </ini> |
| 12804 | */ |
| 12805 | #define CFG_OCE_BEACON_RATE_NAME "oce_enable_beacon_rate" |
| 12806 | #define CFG_OCE_BEACON_RATE_MIN (0) |
| 12807 | #define CFG_OCE_BEACON_RATE_MAX (1) |
| 12808 | #define CFG_OCE_BEACON_RATE_DEFAULT (0) |
| 12809 | |
| 12810 | /* |
| 12811 | * <ini> |
| 12812 | * oce_enable_probe_req_deferral - Enable/disable probe request deferral |
| 12813 | * @Min: 0 |
| 12814 | * @Max: 1 |
| 12815 | * @Default: 0 |
| 12816 | * |
| 12817 | * This ini is used to enable/disable probe request deferral as per OCE spec |
| 12818 | * |
| 12819 | * Related: None |
| 12820 | * |
| 12821 | * Supported Feature: OCE |
| 12822 | * |
| 12823 | * Usage: External |
| 12824 | * |
| 12825 | * </ini> |
| 12826 | */ |
| 12827 | #define CFG_ENABLE_PROBE_REQ_DEFERRAL_NAME "oce_enable_probe_req_deferral" |
| 12828 | #define CFG_ENABLE_PROBE_REQ_DEFERRAL_MIN (0) |
| 12829 | #define CFG_ENABLE_PROBE_REQ_DEFERRAL_MAX (1) |
| 12830 | #define CFG_ENABLE_PROBE_REQ_DEFERRAL_DEFAULT (0) |
| 12831 | |
| 12832 | /* |
| 12833 | * <ini> |
| 12834 | * oce_enable_fils_discovery_sap - Enable/disable fils discovery in sap mode |
| 12835 | * @Min: 0 |
| 12836 | * @Max: 1 |
| 12837 | * @Default: 0 |
| 12838 | * |
| 12839 | * This ini is used to enable/disable fils discovery in sap mode |
| 12840 | * |
| 12841 | * Related: None |
| 12842 | * |
| 12843 | * Supported Feature: FILS |
| 12844 | * |
| 12845 | * Usage: External |
| 12846 | * |
| 12847 | * </ini> |
| 12848 | */ |
| 12849 | #define CFG_ENABLE_FILS_DISCOVERY_SAP_NAME "oce_enable_fils_discovery_sap" |
| 12850 | #define CFG_ENABLE_FILS_DISCOVERY_SAP_MIN (0) |
| 12851 | #define CFG_ENABLE_FILS_DISCOVERY_SAP_MAX (1) |
| 12852 | #define CFG_ENABLE_FILS_DISCOVERY_SAP_DEFAULT (0) |
| 12853 | |
| 12854 | /* |
| 12855 | * <ini> |
| 12856 | * enable_esp_for_roam - Enable/disable esp feature |
| 12857 | * @Min: 0 |
| 12858 | * @Max: 1 |
| 12859 | * @Default: 0 |
| 12860 | * |
| 12861 | * This ini is used to enable/disable ESP(Estimated service parameters) IE |
| 12862 | * parsing and decides whether firmware will include this in its scoring algo. |
| 12863 | * |
| 12864 | * Related: None |
| 12865 | * |
| 12866 | * Supported Feature: STA |
| 12867 | * |
| 12868 | * Usage: External |
| 12869 | * |
| 12870 | * </ini> |
| 12871 | */ |
| 12872 | #define CFG_ENABLE_ESP_FEATURE_NAME "enable_esp_for_roam" |
| 12873 | #define CFG_ENABLE_ESP_FEATURE_MIN (0) |
| 12874 | #define CFG_ENABLE_ESP_FEATURE_MAX (1) |
| 12875 | #define CFG_ENABLE_ESP_FEATURE_DEFAULT (0) |
| 12876 | |
| 12877 | /* |
Naveen Rawat | 269b4ed | 2017-12-07 06:47:32 -0800 | [diff] [blame] | 12878 | * <ini> |
| 12879 | * tx_chain_mask_2g - tx chain mask for 2g |
| 12880 | * @Min: 0 |
| 12881 | * @Max: 3 |
| 12882 | * @Default: 0 |
| 12883 | * |
| 12884 | * This ini will set tx chain mask for 2g. To use the ini, make sure: |
| 12885 | * gSetTxChainmask1x1/gSetRxChainmask1x1 = 0, |
| 12886 | * gDualMacFeatureDisable = 1 |
| 12887 | * gEnable2x2 = 0 |
| 12888 | * |
| 12889 | * tx_chain_mask_2g=0 : don't care |
| 12890 | * tx_chain_mask_2g=1 : for 2g tx use chain 0 |
| 12891 | * tx_chain_mask_2g=2 : for 2g tx use chain 1 |
| 12892 | * tx_chain_mask_2g=3 : for 2g tx can use either chain |
| 12893 | * |
| 12894 | * Related: None |
| 12895 | * |
| 12896 | * Supported Feature: All profiles |
| 12897 | * |
| 12898 | * Usage: External |
| 12899 | * |
| 12900 | * </ini> |
| 12901 | */ |
| 12902 | #define CFG_TX_CHAIN_MASK_2G_NAME "tx_chain_mask_2g" |
| 12903 | #define CFG_TX_CHAIN_MASK_2G_MIN (0) |
| 12904 | #define CFG_TX_CHAIN_MASK_2G_MAX (3) |
| 12905 | #define CFG_TX_CHAIN_MASK_2G_DEFAULT (0) |
| 12906 | |
| 12907 | |
| 12908 | /* |
| 12909 | * <ini> |
| 12910 | * tx_chain_mask_5g - tx chain mask for 5g |
| 12911 | * @Min: 0 |
| 12912 | * @Max: 3 |
| 12913 | * @Default: 0 |
| 12914 | * |
| 12915 | * This ini will set tx chain mask for 5g. To use the ini, make sure: |
| 12916 | * gSetTxChainmask1x1/gSetRxChainmask1x1 = 0, |
| 12917 | * gDualMacFeatureDisable = 1 |
| 12918 | * gEnable2x2 = 0 |
| 12919 | * |
| 12920 | * tx_chain_mask_5g=0 : don't care |
| 12921 | * tx_chain_mask_5g=1 : for 5g tx use chain 0 |
| 12922 | * tx_chain_mask_5g=2 : for 5g tx use chain 1 |
| 12923 | * tx_chain_mask_5g=3 : for 5g tx can use either chain |
| 12924 | * |
| 12925 | * Related: None |
| 12926 | * |
| 12927 | * Supported Feature: All profiles |
| 12928 | * |
| 12929 | * Usage: External |
| 12930 | * |
| 12931 | * </ini> |
| 12932 | */ |
| 12933 | #define CFG_TX_CHAIN_MASK_5G_NAME "tx_chain_mask_5g" |
| 12934 | #define CFG_TX_CHAIN_MASK_5G_MIN (0) |
| 12935 | #define CFG_TX_CHAIN_MASK_5G_MAX (3) |
| 12936 | #define CFG_TX_CHAIN_MASK_5G_DEFAULT (0) |
| 12937 | |
| 12938 | |
| 12939 | /* |
| 12940 | * <ini> |
| 12941 | * rx_chain_mask_2g - rx chain mask for 2g |
| 12942 | * @Min: 0 |
| 12943 | * @Max: 3 |
| 12944 | * @Default: 0 |
| 12945 | * |
| 12946 | * This ini will set rx chain mask for 2g. To use the ini, make sure: |
| 12947 | * gSetTxChainmask1x1/gSetRxChainmask1x1 = 0, |
| 12948 | * gDualMacFeatureDisable = 1 |
| 12949 | * gEnable2x2 = 0 |
| 12950 | * |
| 12951 | * rx_chain_mask_2g=0 : don't care |
| 12952 | * rx_chain_mask_2g=1 : for 2g rx use chain 0 |
| 12953 | * rx_chain_mask_2g=2 : for 2g rx use chain 1 |
| 12954 | * rx_chain_mask_2g=3 : for 2g rx can use either chain |
| 12955 | * |
| 12956 | * Related: None |
| 12957 | * |
| 12958 | * Supported Feature: All profiles |
| 12959 | * |
| 12960 | * Usage: External |
| 12961 | * |
| 12962 | * </ini> |
| 12963 | */ |
| 12964 | #define CFG_RX_CHAIN_MASK_2G_NAME "rx_chain_mask_2g" |
| 12965 | #define CFG_RX_CHAIN_MASK_2G_MIN (0) |
| 12966 | #define CFG_RX_CHAIN_MASK_2G_MAX (3) |
| 12967 | #define CFG_RX_CHAIN_MASK_2G_DEFAULT (0) |
| 12968 | |
| 12969 | |
| 12970 | /* |
| 12971 | * <ini> |
| 12972 | * rx_chain_mask_5g - rx chain mask for 5g |
| 12973 | * @Min: 0 |
| 12974 | * @Max: 3 |
| 12975 | * @Default: 0 |
| 12976 | * |
| 12977 | * This ini will set rx chain mask for 5g. To use the ini, make sure: |
| 12978 | * gSetTxChainmask1x1/gSetRxChainmask1x1 = 0, |
| 12979 | * gDualMacFeatureDisable = 1 |
| 12980 | * gEnable2x2 = 0 |
| 12981 | * |
| 12982 | * rx_chain_mask_5g=0 : don't care |
| 12983 | * rx_chain_mask_5g=1 : for 5g rx use chain 0 |
| 12984 | * rx_chain_mask_5g=2 : for 5g rx use chain 1 |
| 12985 | * rx_chain_mask_5g=3 : for 5g rx can use either chain |
| 12986 | * |
| 12987 | * Related: None |
| 12988 | * |
| 12989 | * Supported Feature: All profiles |
| 12990 | * |
| 12991 | * Usage: External |
| 12992 | * |
| 12993 | * </ini> |
| 12994 | */ |
| 12995 | #define CFG_RX_CHAIN_MASK_5G_NAME "rx_chain_mask_5g" |
| 12996 | #define CFG_RX_CHAIN_MASK_5G_MIN (0) |
| 12997 | #define CFG_RX_CHAIN_MASK_5G_MAX (3) |
| 12998 | #define CFG_RX_CHAIN_MASK_5G_DEFAULT (0) |
| 12999 | |
| 13000 | /* |
yeshwanth sriram guntuka | 41f936c | 2017-09-01 17:53:49 +0530 | [diff] [blame] | 13001 | * <ini> |
| 13002 | * btm_offload_config - Configure BTM |
| 13003 | * @Min: 0x00000000 |
| 13004 | * @Max: 0xFFFFFFFF |
| 13005 | * @Default: 0x00000000 |
| 13006 | * |
| 13007 | * This ini is used to configure BTM |
| 13008 | * |
| 13009 | * Bit 0: Enable/Disable the BTM offload. Set this to 1 will |
| 13010 | * enable and 0 will disable BTM offload. |
| 13011 | * |
| 13012 | * BIT 2, 1: Action on non matching candidate with cache. If a BTM request |
| 13013 | * is received from AP then the candidate AP's may/may-not be present in |
| 13014 | * the firmware scan cache . Based on below config firmware will decide |
| 13015 | * whether to forward BTM frame to host or consume with firmware and proceed |
| 13016 | * with Roaming to candidate AP. |
| 13017 | * 00 scan and consume |
| 13018 | * 01 no scan and forward to host |
| 13019 | * 10, 11 reserved |
| 13020 | * |
| 13021 | * BIT 5, 4, 3: Roaming handoff decisions on multiple candidates match |
| 13022 | * 000 match if exact BSSIDs are found |
| 13023 | * 001 match if at least one top priority BSSID only |
| 13024 | * 010, 011, 100, 101, 110, 111 reserved |
| 13025 | * |
Jiachao Wu | 84bb2ea | 2018-01-08 16:17:33 +0800 | [diff] [blame] | 13026 | * BIT 6: Set this to 1 will send BTM query frame and 0 not sent. |
| 13027 | * |
| 13028 | * BIT 7-31: Reserved |
yeshwanth sriram guntuka | 41f936c | 2017-09-01 17:53:49 +0530 | [diff] [blame] | 13029 | * |
| 13030 | * Supported Feature: STA |
| 13031 | * |
| 13032 | * Usage: External |
| 13033 | * |
| 13034 | * </ini> |
| 13035 | */ |
| 13036 | #define CFG_BTM_ENABLE_NAME "btm_offload_config" |
| 13037 | #define CFG_BTM_ENABLE_MIN (0x00000000) |
| 13038 | #define CFG_BTM_ENABLE_MAX (0xffffffff) |
Vignesh Viswanathan | 6177c7e | 2018-07-25 11:14:02 +0530 | [diff] [blame] | 13039 | #define CFG_BTM_ENABLE_DEFAULT (0x00000001) |
Jiachao Wu | 84bb2ea | 2018-01-08 16:17:33 +0800 | [diff] [blame] | 13040 | |
| 13041 | /* |
| 13042 | * <ini> |
| 13043 | * btm_solicited_timeout - timeout value for waiting BTM request |
| 13044 | * @Min: 1 |
| 13045 | * @Max: 10000 |
| 13046 | * @Default: 100 |
| 13047 | * |
| 13048 | * This ini is used to configure timeout value for waiting BTM request. |
| 13049 | * Unit: millionsecond |
| 13050 | * |
| 13051 | * Supported Feature: STA |
| 13052 | * |
| 13053 | * Usage: External |
| 13054 | * |
| 13055 | * </ini> |
| 13056 | */ |
| 13057 | #define CFG_BTM_SOLICITED_TIMEOUT "btm_solicited_timeout" |
| 13058 | #define CFG_BTM_SOLICITED_TIMEOUT_MIN (1) |
| 13059 | #define CFG_BTM_SOLICITED_TIMEOUT_MAX (10000) |
| 13060 | #define CFG_BTM_SOLICITED_TIMEOUT_DEFAULT (100) |
| 13061 | |
| 13062 | /* |
| 13063 | * <ini> |
| 13064 | * btm_max_attempt_cnt - Maximum attempt for sending BTM query to ESS |
| 13065 | * @Min: 1 |
| 13066 | * @Max: 0xFFFFFFFF |
| 13067 | * @Default: 3 |
| 13068 | * |
| 13069 | * This ini is used to configure maximum attempt for sending BTM query to ESS. |
| 13070 | * |
| 13071 | * Supported Feature: STA |
| 13072 | * |
| 13073 | * Usage: External |
| 13074 | * |
| 13075 | * </ini> |
| 13076 | */ |
| 13077 | #define CFG_BTM_MAX_ATTEMPT_CNT "btm_max_attempt_cnt" |
| 13078 | #define CFG_BTM_MAX_ATTEMPT_CNT_MIN (0x00000001) |
| 13079 | #define CFG_BTM_MAX_ATTEMPT_CNT_MAX (0xFFFFFFFF) |
| 13080 | #define CFG_BTM_MAX_ATTEMPT_CNT_DEFAULT (0x00000003) |
| 13081 | |
| 13082 | /* |
| 13083 | * <ini> |
| 13084 | * sticky_time - Stick time after roaming to new AP by BTM |
Jiachao Wu | 4f9820f | 2018-02-01 19:51:34 +0800 | [diff] [blame] | 13085 | * @Min: 0 |
Jiachao Wu | 84bb2ea | 2018-01-08 16:17:33 +0800 | [diff] [blame] | 13086 | * @Max: 0x0000FFFF |
| 13087 | * @Default: 300 |
| 13088 | * |
| 13089 | * This ini is used to configure Stick time after roaming to new AP by BTM. |
| 13090 | * Unit: seconds |
| 13091 | * |
| 13092 | * Supported Feature: STA |
| 13093 | * |
| 13094 | * Usage: External |
| 13095 | * |
| 13096 | * </ini> |
| 13097 | */ |
| 13098 | #define CFG_BTM_STICKY_TIME "btm_sticky_time" |
Jiachao Wu | 4f9820f | 2018-02-01 19:51:34 +0800 | [diff] [blame] | 13099 | #define CFG_BTM_STICKY_TIME_MIN (0x00000000) |
Jiachao Wu | 84bb2ea | 2018-01-08 16:17:33 +0800 | [diff] [blame] | 13100 | #define CFG_BTM_STICKY_TIME_MAX (0x0000FFFF) |
| 13101 | #define CFG_BTM_STICKY_TIME_DEFAULT (300) |
yeshwanth sriram guntuka | 41f936c | 2017-09-01 17:53:49 +0530 | [diff] [blame] | 13102 | |
| 13103 | /* |
Ashish Kumar Dhanotiya | cb14b11 | 2018-01-19 19:26:44 +0530 | [diff] [blame] | 13104 | * <ini> |
| 13105 | * gcmp_enabled - ini to enable/disable GCMP |
| 13106 | * @Min: 0 |
| 13107 | * @Max: 1 |
| 13108 | * @Default: 0 |
| 13109 | * |
| 13110 | * Currently Firmware update the sequence number for each TID with 2^3 |
| 13111 | * because of security issues. But with this PN mechanism, throughput drop |
| 13112 | * is observed. With this ini FW takes the decision to trade off between |
| 13113 | * security and throughput |
| 13114 | * |
| 13115 | * Supported Feature: STA/SAP/P2P |
| 13116 | * |
| 13117 | * Usage: External |
| 13118 | * |
| 13119 | * </ini> |
Krishna Kumaar Natarajan | 90bb6f1 | 2017-03-03 21:05:52 -0800 | [diff] [blame] | 13120 | */ |
Ashish Kumar Dhanotiya | 9335d81 | 2017-06-30 16:57:20 +0530 | [diff] [blame] | 13121 | |
Ashish Kumar Dhanotiya | cb14b11 | 2018-01-19 19:26:44 +0530 | [diff] [blame] | 13122 | #define CFG_ENABLE_GCMP_NAME "gcmp_enabled" |
| 13123 | #define CFG_ENABLE_GCMP_MIN (0) |
| 13124 | #define CFG_ENABLE_GCMP_MAX (1) |
Padma, Santhosh Kumar | a5eaeb8 | 2018-04-09 18:45:26 +0530 | [diff] [blame] | 13125 | #define CFG_ENABLE_GCMP_DEFAULT (1) |
Ashish Kumar Dhanotiya | cb14b11 | 2018-01-19 19:26:44 +0530 | [diff] [blame] | 13126 | |
| 13127 | /* |
Vignesh Viswanathan | 694e28e | 2018-01-18 20:53:57 +0530 | [diff] [blame] | 13128 | * <ini> |
| 13129 | * 11k_offload_enable_bitmask - Bitmask to enable 11k offload to FW |
| 13130 | * @Min: 0 |
| 13131 | * @Max: 1 |
| 13132 | * @Default: 1 |
| 13133 | * |
| 13134 | * This ini is used to set which of the 11k features is offloaded to FW |
| 13135 | * Currently Neighbor Report Request is supported for offload and is enabled |
| 13136 | * by default |
| 13137 | * B0: Offload 11k neighbor report requests |
| 13138 | * B1-B31: Reserved |
| 13139 | * |
| 13140 | * Related : None |
| 13141 | * |
| 13142 | * Usage: External |
| 13143 | * |
| 13144 | * </ini> |
| 13145 | */ |
| 13146 | |
| 13147 | #define CFG_OFFLOAD_11K_ENABLE_BITMASK_NAME "11k_offload_enable_bitmask" |
| 13148 | #define CFG_OFFLOAD_11K_ENABLE_BITMASK_MIN (0) |
| 13149 | #define CFG_OFFLOAD_11K_ENABLE_BITMASK_MAX (1) |
| 13150 | #define CFG_OFFLOAD_11K_ENABLE_BITMASK_DEFAULT (1) |
| 13151 | |
| 13152 | #define OFFLOAD_11K_BITMASK_NEIGHBOR_REPORT_REQUEST 0x1 |
| 13153 | /* |
| 13154 | * <ini> |
| 13155 | * nr_offload_params_bitmask - bitmask to specify which of the |
| 13156 | * neighbor report offload params are valid in the ini |
| 13157 | * frame |
| 13158 | * @Min: 0 |
| 13159 | * @Max: 63 |
| 13160 | * @Default: 63 |
| 13161 | * |
| 13162 | * This ini specifies which of the neighbor report offload params are valid |
| 13163 | * and should be considered by the FW. The bitmask is as follows |
| 13164 | * B0: nr_offload_time_offset |
| 13165 | * B1: nr_offload_low_rssi_offset |
| 13166 | * B2: nr_offload_bmiss_count_trigger |
| 13167 | * B3: nr_offload_per_threshold_offset |
| 13168 | * B4: nr_offload_cache_timeout |
| 13169 | * B5: nr_offload_max_req_cap |
| 13170 | * B6-B7: Reserved |
| 13171 | * |
| 13172 | * Related : 11k_offload_enable_bitmask |
| 13173 | * |
| 13174 | * Usage: External |
| 13175 | * |
| 13176 | * </ini> |
| 13177 | */ |
| 13178 | |
| 13179 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_PARAMS_BITMASK_NAME \ |
| 13180 | "nr_offload_params_bitmask" |
| 13181 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_PARAMS_BITMASK_MIN (0) |
| 13182 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_PARAMS_BITMASK_MAX (63) |
| 13183 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_PARAMS_BITMASK_DEFAULT (63) |
| 13184 | |
| 13185 | /* |
| 13186 | * <ini> |
| 13187 | * nr_offload_time_offset - time interval in seconds after the |
| 13188 | * neighbor report offload command to send the first neighbor report request |
| 13189 | * frame |
Vignesh Viswanathan | 0fcb4d3 | 2018-02-13 14:29:46 +0530 | [diff] [blame] | 13190 | * @Min: 0 |
Vignesh Viswanathan | 694e28e | 2018-01-18 20:53:57 +0530 | [diff] [blame] | 13191 | * @Max: 3600 |
| 13192 | * @Default: 30 |
| 13193 | * |
| 13194 | * Related : nr_offload_params_bitmask |
| 13195 | * |
| 13196 | * Usage: External |
| 13197 | * |
| 13198 | * </ini> |
| 13199 | */ |
| 13200 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_TIME_OFFSET_NAME \ |
| 13201 | "nr_offload_time_offset" |
| 13202 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_TIME_OFFSET_MIN (0) |
| 13203 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_TIME_OFFSET_MAX (3600) |
| 13204 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_TIME_OFFSET_DEFAULT (30) |
| 13205 | |
| 13206 | /* |
| 13207 | * <ini> |
| 13208 | * nr_offload_low_rssi_offset - offset from the roam RSSI threshold |
| 13209 | * to trigger the neighbor report request frame (in dBm) |
| 13210 | * @Min: 4 |
| 13211 | * @Max: 10 |
| 13212 | * @Default: 4 |
| 13213 | * |
| 13214 | * Related : nr_offload_params_bitmask |
| 13215 | * |
| 13216 | * Usage: External |
| 13217 | * |
| 13218 | * </ini> |
| 13219 | */ |
| 13220 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_LOW_RSSI_OFFSET_NAME \ |
| 13221 | "nr_offload_low_rssi_offset" |
| 13222 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_LOW_RSSI_OFFSET_MIN (4) |
| 13223 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_LOW_RSSI_OFFSET_MAX (10) |
| 13224 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_LOW_RSSI_OFFSET_DEFAULT (4) |
| 13225 | |
| 13226 | /* |
| 13227 | * <ini> |
| 13228 | * nr_offload_bmiss_count_trigger - Number of beacon miss events to |
| 13229 | * trigger a neighbor report request frame |
| 13230 | * @Min: 1 |
| 13231 | * @Max: 5 |
| 13232 | * @Default: 1 |
| 13233 | * |
| 13234 | * Related : nr_offload_params_bitmask |
| 13235 | * |
| 13236 | * Usage: External |
| 13237 | * |
| 13238 | * </ini> |
| 13239 | */ |
| 13240 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_BMISS_COUNT_TRIGGER_NAME \ |
| 13241 | "nr_offload_bmiss_count_trigger" |
| 13242 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_BMISS_COUNT_TRIGGER_MIN (1) |
| 13243 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_BMISS_COUNT_TRIGGER_MAX (5) |
| 13244 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_BMISS_COUNT_TRIGGER_DEFAULT (1) |
| 13245 | |
| 13246 | /* |
| 13247 | * <ini> |
| 13248 | * nr_offload_per_threshold_offset - offset from PER threshold to |
| 13249 | * trigger a neighbor report request frame (in %) |
| 13250 | * @Min: 5 |
| 13251 | * @Max: 20 |
| 13252 | * @Default: 5 |
| 13253 | * |
| 13254 | * This ini is used to set the neighbor report offload parameter: |
| 13255 | * |
| 13256 | * Related : nr_offload_params_bitmask |
| 13257 | * |
| 13258 | * Usage: External |
| 13259 | * |
| 13260 | * </ini> |
| 13261 | */ |
| 13262 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_PER_THRESHOLD_OFFSET_NAME \ |
| 13263 | "nr_offload_per_threshold_offset" |
| 13264 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_PER_THRESHOLD_OFFSET_MIN (5) |
| 13265 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_PER_THRESHOLD_OFFSET_MAX (20) |
| 13266 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_PER_THRESHOLD_OFFSET_DEFAULT (5) |
| 13267 | |
| 13268 | /* |
| 13269 | * <ini> |
| 13270 | * nr_offload_cache_timeout - time in seconds after which the |
| 13271 | * neighbor report cache is marked as timed out and any of the triggers would |
| 13272 | * cause a neighbor report request frame to be sent. |
Vignesh Viswanathan | 0fcb4d3 | 2018-02-13 14:29:46 +0530 | [diff] [blame] | 13273 | * @Min: 5 |
Vignesh Viswanathan | 694e28e | 2018-01-18 20:53:57 +0530 | [diff] [blame] | 13274 | * @Max: 86400 |
| 13275 | * @Default: 1200 |
| 13276 | * |
| 13277 | * Related : nr_offload_params_bitmask |
| 13278 | * |
| 13279 | * Usage: External |
| 13280 | * |
| 13281 | * </ini> |
| 13282 | */ |
| 13283 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_CACHE_TIMEOUT_NAME \ |
| 13284 | "nr_offload_cache_timeout" |
Vignesh Viswanathan | 0fcb4d3 | 2018-02-13 14:29:46 +0530 | [diff] [blame] | 13285 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_CACHE_TIMEOUT_MIN (5) |
Vignesh Viswanathan | 694e28e | 2018-01-18 20:53:57 +0530 | [diff] [blame] | 13286 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_CACHE_TIMEOUT_MAX (86400) |
| 13287 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_CACHE_TIMEOUT_DEFAULT (1200) |
| 13288 | |
| 13289 | /* |
| 13290 | * <ini> |
| 13291 | * nr_offload_max_req_cap - Max number of neighbor |
| 13292 | * report requests that can be sent to a connected peer in the current session. |
| 13293 | * This counter is reset once a successful roam happens or at cache timeout |
| 13294 | * @Min: 3 |
Vignesh Viswanathan | 0fcb4d3 | 2018-02-13 14:29:46 +0530 | [diff] [blame] | 13295 | * @Max: 300 |
Vignesh Viswanathan | 694e28e | 2018-01-18 20:53:57 +0530 | [diff] [blame] | 13296 | * @Default: 3 |
| 13297 | * |
| 13298 | * Related : nr_offload_params_bitmask |
| 13299 | * |
| 13300 | * Usage: External |
| 13301 | * |
| 13302 | * </ini> |
| 13303 | */ |
| 13304 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_MAX_REQ_CAP_NAME \ |
| 13305 | "nr_offload_max_req_cap" |
| 13306 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_MAX_REQ_CAP_MIN (3) |
| 13307 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_MAX_REQ_CAP_MAX (300) |
| 13308 | #define CFG_OFFLOAD_NEIGHBOR_REPORT_MAX_REQ_CAP_DEFAULT (3) |
| 13309 | |
| 13310 | /* |
Surabhi Vishnoi | 7f085d2 | 2018-01-30 12:11:14 +0530 | [diff] [blame] | 13311 | * <ini> |
| 13312 | * wmi_wq_watchdog - Sets timeout period for wmi watchdog bite |
| 13313 | * @Min: 0 |
| 13314 | * @Max: 30 |
| 13315 | * @Default: 20 |
| 13316 | * |
| 13317 | * This ini is used to set timeout period for wmi watchdog bite. If it is |
| 13318 | * 0 then wmi watchdog bite is disabled. |
| 13319 | * |
| 13320 | * Related: None |
| 13321 | * |
| 13322 | * Supported Feature: STA |
| 13323 | * |
| 13324 | * Usage: External |
| 13325 | * |
| 13326 | * </ini> |
| 13327 | */ |
| 13328 | #define CFG_WMI_WQ_WATCHDOG "wmi_wq_watchdog" |
| 13329 | #define CFG_WMI_WQ_WATCHDOG_MIN (0) |
| 13330 | #define CFG_WMI_WQ_WATCHDOG_MAX (30) /* 30s */ |
| 13331 | #define CFG_WMI_WQ_WATCHDOG_DEFAULT (20) /* 20s */ |
Ashish Kumar Dhanotiya | 191d164 | 2018-02-08 17:43:09 +0530 | [diff] [blame] | 13332 | |
| 13333 | /* |
| 13334 | * <ini> |
| 13335 | * gEnableDTIMSelectionDiversity - Enable/Disable chain |
| 13336 | * selection optimization for one chain dtim |
| 13337 | * @Min: 0 |
| 13338 | * @Max: 30 |
| 13339 | * @Default: 5 |
| 13340 | * |
| 13341 | * Usage: External |
| 13342 | * |
| 13343 | * </ini> |
| 13344 | */ |
| 13345 | #define CFG_DTIM_SELECTION_DIVERSITY_NAME "gEnableDTIMSelectionDiversity" |
| 13346 | #define CFG_DTIM_SELECTION_DIVERSITY_MIN (0) |
| 13347 | #define CFG_DTIM_SELECTION_DIVERSITY_MAX (30) |
| 13348 | #define CFG_DTIM_SELECTION_DIVERSITY_DEFAULT (5) |
| 13349 | |
Surabhi Vishnoi | 7f085d2 | 2018-01-30 12:11:14 +0530 | [diff] [blame] | 13350 | /* |
Yeshwanth Sriram Guntuka | db7995d | 2018-01-22 16:46:59 +0530 | [diff] [blame] | 13351 | * <ini> |
| 13352 | * channel_select_logic_conc - Set channel selection logic |
| 13353 | * for different concurrency combinations to DBS or inter band |
| 13354 | * MCC. Default is DBS for STA+STA and STA+P2P. |
| 13355 | * @Min: 0x00000000 |
| 13356 | * @Max: 0xFFFFFFFF |
| 13357 | * @Default: 0x00000000 |
| 13358 | * |
| 13359 | * 0 - inter-band MCC |
| 13360 | * 1 - DBS |
| 13361 | * |
| 13362 | * BIT 0: STA+STA |
| 13363 | * BIT 1: STA+P2P |
| 13364 | * BIT 2-31: Reserved |
| 13365 | * |
| 13366 | * Supported Feature: STA+STA, STA+P2P |
| 13367 | * |
| 13368 | * Usage: External |
| 13369 | * |
| 13370 | * </ini> |
| 13371 | */ |
| 13372 | #define CFG_CHANNEL_SELECT_LOGIC_CONC_NAME "channel_select_logic_conc" |
| 13373 | #define CFG_CHANNEL_SELECT_LOGIC_CONC_MIN (0x00000000) |
| 13374 | #define CFG_CHANNEL_SELECT_LOGIC_CONC_MAX (0xFFFFFFFF) |
| 13375 | #define CFG_CHANNEL_SELECT_LOGIC_CONC_DEFAULT (0x00000003) |
| 13376 | |
| 13377 | /* |
Ashish Kumar Dhanotiya | 48dac7d | 2018-03-28 14:59:50 +0530 | [diff] [blame] | 13378 | * <ini> |
| 13379 | * gTxSchDelay - Enable/Disable Tx sch delay |
| 13380 | * @Min: 0 |
Ashish Kumar Dhanotiya | 04f09dd | 2018-04-02 16:25:16 +0530 | [diff] [blame] | 13381 | * @Max: 5 |
Ashish Kumar Dhanotiya | 214e142 | 2018-04-19 12:44:43 +0530 | [diff] [blame] | 13382 | * @Default: 0 |
Ashish Kumar Dhanotiya | 48dac7d | 2018-03-28 14:59:50 +0530 | [diff] [blame] | 13383 | * |
| 13384 | * Usage: Internal/External |
| 13385 | * |
| 13386 | * </ini> |
| 13387 | */ |
| 13388 | |
| 13389 | #define CFG_TX_SCH_DELAY_NAME "gTxSchDelay" |
| 13390 | #define CFG_TX_SCH_DELAY_MIN (0) |
Ashish Kumar Dhanotiya | 04f09dd | 2018-04-02 16:25:16 +0530 | [diff] [blame] | 13391 | #define CFG_TX_SCH_DELAY_MAX (5) |
Ashish Kumar Dhanotiya | 214e142 | 2018-04-19 12:44:43 +0530 | [diff] [blame] | 13392 | #define CFG_TX_SCH_DELAY_DEFAULT (0) |
Ashish Kumar Dhanotiya | 48dac7d | 2018-03-28 14:59:50 +0530 | [diff] [blame] | 13393 | |
| 13394 | /* |
Rajeev Kumar Sirasanagandla | 4725ae4 | 2018-05-24 22:33:34 +0530 | [diff] [blame] | 13395 | * Start of action oui inis |
| 13396 | * |
| 13397 | * To enable action oui feature, set gEnableActionOUI |
| 13398 | * |
| 13399 | * Each action oui is expected in the following format: |
| 13400 | * <Extension 1> <Extension 2> ..... <Extension 10> (maximum 10) |
| 13401 | * |
| 13402 | * whereas, each Extension is separated by space and have the following format: |
| 13403 | * <Token1> <Token2> <Token3> <Token4> <Token5> <Token6> <Token7> <Token8> |
| 13404 | * where each Token is a string of hexa-decimal digits and |
| 13405 | * following are the details about each token |
| 13406 | * |
| 13407 | * Token1 = OUI |
| 13408 | * Token2 = Data_Length |
| 13409 | * Token3 = Data |
| 13410 | * Token4 = Data_Mask |
| 13411 | * Token5 = Info_Presence_Bit |
| 13412 | * Token6 = MAC_Address |
| 13413 | * Token7 = Mac_Address Mask |
| 13414 | * Token8 = Capability |
| 13415 | * |
| 13416 | * <OUI> is mandatory and it can be either 3 or 5 bytes means 6 or 10 |
| 13417 | * hexa-decimal characters |
Vignesh Viswanathan | c681282 | 2018-08-14 12:47:33 +0530 | [diff] [blame] | 13418 | * If the OUI and Data checks needs to be ignored, the oui FFFFFF |
| 13419 | * needs to be provided as OUI and bit 0 of Info_Presence_Bit should |
| 13420 | * be set to 0. |
Rajeev Kumar Sirasanagandla | 4725ae4 | 2018-05-24 22:33:34 +0530 | [diff] [blame] | 13421 | * |
| 13422 | * <Data_Length> is mandatory field and should give length of |
| 13423 | * the <Data> if present else zero |
| 13424 | * |
| 13425 | * Presence of <Data> is controlled by <Data_Length>, if <Data_Length> is 0, |
| 13426 | * then <Data> is not expected else Data of the size Data Length bytes are |
| 13427 | * expected which means the length of Data string is 2 * Data Length, |
| 13428 | * since every byte constitutes two hexa-decimal characters. |
| 13429 | * |
| 13430 | * <Data_Mask> is mandatory if <Data> is present and length of the |
| 13431 | * Data mask string depends on the <Data Length> |
| 13432 | * If <Data Length> is 06, then length of Data Mask string is |
| 13433 | * 2 characters (represents 1 byte) |
| 13434 | * data_mask_length = ((Data_Length - (Data_Length % 8)) / 8) + |
| 13435 | * ((Data_Length % 8) ? 1 : 0) |
| 13436 | * and <Data_Mask> has to be constructed from left to right. |
| 13437 | * |
| 13438 | * Presence of <Mac_Address> and <Capability> is |
| 13439 | * controlled by <Info_Presence_Bit> which is mandatory |
| 13440 | * <Info_Presence_Bit> will give the information for |
Vignesh Viswanathan | c681282 | 2018-08-14 12:47:33 +0530 | [diff] [blame] | 13441 | * OUI – bit 0 Should be set to 1 |
| 13442 | * Setting to 0 will ignore OUI and data check |
Rajeev Kumar Sirasanagandla | 4725ae4 | 2018-05-24 22:33:34 +0530 | [diff] [blame] | 13443 | * Mac Address present – bit 1 |
| 13444 | * NSS – bit 2 |
| 13445 | * HT check – bit 3 |
| 13446 | * VHT check – bit 4 |
| 13447 | * Band info – bit 5 |
| 13448 | * reserved – bit 6 (should always be zero) |
| 13449 | * reserved – bit 7 (should always be zero) |
| 13450 | * and should be constructed from right to left (b7b6b5b4b3b2b1b0) |
| 13451 | * |
| 13452 | * <Mac_Address_Mask> for <Mac_Address> should be constructed from left to right |
| 13453 | * |
| 13454 | * <Capability> is 1 byte long and it contains the below info |
| 13455 | * NSS – 4 bits starting from LSB (b0 – b3) |
| 13456 | * HT enabled – bit 4 |
| 13457 | * VHT enabled – bit 5 |
| 13458 | * 2G band – bit 6 |
| 13459 | * 5G band – bit 7 |
| 13460 | * and should be constructed from right to left (b7b6b5b4b3b2b1b0) |
| 13461 | * <Capability> is present if atleast one of the bit is set |
| 13462 | * from b2 - b6 in <Info_Presence_Bit> |
| 13463 | * |
| 13464 | * Example 1: |
| 13465 | * |
| 13466 | * OUI is 00-10-18, data length is 05 (hex form), data is 02-11-04-5C-DE and |
| 13467 | * need to consider first 3 bytes and last byte of data for comparision |
| 13468 | * mac-addr EE-1A-59-FE-FD-AF is present and first 3 bytes and last byte of |
| 13469 | * mac address should be considered for comparision |
| 13470 | * capability is not present |
| 13471 | * then action OUI for gActionOUIITOExtension is as follows: |
| 13472 | * |
| 13473 | * gActionOUIITOExtension=001018 05 0211045CDE E8 03 EE1A59FEFDAF E4 |
| 13474 | * |
| 13475 | * data mask calculation in above example: |
| 13476 | * Data[0] = 02 ---- d0 = 1 |
| 13477 | * Data[1] = 11 ---- d1 = 1 |
| 13478 | * Data[2] = 04 ---- d2 = 1 |
| 13479 | * Data[3] = 5C ---- d3 = 0 |
| 13480 | * Data[4] = DE ---- d4 = 1 |
| 13481 | * data_mask = d0d1d2d3d4 + append with zeros to complete 8-bit = 11101000 = E8 |
| 13482 | * |
| 13483 | * mac mask calculation in above example: |
| 13484 | * mac_addr[0] = EE ---- m0 = 1 |
| 13485 | * mac_addr[1] = 1A ---- m1 = 1 |
| 13486 | * mac_addr[2] = 59 ---- m2 = 1 |
| 13487 | * mac_addr[3] = FE ---- m3 = 0 |
| 13488 | * mac_addr[4] = FD ---- m4 = 0 |
| 13489 | * mac_addr[5] = AF ---- m5 = 1 |
| 13490 | * mac_mask = m0m1m2m3m4m5 + append with zeros to complete 8-bit = 11100100 = E4 |
| 13491 | * |
| 13492 | * Example 2: |
| 13493 | * |
| 13494 | * OUI is 00-10-18, data length is 00 and no Mac Address and capability |
| 13495 | * |
| 13496 | * gActionOUIITOExtension=001018 00 01 |
| 13497 | * |
| 13498 | */ |
| 13499 | |
| 13500 | /* |
| 13501 | * <ini> |
| 13502 | * gEnableActionOUI - Enable/Disable action oui feature |
| 13503 | * @Min: 0 (disable) |
| 13504 | * @Max: 1 (enable) |
| 13505 | * @Default: 1 (enable) |
| 13506 | * |
| 13507 | * This ini is used to enable the action oui feature to control |
| 13508 | * mode of connection, connected AP's in-activity time, Tx rate etc., |
| 13509 | * |
| 13510 | * Related: If gEnableActionOUI is set, then at least one of the following inis |
| 13511 | * must be set with the proper action oui extensions: |
| 13512 | * gActionOUIConnect1x1, gActionOUIITOExtension, gActionOUICCKM1X1 |
| 13513 | * |
| 13514 | * Supported Feature: action ouis |
| 13515 | * |
| 13516 | * Usage: External |
| 13517 | * |
| 13518 | * </ini> |
| 13519 | */ |
| 13520 | #define CFG_ENABLE_ACTION_OUI "gEnableActionOUI" |
| 13521 | #define CFG_ENABLE_ACTION_OUI_MIN (0) |
| 13522 | #define CFG_ENABLE_ACTION_OUI_MAX (1) |
| 13523 | #define CFG_ENABLE_ACTION_OUI_DEFAULT (1) |
| 13524 | |
| 13525 | /* |
| 13526 | * <ini> |
| 13527 | * gActionOUIConnect1x1 - Used to specify action OUIs for 1x1 connection |
| 13528 | * @Default: 000C43 00 25 42 001018 06 02FFF02C0000 BC 25 42 001018 06 02FF040C0000 BC 25 42 00037F 00 35 6C |
| 13529 | * Note: User should strictly add new action OUIs at the end of this |
| 13530 | * default value. |
| 13531 | * |
| 13532 | * Default OUIs: (All values in Hex) |
| 13533 | * OUI 1 : 000C43 |
| 13534 | * OUI data Len : 00 |
| 13535 | * Info Mask : 25 - Check for NSS and Band |
| 13536 | * Capabilities: 42 - NSS == 2 && Band == 2G |
| 13537 | * OUI 2 : 001018 |
| 13538 | * OUI data Len : 06 |
| 13539 | * OUI Data : 02FFF02C0000 |
| 13540 | * OUI data Mask: BC - 10111100 |
| 13541 | * Info Mask : 25 - Check for NSS and Band |
| 13542 | * Capabilities: 42 - NSS == 2 && Band == 2G |
| 13543 | * OUI 3 : 001018 |
| 13544 | * OUI data Len : 06 |
| 13545 | * OUI Data : 02FF040C0000 |
| 13546 | * OUI data Mask: BC - 10111100 |
| 13547 | * Info Mask : 25 - Check for NSS and Band |
| 13548 | * Capabilities: 42 - NSS == 2 && Band == 2G |
| 13549 | * OUI 4 : 00037F |
| 13550 | * OUI data Len : 00 |
| 13551 | * Info Mask : 35 - Check for NSS, VHT Caps and Band |
| 13552 | * Capabilities: 6C - (NSS == 3 or 4) && VHT Caps Preset && Band == 2G |
| 13553 | * |
| 13554 | * This ini is used to specify the AP OUIs with which only 1x1 connection |
| 13555 | * is allowed. |
| 13556 | * |
| 13557 | * Related: None |
| 13558 | * |
| 13559 | * Supported Feature: Action OUIs |
| 13560 | * |
| 13561 | * Usage: External |
| 13562 | * |
| 13563 | * </ini> |
| 13564 | */ |
| 13565 | #define CFG_ACTION_OUI_CONNECT_1X1_NAME "gActionOUIConnect1x1" |
| 13566 | #define CFG_ACTION_OUI_CONNECT_1X1_DEFAULT "000C43 00 25 42 001018 06 02FFF02C0000 BC 25 42 001018 06 02FF040C0000 BC 25 42 00037F 00 35 6C" |
| 13567 | |
| 13568 | /* |
| 13569 | * <ini> |
| 13570 | * gActionOUIITOExtension - Used to extend in-activity time for specified APs |
| 13571 | * @Default: 00037F 06 01010000FF7F FC 01 000AEB 02 0100 C0 01 000B86 03 010408 E0 01 |
| 13572 | * Note: User should strictly add new action OUIs at the end of this |
| 13573 | * default value. |
| 13574 | * |
| 13575 | * Default OUIs: (All values in Hex) |
| 13576 | * OUI 1: 00037F |
| 13577 | * OUI data Len: 06 |
| 13578 | * OUI Data: 01010000FF7F |
| 13579 | * OUI data Mask: FC - 11111100 |
| 13580 | * Info Mask : 01 - only OUI present in Info mask |
| 13581 | * |
| 13582 | * OUI 2: 000AEB |
| 13583 | * OUI data Len: 02 |
| 13584 | * OUI Data: 0100 |
| 13585 | * OUI data Mask: C0 - 11000000 |
| 13586 | * Info Mask : 01 - only OUI present in Info mask |
| 13587 | * |
| 13588 | * OUI 3: 000B86 |
| 13589 | * OUI data Len: 03 |
| 13590 | * OUI Data: 010408 |
| 13591 | * OUI data Mask: E0 - 11100000 |
| 13592 | * Info Mask : 01 - only OUI present in Info mask |
| 13593 | * |
| 13594 | * This ini is used to specify AP OUIs using which station's in-activity time |
| 13595 | * can be extended with the respective APs |
| 13596 | * |
| 13597 | * Related: None |
| 13598 | * |
| 13599 | * Supported Feature: Action OUIs |
| 13600 | * |
| 13601 | * Usage: External |
| 13602 | * |
| 13603 | * </ini> |
| 13604 | */ |
| 13605 | #define CFG_ACTION_OUI_ITO_EXTENSION_NAME "gActionOUIITOExtension" |
| 13606 | #define CFG_ACTION_OUI_ITO_EXTENSION_DEFAULT "00037F 06 01010000FF7F FC 01 000AEB 02 0100 C0 01 000B86 03 010408 E0 01" |
| 13607 | |
| 13608 | /* |
| 13609 | * <ini> |
| 13610 | * gActionOUICCKM1X1 - Used to specify action OUIs to control station's TX rates |
| 13611 | * |
| 13612 | * This ini is used to specify AP OUIs for which station's CCKM TX rates |
| 13613 | * should be 1x1 only. |
| 13614 | * |
| 13615 | * Related: None |
| 13616 | * |
| 13617 | * Supported Feature: Action OUIs |
| 13618 | * |
| 13619 | * Usage: External |
| 13620 | * |
| 13621 | * </ini> |
| 13622 | */ |
| 13623 | #define CFG_ACTION_OUI_CCKM_1X1_NAME "gActionOUICCKM1X1" |
| 13624 | #define CFG_ACTION_OUI_CCKM_1X1_DEFAULT "" |
| 13625 | |
| 13626 | /* |
| 13627 | * <ini> |
| 13628 | * gActionOUIITOAlternate - Used to specify action OUIs to have alternate ITO in |
| 13629 | * weak RSSI state |
| 13630 | * |
| 13631 | * This ini is used to specify AP OUIs for which the stations will have |
| 13632 | * alternate ITOs for the case when the RSSI is weak. |
| 13633 | * |
| 13634 | * Related: None |
| 13635 | * |
| 13636 | * Supported Feature: Action OUIs |
| 13637 | * |
| 13638 | * Usage: External |
| 13639 | * |
| 13640 | * </ini> |
| 13641 | */ |
| 13642 | #define CFG_ACTION_OUI_ITO_ALTERNATE_NAME "gActionOUIITOAlternate" |
| 13643 | #define CFG_ACTION_OUI_ITO_ALTERNATE_DEFAULT "001018 06 0202001c0000 FC 01" |
| 13644 | |
| 13645 | /* |
| 13646 | * <ini> |
| 13647 | * gActionOUISwitchTo11nMode - Used to specify action OUIs for switching to 11n |
| 13648 | * |
| 13649 | * This ini is used to specify which AP for which the connection has to be |
| 13650 | * made in 2x2 mode with HT capabilities only and not VHT. |
| 13651 | * |
Vignesh Viswanathan | cbbc358 | 2018-07-11 11:11:04 +0530 | [diff] [blame] | 13652 | * Default OUIs: (All values in Hex) |
| 13653 | * OUI 1 : 00904C |
| 13654 | * OUI data Len : 03 |
| 13655 | * OUI Data : 0418BF |
| 13656 | * OUI data Mask: E0 - 11100000 |
| 13657 | * Info Mask : 21 - Check for Band |
| 13658 | * Capabilities: 40 - Band == 2G |
| 13659 | * |
Rajeev Kumar Sirasanagandla | 4725ae4 | 2018-05-24 22:33:34 +0530 | [diff] [blame] | 13660 | * Related: None |
| 13661 | * |
| 13662 | * Supported Feature: Action OUIs |
| 13663 | * |
| 13664 | * Usage: External |
| 13665 | * |
| 13666 | * </ini> |
| 13667 | */ |
| 13668 | #define CFG_ACTION_OUI_SWITCH_TO_11N_MODE_NAME "gActionOUISwitchTo11nMode" |
Vignesh Viswanathan | cbbc358 | 2018-07-11 11:11:04 +0530 | [diff] [blame] | 13669 | #define CFG_ACTION_OUI_SWITCH_TO_11N_MODE_DEFAULT "00904C 03 0418BF E0 21 40" |
Rajeev Kumar Sirasanagandla | 4725ae4 | 2018-05-24 22:33:34 +0530 | [diff] [blame] | 13670 | |
Vignesh Viswanathan | f9a704c | 2018-07-30 12:57:18 +0530 | [diff] [blame] | 13671 | /* |
| 13672 | * <ini> |
| 13673 | * gActionOUIConnect1x1with1TxRxChain - Used to specify action OUIs for |
| 13674 | * 1x1 connection with one Tx/Rx Chain |
| 13675 | * @Default: |
| 13676 | * Note: User should strictly add new action OUIs at the end of this |
| 13677 | * default value. |
| 13678 | * |
| 13679 | * Default OUIs: (All values in Hex) |
| 13680 | * OUI 1 : 001018 |
| 13681 | * OUI data Len : 06 |
| 13682 | * OUI Data : 02FFF0040000 |
| 13683 | * OUI data Mask: BC - 10111100 |
| 13684 | * Info Mask : 21 - Check for Band |
| 13685 | * Capabilities: 40 - Band == 2G |
| 13686 | * |
| 13687 | * OUI 2 : 001018 |
| 13688 | * OUI data Len : 06 |
| 13689 | * OUI Data : 02FFF0050000 |
| 13690 | * OUI data Mask: BC - 10111100 |
| 13691 | * Info Mask : 21 - Check for Band |
| 13692 | * Capabilities: 40 - Band == 2G |
| 13693 | * |
| 13694 | * OUI 3 : 001018 |
| 13695 | * OUI data Len : 06 |
| 13696 | * OUI Data : 02FFF4050000 |
| 13697 | * OUI data Mask: BC - 10111100 |
| 13698 | * Info Mask : 21 - Check for Band |
| 13699 | * Capabilities: 40 - Band == 2G |
| 13700 | * |
| 13701 | * This ini is used to specify the AP OUIs with which only 1x1 connection |
| 13702 | * with one Tx/Rx Chain is allowed. |
| 13703 | * |
| 13704 | * Related: gEnableActionOUI |
| 13705 | * |
| 13706 | * Supported Feature: Action OUIs |
| 13707 | * |
| 13708 | * Usage: External |
| 13709 | * |
| 13710 | * </ini> |
| 13711 | */ |
| 13712 | #define CFG_ACTION_OUI_CONNECT_1X1_WITH_1_CHAIN_NAME "gActionOUIConnect1x1with1TxRxChain" |
| 13713 | #define CFG_ACTION_OUI_CONNECT_1X1_WITH_1_CHAIN_DEFAULT "001018 06 02FFF0040000 BC 21 40 001018 06 02FFF0050000 BC 21 40 001018 06 02FFF4050000 BC 21 40" |
| 13714 | |
Rajeev Kumar Sirasanagandla | 4725ae4 | 2018-05-24 22:33:34 +0530 | [diff] [blame] | 13715 | /* End of action oui inis */ |
| 13716 | |
| 13717 | |
| 13718 | /* |
Rajeev Kumar | 15b40a2 | 2018-04-12 11:45:24 -0700 | [diff] [blame] | 13719 | * <ini> |
| 13720 | * gEnableUnitTestFramework - Enable/Disable unit test framework |
| 13721 | * @Min: 0 |
| 13722 | * @Max: 1 |
| 13723 | * @Default: 0 |
| 13724 | * |
| 13725 | * Usage: Internal (only for dev and test team) |
| 13726 | * |
| 13727 | * </ini> |
| 13728 | */ |
| 13729 | #define CFG_ENABLE_UNIT_TEST_FRAMEWORK_NAME "gEnableUnitTestFramework" |
| 13730 | #define CFG_ENABLE_UNIT_TEST_FRAMEWORK_MIN (0) |
| 13731 | #define CFG_ENABLE_UNIT_TEST_FRAMEWORK_MAX (1) |
| 13732 | #define CFG_ENABLE_UINT_TEST_FRAMEWORK_DEFAULT (0) |
| 13733 | |
| 13734 | /* |
Naveen Rawat | 2b43089 | 2018-03-13 13:58:18 -0700 | [diff] [blame] | 13735 | * <ini> |
| 13736 | * enable_rtt_mac_randomization - Enable/Disable rtt mac randomization |
| 13737 | * @Min: 0 |
| 13738 | * @Max: 1 |
| 13739 | * @Default: 0 |
| 13740 | * |
| 13741 | * Usage: External |
| 13742 | * |
| 13743 | * </ini> |
| 13744 | */ |
| 13745 | #define CFG_ENABLE_RTT_MAC_RANDOMIZATION_NAME "enable_rtt_mac_randomization" |
| 13746 | #define CFG_ENABLE_RTT_MAC_RANDOMIZATION_MIN (0) |
| 13747 | #define CFG_ENABLE_RTT_MAC_RANDOMIZATION_MAX (1) |
| 13748 | #define CFG_ENABLE_RTT_MAC_RANDOMIZATION_DEFAULT (0) |
| 13749 | |
| 13750 | /* |
Ashish Kumar Dhanotiya | 959b38c | 2018-04-06 21:07:57 +0530 | [diff] [blame] | 13751 | * <ini> |
| 13752 | * gEnableSecondaryRate - Enable/Disable Secondary Retry Rate feature subset |
| 13753 | * |
| 13754 | * @Min: 0x0 |
| 13755 | * @Max: 0x3F |
Ashish Kumar Dhanotiya | cc1d6fd | 2018-05-02 15:49:42 +0530 | [diff] [blame] | 13756 | * @Default: 0x17 |
Ashish Kumar Dhanotiya | 959b38c | 2018-04-06 21:07:57 +0530 | [diff] [blame] | 13757 | * |
| 13758 | * It is a 32 bit value such that the various bits represent as below - |
| 13759 | * Bit-0 : is Enable/Disable Control for "PPDU Secondary Retry Support" |
| 13760 | * Bit-1 : is Enable/Disable Control for "RTS Black/White-listing Support" |
| 13761 | * Bit-2 : is Enable/Disable Control for "Higher MCS retry restriction |
| 13762 | * on XRETRY failures" |
| 13763 | * Bit 3-5 : is "Xretry threshold" to use |
| 13764 | * Bit 3~31 : reserved for future use. |
| 13765 | * |
| 13766 | * Usage: External |
| 13767 | * |
| 13768 | * </ini> |
| 13769 | */ |
| 13770 | #define CFG_ENABLE_SECONDARY_RATE_NAME "gEnableSecondaryRate" |
| 13771 | #define CFG_ENABLE_SECONDARY_RATE_MIN (0) |
| 13772 | #define CFG_ENABLE_SECONDARY_RATE_MAX (0x3F) |
Ashish Kumar Dhanotiya | cc1d6fd | 2018-05-02 15:49:42 +0530 | [diff] [blame] | 13773 | #define CFG_ENABLE_SECONDARY_RATE_DEFAULT (0x17) |
Ashish Kumar Dhanotiya | 959b38c | 2018-04-06 21:07:57 +0530 | [diff] [blame] | 13774 | |
| 13775 | /* |
Rachit Kankane | 0106e38 | 2018-05-16 18:59:28 +0530 | [diff] [blame] | 13776 | * <ini> |
| 13777 | * gNumVdevs - max number of VDEVs supported |
| 13778 | * |
| 13779 | * @Min: 0x1 |
| 13780 | * @Max: 0x4 |
| 13781 | * @Default: CFG_TGT_NUM_VDEV |
| 13782 | * |
| 13783 | * Usage: External |
| 13784 | * |
| 13785 | * </ini> |
| 13786 | */ |
| 13787 | #define CFG_NUM_VDEV_ENABLE_NAME "gNumVdevs" |
| 13788 | #define CFG_NUM_VDEV_ENABLE_MIN (0x1) |
| 13789 | #define CFG_NUM_VDEV_ENABLE_MAX (0x4) |
| 13790 | #define CFG_NUM_VDEV_ENABLE_DEFAULT (CFG_TGT_NUM_VDEV) |
| 13791 | |
Dundi Raviteja | eab3b8d | 2018-07-17 18:10:41 +0530 | [diff] [blame] | 13792 | #ifdef MWS_COEX |
| 13793 | /* |
| 13794 | * <ini> |
| 13795 | * gMwsCoex4gQuickTdm - Bitmap to control MWS-COEX 4G quick FTDM policy |
| 13796 | * @Min: 0x00000000 |
| 13797 | * @Max: 0xFFFFFFFF |
| 13798 | * @Default: 0x00000000 |
| 13799 | * |
| 13800 | * It is a 32 bit value such that the various bits represent as below: |
| 13801 | * Bit-0 : 0 - Don't allow quick FTDM policy (Default) |
| 13802 | * 1 - Allow quick FTDM policy |
| 13803 | * Bit 1-31 : reserved for future use |
| 13804 | * |
| 13805 | * It is used to enable or disable MWS-COEX 4G (LTE) Quick FTDM |
| 13806 | * |
| 13807 | * Usage: Internal |
| 13808 | * |
| 13809 | * </ini> |
| 13810 | */ |
| 13811 | |
| 13812 | #define CFG_MWS_COEX_4G_QUICK_FTDM_NAME "gMwsCoex4gQuickTdm" |
| 13813 | #define CFG_MWS_COEX_4G_QUICK_FTDM_MIN (0x00000000) |
| 13814 | #define CFG_MWS_COEX_4G_QUICK_FTDM_MAX (0xFFFFFFFF) |
| 13815 | #define CFG_MWS_COEX_4G_QUICK_FTDM_DEFAULT (0x00000000) |
| 13816 | |
| 13817 | /* |
| 13818 | * <ini> |
| 13819 | * gMwsCoex5gnrPwrLimit - Bitmap to set MWS-COEX 5G-NR power limit |
| 13820 | * @Min: 0x00000000 |
| 13821 | * @Max: 0xFFFFFFFF |
| 13822 | * @Default: 0x00000000 |
| 13823 | * |
| 13824 | * It is a 32 bit value such that the various bits represent as below: |
| 13825 | * Bit-0 : Don't apply user specific power limit, |
| 13826 | * use internal power limit (Default) |
| 13827 | * Bit 1-2 : Invalid value (Ignored) |
| 13828 | * Bit 3-21 : Apply the specified value as the external power limit, in dBm |
| 13829 | * Bit 22-31 : Invalid value (Ignored) |
| 13830 | * |
| 13831 | * It is used to set MWS-COEX 5G-NR power limit |
| 13832 | * |
| 13833 | * Usage: Internal |
| 13834 | * |
| 13835 | * </ini> |
| 13836 | */ |
| 13837 | |
| 13838 | #define CFG_MWS_COEX_5G_NR_PWR_LIMIT_NAME "gMwsCoex5gnrPwrLimit" |
| 13839 | #define CFG_MWS_COEX_5G_NR_PWR_LIMIT_MIN (0x00000000) |
| 13840 | #define CFG_MWS_COEX_5G_NR_PWR_LIMIT_MAX (0xFFFFFFFF) |
| 13841 | #define CFG_MWS_COEX_5G_NR_PWR_LIMIT_DEFAULT (0x00000000) |
| 13842 | #endif |
| 13843 | |
Rachit Kankane | 0106e38 | 2018-05-16 18:59:28 +0530 | [diff] [blame] | 13844 | /* |
Chaoli Zhou | 75b062f | 2018-06-11 12:36:54 +0800 | [diff] [blame] | 13845 | * <ini> |
| 13846 | * gEnableChangeChannelBandWidth - Enable/Disable change |
| 13847 | * channel&bandwidth in the mission mode |
| 13848 | * @Min: 0 |
| 13849 | * @Max: 1 |
| 13850 | * @Default: 0 |
| 13851 | * |
| 13852 | * 0 - not allow change channel&bandwidth by setMonChan |
| 13853 | * 1 - allow change channel&bandwidth by setMonChan |
| 13854 | * |
| 13855 | * Related: None |
| 13856 | * |
| 13857 | * Supported Feature: STA |
| 13858 | * |
| 13859 | * Usage: External |
| 13860 | * |
| 13861 | * </ini> |
| 13862 | */ |
| 13863 | #define CFG_CHANGE_CHANNEL_BANDWIDTH_NAME "gEnableChangeChannelBandWidth" |
| 13864 | #define CFG_CHANGE_CHANNEL_BANDWIDTH_MIN (0) |
| 13865 | #define CFG_CHANGE_CHANNEL_BANDWIDTH_MAX (1) |
| 13866 | #define CFG_CHANGE_CHANNEL_BANDWIDTH_DEFAULT (0) |
| 13867 | |
| 13868 | /* |
Ashish Kumar Dhanotiya | cb14b11 | 2018-01-19 19:26:44 +0530 | [diff] [blame] | 13869 | * Type declarations |
| 13870 | */ |
Naveen Rawat | 2b43089 | 2018-03-13 13:58:18 -0700 | [diff] [blame] | 13871 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13872 | struct hdd_config { |
| 13873 | /* Bitmap to track what is explicitly configured */ |
| 13874 | DECLARE_BITMAP(bExplicitCfg, MAX_CFG_INI_ITEMS); |
| 13875 | |
| 13876 | /* Config parameters */ |
Alok Kumar | b64650c | 2018-03-23 17:05:11 +0530 | [diff] [blame] | 13877 | #ifdef WLAN_NUD_TRACKING |
| 13878 | bool enable_nud_tracking; |
| 13879 | #endif |
Ashish Kumar Dhanotiya | 470af29 | 2017-05-31 20:46:00 +0530 | [diff] [blame] | 13880 | bool enable_connected_scan; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13881 | uint32_t RTSThreshold; |
| 13882 | uint32_t FragmentationThreshold; |
| 13883 | uint8_t OperatingChannel; |
| 13884 | bool ShortSlotTimeEnabled; |
| 13885 | bool Is11dSupportEnabled; |
| 13886 | bool Is11hSupportEnabled; |
| 13887 | bool fSupplicantCountryCodeHasPriority; |
| 13888 | uint32_t HeartbeatThresh24; |
| 13889 | char PowerUsageControl[4]; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13890 | bool fIsImpsEnabled; |
| 13891 | bool is_ps_enabled; |
Kiran Kumar Lokere | 0ac679c | 2016-11-17 17:43:36 -0800 | [diff] [blame] | 13892 | uint32_t auto_bmps_timer_val; |
Zhu Jianmin | 04392c4 | 2017-05-12 16:34:53 +0800 | [diff] [blame] | 13893 | uint32_t icmp_disable_ps_val; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13894 | uint32_t nBmpsMaxListenInterval; |
| 13895 | uint32_t nBmpsMinListenInterval; |
Srinivas Girigowda | 2fb677c | 2017-03-25 15:35:34 -0700 | [diff] [blame] | 13896 | enum hdd_dot11_mode dot11Mode; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13897 | uint32_t nChannelBondingMode24GHz; |
Abhishek Singh | b59f8d4 | 2017-07-31 14:42:47 +0530 | [diff] [blame] | 13898 | bool override_ht20_40_24g; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13899 | uint32_t nChannelBondingMode5GHz; |
| 13900 | uint32_t MaxRxAmpduFactor; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13901 | uint32_t ScanResultAgeCount; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13902 | uint8_t nRssiCatGap; |
| 13903 | bool fIsShortPreamble; |
Anurag Chouhan | 6d76066 | 2016-02-20 16:05:43 +0530 | [diff] [blame] | 13904 | struct qdf_mac_addr IbssBssid; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13905 | uint32_t AdHocChannel5G; |
| 13906 | uint32_t AdHocChannel24G; |
| 13907 | uint8_t intfAddrMask; |
Anurag Chouhan | 6d76066 | 2016-02-20 16:05:43 +0530 | [diff] [blame] | 13908 | struct qdf_mac_addr intfMacAddr[QDF_MAX_CONCURRENCY_PERSONA]; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13909 | |
| 13910 | bool apUapsdEnabled; |
| 13911 | bool apRandomBssidEnabled; |
| 13912 | bool apProtEnabled; |
| 13913 | uint16_t apProtection; |
| 13914 | bool apOBSSProtEnabled; |
| 13915 | bool apDisableIntraBssFwd; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13916 | uint8_t enableLTECoex; |
| 13917 | uint32_t apKeepAlivePeriod; |
Dustin Brown | b6b0f18 | 2017-03-08 13:08:27 -0800 | [diff] [blame] | 13918 | enum station_keepalive_method sta_keepalive_method; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13919 | uint32_t apLinkMonitorPeriod; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13920 | uint32_t nBeaconInterval; |
| 13921 | uint8_t nTxPowerCap; /* In dBm */ |
Padma, Santhosh Kumar | 29df362 | 2016-08-16 19:15:16 +0530 | [diff] [blame] | 13922 | bool allow_tpc_from_ap; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13923 | uint8_t disablePacketFilter; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13924 | bool fRrmEnable; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13925 | uint16_t nRrmRandnIntvl; |
Krishna Kumaar Natarajan | f599c6e | 2015-11-03 11:44:03 -0800 | [diff] [blame] | 13926 | /* length includes separator */ |
| 13927 | char rm_capability[3 * DOT11F_IE_RRMENABLEDCAP_MAX_LEN]; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13928 | |
Rachit Kankane | f6834c4 | 2018-08-02 18:47:50 +0530 | [diff] [blame^] | 13929 | #ifdef FEATURE_WLAN_DYNAMIC_CVM |
Nachiket Kukade | 8983cf6 | 2017-10-12 18:14:48 +0530 | [diff] [blame] | 13930 | /* Bitmap for operating voltage corner mode */ |
| 13931 | uint32_t vc_mode_cfg_bitmap; |
Rachit Kankane | f6834c4 | 2018-08-02 18:47:50 +0530 | [diff] [blame^] | 13932 | #endif |
Nachiket Kukade | 8983cf6 | 2017-10-12 18:14:48 +0530 | [diff] [blame] | 13933 | |
Dundi Raviteja | eab3b8d | 2018-07-17 18:10:41 +0530 | [diff] [blame] | 13934 | #ifdef MWS_COEX |
| 13935 | /* Bitmap for MWS-COEX 4G Quick FTDM */ |
| 13936 | uint32_t mws_coex_4g_quick_tdm; |
| 13937 | |
| 13938 | /* Bitmap for MWS-COEX 5G-NR power limit */ |
| 13939 | uint32_t mws_coex_5g_nr_pwr_limit; |
| 13940 | #endif |
| 13941 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13942 | uint16_t nNeighborScanPeriod; |
Sridhar Selvaraj | 1b2330c | 2017-07-21 15:16:42 +0530 | [diff] [blame] | 13943 | uint16_t neighbor_scan_min_period; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13944 | uint8_t nNeighborLookupRssiThreshold; |
| 13945 | uint8_t delay_before_vdev_stop; |
| 13946 | uint8_t nOpportunisticThresholdDiff; |
| 13947 | uint8_t nRoamRescanRssiDiff; |
| 13948 | uint8_t neighborScanChanList[WNI_CFG_VALID_CHANNEL_LIST_LEN]; |
| 13949 | uint16_t nNeighborScanMinChanTime; |
| 13950 | uint16_t nNeighborScanMaxChanTime; |
| 13951 | uint16_t nMaxNeighborReqTries; |
| 13952 | uint16_t nNeighborResultsRefreshPeriod; |
| 13953 | uint16_t nEmptyScanRefreshPeriod; |
| 13954 | uint8_t nRoamBmissFirstBcnt; |
| 13955 | uint8_t nRoamBmissFinalBcnt; |
| 13956 | uint8_t nRoamBeaconRssiWeight; |
| 13957 | uint32_t nhi_rssi_scan_max_count; |
| 13958 | uint32_t nhi_rssi_scan_rssi_delta; |
| 13959 | uint32_t nhi_rssi_scan_delay; |
| 13960 | int32_t nhi_rssi_scan_rssi_ub; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13961 | |
| 13962 | /* Additional Handoff params */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13963 | uint16_t nVccRssiTrigger; |
| 13964 | uint32_t nVccUlMacLossThreshold; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13965 | uint32_t nPassiveMaxChnTime; /* in units of milliseconds */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13966 | uint32_t nActiveMaxChnTime; /* in units of milliseconds */ |
Kiran Kumar Lokere | a2dfefe | 2017-06-29 19:01:24 -0700 | [diff] [blame] | 13967 | uint32_t scan_probe_repeat_time; |
| 13968 | uint32_t scan_num_probes; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13969 | |
| 13970 | uint32_t nInitialDwellTime; /* in units of milliseconds */ |
| 13971 | bool initial_scan_no_dfs_chnl; |
| 13972 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13973 | uint32_t nPassiveMinChnTimeConc; /* in units of milliseconds */ |
| 13974 | uint32_t nPassiveMaxChnTimeConc; /* in units of milliseconds */ |
| 13975 | uint32_t nActiveMinChnTimeConc; /* in units of milliseconds */ |
| 13976 | uint32_t nActiveMaxChnTimeConc; /* in units of milliseconds */ |
| 13977 | uint32_t nRestTimeConc; /* in units of milliseconds */ |
Agrawal Ashish | 17bb390 | 2016-05-05 13:29:40 +0530 | [diff] [blame] | 13978 | /* In units of milliseconds */ |
| 13979 | uint32_t min_rest_time_conc; |
| 13980 | /* In units of milliseconds */ |
| 13981 | uint32_t idle_time_conc; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13982 | |
| 13983 | uint8_t nMaxPsPoll; |
| 13984 | |
| 13985 | uint8_t nRssiFilterPeriod; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13986 | uint8_t fMaxLIModulatedDTIM; |
| 13987 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13988 | bool mcc_rts_cts_prot_enable; |
| 13989 | bool mcc_bcast_prob_resp_enable; |
| 13990 | uint8_t nDataInactivityTimeout; |
Mukul Sharma | ed92f2f | 2017-04-20 00:06:28 +0530 | [diff] [blame] | 13991 | uint8_t wow_data_inactivity_timeout; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13992 | |
| 13993 | /* WMM QoS Configuration */ |
Srinivas Girigowda | ea32d6a | 2017-03-25 00:03:12 -0700 | [diff] [blame] | 13994 | enum hdd_wmm_user_mode WmmMode; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 13995 | bool b80211eIsEnabled; |
| 13996 | uint8_t UapsdMask; /* what ACs to setup U-APSD for at assoc */ |
| 13997 | uint32_t InfraUapsdVoSrvIntv; |
| 13998 | uint32_t InfraUapsdVoSuspIntv; |
| 13999 | uint32_t InfraUapsdViSrvIntv; |
| 14000 | uint32_t InfraUapsdViSuspIntv; |
| 14001 | uint32_t InfraUapsdBeSrvIntv; |
| 14002 | uint32_t InfraUapsdBeSuspIntv; |
| 14003 | uint32_t InfraUapsdBkSrvIntv; |
| 14004 | uint32_t InfraUapsdBkSuspIntv; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14005 | bool isFastRoamIniFeatureEnabled; |
| 14006 | bool MAWCEnabled; |
Varun Reddy Yeturu | 061d4d6 | 2017-07-20 09:39:32 -0700 | [diff] [blame] | 14007 | bool mawc_roam_enabled; |
| 14008 | uint32_t mawc_roam_traffic_threshold; |
| 14009 | int8_t mawc_roam_ap_rssi_threshold; |
| 14010 | uint8_t mawc_roam_rssi_high_adjust; |
| 14011 | uint8_t mawc_roam_rssi_low_adjust; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14012 | #ifdef FEATURE_WLAN_ESE |
| 14013 | uint32_t InfraInactivityInterval; |
| 14014 | bool isEseIniFeatureEnabled; |
| 14015 | #endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14016 | bool isFastTransitionEnabled; |
| 14017 | uint8_t RoamRssiDiff; |
Abhishek Singh | 34c0e63 | 2017-09-28 14:39:29 +0530 | [diff] [blame] | 14018 | int32_t rssi_abs_thresh; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14019 | bool isWESModeEnabled; |
Deepak Dhamdhere | 828f189 | 2017-02-09 11:51:19 -0800 | [diff] [blame] | 14020 | uint32_t pmkid_modes; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14021 | bool isRoamOffloadScanEnabled; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14022 | bool bImplicitQosEnabled; |
| 14023 | |
| 14024 | /* default TSPEC parameters for AC_VO */ |
Abhishek Singh | 12be60f | 2017-08-11 13:52:42 +0530 | [diff] [blame] | 14025 | enum sme_qos_wmm_dir_type InfraDirAcVo; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14026 | uint16_t InfraNomMsduSizeAcVo; |
| 14027 | uint32_t InfraMeanDataRateAcVo; |
| 14028 | uint32_t InfraMinPhyRateAcVo; |
| 14029 | uint16_t InfraSbaAcVo; |
| 14030 | |
| 14031 | /* default TSPEC parameters for AC_VI */ |
Abhishek Singh | 12be60f | 2017-08-11 13:52:42 +0530 | [diff] [blame] | 14032 | enum sme_qos_wmm_dir_type InfraDirAcVi; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14033 | uint16_t InfraNomMsduSizeAcVi; |
| 14034 | uint32_t InfraMeanDataRateAcVi; |
| 14035 | uint32_t InfraMinPhyRateAcVi; |
| 14036 | uint16_t InfraSbaAcVi; |
| 14037 | |
| 14038 | /* default TSPEC parameters for AC_BE */ |
Abhishek Singh | 12be60f | 2017-08-11 13:52:42 +0530 | [diff] [blame] | 14039 | enum sme_qos_wmm_dir_type InfraDirAcBe; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14040 | uint16_t InfraNomMsduSizeAcBe; |
| 14041 | uint32_t InfraMeanDataRateAcBe; |
| 14042 | uint32_t InfraMinPhyRateAcBe; |
| 14043 | uint16_t InfraSbaAcBe; |
| 14044 | |
| 14045 | /* default TSPEC parameters for AC_BK */ |
Abhishek Singh | 12be60f | 2017-08-11 13:52:42 +0530 | [diff] [blame] | 14046 | enum sme_qos_wmm_dir_type InfraDirAcBk; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14047 | uint16_t InfraNomMsduSizeAcBk; |
| 14048 | uint32_t InfraMeanDataRateAcBk; |
| 14049 | uint32_t InfraMinPhyRateAcBk; |
| 14050 | uint16_t InfraSbaAcBk; |
| 14051 | |
| 14052 | uint32_t DelayedTriggerFrmInt; |
| 14053 | |
Sourav Mohapatra | 57006c7 | 2017-11-19 16:15:55 +0530 | [diff] [blame] | 14054 | char enableConcurrentSTA[CFG_CONCURRENT_IFACE_MAX_LEN]; |
| 14055 | |
Srinivas Girigowda | 2fb677c | 2017-03-25 15:35:34 -0700 | [diff] [blame] | 14056 | /* Control for Replay counetr. value 1 means |
| 14057 | * single replay counter for all TID |
Jeff Johnson | dcd2cf9 | 2017-01-12 10:44:23 -0800 | [diff] [blame] | 14058 | */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14059 | bool bSingleTidRc; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14060 | bool fhostArpOffload; |
Nachiket Kukade | f080407 | 2018-02-27 18:20:07 +0530 | [diff] [blame] | 14061 | enum pmo_hw_filter_mode hw_filter_mode_bitmap; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14062 | bool ssdp; |
Houston Hoffman | c7c69f0 | 2016-03-24 22:45:52 -0700 | [diff] [blame] | 14063 | |
| 14064 | #ifdef FEATURE_RUNTIME_PM |
| 14065 | bool runtime_pm; |
| 14066 | uint32_t runtime_pm_delay; |
| 14067 | #endif |
| 14068 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14069 | #ifdef FEATURE_WLAN_RA_FILTERING |
| 14070 | bool IsRArateLimitEnabled; |
| 14071 | uint16_t RArateLimitInterval; |
| 14072 | #endif |
| 14073 | #ifdef FEATURE_WLAN_SCAN_PNO |
| 14074 | bool PnoOffload; |
| 14075 | #endif |
| 14076 | bool fhostNSOffload; |
| 14077 | bool burstSizeDefinition; |
| 14078 | uint8_t tsInfoAckPolicy; |
| 14079 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14080 | bool AddTSWhenACMIsOff; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14081 | |
| 14082 | uint32_t infraStaKeepAlivePeriod; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14083 | uint8_t nBandCapability; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14084 | bool teleBcnWakeupEn; |
| 14085 | |
Anurag Chouhan | f04e84f | 2016-03-03 10:12:12 +0530 | [diff] [blame] | 14086 | /* QDF Trace Control*/ |
| 14087 | uint16_t qdf_trace_enable_wdi; |
| 14088 | uint16_t qdf_trace_enable_hdd; |
| 14089 | uint16_t qdf_trace_enable_sme; |
| 14090 | uint16_t qdf_trace_enable_pe; |
| 14091 | uint16_t qdf_trace_enable_pmc; |
| 14092 | uint16_t qdf_trace_enable_wma; |
| 14093 | uint16_t qdf_trace_enable_sys; |
| 14094 | uint16_t qdf_trace_enable_qdf; |
| 14095 | uint16_t qdf_trace_enable_sap; |
| 14096 | uint16_t qdf_trace_enable_hdd_sap; |
| 14097 | uint16_t qdf_trace_enable_bmi; |
| 14098 | uint16_t qdf_trace_enable_cfg; |
Houston Hoffman | fbf0510 | 2017-08-28 11:37:01 -0700 | [diff] [blame] | 14099 | uint16_t qdf_trace_enable_txrx; |
| 14100 | uint16_t qdf_trace_enable_dp; |
Anurag Chouhan | f04e84f | 2016-03-03 10:12:12 +0530 | [diff] [blame] | 14101 | uint16_t qdf_trace_enable_htc; |
| 14102 | uint16_t qdf_trace_enable_hif; |
| 14103 | uint16_t qdf_trace_enable_hdd_sap_data; |
| 14104 | uint16_t qdf_trace_enable_hdd_data; |
| 14105 | uint16_t qdf_trace_enable_epping; |
| 14106 | uint16_t qdf_trace_enable_qdf_devices; |
Naveen Rawat | 7df3186 | 2017-03-01 17:09:30 -0800 | [diff] [blame] | 14107 | uint16_t qdf_trace_enable_wifi_pos; |
Naveen Rawat | f2b0dbd | 2017-03-27 10:00:15 -0700 | [diff] [blame] | 14108 | uint16_t qdf_trace_enable_nan; |
Kiran Kumar Lokere | 798de7e | 2017-03-30 14:01:12 -0700 | [diff] [blame] | 14109 | uint16_t qdf_trace_enable_regulatory; |
Naveen Rawat | 3cb779e | 2018-02-16 16:36:10 -0800 | [diff] [blame] | 14110 | uint16_t qdf_trace_enable_cp_stats; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14111 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14112 | uint16_t nTeleBcnMaxListenInterval; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14113 | uint8_t enableBypass11d; |
| 14114 | uint8_t enableDFSChnlScan; |
| 14115 | uint8_t enable_dfs_pno_chnl_scan; |
| 14116 | uint8_t enableDynamicDTIM; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14117 | uint8_t ShortGI40MhzEnable; |
Srinivas Girigowda | 2fb677c | 2017-03-25 15:35:34 -0700 | [diff] [blame] | 14118 | enum hdd_link_speed_rpt_type reportMaxLinkSpeed; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14119 | int32_t linkSpeedRssiHigh; |
| 14120 | int32_t linkSpeedRssiMid; |
| 14121 | int32_t linkSpeedRssiLow; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14122 | bool nRoamPrefer5GHz; |
| 14123 | bool nRoamIntraBand; |
| 14124 | uint8_t nProbes; |
| 14125 | uint16_t nRoamScanHomeAwayTime; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14126 | uint8_t enableMCC; |
| 14127 | uint8_t allowMCCGODiffBI; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14128 | uint8_t thermalMitigationEnable; |
| 14129 | uint32_t throttlePeriod; |
Poddar, Siddarth | 8390502 | 2016-04-16 17:56:08 -0700 | [diff] [blame] | 14130 | uint32_t throttle_dutycycle_level0; |
| 14131 | uint32_t throttle_dutycycle_level1; |
| 14132 | uint32_t throttle_dutycycle_level2; |
| 14133 | uint32_t throttle_dutycycle_level3; |
Poddar, Siddarth | b61cf64 | 2016-04-28 16:02:39 +0530 | [diff] [blame] | 14134 | #if defined(CONFIG_HL_SUPPORT) && defined(QCA_BAD_PEER_TX_FLOW_CL) |
| 14135 | bool bad_peer_txctl_enable; |
| 14136 | uint32_t bad_peer_txctl_prd; |
| 14137 | uint32_t bad_peer_txctl_txq_lmt; |
| 14138 | uint32_t bad_peer_tgt_backoff; |
| 14139 | uint32_t bad_peer_tgt_report_prd; |
| 14140 | uint32_t bad_peer_cond_ieee80211b; |
| 14141 | uint32_t bad_peer_delta_ieee80211b; |
| 14142 | uint32_t bad_peer_pct_ieee80211b; |
| 14143 | uint32_t bad_peer_tput_ieee80211b; |
| 14144 | uint32_t bad_peer_limit_ieee80211b; |
| 14145 | uint32_t bad_peer_cond_ieee80211ag; |
| 14146 | uint32_t bad_peer_delta_ieee80211ag; |
| 14147 | uint32_t bad_peer_pct_ieee80211ag; |
| 14148 | uint32_t bad_peer_tput_ieee80211ag; |
| 14149 | uint32_t bad_peer_limit_ieee80211ag; |
| 14150 | uint32_t bad_peer_cond_ieee80211n; |
| 14151 | uint32_t bad_peer_delta_ieee80211n; |
| 14152 | uint32_t bad_peer_pct_ieee80211n; |
| 14153 | uint32_t bad_peer_tput_ieee80211n; |
| 14154 | uint32_t bad_peer_limit_ieee80211n; |
| 14155 | uint32_t bad_peer_cond_ieee80211ac; |
| 14156 | uint32_t bad_peer_delta_ieee80211ac; |
| 14157 | uint32_t bad_peer_pct_ieee80211ac; |
| 14158 | uint32_t bad_peer_tput_ieee80211ac; |
| 14159 | uint32_t bad_peer_limit_ieee80211ac; |
| 14160 | #endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14161 | uint8_t vhtChannelWidth; |
| 14162 | uint8_t vhtRxMCS; |
| 14163 | uint8_t vhtTxMCS; |
| 14164 | bool enableTxBF; |
Abhishek Singh | 6884428 | 2018-01-25 16:48:41 +0530 | [diff] [blame] | 14165 | bool enable_subfee_vendor_vhtie; |
Kiran Kumar Lokere | 5302ab6 | 2015-12-16 16:03:16 -0800 | [diff] [blame] | 14166 | bool enable_txbf_sap_mode; |
Kiran Kumar Lokere | 0e25517 | 2018-03-30 18:54:25 -0700 | [diff] [blame] | 14167 | bool enable_vht20_mcs9; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14168 | uint8_t txBFCsnValue; |
| 14169 | bool enable_su_tx_bformer; |
| 14170 | uint8_t vhtRxMCS2x2; |
| 14171 | uint8_t vhtTxMCS2x2; |
| 14172 | bool enable2x2; |
Kiran Kumar Lokere | 666bf85 | 2016-05-02 12:23:02 -0700 | [diff] [blame] | 14173 | uint32_t vdev_type_nss_2g; |
| 14174 | uint32_t vdev_type_nss_5g; |
Naveen Rawat | 06c4ebe | 2018-01-17 16:23:53 -0800 | [diff] [blame] | 14175 | uint8_t txchainmask1x1; |
| 14176 | uint8_t rxchainmask1x1; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14177 | bool enableMuBformee; |
| 14178 | bool enableVhtpAid; |
| 14179 | bool enableVhtGid; |
| 14180 | bool enableTxBFin20MHz; |
| 14181 | uint8_t enableAmpduPs; |
| 14182 | uint8_t enableHtSmps; |
| 14183 | uint8_t htSmps; |
| 14184 | uint8_t enableModulatedDTIM; |
| 14185 | uint32_t fEnableMCAddrList; |
| 14186 | bool enableFirstScan2GOnly; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14187 | bool enableRxSTBC; |
| 14188 | bool enableTxSTBC; |
Krunal Soni | a2c0e41 | 2017-05-04 14:12:41 +0530 | [diff] [blame] | 14189 | uint8_t enable_tx_ldpc; |
| 14190 | uint8_t enable_rx_ldpc; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14191 | bool enable5gEBT; |
Dustin Brown | fe7aa87 | 2017-06-26 10:52:08 -0700 | [diff] [blame] | 14192 | bool prevent_link_down; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14193 | uint8_t scanAgingTimeout; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14194 | uint8_t disableLDPCWithTxbfAP; |
| 14195 | uint8_t enableMCCAdaptiveScheduler; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14196 | bool sapAllowAllChannel; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14197 | bool enableSSR; |
Poddar, Siddarth | 3703303 | 2017-10-11 15:47:40 +0530 | [diff] [blame] | 14198 | bool enable_data_stall_det; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14199 | bool enableVhtFor24GHzBand; |
Kapil Gupta | 4b2efbb | 2016-10-03 13:07:20 +0530 | [diff] [blame] | 14200 | bool enable_sap_vendor_vht; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14201 | bool bFastRoamInConIniFeatureEnabled; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14202 | bool fEnableSNRMonitoring; |
| 14203 | /*PNO related parameters */ |
| 14204 | #ifdef FEATURE_WLAN_SCAN_PNO |
| 14205 | bool configPNOScanSupport; |
| 14206 | uint32_t configPNOScanTimerRepeatValue; |
Srinivas Girigowda | bdc9816 | 2015-09-17 11:06:07 -0700 | [diff] [blame] | 14207 | uint32_t pno_slow_scan_multiplier; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14208 | #endif |
Deepak Dhamdhere | 612392c | 2016-08-28 02:56:51 -0700 | [diff] [blame] | 14209 | uint8_t max_amsdu_num; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14210 | uint8_t nSelect5GHzMargin; |
| 14211 | uint8_t isCoalesingInIBSSAllowed; |
| 14212 | |
| 14213 | /* IBSS Power Save related parameters */ |
| 14214 | uint32_t ibssATIMWinSize; |
| 14215 | uint8_t isIbssPowerSaveAllowed; |
| 14216 | uint8_t isIbssPowerCollapseAllowed; |
| 14217 | uint8_t isIbssAwakeOnTxRx; |
| 14218 | uint32_t ibssInactivityCount; |
| 14219 | uint32_t ibssTxSpEndInactivityTime; |
| 14220 | uint32_t ibssPsWarmupTime; |
| 14221 | uint32_t ibssPs1RxChainInAtimEnable; |
| 14222 | |
| 14223 | bool enable_ip_tcp_udp_checksum_offload; |
Ashish Kumar Dhanotiya | bb22e0d | 2017-04-03 10:44:14 +0530 | [diff] [blame] | 14224 | uint8_t enablePowersaveOffload; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14225 | bool enablefwprint; |
Yuanyuan Liu | 7a97b8f | 2017-01-27 10:42:52 -0800 | [diff] [blame] | 14226 | uint8_t enable_fw_log; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14227 | uint8_t fVhtAmpduLenExponent; |
| 14228 | uint32_t vhtMpduLen; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14229 | uint32_t IpaConfig; |
| 14230 | bool IpaClkScalingEnable; |
| 14231 | uint32_t IpaDescSize; |
| 14232 | uint32_t IpaHighBandwidthMbps; |
| 14233 | uint32_t IpaMediumBandwidthMbps; |
| 14234 | uint32_t IpaLowBandwidthMbps; |
| 14235 | #ifdef FEATURE_WLAN_MCC_TO_SCC_SWITCH |
| 14236 | uint32_t WlanMccToSccSwitchMode; |
| 14237 | #endif |
| 14238 | #ifdef FEATURE_WLAN_AUTO_SHUTDOWN |
| 14239 | uint32_t WlanAutoShutdown; |
| 14240 | #endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14241 | uint8_t wowEnable; |
| 14242 | uint8_t maxNumberOfPeers; |
| 14243 | uint8_t disableDFSChSwitch; |
| 14244 | uint8_t enableDFSMasterCap; |
| 14245 | uint16_t thermalTempMinLevel0; |
| 14246 | uint16_t thermalTempMaxLevel0; |
| 14247 | uint16_t thermalTempMinLevel1; |
| 14248 | uint16_t thermalTempMaxLevel1; |
| 14249 | uint16_t thermalTempMinLevel2; |
| 14250 | uint16_t thermalTempMaxLevel2; |
| 14251 | uint16_t thermalTempMinLevel3; |
| 14252 | uint16_t thermalTempMaxLevel3; |
| 14253 | uint32_t TxPower2g; |
| 14254 | uint32_t TxPower5g; |
| 14255 | uint32_t gEnableDebugLog; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14256 | bool fDfsPhyerrFilterOffload; |
| 14257 | uint8_t gSapPreferredChanLocation; |
| 14258 | uint8_t gDisableDfsJapanW53; |
| 14259 | bool gEnableOverLapCh; |
| 14260 | bool fRegChangeDefCountry; |
gaolez | e510894 | 2017-03-31 16:56:42 +0800 | [diff] [blame] | 14261 | bool acs_with_more_param; |
| 14262 | uint32_t auto_channel_select_weight; |
Will Huang | 496b36c | 2017-07-11 16:38:50 +0800 | [diff] [blame] | 14263 | bool sap_get_peer_info; |
Hong Shi | b90718f | 2017-02-20 00:57:22 +0800 | [diff] [blame] | 14264 | uint8_t rate_for_tx_mgmt; |
Hong Shi | 2d384fd | 2017-05-22 18:38:41 +0800 | [diff] [blame] | 14265 | uint8_t rate_for_tx_mgmt_2g; |
| 14266 | uint8_t rate_for_tx_mgmt_5g; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14267 | #ifdef QCA_LL_LEGACY_TX_FLOW_CONTROL |
| 14268 | uint32_t TxFlowLowWaterMark; |
| 14269 | uint32_t TxFlowHighWaterMarkOffset; |
| 14270 | uint32_t TxFlowMaxQueueDepth; |
| 14271 | uint32_t TxLbwFlowLowWaterMark; |
| 14272 | uint32_t TxLbwFlowHighWaterMarkOffset; |
| 14273 | uint32_t TxLbwFlowMaxQueueDepth; |
| 14274 | uint32_t TxHbwFlowLowWaterMark; |
| 14275 | uint32_t TxHbwFlowHighWaterMarkOffset; |
| 14276 | uint32_t TxHbwFlowMaxQueueDepth; |
| 14277 | #endif /* QCA_LL_LEGACY_TX_FLOW_CONTROL */ |
| 14278 | #ifdef QCA_LL_TX_FLOW_CONTROL_V2 |
| 14279 | uint32_t TxFlowStopQueueThreshold; |
| 14280 | uint32_t TxFlowStartQueueOffset; |
| 14281 | #endif |
| 14282 | uint8_t apMaxOffloadPeers; |
| 14283 | uint8_t apMaxOffloadReorderBuffs; |
| 14284 | bool advertiseConcurrentOperation; |
| 14285 | bool enableMemDeepSleep; |
Dustin Brown | 732ab9c | 2017-06-15 13:24:09 -0700 | [diff] [blame] | 14286 | bool enable_cck_tx_fir_override; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14287 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14288 | uint8_t allowDFSChannelRoam; |
| 14289 | |
Nirav Shah | bb8e47c | 2018-05-17 16:56:41 +0530 | [diff] [blame] | 14290 | #ifndef REMOVE_PKT_LOG |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14291 | bool enablePacketLog; |
Nirav Shah | bb8e47c | 2018-05-17 16:56:41 +0530 | [diff] [blame] | 14292 | #endif |
| 14293 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14294 | #ifdef MSM_PLATFORM |
| 14295 | uint32_t busBandwidthHighThreshold; |
| 14296 | uint32_t busBandwidthMediumThreshold; |
| 14297 | uint32_t busBandwidthLowThreshold; |
| 14298 | uint32_t busBandwidthComputeInterval; |
Ravi Joshi | e2331e8 | 2015-07-01 18:18:54 -0700 | [diff] [blame] | 14299 | uint32_t enable_tcp_delack; |
Prakash Manjunathappa | e73e3b5 | 2018-02-27 18:56:22 -0800 | [diff] [blame] | 14300 | bool enable_tcp_limit_output; |
Mohit Khanna | 6272fb68 | 2017-04-13 09:34:36 -0700 | [diff] [blame] | 14301 | uint32_t enable_tcp_adv_win_scale; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14302 | uint32_t tcpDelackThresholdHigh; |
| 14303 | uint32_t tcpDelackThresholdLow; |
Mohit Khanna | e71e226 | 2015-11-10 09:37:24 -0800 | [diff] [blame] | 14304 | uint32_t tcp_tx_high_tput_thres; |
Ravi Joshi | b89e7f7 | 2016-09-07 13:43:15 -0700 | [diff] [blame] | 14305 | uint32_t tcp_delack_timer_count; |
Mohit Khanna | ca4173b | 2017-09-12 21:52:19 -0700 | [diff] [blame] | 14306 | u8 periodic_stats_disp_time; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14307 | #endif /* MSM_PLATFORM */ |
| 14308 | |
| 14309 | /* FW debug log parameters */ |
| 14310 | uint32_t enableFwLogType; |
| 14311 | uint32_t enableFwLogLevel; |
| 14312 | uint8_t enableFwModuleLogLevel[FW_MODULE_LOG_LEVEL_STRING_LENGTH]; |
| 14313 | |
Rajeev Kumar Sirasanagandla | 0be56df | 2016-09-08 19:19:47 +0530 | [diff] [blame] | 14314 | /* RTS profile parameter */ |
| 14315 | uint32_t rts_profile; |
| 14316 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14317 | #ifdef WLAN_FEATURE_11W |
| 14318 | uint32_t pmfSaQueryMaxRetries; |
| 14319 | uint32_t pmfSaQueryRetryInterval; |
| 14320 | #endif |
| 14321 | |
| 14322 | uint8_t gMaxConcurrentActiveSessions; |
| 14323 | |
| 14324 | uint8_t ignoreCAC; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14325 | |
SaidiReddy Yenuga | cc733af | 2016-11-09 17:45:42 +0530 | [diff] [blame] | 14326 | /* Flag to indicate crash inject enabled or not */ |
| 14327 | bool crash_inject_enabled; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14328 | |
Ganesh Kondabattini | 408fb8d | 2017-08-08 22:00:20 +0530 | [diff] [blame] | 14329 | bool enable_sap_mandatory_chan_list; |
| 14330 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14331 | int32_t dfsRadarPriMultiplier; |
| 14332 | uint8_t reorderOffloadSupport; |
| 14333 | |
| 14334 | #ifdef WLAN_FEATURE_ROAM_OFFLOAD |
| 14335 | bool isRoamOffloadEnabled; |
| 14336 | #endif |
| 14337 | |
| 14338 | uint32_t IpaUcTxBufCount; |
| 14339 | uint32_t IpaUcTxBufSize; |
| 14340 | uint32_t IpaUcRxIndRingCount; |
| 14341 | uint32_t IpaUcTxPartitionBase; |
| 14342 | #ifdef WLAN_LOGGING_SOCK_SVC_ENABLE |
| 14343 | /* WLAN Logging */ |
Nirav Shah | eb017be | 2018-02-15 11:20:58 +0530 | [diff] [blame] | 14344 | bool wlan_logging_enable; |
| 14345 | bool wlan_logging_to_console; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14346 | #endif /* WLAN_LOGGING_SOCK_SVC_ENABLE */ |
| 14347 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14348 | #ifdef WLAN_FEATURE_LPSS |
Komal Seelam | c11bb22 | 2016-01-27 18:57:10 +0530 | [diff] [blame] | 14349 | bool enable_lpass_support; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14350 | #endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14351 | bool enableSelfRecovery; |
| 14352 | #ifdef FEATURE_WLAN_FORCE_SAP_SCC |
| 14353 | uint8_t SapSccChanAvoidance; |
| 14354 | #endif /* FEATURE_WLAN_FORCE_SAP_SCC */ |
| 14355 | |
Jeff Johnson | 60cbd2d | 2017-11-03 18:26:28 -0700 | [diff] [blame] | 14356 | bool enable_sap_suspend; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14357 | |
| 14358 | #ifdef WLAN_FEATURE_EXTWOW_SUPPORT |
| 14359 | uint8_t extWowGotoSuspend; |
| 14360 | uint8_t extWowApp1WakeupPinNumber; |
| 14361 | uint8_t extWowApp2WakeupPinNumber; |
| 14362 | uint32_t extWowApp2KAInitPingInterval; |
| 14363 | uint32_t extWowApp2KAMinPingInterval; |
| 14364 | uint32_t extWowApp2KAMaxPingInterval; |
| 14365 | uint32_t extWowApp2KAIncPingInterval; |
| 14366 | uint16_t extWowApp2TcpSrcPort; |
| 14367 | uint16_t extWowApp2TcpDstPort; |
| 14368 | uint32_t extWowApp2TcpTxTimeout; |
| 14369 | uint32_t extWowApp2TcpRxTimeout; |
| 14370 | #endif |
| 14371 | bool gEnableDeauthToDisassocMap; |
| 14372 | #ifdef DHCP_SERVER_OFFLOAD |
| 14373 | bool enableDHCPServerOffload; |
| 14374 | uint32_t dhcpMaxNumClients; |
| 14375 | uint8_t dhcpServerIP[IPADDR_STRING_LENGTH]; |
| 14376 | #endif /* DHCP_SERVER_OFFLOAD */ |
| 14377 | bool enable_mac_spoofing; |
| 14378 | uint8_t conc_custom_rule1; |
| 14379 | uint8_t conc_custom_rule2; |
| 14380 | uint8_t is_sta_connection_in_5gz_enabled; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14381 | uint32_t sta_miracast_mcc_rest_time_val; |
| 14382 | bool is_ramdump_enabled; |
| 14383 | #ifdef FEATURE_AP_MCC_CH_AVOIDANCE |
| 14384 | bool sap_channel_avoidance; |
| 14385 | #endif /* FEATURE_AP_MCC_CH_AVOIDANCE */ |
Himanshu Agarwal | 4ecf6ca | 2018-05-09 16:48:56 +0530 | [diff] [blame] | 14386 | uint8_t sap_11ac_override; |
| 14387 | uint8_t go_11ac_override; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14388 | uint8_t sap_dot11mc; |
| 14389 | uint8_t prefer_non_dfs_on_radar; |
| 14390 | bool ignore_peer_erp_info; |
| 14391 | uint8_t multicast_host_fw_msgs; |
| 14392 | uint8_t conc_system_pref; |
Jeff Johnson | 1ad3fbd | 2017-11-03 08:00:02 -0700 | [diff] [blame] | 14393 | bool send_deauth_before_con; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14394 | bool tso_enable; |
| 14395 | bool lro_enable; |
Manjunathappa Prakash | 7b0ad46 | 2018-04-15 00:37:16 -0700 | [diff] [blame] | 14396 | bool gro_enable; |
Manjunathappa Prakash | fff753c | 2016-09-01 19:34:56 -0700 | [diff] [blame] | 14397 | bool flow_steering_enable; |
Orhan K AKYILDIZ | 30e8cbc | 2017-08-11 18:00:28 -0700 | [diff] [blame] | 14398 | uint8_t max_msdus_per_rxinorderind; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14399 | bool active_mode_offload; |
Nachiket Kukade | e547a48 | 2018-05-22 16:43:30 +0530 | [diff] [blame] | 14400 | bool apf_packet_filter_enable; |
Nitesh Shah | 61c10d9 | 2016-10-19 19:29:15 +0530 | [diff] [blame] | 14401 | /* parameter for defer timer for enabling TDLS on p2p listen */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14402 | uint32_t fine_time_meas_cap; |
| 14403 | uint8_t max_scan_count; |
| 14404 | #ifdef WLAN_FEATURE_FASTPATH |
| 14405 | bool fastpath_enable; |
| 14406 | #endif |
| 14407 | uint8_t dot11p_mode; |
Kiran Kumar Lokere | 1a43bcf | 2018-05-15 15:51:58 -0700 | [diff] [blame] | 14408 | bool etsi13_srd_chan_in_master_mode; |
Nirav Shah | bd36b06 | 2016-07-18 11:12:59 +0530 | [diff] [blame] | 14409 | uint8_t rx_mode; |
Mohit Khanna | 7032200 | 2018-05-15 19:21:32 -0700 | [diff] [blame] | 14410 | uint8_t num_dp_rx_threads; |
Himanshu Agarwal | bdc776f | 2017-08-02 12:51:08 +0530 | [diff] [blame] | 14411 | uint32_t ce_service_max_yield_time; |
Poddar, Siddarth | 04eed33 | 2017-06-28 14:20:26 +0530 | [diff] [blame] | 14412 | uint8_t ce_service_max_rx_ind_flush; |
Manjunathappa Prakash | cb6df76 | 2018-05-29 18:54:58 -0700 | [diff] [blame] | 14413 | uint32_t napi_cpu_affinity_mask; |
Manjunathappa Prakash | b6b4ff1 | 2018-06-04 12:32:33 -0700 | [diff] [blame] | 14414 | /* CPU affinity mask for rx_thread */ |
| 14415 | uint32_t rx_thread_affinity_mask; |
Nirav Shah | bd36b06 | 2016-07-18 11:12:59 +0530 | [diff] [blame] | 14416 | uint8_t cpu_map_list[CFG_RPS_RX_QUEUE_CPU_MAP_LIST_LEN]; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14417 | #ifdef FEATURE_WLAN_EXTSCAN |
Manjeet Singh | 0f2ce5c | 2016-09-01 12:08:57 +0530 | [diff] [blame] | 14418 | bool extscan_enabled; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14419 | uint32_t extscan_passive_max_chn_time; |
| 14420 | uint32_t extscan_passive_min_chn_time; |
| 14421 | uint32_t extscan_active_max_chn_time; |
| 14422 | uint32_t extscan_active_min_chn_time; |
| 14423 | #endif |
| 14424 | bool ce_classify_enabled; |
| 14425 | uint32_t dual_mac_feature_disable; |
Nitesh Shah | 50a3de1 | 2017-04-03 19:37:19 +0530 | [diff] [blame] | 14426 | uint8_t dbs_scan_selection[CFG_DBS_SCAN_PARAM_LENGTH]; |
Ganesh Kondabattini | 930304c | 2017-10-10 15:25:36 +0530 | [diff] [blame] | 14427 | uint32_t sta_sap_scc_on_dfs_chan; |
Zhu Jianmin | 72d32de | 2018-05-11 10:54:10 +0800 | [diff] [blame] | 14428 | uint32_t sta_sap_scc_on_lte_coex_chan; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14429 | bool tx_chain_mask_cck; |
| 14430 | uint8_t tx_chain_mask_1ss; |
Jeff Johnson | a89e25d | 2017-02-24 12:25:07 -0800 | [diff] [blame] | 14431 | bool smart_chainmask_enabled; |
| 14432 | bool alternative_chainmask_enabled; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14433 | uint16_t self_gen_frm_pwr; |
Varun Reddy Yeturu | b43fda1 | 2015-09-10 18:16:21 -0700 | [diff] [blame] | 14434 | #ifdef FEATURE_WLAN_SCAN_PNO |
| 14435 | bool pno_channel_prediction; |
| 14436 | uint8_t top_k_num_of_channels; |
| 14437 | uint8_t stationary_thresh; |
| 14438 | uint32_t channel_prediction_full_scan; |
| 14439 | #endif |
Varun Reddy Yeturu | 0518629 | 2015-09-28 17:12:33 -0700 | [diff] [blame] | 14440 | bool early_stop_scan_enable; |
| 14441 | int8_t early_stop_scan_min_threshold; |
| 14442 | int8_t early_stop_scan_max_threshold; |
Varun Reddy Yeturu | 044bda2 | 2015-11-21 22:03:40 -0800 | [diff] [blame] | 14443 | int8_t first_scan_bucket_threshold; |
Krishna Kumaar Natarajan | 22b59a7 | 2015-11-23 18:54:58 -0800 | [diff] [blame] | 14444 | uint8_t ht_mpdu_density; |
Ravi Joshi | 742495d | 2015-11-09 18:56:53 -0800 | [diff] [blame] | 14445 | #ifdef FEATURE_LFR_SUBNET_DETECTION |
| 14446 | bool enable_lfr_subnet_detection; |
| 14447 | #endif |
Sandeep Puligilla | 93a29ec | 2016-02-12 16:10:56 -0800 | [diff] [blame] | 14448 | uint16_t obss_active_dwelltime; |
| 14449 | uint16_t obss_passive_dwelltime; |
| 14450 | uint16_t obss_width_trigger_interval; |
Deepak Dhamdhere | 68929ec | 2015-08-05 15:16:35 -0700 | [diff] [blame] | 14451 | uint8_t inform_bss_rssi_raw; |
Jeff Johnson | 89c66ff | 2016-04-22 15:21:37 -0700 | [diff] [blame] | 14452 | #ifdef WLAN_FEATURE_TSF |
Manikandan Mohan | 976e756 | 2016-03-15 16:33:31 -0700 | [diff] [blame] | 14453 | uint32_t tsf_gpio_pin; |
Yu Wang | 66a250b | 2017-07-19 11:46:40 +0800 | [diff] [blame] | 14454 | |
| 14455 | #ifdef WLAN_FEATURE_TSF_PLUS |
| 14456 | uint8_t tsf_ptp_options; |
| 14457 | #endif /* WLAN_FEATURE_TSF_PLUS */ |
Jeff Johnson | 89c66ff | 2016-04-22 15:21:37 -0700 | [diff] [blame] | 14458 | #endif |
Gupta, Kapil | c68ad46 | 2016-02-01 19:17:23 +0530 | [diff] [blame] | 14459 | uint32_t roam_dense_traffic_thresh; |
| 14460 | uint32_t roam_dense_rssi_thresh_offset; |
Abhishek Singh | 165bc60 | 2016-03-21 12:43:00 +0530 | [diff] [blame] | 14461 | bool ignore_peer_ht_opmode; |
Gupta, Kapil | c68ad46 | 2016-02-01 19:17:23 +0530 | [diff] [blame] | 14462 | uint32_t roam_dense_min_aps; |
Varun Reddy Yeturu | faad37e | 2017-07-26 10:54:13 -0700 | [diff] [blame] | 14463 | int8_t roam_bg_scan_bad_rssi_thresh; |
Vignesh Viswanathan | c018e98 | 2017-09-07 18:49:19 +0530 | [diff] [blame] | 14464 | uint8_t roam_bad_rssi_thresh_offset_2g; |
Abhinav Kumar | a083f21 | 2018-04-05 18:49:45 +0530 | [diff] [blame] | 14465 | uint32_t ho_delay_for_rx; |
Abhinav Kumar | a95af7c | 2018-04-06 17:08:00 +0530 | [diff] [blame] | 14466 | uint32_t min_delay_btw_roam_scans; |
| 14467 | uint32_t roam_trigger_reason_bitmask; |
Varun Reddy Yeturu | faad37e | 2017-07-26 10:54:13 -0700 | [diff] [blame] | 14468 | uint32_t roam_bg_scan_client_bitmap; |
Abhishek Singh | 10ecf58 | 2016-05-04 17:48:59 +0530 | [diff] [blame] | 14469 | bool enable_edca_params; |
| 14470 | uint32_t edca_vo_cwmin; |
| 14471 | uint32_t edca_vi_cwmin; |
| 14472 | uint32_t edca_bk_cwmin; |
| 14473 | uint32_t edca_be_cwmin; |
| 14474 | uint32_t edca_vo_cwmax; |
| 14475 | uint32_t edca_vi_cwmax; |
| 14476 | uint32_t edca_bk_cwmax; |
| 14477 | uint32_t edca_be_cwmax; |
| 14478 | uint32_t edca_vo_aifs; |
| 14479 | uint32_t edca_vi_aifs; |
| 14480 | uint32_t edca_bk_aifs; |
| 14481 | uint32_t edca_be_aifs; |
gbian | 62edd7e | 2017-03-07 13:12:13 +0800 | [diff] [blame] | 14482 | |
| 14483 | /* Tuning TX sched parameters for VO (skip credit limit credit disc) */ |
| 14484 | uint8_t tx_sched_wrr_vo[TX_SCHED_WRR_PARAM_STRING_LENGTH]; |
| 14485 | /* Tuning TX sched parameters for VI (skip credit limit credit disc) */ |
| 14486 | uint8_t tx_sched_wrr_vi[TX_SCHED_WRR_PARAM_STRING_LENGTH]; |
| 14487 | /* Tuning TX sched parameters for BE (skip credit limit credit disc) */ |
| 14488 | uint8_t tx_sched_wrr_be[TX_SCHED_WRR_PARAM_STRING_LENGTH]; |
| 14489 | /* Tuning TX sched parameters for BK (skip credit limit credit disc) */ |
| 14490 | uint8_t tx_sched_wrr_bk[TX_SCHED_WRR_PARAM_STRING_LENGTH]; |
| 14491 | |
Abhishek Singh | 5ea8653 | 2016-04-27 14:10:53 +0530 | [diff] [blame] | 14492 | bool enable_fatal_event; |
Nachiket Kukade | e547a48 | 2018-05-22 16:43:30 +0530 | [diff] [blame] | 14493 | bool apf_enabled; |
Nirav Shah | d21a2e3 | 2018-04-20 16:34:43 +0530 | [diff] [blame] | 14494 | #ifdef CONFIG_DP_TRACE |
Nirav Shah | cc1f1ae | 2016-04-26 11:41:29 +0530 | [diff] [blame] | 14495 | bool enable_dp_trace; |
Mohit Khanna | f8f9682 | 2017-05-17 17:11:59 -0700 | [diff] [blame] | 14496 | uint8_t dp_trace_config[DP_TRACE_CONFIG_STRING_LENGTH]; |
Nirav Shah | d21a2e3 | 2018-04-20 16:34:43 +0530 | [diff] [blame] | 14497 | #endif |
Gupta, Kapil | 96c7f2f | 2016-04-25 19:13:41 +0530 | [diff] [blame] | 14498 | bool adaptive_dwell_mode_enabled; |
Sandeep Puligilla | f5ccbf6 | 2018-03-26 16:37:05 -0700 | [diff] [blame] | 14499 | enum scan_dwelltime_adaptive_mode scan_adaptive_dwell_mode; |
| 14500 | enum scan_dwelltime_adaptive_mode scan_adaptive_dwell_mode_nc; |
| 14501 | enum scan_dwelltime_adaptive_mode roamscan_adaptive_dwell_mode; |
| 14502 | enum scan_dwelltime_adaptive_mode extscan_adaptive_dwell_mode; |
| 14503 | enum scan_dwelltime_adaptive_mode pnoscan_adaptive_dwell_mode; |
| 14504 | enum scan_dwelltime_adaptive_mode global_adapt_dwelltime_mode; |
Gupta, Kapil | 96c7f2f | 2016-04-25 19:13:41 +0530 | [diff] [blame] | 14505 | uint8_t adapt_dwell_lpf_weight; |
| 14506 | uint8_t adapt_dwell_passive_mon_intval; |
| 14507 | uint8_t adapt_dwell_wifi_act_threshold; |
Kapil Gupta | 8878ad9 | 2017-02-13 11:56:04 +0530 | [diff] [blame] | 14508 | bool vendor_acs_support; |
| 14509 | bool acs_support_for_dfs_ltecoex; |
Kapil Gupta | 0ed58dc | 2016-04-22 15:35:26 +0530 | [diff] [blame] | 14510 | bool bug_report_for_no_scan_results; |
Mukul Sharma | f7d62e1 | 2016-09-03 15:16:22 +0530 | [diff] [blame] | 14511 | bool bug_on_reinit_failure; |
Arun Khandavalli | fae9294 | 2016-08-01 13:31:08 +0530 | [diff] [blame] | 14512 | uint32_t iface_change_wait_time; |
Rajeev Kumar Sirasanagandla | af47474 | 2016-09-06 17:54:50 +0530 | [diff] [blame] | 14513 | /* parameter to control GTX */ |
| 14514 | uint32_t tgt_gtx_usr_cfg; |
Naveen Rawat | 64e477e | 2016-05-20 10:34:56 -0700 | [diff] [blame] | 14515 | enum cfg_sub_20_channel_width enable_sub_20_channel_width; |
Amar Singhal | 1851788 | 2016-08-08 12:26:20 -0700 | [diff] [blame] | 14516 | bool indoor_channel_support; |
Mukul Sharma | ecf8e09 | 2017-12-19 22:36:31 +0530 | [diff] [blame] | 14517 | /* control marking indoor channel passive to disable */ |
| 14518 | bool force_ssc_disable_indoor_channel; |
Rajeev Kumar Sirasanagandla | b79b546 | 2016-09-06 18:33:17 +0530 | [diff] [blame] | 14519 | /* parameter to force sap into 11n */ |
| 14520 | bool sap_force_11n_for_11ac; |
Bala Venkatesh | b9cf336 | 2017-11-09 15:48:46 +0530 | [diff] [blame] | 14521 | bool go_force_11n_for_11ac; |
Yingying Tang | b4832f7 | 2016-10-20 13:44:55 +0800 | [diff] [blame] | 14522 | uint16_t sap_tx_leakage_threshold; |
Ravi Joshi | bb8d451 | 2016-08-22 10:14:52 -0700 | [diff] [blame] | 14523 | bool multicast_replay_filter; |
Selvaraj, Sridhar | ebda0f2 | 2016-08-29 16:05:23 +0530 | [diff] [blame] | 14524 | bool goptimize_chan_avoid_event; |
Agrawal Ashish | b2d1a45 | 2016-05-05 12:23:58 +0530 | [diff] [blame] | 14525 | bool enable_go_cts2self_for_sta; |
Padma, Santhosh Kumar | a711967 | 2016-08-16 16:05:14 +0530 | [diff] [blame] | 14526 | uint32_t tx_aggregation_size; |
Paul Zhang | ee09f8e | 2018-04-23 16:11:32 +0800 | [diff] [blame] | 14527 | uint32_t tx_aggregation_size_be; |
| 14528 | uint32_t tx_aggregation_size_bk; |
| 14529 | uint32_t tx_aggregation_size_vi; |
| 14530 | uint32_t tx_aggregation_size_vo; |
Padma, Santhosh Kumar | a711967 | 2016-08-16 16:05:14 +0530 | [diff] [blame] | 14531 | uint32_t rx_aggregation_size; |
Paul Zhang | 33fae27 | 2018-04-23 16:19:00 +0800 | [diff] [blame] | 14532 | uint32_t tx_aggr_sw_retry_threshold_be; |
| 14533 | uint32_t tx_aggr_sw_retry_threshold_bk; |
| 14534 | uint32_t tx_aggr_sw_retry_threshold_vi; |
| 14535 | uint32_t tx_aggr_sw_retry_threshold_vo; |
Kiran Kumar Lokere | 1aa9c9a | 2016-10-05 18:50:59 -0700 | [diff] [blame] | 14536 | bool sta_prefer_80MHz_over_160MHz; |
Agrawal, Ashish | 4e5fa1c | 2016-09-21 19:03:43 +0530 | [diff] [blame] | 14537 | uint8_t sap_max_inactivity_override; |
Sandeep Puligilla | afa5289 | 2016-10-26 19:03:16 -0700 | [diff] [blame] | 14538 | bool fw_timeout_crash; |
gaolez | e2920bd | 2017-03-21 17:38:42 +0800 | [diff] [blame] | 14539 | /* beacon count before channel switch */ |
| 14540 | uint8_t sap_chanswitch_beacon_cnt; |
gaolez | 76d2a16 | 2017-03-21 19:23:58 +0800 | [diff] [blame] | 14541 | uint8_t sap_chanswitch_mode; |
Dustin Brown | cd75694 | 2016-11-23 12:25:33 -0800 | [diff] [blame] | 14542 | uint32_t rx_wakelock_timeout; |
Anurag Chouhan | 7c01cc4 | 2016-12-16 21:33:43 +0530 | [diff] [blame] | 14543 | uint32_t max_sched_scan_plan_interval; |
| 14544 | uint32_t max_sched_scan_plan_iterations; |
Yingying Tang | 9540997 | 2016-10-20 15:16:15 +0800 | [diff] [blame] | 14545 | #ifdef WLAN_FEATURE_WOW_PULSE |
| 14546 | bool wow_pulse_support; |
| 14547 | uint8_t wow_pulse_pin; |
| 14548 | uint16_t wow_pulse_interval_high; |
| 14549 | uint16_t wow_pulse_interval_low; |
| 14550 | #endif |
Jeff Johnson | 441e1f7 | 2017-02-07 08:50:49 -0800 | [diff] [blame] | 14551 | enum hdd_wext_control private_wext_control; |
Arun Khandavalli | cc544b3 | 2017-01-30 19:52:16 +0530 | [diff] [blame] | 14552 | bool sap_internal_restart; |
Tushnim Bhattacharyya | 3efa49a | 2017-07-18 15:43:09 -0700 | [diff] [blame] | 14553 | enum restart_beaconing_on_ch_avoid_rule |
| 14554 | restart_beaconing_on_chan_avoid_event; |
Kapil Gupta | 6e6c26b | 2017-01-20 18:59:43 +0530 | [diff] [blame] | 14555 | uint8_t is_per_roam_enabled; |
Kapil Gupta | 5cda225 | 2016-12-29 18:44:26 +0530 | [diff] [blame] | 14556 | uint32_t per_roam_high_rate_threshold; |
| 14557 | uint32_t per_roam_low_rate_threshold; |
| 14558 | uint32_t per_roam_th_percent; |
| 14559 | uint32_t per_roam_rest_time; |
Kapil Gupta | 957827b | 2017-02-13 15:47:04 +0530 | [diff] [blame] | 14560 | uint32_t per_roam_mon_time; |
Selvaraj, Sridhar | 0641fab | 2017-05-17 16:02:00 +0530 | [diff] [blame] | 14561 | uint32_t min_candidate_rssi; |
Nachiket Kukade | e547a48 | 2018-05-22 16:43:30 +0530 | [diff] [blame] | 14562 | enum active_apf_mode active_uc_apf_mode; |
| 14563 | enum active_apf_mode active_mc_bc_apf_mode; |
Selvaraj, Sridhar | 4f684bb | 2017-01-19 15:59:23 +0530 | [diff] [blame] | 14564 | bool enable_bcast_probe_rsp; |
Kiran Kumar Lokere | 5cc2f0d | 2018-02-08 17:10:05 -0800 | [diff] [blame] | 14565 | uint8_t he_dynamic_frag_support; |
Krishna Kumaar Natarajan | 90bb6f1 | 2017-03-03 21:05:52 -0800 | [diff] [blame] | 14566 | #ifdef WLAN_FEATURE_11AX |
| 14567 | bool enable_ul_mimo; |
| 14568 | bool enable_ul_ofdma; |
Manikandan Mohan | 39accff | 2017-05-02 16:09:00 -0700 | [diff] [blame] | 14569 | uint32_t he_sta_obsspd; |
Krishna Kumaar Natarajan | 90bb6f1 | 2017-03-03 21:05:52 -0800 | [diff] [blame] | 14570 | #endif |
Varun Reddy Yeturu | d33033f | 2018-06-11 10:58:30 -0700 | [diff] [blame] | 14571 | #ifdef WLAN_SUPPORT_TWT |
Varun Reddy Yeturu | 96285a2 | 2018-05-08 13:37:43 -0700 | [diff] [blame] | 14572 | bool enable_twt; |
| 14573 | uint32_t twt_congestion_timeout; |
| 14574 | #endif |
Srinivas Girigowda | 70e169a | 2017-03-07 23:55:57 -0800 | [diff] [blame] | 14575 | uint32_t arp_ac_category; |
Jeff Johnson | 12a744b | 2017-04-04 08:19:37 -0700 | [diff] [blame] | 14576 | bool ani_enabled; |
Selvaraj, Sridhar | a521aab | 2017-03-25 16:42:34 +0530 | [diff] [blame] | 14577 | bool qcn_ie_support; |
Manjunathappa Prakash | dab74fa | 2017-06-19 12:11:03 -0700 | [diff] [blame] | 14578 | bool tx_orphan_enable; |
Rajeev Kumar Sirasanagandla | aec0b08 | 2017-06-21 11:59:41 +0530 | [diff] [blame] | 14579 | |
| 14580 | bool probe_req_ie_whitelist; |
| 14581 | /* probe request bit map ies */ |
| 14582 | uint32_t probe_req_ie_bitmap_0; |
| 14583 | uint32_t probe_req_ie_bitmap_1; |
| 14584 | uint32_t probe_req_ie_bitmap_2; |
| 14585 | uint32_t probe_req_ie_bitmap_3; |
| 14586 | uint32_t probe_req_ie_bitmap_4; |
| 14587 | uint32_t probe_req_ie_bitmap_5; |
| 14588 | uint32_t probe_req_ie_bitmap_6; |
| 14589 | uint32_t probe_req_ie_bitmap_7; |
| 14590 | /* Probe Request multiple vendor OUIs */ |
| 14591 | uint8_t probe_req_ouis[MAX_PRB_REQ_VENDOR_OUI_INI_LEN]; |
| 14592 | uint32_t no_of_probe_req_ouis; |
| 14593 | uint32_t probe_req_voui[MAX_PROBE_REQ_OUIS]; |
| 14594 | |
Dustin Brown | 7f93993 | 2017-05-18 15:02:17 -0700 | [diff] [blame] | 14595 | uint32_t timer_multiplier; |
Selvaraj, Sridhar | 97ce658 | 2017-01-20 17:06:34 +0530 | [diff] [blame] | 14596 | uint8_t fils_max_chan_guard_time; |
Dustin Brown | 20b6fcf | 2017-05-17 15:35:17 -0700 | [diff] [blame] | 14597 | uint8_t scan_backoff_multiplier; |
Varun Reddy Yeturu | bba32e9 | 2017-09-06 13:31:40 -0700 | [diff] [blame] | 14598 | bool mawc_nlo_enabled; |
| 14599 | uint32_t mawc_nlo_exp_backoff_ratio; |
| 14600 | uint32_t mawc_nlo_init_scan_interval; |
| 14601 | uint32_t mawc_nlo_max_scan_interval; |
Jayachandran Sreekumaran | 68c952c | 2017-04-24 12:42:03 +0530 | [diff] [blame] | 14602 | enum hdd_external_acs_policy external_acs_policy; |
Naveen Rawat | 2b6e3c9 | 2017-03-20 13:59:07 -0700 | [diff] [blame] | 14603 | /* threshold of packet drops at which FW initiates disconnect */ |
| 14604 | uint16_t pkt_err_disconn_th; |
Naveen Rawat | b2fc413 | 2017-05-10 20:42:05 -0700 | [diff] [blame] | 14605 | bool is_force_1x1; |
lifeng | 959a04c | 2017-05-10 14:21:28 +0800 | [diff] [blame] | 14606 | uint8_t enable_rts_sifsbursting; |
| 14607 | uint8_t max_mpdus_inampdu; |
Hanumanth Reddy Pothula | ab39595 | 2017-09-05 19:12:26 +0530 | [diff] [blame] | 14608 | enum pmo_auto_pwr_detect_failure_mode auto_pwr_save_fail_mode; |
Naveen Rawat | 247a868 | 2017-06-05 15:00:31 -0700 | [diff] [blame] | 14609 | uint16_t num_11b_tx_chains; |
| 14610 | uint16_t num_11ag_tx_chains; |
Ashish Kumar Dhanotiya | 9335d81 | 2017-06-30 16:57:20 +0530 | [diff] [blame] | 14611 | uint8_t ito_repeat_count; |
Selvaraj, Sridhar | 57ce4df | 2017-05-29 18:30:49 +0530 | [diff] [blame] | 14612 | /* LCA(Last connected AP) disallow configs */ |
| 14613 | uint32_t disallow_duration; |
| 14614 | uint32_t rssi_channel_penalization; |
| 14615 | uint32_t num_disallowed_aps; |
yeshwanth sriram guntuka | 1413dfb | 2017-06-23 14:09:48 +0530 | [diff] [blame] | 14616 | bool oce_sta_enabled; |
| 14617 | bool oce_sap_enabled; |
Amar Singhal | 0fcce7d | 2018-08-01 13:20:58 -0700 | [diff] [blame] | 14618 | bool enable_11d_in_world_mode; |
Manjeet Singh | a9cae43 | 2017-02-28 11:58:22 +0530 | [diff] [blame] | 14619 | /* 5G preference parameters for boosting RSSI */ |
| 14620 | bool enable_5g_band_pref; |
| 14621 | int8_t rssi_boost_threshold_5g; |
| 14622 | uint8_t rssi_boost_factor_5g; |
| 14623 | uint8_t max_rssi_boost_5g; |
| 14624 | /* 5G preference parameters for dropping RSSI*/ |
| 14625 | int8_t rssi_penalize_threshold_5g; |
| 14626 | uint8_t rssi_penalize_factor_5g; |
| 14627 | uint8_t max_rssi_penalize_5g; |
Ashish Kumar Dhanotiya | b8630ab | 2017-07-21 14:18:14 +0530 | [diff] [blame] | 14628 | bool enable_lprx; |
Ashish Kumar Dhanotiya | b28338c | 2017-07-21 20:12:34 +0530 | [diff] [blame] | 14629 | uint8_t upper_brssi_thresh; |
| 14630 | uint8_t lower_brssi_thresh; |
| 14631 | bool enable_dtim_1chrx; |
Varun Reddy Yeturu | 168134f | 2017-06-26 13:46:05 -0700 | [diff] [blame] | 14632 | int8_t rssi_thresh_offset_5g; |
Amar Singhal | e4a2dd5 | 2017-08-07 13:59:05 -0700 | [diff] [blame] | 14633 | uint32_t scan_11d_interval; |
hqu | 16d6e08 | 2017-09-04 10:52:31 +0800 | [diff] [blame] | 14634 | bool chan_switch_hostapd_rate_enabled; |
Abhishek Singh | b58164a | 2017-07-19 18:47:23 +0530 | [diff] [blame] | 14635 | bool is_bssid_hint_priority; |
Himanshu Agarwal | 8bcec57 | 2017-09-28 11:54:37 +0530 | [diff] [blame] | 14636 | uint8_t rssi_weightage; |
| 14637 | uint8_t ht_caps_weightage; |
| 14638 | uint8_t vht_caps_weightage; |
| 14639 | uint8_t he_caps_weightage; |
| 14640 | uint8_t chan_width_weightage; |
| 14641 | uint8_t chan_band_weightage; |
| 14642 | uint8_t nss_weightage; |
| 14643 | uint8_t beamforming_cap_weightage; |
| 14644 | uint8_t pcl_weightage; |
| 14645 | uint8_t channel_congestion_weightage; |
| 14646 | uint8_t oce_wan_weightage; |
| 14647 | uint32_t bandwidth_weight_per_index; |
| 14648 | uint32_t nss_weight_per_index; |
| 14649 | uint32_t band_weight_per_index; |
| 14650 | uint32_t best_rssi_threshold; |
| 14651 | uint32_t good_rssi_threshold; |
| 14652 | uint32_t bad_rssi_threshold; |
| 14653 | uint32_t good_rssi_pcnt; |
| 14654 | uint32_t bad_rssi_pcnt; |
| 14655 | uint32_t good_rssi_bucket_size; |
| 14656 | uint32_t bad_rssi_bucket_size; |
| 14657 | uint32_t rssi_pref_5g_rssi_thresh; |
| 14658 | uint8_t num_esp_qbss_slots; |
| 14659 | uint32_t esp_qbss_score_slots3_to_0; |
| 14660 | uint32_t esp_qbss_score_slots7_to_4; |
| 14661 | uint32_t esp_qbss_score_slots11_to_8; |
| 14662 | uint32_t esp_qbss_score_slots15_to_12; |
| 14663 | uint8_t num_oce_wan_slots; |
| 14664 | uint32_t oce_wan_score_slots3_to_0; |
| 14665 | uint32_t oce_wan_score_slots7_to_4; |
| 14666 | uint32_t oce_wan_score_slots11_to_8; |
| 14667 | uint32_t oce_wan_score_slots15_to_12; |
| 14668 | bool enable_scoring_for_roam; |
Abhishek Singh | 6454ad3 | 2017-12-20 10:42:21 +0530 | [diff] [blame] | 14669 | bool force_rsne_override; |
Vignesh Viswanathan | cc7f1b9 | 2017-09-28 13:12:24 +0530 | [diff] [blame] | 14670 | bool is_fils_enabled; |
Paul Zhang | 99fe884 | 2017-12-08 14:43:46 +0800 | [diff] [blame] | 14671 | uint16_t wlm_latency_enable; |
| 14672 | uint16_t wlm_latency_level; |
| 14673 | uint32_t wlm_latency_flags_normal; |
| 14674 | uint32_t wlm_latency_flags_moderate; |
| 14675 | uint32_t wlm_latency_flags_low; |
| 14676 | uint32_t wlm_latency_flags_ultralow; |
Ashwini Patil | f2bf05e | 2017-03-10 03:41:03 +0530 | [diff] [blame] | 14677 | /* mbo related thresholds */ |
| 14678 | int8_t mbo_candidate_rssi_thres; |
| 14679 | int8_t mbo_current_rssi_thres; |
| 14680 | int8_t mbo_current_rssi_mcc_thres; |
| 14681 | int8_t mbo_candidate_rssi_btc_thres; |
Qiwei Cai | 4505fc6 | 2018-05-17 18:35:19 +0800 | [diff] [blame] | 14682 | #ifdef WLAN_FEATURE_PACKET_FILTERING |
Hanumanth Reddy Pothula | 3def894 | 2017-10-05 16:19:36 +0530 | [diff] [blame] | 14683 | uint8_t packet_filters_bitmap; |
Qiwei Cai | 4505fc6 | 2018-05-17 18:35:19 +0800 | [diff] [blame] | 14684 | #endif |
Ravi Kumar Bokka | 990edcc | 2017-01-09 20:02:58 +0530 | [diff] [blame] | 14685 | uint8_t enable_phy_reg_retention; |
lifeng | 1c16b6b | 2017-09-25 13:59:55 +0800 | [diff] [blame] | 14686 | uint8_t dfs_beacon_tx_enhanced; |
lifeng | 7c607dd | 2017-02-21 21:16:49 +0800 | [diff] [blame] | 14687 | uint16_t reduced_beacon_interval; |
Yeshwanth Sriram Guntuka | 2ba6fe9 | 2017-10-04 14:40:45 +0530 | [diff] [blame] | 14688 | bool rssi_assoc_reject_enabled; |
| 14689 | bool oce_probe_req_rate_enabled; |
| 14690 | bool oce_probe_resp_rate_enabled; |
| 14691 | bool oce_beacon_rate_enabled; |
| 14692 | bool probe_req_deferral_enabled; |
| 14693 | bool fils_discovery_sap_enabled; |
| 14694 | bool esp_for_roam_enabled; |
Naveen Rawat | 269b4ed | 2017-12-07 06:47:32 -0800 | [diff] [blame] | 14695 | uint8_t tx_chain_mask_2g; |
| 14696 | uint8_t rx_chain_mask_2g; |
| 14697 | uint8_t tx_chain_mask_5g; |
| 14698 | uint8_t rx_chain_mask_5g; |
yeshwanth sriram guntuka | 41f936c | 2017-09-01 17:53:49 +0530 | [diff] [blame] | 14699 | uint32_t btm_offload_config; |
Padma, Santhosh Kumar | 3e47c63 | 2017-09-01 20:15:27 +0530 | [diff] [blame] | 14700 | #ifdef WLAN_FEATURE_SAE |
| 14701 | bool is_sae_enabled; |
| 14702 | #endif |
Rachit Kankane | 0106e38 | 2018-05-16 18:59:28 +0530 | [diff] [blame] | 14703 | bool enable_dtim_selection_diversity; |
| 14704 | bool gcmp_enabled; |
| 14705 | bool is_11k_offload_supported; |
Jiachao Wu | 84bb2ea | 2018-01-08 16:17:33 +0800 | [diff] [blame] | 14706 | uint32_t btm_solicited_timeout; |
| 14707 | uint32_t btm_max_attempt_cnt; |
| 14708 | uint32_t btm_sticky_time; |
Rachit Kankane | 0106e38 | 2018-05-16 18:59:28 +0530 | [diff] [blame] | 14709 | uint32_t num_vdevs; |
Vignesh Viswanathan | 694e28e | 2018-01-18 20:53:57 +0530 | [diff] [blame] | 14710 | uint32_t offload_11k_enable_bitmask; |
| 14711 | uint32_t neighbor_report_offload_params_bitmask; |
| 14712 | uint32_t neighbor_report_offload_time_offset; |
| 14713 | uint32_t neighbor_report_offload_low_rssi_offset; |
| 14714 | uint32_t neighbor_report_offload_bmiss_count_trigger; |
| 14715 | uint32_t neighbor_report_offload_per_threshold_offset; |
| 14716 | uint32_t neighbor_report_offload_cache_timeout; |
| 14717 | uint32_t neighbor_report_offload_max_req_cap; |
Rajeev Kumar Sirasanagandla | 4725ae4 | 2018-05-24 22:33:34 +0530 | [diff] [blame] | 14718 | bool action_oui_enable; |
| 14719 | uint8_t action_oui_str[ACTION_OUI_MAXIMUM_ID][ACTION_OUI_MAX_STR_LEN]; |
Yeshwanth Sriram Guntuka | db7995d | 2018-01-22 16:46:59 +0530 | [diff] [blame] | 14720 | uint32_t channel_select_logic_conc; |
Rachit Kankane | 0106e38 | 2018-05-16 18:59:28 +0530 | [diff] [blame] | 14721 | uint16_t wmi_wq_watchdog_timeout; |
Liangwei Dong | 22810e8 | 2018-03-15 03:42:12 -0400 | [diff] [blame] | 14722 | bool enable_bt_chain_separation; |
Ashish Kumar Dhanotiya | 04f09dd | 2018-04-02 16:25:16 +0530 | [diff] [blame] | 14723 | uint8_t enable_tx_sch_delay; |
Ashish Kumar Dhanotiya | 959b38c | 2018-04-06 21:07:57 +0530 | [diff] [blame] | 14724 | uint32_t enable_secondary_rate; |
Jeff Johnson | c57c13a | 2018-04-01 11:03:29 -0700 | [diff] [blame] | 14725 | HDD_GREEN_AP_CFG_FIELDS |
Rajeev Kumar | 15b40a2 | 2018-04-12 11:45:24 -0700 | [diff] [blame] | 14726 | bool is_unit_test_framework_enabled; |
Abhinav Kumar | 271f063 | 2018-03-29 16:01:30 +0530 | [diff] [blame] | 14727 | bool enable_ftopen; |
Naveen Rawat | 2b43089 | 2018-03-13 13:58:18 -0700 | [diff] [blame] | 14728 | bool enable_rtt_mac_randomization; |
Abhinav Kumar | edd1d37 | 2018-05-11 15:33:35 +0530 | [diff] [blame] | 14729 | bool roam_force_rssi_trigger; |
Chaoli Zhou | 75b062f | 2018-06-11 12:36:54 +0800 | [diff] [blame] | 14730 | bool enable_change_channel_bandwidth; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14731 | }; |
| 14732 | |
| 14733 | #define VAR_OFFSET(_Struct, _Var) (offsetof(_Struct, _Var)) |
| 14734 | #define VAR_SIZE(_Struct, _Var) (sizeof(((_Struct *)0)->_Var)) |
| 14735 | |
| 14736 | #define VAR_FLAGS_NONE (0) |
| 14737 | |
| 14738 | /* bit 0 is Required or Optional */ |
| 14739 | #define VAR_FLAGS_REQUIRED (1 << 0) |
| 14740 | #define VAR_FLAGS_OPTIONAL (0 << 0) |
| 14741 | |
| 14742 | /* |
| 14743 | * bit 1 tells if range checking is required. |
| 14744 | * If less than MIN, assume MIN. |
| 14745 | * If greater than MAX, assume MAX. |
| 14746 | */ |
| 14747 | #define VAR_FLAGS_RANGE_CHECK (1 << 1) |
| 14748 | #define VAR_FLAGS_RANGE_CHECK_ASSUME_MINMAX (VAR_FLAGS_RANGE_CHECK) |
| 14749 | |
| 14750 | /* |
| 14751 | * bit 2 is range checking that assumes the DEFAULT value |
| 14752 | * If less than MIN, assume DEFAULT, |
| 14753 | * If greater than MAX, assume DEFAULT. |
| 14754 | */ |
| 14755 | #define VAR_FLAGS_RANGE_CHECK_ASSUME_DEFAULT (1 << 2) |
| 14756 | |
| 14757 | /* |
| 14758 | * Bit 3 indicates that the config item can be modified dynamicially |
| 14759 | * on a running system |
| 14760 | */ |
| 14761 | #define VAR_FLAGS_DYNAMIC_CFG (1 << 3) |
| 14762 | |
Srinivas Girigowda | 2fb677c | 2017-03-25 15:35:34 -0700 | [diff] [blame] | 14763 | enum wlan_parameter_type { |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14764 | WLAN_PARAM_Integer, |
| 14765 | WLAN_PARAM_SignedInteger, |
| 14766 | WLAN_PARAM_HexInteger, |
| 14767 | WLAN_PARAM_String, |
| 14768 | WLAN_PARAM_MacAddr, |
Srinivas Girigowda | 2fb677c | 2017-03-25 15:35:34 -0700 | [diff] [blame] | 14769 | }; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14770 | |
| 14771 | #define REG_VARIABLE(_Name, _Type, _Struct, _VarName, \ |
| 14772 | _Flags, _Default, _Min, _Max) \ |
| 14773 | { \ |
| 14774 | (_Name), \ |
| 14775 | (_Type), \ |
| 14776 | (_Flags), \ |
| 14777 | VAR_OFFSET(_Struct, _VarName), \ |
| 14778 | VAR_SIZE(_Struct, _VarName), \ |
| 14779 | (_Default), \ |
| 14780 | (_Min), \ |
| 14781 | (_Max), \ |
| 14782 | NULL, \ |
| 14783 | 0 \ |
| 14784 | } |
| 14785 | |
| 14786 | #define REG_DYNAMIC_VARIABLE(_Name, _Type, _Struct, _VarName, \ |
| 14787 | _Flags, _Default, _Min, _Max, \ |
| 14788 | _CBFunc, _CBParam) \ |
| 14789 | { \ |
| 14790 | (_Name), \ |
| 14791 | (_Type), \ |
| 14792 | (VAR_FLAGS_DYNAMIC_CFG | (_Flags)), \ |
| 14793 | VAR_OFFSET(_Struct, _VarName), \ |
| 14794 | VAR_SIZE(_Struct, _VarName), \ |
| 14795 | (_Default), \ |
| 14796 | (_Min), \ |
| 14797 | (_Max), \ |
| 14798 | (_CBFunc), \ |
| 14799 | (_CBParam) \ |
| 14800 | } |
| 14801 | |
| 14802 | #define REG_VARIABLE_STRING(_Name, _Type, _Struct, _VarName, \ |
| 14803 | _Flags, _Default) \ |
| 14804 | { \ |
| 14805 | (_Name), \ |
| 14806 | (_Type), \ |
| 14807 | (_Flags), \ |
| 14808 | VAR_OFFSET(_Struct, _VarName), \ |
| 14809 | VAR_SIZE(_Struct, _VarName), \ |
| 14810 | (unsigned long)(_Default), \ |
| 14811 | 0, \ |
| 14812 | 0, \ |
| 14813 | NULL, \ |
| 14814 | 0 \ |
| 14815 | } |
| 14816 | |
Srinivas Girigowda | 2fb677c | 2017-03-25 15:35:34 -0700 | [diff] [blame] | 14817 | struct reg_table_entry { |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14818 | char *RegName; /* variable name in the qcom_cfg.ini file */ |
Srinivas Girigowda | 2fb677c | 2017-03-25 15:35:34 -0700 | [diff] [blame] | 14819 | enum wlan_parameter_type RegType; /* variable type in hdd_config struct */ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14820 | unsigned long Flags; /* Specify optional parms and if RangeCheck is performed */ |
| 14821 | unsigned short VarOffset; /* offset to field from the base address of the structure */ |
| 14822 | unsigned short VarSize; /* size (in bytes) of the field */ |
| 14823 | unsigned long VarDefault; /* default value to use */ |
| 14824 | unsigned long VarMin; /* minimum value, for range checking */ |
| 14825 | unsigned long VarMax; /* maximum value, for range checking */ |
| 14826 | /* Dynamic modification notifier */ |
Jeff Johnson | 723234b | 2017-09-03 08:49:15 -0700 | [diff] [blame] | 14827 | void (*pfnDynamicnotify)(struct hdd_context *hdd_ctx, |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14828 | unsigned long notifyId); |
| 14829 | unsigned long notifyId; /* Dynamic modification identifier */ |
Srinivas Girigowda | 2fb677c | 2017-03-25 15:35:34 -0700 | [diff] [blame] | 14830 | }; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14831 | |
Krunal Soni | 707eb78 | 2018-01-18 12:04:19 -0800 | [diff] [blame] | 14832 | /** |
| 14833 | * hdd_to_csr_wmm_mode() - Utility function to convert HDD to CSR WMM mode |
| 14834 | * |
| 14835 | * @enum hdd_wmm_user_mode - hdd WMM user mode |
| 14836 | * |
| 14837 | * Return: CSR WMM mode |
| 14838 | */ |
| 14839 | eCsrRoamWmmUserModeType hdd_to_csr_wmm_mode(enum hdd_wmm_user_mode mode); |
| 14840 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14841 | /* Function declarations and documenation */ |
Jeff Johnson | 723234b | 2017-09-03 08:49:15 -0700 | [diff] [blame] | 14842 | QDF_STATUS hdd_parse_config_ini(struct hdd_context *hdd_ctx); |
Rajeev Kumar Sirasanagandla | aec0b08 | 2017-06-21 11:59:41 +0530 | [diff] [blame] | 14843 | |
| 14844 | /** |
| 14845 | * hdd_validate_prb_req_ie_bitmap - validates user input for ie bit map |
| 14846 | * @hdd_ctx: the pointer to hdd context |
| 14847 | * |
| 14848 | * This function checks whether user has entered valid probe request |
| 14849 | * ie bitmap and also verifies vendor ouis if vendor specific ie is set |
| 14850 | * |
| 14851 | * Return: status of verification |
| 14852 | * true - valid input |
| 14853 | * false - invalid input |
| 14854 | */ |
Jeff Johnson | b6909be | 2017-08-28 12:07:19 -0700 | [diff] [blame] | 14855 | bool hdd_validate_prb_req_ie_bitmap(struct hdd_context *hdd_ctx); |
Rajeev Kumar Sirasanagandla | aec0b08 | 2017-06-21 11:59:41 +0530 | [diff] [blame] | 14856 | |
| 14857 | /** |
| 14858 | * hdd_parse_probe_req_ouis - form ouis from ini gProbeReqOUIs |
| 14859 | * @hdd_ctx: the pointer to hdd context |
| 14860 | * |
| 14861 | * This function parses the ini string gProbeReqOUIs which needs be to in the |
| 14862 | * following format: |
| 14863 | * "<8 characters of [0-9] or [A-F]>space<8 characters from [0-9] etc.," |
| 14864 | * example: "AABBCCDD 1122EEFF" |
| 14865 | * and the logic counts the number of OUIS and allocates the memory |
Jeff Johnson | b6909be | 2017-08-28 12:07:19 -0700 | [diff] [blame] | 14866 | * for every valid OUI and is stored in struct hdd_context |
Rajeev Kumar Sirasanagandla | aec0b08 | 2017-06-21 11:59:41 +0530 | [diff] [blame] | 14867 | * |
| 14868 | * Return: status of parsing |
| 14869 | * 0 - success |
| 14870 | * negative value - failure |
| 14871 | */ |
Jeff Johnson | b6909be | 2017-08-28 12:07:19 -0700 | [diff] [blame] | 14872 | int hdd_parse_probe_req_ouis(struct hdd_context *hdd_ctx); |
Rajeev Kumar Sirasanagandla | aec0b08 | 2017-06-21 11:59:41 +0530 | [diff] [blame] | 14873 | |
Jeff Johnson | 723234b | 2017-09-03 08:49:15 -0700 | [diff] [blame] | 14874 | QDF_STATUS hdd_update_mac_config(struct hdd_context *hdd_ctx); |
| 14875 | QDF_STATUS hdd_set_sme_config(struct hdd_context *hdd_ctx); |
| 14876 | QDF_STATUS hdd_set_policy_mgr_user_cfg(struct hdd_context *hdd_ctx); |
Jeff Johnson | b6909be | 2017-08-28 12:07:19 -0700 | [diff] [blame] | 14877 | QDF_STATUS hdd_set_sme_chan_list(struct hdd_context *hdd_ctx); |
Jeff Johnson | 723234b | 2017-09-03 08:49:15 -0700 | [diff] [blame] | 14878 | bool hdd_update_config_cfg(struct hdd_context *hdd_ctx); |
Nirav Shah | 5c083da | 2018-08-03 13:46:02 +0530 | [diff] [blame] | 14879 | void hdd_cfg_get_global_config(struct hdd_context *hdd_ctx, char *buf, |
| 14880 | int buflen); |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14881 | |
Srinivas Girigowda | 2fb677c | 2017-03-25 15:35:34 -0700 | [diff] [blame] | 14882 | eCsrPhyMode hdd_cfg_xlate_to_csr_phy_mode(enum hdd_dot11_mode dot11Mode); |
Jeff Johnson | 723234b | 2017-09-03 08:49:15 -0700 | [diff] [blame] | 14883 | QDF_STATUS hdd_execute_global_config_command(struct hdd_context *hdd_ctx, |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14884 | char *command); |
| 14885 | |
Jeff Johnson | 723234b | 2017-09-03 08:49:15 -0700 | [diff] [blame] | 14886 | bool hdd_is_okc_mode_enabled(struct hdd_context *hdd_ctx); |
Arunk Khandavalli | 847969d | 2017-09-25 15:15:36 +0530 | [diff] [blame] | 14887 | QDF_STATUS hdd_set_idle_ps_config(struct hdd_context *hdd_ctx, bool val); |
Jeff Johnson | 723234b | 2017-09-03 08:49:15 -0700 | [diff] [blame] | 14888 | void hdd_get_pmkid_modes(struct hdd_context *hdd_ctx, |
Deepak Dhamdhere | 828f189 | 2017-02-09 11:51:19 -0800 | [diff] [blame] | 14889 | struct pmkid_mode_bits *pmkid_modes); |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14890 | |
Jeff Johnson | 8abc593 | 2018-06-02 22:51:37 -0700 | [diff] [blame] | 14891 | void hdd_update_tgt_cfg(hdd_handle_t hdd_handle, struct wma_tgt_cfg *cfg); |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14892 | |
Jeff Johnson | 9268e09 | 2017-11-03 08:18:24 -0700 | [diff] [blame] | 14893 | /** |
| 14894 | * hdd_string_to_u8_array() - used to convert decimal string into u8 array |
| 14895 | * @str: Decimal string |
| 14896 | * @array: Array where converted value is stored |
| 14897 | * @len: Length of the populated array |
| 14898 | * @array_max_len: Maximum length of the array |
| 14899 | * |
| 14900 | * This API is called to convert decimal string (each byte separated by |
| 14901 | * a comma) into an u8 array |
| 14902 | * |
| 14903 | * Return: QDF_STATUS |
| 14904 | */ |
| 14905 | QDF_STATUS hdd_string_to_u8_array(char *str, uint8_t *array, |
Jiachao Wu | 6e9b9f9 | 2018-01-03 13:35:40 +0800 | [diff] [blame] | 14906 | uint8_t *len, uint16_t array_max_len); |
Jeff Johnson | 9268e09 | 2017-11-03 08:18:24 -0700 | [diff] [blame] | 14907 | |
Anurag Chouhan | fb54ab0 | 2016-02-18 18:00:46 +0530 | [diff] [blame] | 14908 | QDF_STATUS hdd_hex_string_to_u16_array(char *str, uint16_t *int_array, |
Krishna Kumaar Natarajan | f599c6e | 2015-11-03 11:44:03 -0800 | [diff] [blame] | 14909 | uint8_t *len, uint8_t int_array_max_len); |
| 14910 | |
Nirav Shah | 5c083da | 2018-08-03 13:46:02 +0530 | [diff] [blame] | 14911 | void hdd_cfg_print_global_config(struct hdd_context *hdd_ctx); |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14912 | |
Kiran Kumar Lokere | 44a2943 | 2018-01-24 16:10:30 -0800 | [diff] [blame] | 14913 | QDF_STATUS hdd_update_nss(struct hdd_adapter *adapter, uint8_t nss); |
Arif Hussain | cd15163 | 2017-02-11 16:57:19 -0800 | [diff] [blame] | 14914 | |
| 14915 | /** |
| 14916 | * hdd_dfs_indicate_radar() - Block tx as radar found on the channel |
| 14917 | * @hdd_ctxt: HDD context pointer |
| 14918 | * |
| 14919 | * This function is invoked in atomic context when a radar |
| 14920 | * is found on the SAP current operating channel and Data Tx |
| 14921 | * from netif has to be stopped to honor the DFS regulations. |
| 14922 | * Actions: Stop the netif Tx queues,Indicate Radar present |
| 14923 | * in HDD context for future usage. |
| 14924 | * |
| 14925 | * Return: true on success, else false |
| 14926 | */ |
Jeff Johnson | b6909be | 2017-08-28 12:07:19 -0700 | [diff] [blame] | 14927 | bool hdd_dfs_indicate_radar(struct hdd_context *hdd_ctx); |
Arif Hussain | cd15163 | 2017-02-11 16:57:19 -0800 | [diff] [blame] | 14928 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 14929 | #endif |