Sebastiano Barezzi | fd6e1f8 | 2021-02-10 22:10:19 +0100 | [diff] [blame] | 1 | # This file allows user to override the factory |
| 2 | # defaults for the WLAN Driver |
| 3 | |
| 4 | # Enable IMPS or not |
| 5 | gEnableImps=1 |
| 6 | |
| 7 | # Enable BMPS or not |
| 8 | gEnableBmps=1 |
| 9 | |
| 10 | # Phy Mode (auto, b, g, n, etc) |
| 11 | # Valid values are 0-9, with 0 = Auto, 4 = 11n, 9 = 11ac |
| 12 | # 1 = 11abg, 2 = 11b, 3 = 11g, 5 = 11g only, 6 = 11n only |
| 13 | # 7 = 11b only 8 = 11ac only. |
| 14 | gDot11Mode=0 |
| 15 | |
| 16 | # Assigned MAC Addresses - This will be used until NV items are in place |
| 17 | # Each byte of MAC address is represented in Hex format as XX |
| 18 | Intf0MacAddress=000AF58989FF |
| 19 | Intf1MacAddress=000AF58989FE |
| 20 | Intf2MacAddress=000AF58989FD |
| 21 | Intf3MacAddress=000AF58989FC |
| 22 | |
| 23 | # UAPSD service interval for VO,VI, BE, BK traffic |
| 24 | InfraUapsdVoSrvIntv=0 |
| 25 | InfraUapsdViSrvIntv=0 |
| 26 | InfraUapsdBeSrvIntv=0 |
| 27 | InfraUapsdBkSrvIntv=0 |
| 28 | |
| 29 | # Flag to allow STA send AddTspec even when ACM is Off |
| 30 | gAddTSWhenACMIsOff=1 |
| 31 | |
| 32 | # Flags to filter Mcast and Bcast RX packets. |
| 33 | # Value 0: No filtering, 1: Filter all Multicast. |
| 34 | # 2: Filter all Broadcast. 3: Filter all Mcast abd Bcast |
| 35 | McastBcastFilter=3 |
| 36 | |
| 37 | #Flag to enable HostARPOffload feature or not |
| 38 | hostArpOffload=1 |
| 39 | |
| 40 | #Flag to enable HostNSOffload feature or not |
| 41 | hostNSOffload=1 |
| 42 | |
| 43 | # 802.11n Protection flag |
| 44 | gEnableApProt=1 |
| 45 | |
| 46 | #Enable OBSS protection |
| 47 | gEnableApOBSSProt=1 |
| 48 | |
| 49 | #Enable/Disable UAPSD for SoftAP |
| 50 | gEnableApUapsd=1 |
| 51 | |
| 52 | # Fixed Rate |
| 53 | gFixedRate=0 |
| 54 | |
| 55 | # Maximum Tx power |
| 56 | # gTxPowerCap=30 |
| 57 | |
| 58 | # Fragmentation Threshold |
| 59 | # gFragmentationThreshold=2346 |
| 60 | |
| 61 | # RTS threshold |
| 62 | RTSThreshold=1048576 |
| 63 | |
| 64 | # Intra-BSS forward |
| 65 | gDisableIntraBssFwd=0 |
| 66 | |
| 67 | # WMM Enable/Disable |
| 68 | WmmIsEnabled=0 |
| 69 | |
| 70 | # 802.11d support |
| 71 | g11dSupportEnabled=0 |
| 72 | |
| 73 | # 802.11h support |
| 74 | g11hSupportEnabled=1 |
| 75 | |
| 76 | # DFS Master Capability |
| 77 | gEnableDFSMasterCap=1 |
| 78 | |
| 79 | # ESE Support and fast transition |
| 80 | EseEnabled=0 |
| 81 | |
| 82 | ImplicitQosIsEnabled=0 |
| 83 | |
| 84 | gNeighborScanTimerPeriod=200 |
| 85 | gNeighborLookupThreshold=65 |
| 86 | gNeighborScanChannelMinTime=20 |
| 87 | gNeighborScanChannelMaxTime=30 |
| 88 | gMaxNeighborReqTries=3 |
| 89 | |
| 90 | # Legacy (non-ESE, non-802.11r) Fast Roaming Support |
| 91 | # To enable, set FastRoamEnabled=1 |
| 92 | # To disable, set FastRoamEnabled=0 |
| 93 | FastRoamEnabled=1 |
| 94 | |
| 95 | # Check if the AP to which we are roaming is better than current AP in |
| 96 | # terms of RSSI. Checking is disabled if set to Zero.Otherwise it will |
| 97 | # use this value as to how better the RSSI of the new/roamable AP should |
| 98 | # be for roaming |
| 99 | RoamRssiDiff=5 |
| 100 | |
| 101 | # To enable, set gRoamIntraBand=1 (Roaming within band) |
| 102 | # To disable, set gRoamIntraBand=0 (Roaming across band) |
| 103 | gRoamIntraBand=0 |
| 104 | |
| 105 | #Short Guard Interval Enable/disable |
| 106 | gShortGI20Mhz=1 |
| 107 | gShortGI40Mhz=1 |
| 108 | |
| 109 | #Auto Shutdown Value in seconds. A value of 0 means Auto shutoff is disabled |
| 110 | gAPAutoShutOff=0 |
| 111 | |
| 112 | #Auto Shutdown wlan : Value in Seconds. 0 means disabled. Max 1 day = 86400 sec |
| 113 | gWlanAutoShutdown = 0 |
| 114 | |
| 115 | # Not used. |
| 116 | gApAutoChannelSelection=0 |
| 117 | |
| 118 | #Preferred band (both or 2.4 only or 5 only) |
| 119 | BandCapability=0 |
| 120 | |
| 121 | #Channel Bonding |
| 122 | gChannelBondingMode5GHz=1 |
| 123 | |
| 124 | #Say gGoKeepAlivePeriod(5 seconds) and gGoLinkMonitorPeriod(10 seconds). |
| 125 | #For every 10 seconds DUT send Qos Null frame(i.e., Keep Alive frame if link |
| 126 | #is idle for last 10 seconds.) For both active and power save clients. |
| 127 | |
| 128 | #Power save clients: DUT set TIM bit from 10th second onwards and till client |
| 129 | #honors TIM bit. If doesn't honor for 5 seconds then DUT remove client. |
| 130 | |
| 131 | #Active clients: DUT send Qos Null frame for 10th seconds onwards if it is not |
| 132 | #success still we try on 11th second if not tries on 12th and so on till 15th |
| 133 | #second. Hence before disconnection DUT will send 5 NULL frames. Hence in any |
| 134 | #case DUT will detect client got removed in (10+5) seconds. |
| 135 | #i.e., (gGoKeepAlivePeriod + gGoLinkMonitorPeriod).. |
| 136 | |
| 137 | #gGoLinkMonitorPeriod/ gApLinkMonitorPeriod is period where link is idle and |
| 138 | #it is period where we send NULL frame. |
| 139 | #gApLinkMonitorPeriod = 10 |
| 140 | #gGoLinkMonitorPeriod = 10 |
| 141 | |
| 142 | #gGoKeepAlivePeriod/gApKeepAlivePeriod is time to spend to check whether frame |
| 143 | #are succeed to send or not. Hence total effective detection time is |
| 144 | # (gGoLinkMonitorPeriod + gGoKeepAlivePeriod) / |
| 145 | # (gApLinkMonitorPeriod + gApKeepAlivePeriod) |
| 146 | gGoKeepAlivePeriod = 20 |
| 147 | gApKeepAlivePeriod = 20 |
| 148 | |
| 149 | #If set will start with active scan after driver load, otherwise will start with |
| 150 | #passive scan to find out the domain |
| 151 | gEnableBypass11d=1 |
| 152 | |
| 153 | #If set to 0, will not scan DFS channels |
| 154 | gEnableDFSChnlScan=1 |
| 155 | |
| 156 | # Enable DFS channel roam |
| 157 | # 0: DISABLE, 1: ENABLED_NORMAL, 2: ENABLED_ACTIVE |
| 158 | gAllowDFSChannelRoam=1 |
| 159 | |
| 160 | gVhtChannelWidth=2 |
| 161 | |
| 162 | #Data Inactivity Timeout when in powersave (in ms) |
| 163 | gDataInactivityTimeout=200 |
| 164 | |
| 165 | # Set txchainmask and rxchainmask |
| 166 | # These parameters are used only if gEnable2x2 is 0 |
| 167 | # Valid values are 1,2 |
| 168 | # Set gSetTxChainmask1x1=1 or gSetRxChainmask1x1=1 to select chain0. |
| 169 | # Set gSetTxChainmask1x1=2 or gSetRxChainmask1x1=2 to select chain1. |
| 170 | gSetTxChainmask1x1=1 |
| 171 | gSetRxChainmask1x1=1 |
| 172 | |
| 173 | # Scan Timing Parameters |
| 174 | # gPassiveMaxChannelTime=110 |
| 175 | # gPassiveMinChannelTime=60 |
| 176 | gActiveMaxChannelTime=40 |
| 177 | gActiveMinChannelTime=20 |
| 178 | |
| 179 | #If set to 0, MCC is not allowed. |
| 180 | gEnableMCCMode=1 |
| 181 | |
| 182 | # MCC to SCC Switch mode: |
| 183 | # 0-Disable |
| 184 | # 1-Enable |
| 185 | # 2-Force SCC if same band, with SAP restart |
| 186 | # 3-Force SCC if same band, without SAP restart by sending (E)CSA |
| 187 | # 4-Force SCC if same band (or) use SAP mandatory channel for DBS, |
| 188 | # without SAP restart by sending (E)CSA |
| 189 | gWlanMccToSccSwitchMode = 3 |
| 190 | |
| 191 | # 1=enable STBC; 0=disable STBC |
| 192 | gEnableRXSTBC=1 |
| 193 | |
| 194 | # 1=enable tx STBC; 0=disable |
| 195 | gEnableTXSTBC=1 |
| 196 | |
| 197 | # 1=enable rx LDPC; 0=disable |
| 198 | gEnableRXLDPC=1 |
| 199 | |
| 200 | #Enable/Disable Tx beamforming |
| 201 | gTxBFEnable=1 |
| 202 | |
| 203 | #Enable/Disable Tx beamformee in SAP mode |
| 204 | gEnableTxBFeeSAP=1 |
| 205 | |
| 206 | # Enable Tx beamforming in VHT20MHz |
| 207 | # Valid values are 0,1. If commented out, the default value is 0. |
| 208 | # 0=disable, 1=enable |
| 209 | gEnableTxBFin20MHz=1 |
| 210 | |
| 211 | #Enable/Disable SU Tx beamformer support. |
| 212 | gEnableTxSUBeamformer=1 |
| 213 | |
| 214 | gEnableFastRoamInConcurrency=1 |
| 215 | |
| 216 | #Maxium Channel time in msec |
| 217 | gMaxMediumTime = 6000 |
| 218 | |
| 219 | # 802.11K support |
| 220 | gRrmEnable=1 |
| 221 | |
| 222 | #Enable Power Save offload |
| 223 | gEnablePowerSaveOffload=2 |
| 224 | |
| 225 | #Enable firmware uart print |
| 226 | gEnablefwprint=0 |
| 227 | |
| 228 | # Firmware log mode |
| 229 | # Valid values are 0,1,2 |
| 230 | # 0=Disable, 1=WMI, 2=DIAG |
| 231 | gEnablefwlog=1 |
| 232 | |
| 233 | # Maximum Receive AMPDU size (VHT only. Valid values: |
| 234 | # 0->8k 1->16k 2->32k 3->64k 4->128k) |
| 235 | gVhtAmpduLenExponent=7 |
| 236 | |
| 237 | # Maximum MPDU length (VHT only. Valid values: |
| 238 | # 0->3895 octets, 1->7991 octets, 2->11454 octets) |
| 239 | gVhtMpduLen=2 |
| 240 | |
| 241 | # Maximum number of wow filters required |
| 242 | #gMaxWoWFilters=22 |
| 243 | |
| 244 | # WOW Enable/Disable. |
| 245 | # 0 - Disable both magic pattern match and pattern byte match. |
| 246 | # 1 - Enable magic pattern match on all interfaces. |
| 247 | # 2 - Enable pattern byte match on all interfaces. |
| 248 | # 3 - Enable both magic pattern and pattern byte match on all interfaces. |
| 249 | # Default value of gEnableWoW is 3. |
| 250 | # gEnableWoW=0 |
| 251 | |
| 252 | # Enable or Disable MCC Adaptive Scheduler at the FW |
| 253 | # 1=Enable (default), 0=Disable |
| 254 | gEnableMCCAdaptiveScheduler=1 |
| 255 | |
| 256 | #Enable or Disable p2p device address administered |
| 257 | isP2pDeviceAddrAdministrated=0 |
| 258 | |
| 259 | # Remove Overlap channel restriction |
| 260 | gEnableOverLapCh=0 |
| 261 | |
| 262 | #Enable VHT on 2.4Ghz |
| 263 | gEnableVhtFor24GHzBand=1 |
| 264 | |
| 265 | #Maximum number of offload peers supported |
| 266 | # gMaxOffloadPeers=2 |
| 267 | |
| 268 | # controlling the following offload patterns |
| 269 | # through ini parameter. Default value is 1 |
| 270 | # to disable set it to zero. ssdp = 0 |
| 271 | # Setup multicast pattern for mDNS 224.0.0.251, |
| 272 | # SSDP 239.255.255.250 and LLMNR 224.0.0.252 |
| 273 | ssdp=0 |
| 274 | |
| 275 | #Enable Memory Deep Sleep |
| 276 | gEnableMemDeepSleep=1 |
| 277 | |
| 278 | # Regulatory Setting; 0=STRICT; 1=CUSTOM |
| 279 | gRegulatoryChangeCountry=1 |
| 280 | |
| 281 | # RA filtering rate limit param, the current value would not |
| 282 | # help if the lifetime in RA is less than 3*60=3min. Then |
| 283 | # we need to change it, though it is uncommon. |
| 284 | # gRAFilterEnable=0 |
| 285 | gRArateLimitInterval=600 |
| 286 | |
| 287 | # Maximum number of concurrent connections |
| 288 | gMaxConcurrentActiveSessions=3 |
| 289 | |
| 290 | # Disable/Enable GreenAP |
| 291 | # 0 to disable, 1 to enable, default: 1 |
| 292 | gEnableGreenAp=0 |
| 293 | |
| 294 | # Radar PRI multiplier |
| 295 | gDFSradarMappingPriMultiplier=4 |
| 296 | |
| 297 | gPNOScanSupport=1 |
| 298 | |
| 299 | #Enable/Disable LPASS support |
| 300 | # 0 to disable, 1 to enable |
| 301 | gEnableLpassSupport=1 |
| 302 | |
| 303 | # Whether userspace country code setting shld have priority |
| 304 | gCountryCodePriority=1 |
| 305 | |
| 306 | # Enable(1)/Disable(0) SIFS burst |
| 307 | gEnableSifsBurst=1 |
| 308 | |
| 309 | # Enable or Disable Multi-user MIMO |
| 310 | # 1=Enable (default), 0=Disable |
| 311 | gEnableMuBformee=1 |
| 312 | |
| 313 | # Enable/Disable channel avoidance for SAP in SCC scenario |
| 314 | # 0 - disable |
| 315 | # 1 - enable |
| 316 | gSapSccChanAvoidance=0 |
| 317 | |
| 318 | # Inactivity time (in ms) to end TX Service Period while in IBSS power save mode |
| 319 | gIbssTxSpEndInactivityTime=10 |
| 320 | |
| 321 | # Enable TDLS External Control. That is, user space application has to |
| 322 | # first configure a peer MAC in wlan driver towards which TDLS is desired. |
| 323 | # Device will establish TDLS only towards those configured peers whenever |
| 324 | # TDLS criteria (throughput and RSSI threshold) is met and teardown TDLS |
| 325 | # when teardown criteria (idle packet count and RSSI) is met. However, |
| 326 | # device will accept TDLS connection if it is initiated from any other peer, |
| 327 | # even if that peer is not configured. |
| 328 | # 0 - disable |
| 329 | # 1 - enable |
| 330 | # For TDLS External Control, Implicit Trigger must also be enabled. |
| 331 | gTDLSExternalControl=1 |
| 332 | |
| 333 | # Enable support for TDLS off-channel operation |
| 334 | # 0 - disable |
| 335 | # 1 - enable |
| 336 | # TDLS off-channel operation will be invoked when there is only one |
| 337 | # TDLS connection. |
| 338 | gEnableTDLSOffChannel=1 |
| 339 | |
| 340 | # Enable or Disable Random MAC (Spoofing) |
| 341 | # 1=Enable (default), 0=Disable |
| 342 | gEnableMacAddrSpoof=1 |
| 343 | |
| 344 | ################ Datapath feature set Begin ################ |
| 345 | # Bus bandwidth threshold values in terms of number of packets |
| 346 | gBusBandwidthHighThreshold=2000 |
| 347 | gBusBandwidthMediumThreshold=500 |
| 348 | gBusBandwidthLowThreshold=150 |
| 349 | |
| 350 | # Bus bandwidth compute timeout value in ms |
| 351 | gBusBandwidthComputeInterval=100 |
| 352 | |
| 353 | # VHT Tx/Rx MCS values |
| 354 | # Valid values are 0,1,2. If commented out, the default value is 0. |
| 355 | # 0=MCS0-7, 1=MCS0-8, 2=MCS0-9 |
| 356 | gVhtRxMCS=2 |
| 357 | gVhtTxMCS=2 |
| 358 | |
| 359 | # VHT Tx/Rx MCS values for 2x2 |
| 360 | # Valid values are 0,1,2. If commented out, the default value is 0. |
| 361 | # 0=MCS0-7, 1=MCS0-8, 2=MCS0-9 |
| 362 | gEnable2x2=1 |
| 363 | gVhtRxMCS2x2=2 |
| 364 | gVhtTxMCS2x2=2 |
| 365 | |
| 366 | #IPA config is a bit mask and following are the configurations. |
| 367 | #bit0 IPA Enable |
| 368 | #bit1 IPA PRE Filter enable |
| 369 | #bit2 IPv6 enable |
| 370 | #bit3 IPA Resource Manager (RM) enable |
| 371 | #bit4 IPA Clock scaling enable |
| 372 | #bit5 IPA uC ENABLE |
| 373 | #bit6 IPA uC STA ENABLE |
| 374 | #bit8 IPA Real Time Debugging |
| 375 | gIPAConfig=0x7d |
| 376 | gIPADescSize=800 |
| 377 | |
| 378 | # Enable/Disable RX full reorder offload |
| 379 | gReorderOffloadSupported=1 |
| 380 | |
| 381 | # Enable CE classification |
| 382 | # 1 - enable(default) 0 - disable |
| 383 | gCEClassifyEnable=1 |
| 384 | |
| 385 | # Enable Rx handling options |
| 386 | # Rx_thread=1 RPS=2(default for ROME) NAPI=4(default for ihelium) |
| 387 | rx_mode=5 |
| 388 | |
| 389 | # Enable(Tx) fastpath for data traffic. |
| 390 | # 1 - enable(default) 0 - disable |
| 391 | gEnableFastPath=1 |
| 392 | |
| 393 | # This flag enables IP, TCP and UDP checksum offload |
| 394 | # 1 - enable(default) 0 - disable |
| 395 | gEnableIpTcpUdpChecksumOffload=1 |
| 396 | |
| 397 | # Enable TCP Segmentation Offload |
| 398 | # 1 - enable 0 - disable |
| 399 | TSOEnable=1 |
| 400 | |
| 401 | # Enable Generic Receive Offload |
| 402 | # 1 - enable(default) 0 - disable |
| 403 | GROEnable=1 |
| 404 | |
| 405 | # Enable HT MPDU Density |
| 406 | # 4 for 2 micro sec |
| 407 | ght_mpdu_density=4 |
| 408 | |
| 409 | # Enable flow steering to enable multiple CEs for Rx flows. |
| 410 | # Multiple Rx CEs<==>Multiple Rx IRQs<==>probably different CPUs. |
| 411 | # Parallel Rx paths. |
| 412 | # 1 - enable 0 - disable(default) |
| 413 | gEnableFlowSteering=1 |
| 414 | |
| 415 | # Time in microseconds after which a NAPI poll must yield |
| 416 | ce_service_max_yield_time=500 |
| 417 | |
| 418 | #Maximum number of HTT messages to be processed per NAPI poll |
| 419 | ce_service_max_rx_ind_flush=1 |
| 420 | |
| 421 | # Maximum number of MSDUs the firmware will pack in one HTT_T2H_MSG_TYPE_RX_IN_ORD_PADDR_IND |
| 422 | maxMSDUsPerRxInd=8 |
| 423 | |
| 424 | # Enable NUD tracking feature |
| 425 | # 1 - enable 0 - disable(default) |
| 426 | gEnableNUDTracking=1 |
| 427 | |
| 428 | # Enable PEER UNMAP CONF SUPPORT |
| 429 | # 1 - enable 0 - disable(default) |
| 430 | gEnablePeerUnmapConfSupport=1 |
| 431 | |
| 432 | ################ Datapath feature set End ################ |
| 433 | |
| 434 | ################ NAN feature set start ################### |
| 435 | |
| 436 | # Enable NAN discovery (NAN 1.0) |
| 437 | # 1 - enable 0 - disable(default) |
| 438 | gEnableNanSupport=1 |
| 439 | # Enable NAN Datapath |
| 440 | genable_nan_datapath=1 |
| 441 | |
| 442 | ################ NAN feature set end ##################### |
| 443 | |
| 444 | adaptive_dwell_mode_enabled=1 |
| 445 | |
| 446 | hostscan_adaptive_dwell_mode=1 |
| 447 | |
| 448 | adapt_dwell_lpf_weight=80 |
| 449 | |
| 450 | adapt_dwell_wifi_act_threshold=10 |
| 451 | |
| 452 | MAWCEnabled=0 |
| 453 | |
| 454 | # Enable/Disable rtt sta mac randomization |
| 455 | enable_rtt_mac_randomization=1 |
| 456 | |
| 457 | #Enable/Disable SNR monitoring |
| 458 | gEnableSNRMonitoring=1 |
| 459 | |
| 460 | # Rx thread affinity mask in UL case |
| 461 | RX_THREAD_UL_CPU_AFFINITY_MASK=0xc0 |
| 462 | END |
| 463 | |
| 464 | # Note: Configuration parser would not read anything past the END marker |
| 465 | |