Home | History | Annotate | Download | only in marlin
      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=1
    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=0
    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 # Remove Overlap channel restriction
    514 gEnableOverLapCh=0
    515 
    516 #Enable VHT on 2.4Ghz
    517 gEnableVhtFor24GHzBand=1
    518 
    519 #Enable or Disable 5G early beacon termination
    520 gEnable5gEBT=1
    521 
    522 #Maximum number of offload peers supported
    523 # gMaxOffloadPeers=2
    524 
    525 # controlling the following offload patterns
    526 # through ini parameter. Default value is 1
    527 # to disable set it to zero. ssdp = 0
    528 # Setup multicast pattern for mDNS 224.0.0.251,
    529 # SSDP 239.255.255.250 and LLMNR 224.0.0.252
    530 
    531 
    532 ssdp = 0
    533 
    534 #Enable Hysteretic mode
    535 gEnableHystereticMode=1
    536 
    537 # Bus bandwidth threshold values in terms of number of packets
    538 gBusBandwidthHighThreshold=2000
    539 gBusBandwidthMediumThreshold=500
    540 gBusBandwidthLowThreshold=150
    541 
    542 # Bus bandwidth compute timeout value in ms
    543 gBusBandwidthComputeInterval=100
    544 
    545 # Regulatory Setting; 0=STRICT; 1=CUSTOM
    546 gRegulatoryChangeCountry=1
    547 
    548 # Maximum number of concurrent connections
    549 gMaxConcurrentActiveSessions=2
    550 
    551 # Radar PRI multiplier
    552 gDFSradarMappingPriMultiplier=4
    553 
    554 gPNOScanSupport=1
    555 
    556 # Perform PNO fast scan this many number of times
    557 gPNOScanTimerRepeatValue=6
    558 
    559 # PNO slow scan period = gPNOSlowScanMultiplier times PNO fast scan period
    560 # Example: fast scan period is passed from framework (default = 10 sec), then
    561 # PNO slow scan period = 60 sec.
    562 gPNOSlowScanMultiplier=6
    563 
    564 # Enable/Disable RX full reorder offload
    565 gReorderOffloadSupported=1
    566 
    567 # userspace country code setting shld take priority
    568 gCountryCodePriority=1
    569 
    570 # Enable/Disable LPASS support
    571 # 0 to disable, 1 to enable
    572 gEnableLpassSupport=1
    573 
    574 # Enable(1)/Disable(0) SIFS burst
    575 gEnableSifsBurst=1
    576 
    577 # Enable or Disable Multi-user MIMO
    578 # 1=Enable (default), 0=Disable
    579 gEnableMuBformee=1
    580 
    581 # Enable/Disable channel avoidance for SAP in SCC scenario
    582 # 0 - disable
    583 # 1 - enable
    584 gSapSccChanAvoidance=0
    585 
    586 # RA filtering rate limit param, the current value would not
    587 # help if the lifetime in RA is less than 3*60=3min. Then
    588 # we need to change it, though it is uncommon.
    589 # Enable RA filtering offload
    590 gRAFilterEnable=1
    591 gRArateLimitInterval=300
    592 
    593 # Inactivity time (in ms) to end TX Service Period while in IBSS power save mode
    594 gIbssTxSpEndInactivityTime=10
    595 
    596 # Enable support for TDLS
    597 #  0 - disable
    598 #  1 - enable
    599 gEnableTDLSSupport=1
    600 
    601 # Enable support for Implicit Trigger of TDLS. That is, wlan driver shall
    602 # initiate TDLS Discovery towards a peer whenever setup criteria (throughput
    603 # and RSSI) is met and then will initiate teardown when teardown criteria
    604 # (idle packet count and RSSI) is met.
    605 #  0 - disable
    606 #  1 - enable
    607 gEnableTDLSImplicitTrigger=1
    608 
    609 # Enable TDLS External Control. That is, user space application has to
    610 # first configure a peer MAC in wlan driver towards which TDLS is desired.
    611 # Device will establish TDLS only towards those configured peers whenever
    612 # TDLS criteria (throughput and RSSI threshold) is met and teardown TDLS
    613 # when teardown criteria (idle packet count and RSSI) is met. However,
    614 # device will accept TDLS connection if it is initiated from any other peer,
    615 # even if that peer is not configured.
    616 #  0 - disable
    617 #  1 - enable
    618 # For TDLS External Control, Implicit Trigger must also be enabled.
    619 gTDLSExternalControl=1
    620 
    621 # Enable support for TDLS off-channel operation
    622 #  0 - disable
    623 #  1 - enable
    624 # TDLS off-channel operation will be invoked when there is only one
    625 # TDLS connection.
    626 gEnableTDLSOffChannel=1
    627 
    628 gEnableTDLSScan=1
    629 gTDLSTxStatsPeriod=500
    630 gTDLSTxPacketThreshold=10
    631 gTDLSIdlePacketThreshold=1
    632 
    633 # Enable/Disable Roaming Offload Support (a.k.a Key Management Offload)
    634 # 0 to disable, 1 to enable
    635 gRoamOffloadEnabled=0
    636 
    637 gEnableSelfRecovery=1
    638 
    639 #Enable MC address filtering offload
    640 gMCAddrListEnable=1
    641 # Enable Runtime PM Feature.
    642 # Enabling this feature will put target wow and shutdown pcie link
    643 # when inactivity is detected in WLAN Driver.
    644 # This feature is inactive when beaconing interfaces are active with
    645 # clients associated.
    646 # 0 - disable
    647 # 1 - enable
    648 
    649 gRuntimePM=1
    650 # When gRuntimePM is disabled gRuntimeAutoTime won't take effect.
    651 # The Time is in msec.
    652 # 100 is min, 10000 is max, 500 is default.
    653 
    654 gRuntimePMDelay=500
    655 
    656 # Enable to check FW hash if secure FW feature is enabled. It's for defconfig
    657 # builds only since it will be ignored in performance/release builds.
    658 gEnableFWHashCheck=1
    659 
    660 # Tx Chain Mask for CCK
    661 gCckChainMaskEnable=1
    662 
    663 # Tx Chain Mask for 1SS
    664 gTxChainMask1ss=0
    665 
    666 # TPC power
    667 gSelfGenFrmPwr=3
    668 
    669 gAllowDFSChannelRoam=1
    670 
    671 # Enable or Disable Extended Scan (GScan)
    672 # 1=Enable (default), 0=Disable
    673 gExtScanEnable=1
    674 
    675 # Enable or Disable NAN
    676 # 1=Enable (default), 0=Disable
    677 gEnableNanSupport=1
    678 
    679 gEnableModulatedDTIM=2
    680 gMaxLIModulatedDTIM=6
    681 
    682 # Disable 11AC for hotspot
    683 gSapForce11NFor11AC=1
    684 
    685 gIgnorePeerHTopMode=1
    686 gIgnorePeerErpInfo=1
    687 
    688 # Enable Active mode offload
    689 gActiveModeOffload=1
    690 
    691 END
    692 
    693 # Note: Configuration parser would not read anything past the END marker
    694