Home | History | Annotate | Download | only in wifi
      1 # This file allows user to override the factory
      2 
      3 # defaults for the WLAN Driver
      4 
      5 
      6 # Enable IMPS or not
      7 gEnableImps=1
      8 
      9 # Enable/Disable Idle Scan
     10 
     11 gEnableIdleScan=0
     12 
     13 
     14 # Increase sleep duration (seconds) during IMPS
     15 # 0 implies no periodic wake up from IMPS. Periodic wakeup is
     16 # unnecessary if Idle Scan is disabled.
     17 gImpsModSleepTime=0
     18 
     19 
     20 # Enable BMPS or not
     21 gEnableBmps=1
     22 
     23 # Enable suspend or not
     24 
     25 # 1: Enable standby, 2: Enable Deep sleep, 3: Enable Mcast/Bcast Filter
     26 
     27 gEnableSuspend=3
     28 
     29 
     30 # Phy Mode (auto, b, g, n, etc)
     31 # Valid values are 0-9, with 0 = Auto, 4 = 11n, 9 = 11ac
     32 # 1 = 11abg, 2 = 11b, 3 = 11g, 5 = 11g only, 6 = 11n only
     33 # 7 = 11b only 8 = 11ac only.
     34 gDot11Mode=0
     35 
     36 
     37 # CSR Roaming Enable(1) Disable(0)
     38 
     39 gRoamingTime=0
     40 
     41 
     42 # Assigned MAC Addresses - This will be used until NV items are in place
     43 
     44 # Each byte of MAC address is represented in Hex format as XX
     45 
     46 Intf0MacAddress=000AF58989FF
     47 Intf1MacAddress=000AF58989FE
     48 Intf2MacAddress=000AF58989FD
     49 
     50 Intf3MacAddress=000AF58989FC
     51 
     52 
     53 # UAPSD service interval for VO,VI, BE, BK traffic
     54 
     55 InfraUapsdVoSrvIntv=0
     56 
     57 InfraUapsdViSrvIntv=0
     58 
     59 InfraUapsdBeSrvIntv=0
     60 
     61 InfraUapsdBkSrvIntv=0
     62 
     63 # Flag to allow STA send AddTspec even when ACM is Off
     64 gAddTSWhenACMIsOff=1
     65 
     66 # Make 1x1 the default antenna configuration
     67 
     68 gNumRxAnt=1
     69 
     70 
     71 # Beacon filtering frequency (unit in beacon intervals)
     72 
     73 gNthBeaconFilter=50
     74 
     75 
     76 # Enable WAPI or not
     77 
     78 # WAPIIsEnabled=0
     79 
     80 
     81 # Flags to filter Mcast abd Bcast RX packets.
     82 
     83 # Value 0: No filtering, 1: Filter all Multicast.
     84 
     85 # 2: Filter all Broadcast. 3: Filter all Mcast abd Bcast
     86 
     87 McastBcastFilter=3
     88 
     89 
     90 #Flag to enable HostARPOffload feature or not
     91 
     92 hostArpOffload=1
     93 
     94 #Flag to enable TCPChkSumOffld feature or not
     95 
     96 gEnableTCPChkSumOffld=1
     97 
     98 #Flag to enable HostNSOffload feature or not
     99 
    100 hostNSOffload=1
    101 
    102 #Flag to enable IPChkSumOffld feature or not
    103 
    104 gEnableIPChecksumOffload=1
    105 
    106 #SoftAP Related Parameters
    107 
    108 # AP MAc addr
    109 
    110 gAPMacAddr=000AF589dcab
    111 
    112 
    113 # 802.11n Protection flag
    114 
    115 gEnableApProt=1
    116 
    117 
    118 #Enable OBSS protection
    119 
    120 gEnableApOBSSProt=1
    121 
    122 
    123 #Enable/Disable UAPSD for SoftAP
    124 
    125 gEnableApUapsd=1
    126 
    127 
    128 # Fixed Rate
    129 
    130 gFixedRate=0
    131 
    132 
    133 # Maximum Tx power
    134 
    135 # gTxPowerCap=30
    136 
    137 
    138 # Fragmentation Threshold
    139 
    140 # gFragmentationThreshold=2346
    141 
    142 
    143 # RTS threshold
    144 
    145 RTSThreshold=1048576
    146 
    147 
    148 # Intra-BSS forward
    149 
    150 gDisableIntraBssFwd=0
    151 
    152 
    153 # WMM Enable/Disable
    154 
    155 WmmIsEnabled=0
    156 
    157 
    158 # 802.11d support
    159 
    160 g11dSupportEnabled=0
    161 
    162 # 802.11h support
    163 
    164 g11hSupportEnabled=1
    165 
    166 # DFS Master Capability
    167 gEnableDFSMasterCap=1
    168 
    169 # ESE Support and fast transition
    170 EseEnabled=1
    171 ImplicitQosIsEnabled=0
    172 gNeighborScanTimerPeriod=200
    173 
    174 gNeighborLookupThreshold=76
    175 gNeighborReassocThreshold=81
    176 
    177 gNeighborScanChannelMinTime=20
    178 gNeighborScanChannelMaxTime=30
    179 gMaxNeighborReqTries=3
    180 
    181 # Legacy (non-ESE, non-802.11r) Fast Roaming Support
    182 # To enable, set FastRoamEnabled=1
    183 # To disable, set FastRoamEnabled=0
    184 FastRoamEnabled=1
    185 
    186 #Check if the AP to which we are roaming is better than current AP in terms of RSSI.
    187 #Checking is disabled if set to Zero.Otherwise it will use this value as to how better
    188 #the RSSI of the new/roamable AP should be for roaming
    189 RoamRssiDiff=3
    190 
    191 # If the RSSI of any available candidate is better than currently associated
    192 # AP by at least gImmediateRoamRssiDiff, then being to roam immediately (without
    193 # registering for reassoc threshold).
    194 # NOTE: Value of 0 means that we would register for reassoc threshold.
    195 gImmediateRoamRssiDiff=10
    196 
    197 # To enable, set gRoamIntraBand=1 (Roaming within band)
    198 # To disable, set gRoamIntraBand=0 (Roaming across band)
    199 gRoamIntraBand=0
    200 
    201 # SAP Country code
    202 
    203 # Default Country Code is 2 bytes, 3rd byte is optional indoor or out door.
    204 
    205 # Example
    206 
    207 #   US Indoor, USI
    208 
    209 #   Korea Outdoor, KRO
    210 
    211 #   Japan without optional byte, JP
    212 
    213 #   France without optional byte, FR
    214 
    215 #gAPCntryCode=USI
    216 
    217 
    218 #Short Guard Interval Enable/disable
    219 
    220 gShortGI20Mhz=1
    221 
    222 gShortGI40Mhz=1
    223 
    224 
    225 #Auto Shutdown  Value in seconds. A value of 0 means Auto shutoff is disabled
    226 
    227 gAPAutoShutOff=0
    228 
    229 #Auto Shutdown wlan : Value in Seconds. 0 means disabled. Max 1 day = 86400 sec
    230 gWlanAutoShutdown = 0
    231 
    232 
    233 # SAP auto channel selection configuration
    234 
    235 # 0 = disable auto channel selection
    236 
    237 # 1 = enable auto channel selection, channel provided by supplicant will be ignored
    238 
    239 gApAutoChannelSelection=0
    240 
    241 
    242 # Listen Energy Detect Mode Configuration
    243 
    244 # Valid values 0-128
    245 
    246 # 128 means disable Energy Detect feature
    247 
    248 # 0-9 are threshold code and 7 is recommended value from system if feature is to be enabled.
    249 
    250 # 10-128 are reserved.
    251 
    252 # The EDET threshold mapping is as follows in 3dB step:
    253 
    254 # 0 = -60 dBm
    255 
    256 # 1 = -63 dBm
    257 
    258 # 2 = -66 dBm
    259 
    260 # ...
    261 
    262 # 7 = -81 dBm
    263 
    264 # 8 = -84 dBm
    265 
    266 # 9 = -87 dBm
    267 
    268 # Note: Any of these settings are valid. Setting 0 would yield the highest power saving (in a noisy environment) at the cost of more range. The range impact is approximately #calculated as:
    269 
    270 #
    271 
    272 #  Range Loss  (dB)  =  EDET threshold level (dBm) + 97 dBm.
    273 
    274 #
    275 
    276 gEnablePhyAgcListenMode=128
    277 
    278 
    279 #Preferred band (both or 2.4 only or 5 only)
    280 
    281 BandCapability=0
    282 
    283 
    284 #Beacon Early Termination (1 = enable the BET feature, 0 = disable)
    285 
    286 enableBeaconEarlyTermination=0
    287 
    288 beaconEarlyTerminationWakeInterval=3
    289 
    290 
    291 #SOFTAP Channel Range selection
    292 
    293 gAPChannelSelectStartChannel=1
    294 
    295 gAPChannelSelectEndChannel=11
    296 
    297 
    298 #SOFTAP Channel Range selection Operating band
    299 
    300 # 0:2.4GHZ 1: LOW-5GHZ 2:MID-5GHZ 3:HIGH-5GHZ 4: 4.9HZ BAND
    301 
    302 gAPChannelSelectOperatingBand=0
    303 
    304 
    305 #Channel Bonding
    306 gChannelBondingMode5GHz=1
    307 gChannelBondingMode24GHz=0
    308 
    309 
    310 #Enable Keep alive with non-zero period value
    311 
    312 gStaKeepAlivePeriod = 30
    313 
    314 #Say gGoKeepAlivePeriod(5 seconds) and gGoLinkMonitorPeriod(10 seconds).
    315 #For every 10 seconds DUT send Qos Null frame(i.e., Keep Alive frame if link is idle for last 10 seconds.)
    316 #For both active and power save clients.
    317 
    318 #Power save clients: DUT set TIM bit from 10th second onwards and till client honors TIM bit.
    319 #If doesn't honor for 5 seconds then DUT remove client.
    320 
    321 #Active clients: DUT send Qos Null frame for 10th seconds onwards if it is not success still we try on
    322 #11th second if not tries on 12th and so on till 15th second. Hence before disconnection DUT will send 5 NULL frames.
    323 #Hence in any case DUT will detect client got removed in (10+5) seconds. i.e., (gGoKeepAlivePeriod + gGoLinkMonitorPeriod)..
    324 
    325 #gGoLinkMonitorPeriod/ gApLinkMonitorPeriod is period where link is idle and it is period
    326 #where we send NULL frame.
    327 
    328 #gApLinkMonitorPeriod = 10
    329 
    330 #gGoLinkMonitorPeriod = 10
    331 
    332 #gGoKeepAlivePeriod/gApKeepAlivePeriod is time to spend to check whether frame are succeed to send or not.
    333 #Hence total effective detection time is gGoLinkMonitorPeriod+ gGoKeepAlivePeriod/gApLinkMonitorPeriod+ gApKeepAlivePeriod.
    334 
    335 
    336 gGoKeepAlivePeriod = 20
    337 
    338 gApKeepAlivePeriod = 20
    339 
    340 
    341 #If set will start with active scan after driver load, otherwise will start with
    342 
    343 #passive scan to find out the domain
    344 
    345 gEnableBypass11d=1
    346 
    347 
    348 #If set to 0, will not scan DFS channels
    349 
    350 gEnableDFSChnlScan=1
    351 
    352 
    353 gVhtChannelWidth=2
    354 gEnableLogp=1
    355 
    356 
    357 # Enable Automatic Tx Power control
    358 
    359 gEnableAutomaticTxPowerControl=1
    360 
    361 # 0 for OLPC 1 for CLPC and SCPC
    362 gEnableCloseLoop=1
    363 
    364 #Data Inactivity Timeout when in powersave (in ms)
    365 gDataInactivityTimeout=200
    366 
    367 # VHT Tx/Rx MCS values
    368 # Valid values are 0,1,2. If commented out, the default value is 0.
    369 # 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
    370 gVhtRxMCS=2
    371 gVhtTxMCS=2
    372 
    373 # VHT Tx/Rx MCS values for 2x2
    374 # Valid values are 0,1,2. If commented out, the default value is 0.
    375 # 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
    376 gEnable2x2=1
    377 gVhtRxMCS2x2=2
    378 gVhtTxMCS2x2=2
    379 
    380 # Enable Tx beamforming
    381 gTxBFEnable=1
    382 
    383 # Enable Tx beamforming in VHT20MHz
    384 # Valid values are 0,1. If commented out, the default value is 0.
    385 # 0=disable, 1=enable
    386 gEnableTxBFin20MHz=1
    387 
    388 # Set txchainmask and rxchainmask
    389 # These parameters are used only if gEnable2x2 is 0
    390 # Valid values are 1,2
    391 # Set gSetTxChainmask1x1=1 or gSetRxChainmask1x1=1 to select chain0.
    392 # Set gSetTxChainmask1x1=2 or gSetRxChainmask1x1=2 to select chain1.
    393 gSetTxChainmask1x1=1
    394 gSetRxChainmask1x1=1
    395 
    396 # Scan Timing Parameters
    397 # gPassiveMaxChannelTime=110
    398 # gPassiveMinChannelTime=60
    399 gActiveMaxChannelTime=40
    400 gActiveMinChannelTime=20
    401 
    402 #If set to 0, MCC is not allowed.
    403 gEnableMCCMode=1
    404 
    405 # MCC to SCC Switch mode: 0-Disable 1-Enable 2-Force SCC if same band
    406 gWlanMccToSccSwitchMode = 0
    407 
    408 # 1=enable STBC; 0=disable STBC
    409 gEnableRXSTBC=1
    410 
    411 # 1=enable tx STBC; 0=disable
    412 gEnableTXSTBC=1
    413 
    414 # 1=enable rx LDPC; 0=disable
    415 gEnableRXLDPC=1
    416 
    417 # Enable Active mode offload
    418 gEnableActiveModeOffload=1
    419 
    420 #Enable Scan Results Aging based on timer
    421 #Timer value is in seconds
    422 #If Set to 0 it will not enable the feature
    423 gScanAgingTime=0
    424 
    425 #Enable Scan Results Aging based on number of scans
    426 gScanResultAgeCount=1
    427 
    428 #Enable Power saving mechanism Based on Android Framework
    429 #If set to 0 Driver internally control the Power saving mechanism
    430 #If set to 1 Android Framwrok control the Power saving mechanism
    431 isAndroidPsEn=0
    432 
    433 #Enable thermal mitigation
    434 gThermalMitigationEnable=0
    435 
    436 gEnableFastRoamInConcurrency=1
    437 
    438 #List of Country codes for which 11ac needs to be disabled
    439 #Each country code must be delimited by comma(,)
    440 gListOfNon11acCountryCode=RU,UA,ZA
    441 
    442 #Maxium Channel time in msec
    443 gMaxMediumTime = 6000
    444 
    445 # 802.11K support
    446 gRrmEnable=1
    447 gRrmOperChanMax=8
    448 gRrmNonOperChanMax=8
    449 gRrmRandIntvl=100
    450 
    451 #Scan offload
    452 gEnableDirectedScanOffload=1
    453 
    454 #FlexConnect Power Factor
    455 #Default is set to 0 (disable)
    456 gFlexConnectPowerFactor=0
    457 
    458 #Disable split scan, the FW will take care of it
    459 gNumChanCombinedConc=60
    460 
    461 #Enable Power Save offload
    462 gEnablePowerSaveOffload=5
    463 
    464 #Enable firmware uart print
    465 gEnablefwprint=0
    466 
    467 #Enable firmware log
    468 gEnablefwlog=1
    469 # Additional firmware log levels
    470 gFwDebugLogLevel=4
    471 gFwDebugModuleLoglevel=1,0,2,0,4,0,5,0,6,0,7,4,8,0,9,0,11,0,13,0,17,0,18,0,19,0,27,0,29,0,31,0,35,0,36,0,38,0
    472 
    473 #IPA config
    474 gIPAEnable=0x00
    475 gIPADescSize=800
    476 gIPAPreFilterEnable=1
    477 gIPARMEnable=1
    478 gIPAIPv6Enable=1
    479 
    480 #P2P Listen offload
    481 gEnableP2pListenOffload=1
    482 
    483 # Maximum Receive AMPDU size (VHT only. Valid values: 0->8k 1->16k 2->32k 3->64k 4->128k)
    484 gVhtAmpduLenExponent=7
    485 
    486 # Maximum MPDU length (VHT only. Valid values: 0->3895 octets, 1->7991 octets, 2->11454 octets)
    487 gVhtMpduLen=2
    488 
    489 # Maximum number of wow filters required
    490 #gMaxWoWFilters=22
    491 
    492 # WOW Enable/Disable.
    493 # 0 - Disable both magic pattern match and pattern byte match.
    494 # 1 - Enable magic pattern match on all interfaces.
    495 # 2 - Enable pattern byte match on all interfaces.
    496 # 3 - Enable both magic patter and pattern byte match on all interfaces.
    497 # Default value of gEnableWoW is 3.
    498 # gEnableWoW=0
    499 
    500 # Enable or Disable MCC Adaptive Scheduler at the FW
    501 # 1=Enable (default), 0=Disable
    502 gEnableMCCAdaptiveScheduler=1
    503 
    504 #Enable or Disable p2p device address administered
    505 isP2pDeviceAddrAdministrated=1
    506 
    507 # RX packet handling options
    508 # 0: no rx thread, no RPS, for MDM
    509 # 1: RX thread
    510 # 2: RPS
    511 rxhandle=2
    512 
    513 # Set Thermal Power limit
    514 TxPower2g=10
    515 TxPower5g=10
    516 
    517 # Remove Overlap channel restriction
    518 gEnableOverLapCh=0
    519 
    520 #Enable VHT on 2.4Ghz
    521 gEnableVhtFor24GHzBand=1
    522 
    523 #Enable or Disable 5G early beacon termination
    524 gEnable5gEBT=1
    525 
    526 #Maximum number of offload peers supported
    527 # gMaxOffloadPeers=2
    528 
    529 # controlling the following offload patterns
    530 # through ini parameter. Default value is 1
    531 # to disable set it to zero. ssdp = 0
    532 # Setup multicast pattern for mDNS 224.0.0.251,
    533 # SSDP 239.255.255.250 and LLMNR 224.0.0.252
    534 
    535 
    536 ssdp = 0
    537 
    538 #Enable Hysteretic mode
    539 gEnableHystereticMode=1
    540 
    541 # Bus bandwidth threshold values in terms of number of packets
    542 gBusBandwidthHighThreshold=2000
    543 gBusBandwidthMediumThreshold=500
    544 gBusBandwidthLowThreshold=150
    545 
    546 # Bus bandwidth compute timeout value in ms
    547 gBusBandwidthComputeInterval=100
    548 
    549 # Regulatory Setting; 0=STRICT; 1=CUSTOM
    550 gRegulatoryChangeCountry=1
    551 
    552 # Maximum number of concurrent connections
    553 gMaxConcurrentActiveSessions=2
    554 
    555 # Radar PRI multiplier
    556 gDFSradarMappingPriMultiplier=4
    557 
    558 gPNOScanSupport=1
    559 
    560 # Perform PNO fast scan this many number of times
    561 gPNOScanTimerRepeatValue=6
    562 
    563 # PNO slow scan period = gPNOSlowScanMultiplier times PNO fast scan period
    564 # Example: fast scan period is passed from framework (default = 10 sec), then
    565 # PNO slow scan period = 60 sec.
    566 gPNOSlowScanMultiplier=6
    567 
    568 # Enable/Disable RX full reorder offload
    569 gReorderOffloadSupported=1
    570 
    571 # userspace country code setting shld take priority
    572 gCountryCodePriority=1
    573 
    574 # Enable/Disable LPASS support
    575 # 0 to disable, 1 to enable
    576 gEnableLpassSupport=1
    577 
    578 # Enable(1)/Disable(0) SIFS burst
    579 gEnableSifsBurst=1
    580 
    581 # Enable or Disable Multi-user MIMO
    582 # 1=Enable (default), 0=Disable
    583 gEnableMuBformee=1
    584 
    585 # Enable/Disable channel avoidance for SAP in SCC scenario
    586 # 0 - disable
    587 # 1 - enable
    588 gSapSccChanAvoidance=0
    589 
    590 # RA filtering rate limit param, the current value would not
    591 # help if the lifetime in RA is less than 3*60=3min. Then
    592 # we need to change it, though it is uncommon.
    593 # Enable RA filtering offload
    594 gRAFilterEnable=0
    595 gRArateLimitInterval=300
    596 
    597 # Inactivity time (in ms) to end TX Service Period while in IBSS power save mode
    598 gIbssTxSpEndInactivityTime=10
    599 
    600 # Enable support for TDLS
    601 #  0 - disable
    602 #  1 - enable
    603 gEnableTDLSSupport=1
    604 
    605 # Enable support for Implicit Trigger of TDLS. That is, wlan driver shall
    606 # initiate TDLS Discovery towards a peer whenever setup criteria (throughput
    607 # and RSSI) is met and then will initiate teardown when teardown criteria
    608 # (idle packet count and RSSI) is met.
    609 #  0 - disable
    610 #  1 - enable
    611 gEnableTDLSImplicitTrigger=1
    612 
    613 # Enable TDLS External Control. That is, user space application has to
    614 # first configure a peer MAC in wlan driver towards which TDLS is desired.
    615 # Device will establish TDLS only towards those configured peers whenever
    616 # TDLS criteria (throughput and RSSI threshold) is met and teardown TDLS
    617 # when teardown criteria (idle packet count and RSSI) is met. However,
    618 # device will accept TDLS connection if it is initiated from any other peer,
    619 # even if that peer is not configured.
    620 #  0 - disable
    621 #  1 - enable
    622 # For TDLS External Control, Implicit Trigger must also be enabled.
    623 gTDLSExternalControl=1
    624 
    625 # Enable support for TDLS off-channel operation
    626 #  0 - disable
    627 #  1 - enable
    628 # TDLS off-channel operation will be invoked when there is only one
    629 # TDLS connection.
    630 gEnableTDLSOffChannel=1
    631 
    632 gEnableTDLSScan=1
    633 gTDLSTxStatsPeriod=500
    634 gTDLSTxPacketThreshold=10
    635 gTDLSIdlePacketThreshold=1
    636 
    637 # Enable/Disable Roaming Offload Support (a.k.a Key Management Offload)
    638 # 0 to disable, 1 to enable
    639 gRoamOffloadEnabled=0
    640 
    641 gEnableSelfRecovery=1
    642 
    643 #Enable MC address filtering offload
    644 gMCAddrListEnable=1
    645 # Enable Runtime PM Feature.
    646 # Enabling this feature will put target wow and shutdown pcie link
    647 # when inactivity is detected in WLAN Driver.
    648 # This feature is inactive when beaconing interfaces are active with
    649 # clients associated.
    650 # 0 - disable
    651 # 1 - enable
    652 
    653 gRuntimePM=1
    654 # When gRuntimePM is disabled gRuntimeAutoTime won't take effect.
    655 # The Time is in msec.
    656 # 100 is min, 10000 is max, 500 is default.
    657 
    658 gRuntimePMDelay=500
    659 
    660 # Enable to check FW hash if secure FW feature is enabled. It's for defconfig
    661 # builds only since it will be ignored in performance/release builds.
    662 gEnableFWHashCheck=1
    663 
    664 # Tx Chain Mask for CCK
    665 gCckChainMaskEnable=1
    666 
    667 # Tx Chain Mask for 1SS
    668 gTxChainMask1ss=0
    669 
    670 # TPC power
    671 gSelfGenFrmPwr=3
    672 
    673 gAllowDFSChannelRoam=1
    674 
    675 # Enable or Disable Extended Scan (GScan)
    676 # 1=Enable (default), 0=Disable
    677 gExtScanEnable=1
    678 
    679 # Enable or Disable NAN
    680 # 1=Enable (default), 0=Disable
    681 gEnableNanSupport=1
    682 
    683 g_use_otpmac=0
    684 
    685 END
    686 
    687 # Note: Configuration parser would not read anything past the END marker
    688