Home | History | Annotate | Download | only in muskie
      1 # This file allows user to override the factory
      2 # defaults for the WLAN Driver
      3 
      4 #############################################
      5 # STA related general configurations
      6 #############################################
      7 # Assigned MAC Addresses - This will be used until NV items are in place
      8 # Each byte of MAC address is represented in Hex format as XX
      9 Intf0MacAddress=000AF58989FF
     10 Intf1MacAddress=000AF58989FE
     11 Intf2MacAddress=000AF58989FD
     12 Intf3MacAddress=000AF58989FC
     13 
     14 #Channel Bonding
     15 gChannelBondingMode5GHz=1
     16 gChannelBondingMode24GHz=0
     17 
     18 #Enable Keep alive with non-zero period value
     19 gStaKeepAlivePeriod=60
     20 
     21 # Maximum MPDU length (VHT only. Valid values: 0->3895 octets, 1->7991 octets, 2->11454 octets)
     22 gVhtMpduLen=2
     23 
     24 # 0 for OLPC 1 for CLPC and SCPC
     25 gEnableCloseLoop=1
     26 
     27 ImplicitQosIsEnabled=0
     28 
     29 # Enable Tx beamforming in VHT20MHz
     30 # Valid values are 0,1. If commented out, the default value is 0.
     31 # 0=disable, 1=enable
     32 gEnableTxBFin20MHz=1
     33 
     34 #Enable/Disable SU Tx beamformer support.
     35 gEnableTxSUBeamformer=1
     36 
     37 # 1=enable tx STBC; 0=disable
     38 gEnableTXSTBC=1
     39 
     40 # 1=enable STBC; 0=disable STBC
     41 gEnableRXSTBC=1
     42 
     43 # 1=enable rx LDPC; 0=disable
     44 gEnableRXLDPC=1
     45 
     46 # Flag to allow STA send AddTspec even when ACM is Off
     47 gAddTSWhenACMIsOff=1
     48 
     49 # RTS threshold
     50 RTSThreshold=1048576
     51 
     52 # 802.11d support
     53 g11dSupportEnabled=0
     54 
     55 
     56 # Phy Mode (auto, b, g, n, etc)
     57 # Valid values are 0-9, with 0 = Auto, 4 = 11n, 9 = 11ac
     58 # 1 = 11abg, 2 = 11b, 3 = 11g, 5 = 11g only, 6 = 11n only
     59 # 7 = 11b only 8 = 11ac only.
     60 gDot11Mode=0
     61 
     62 # Enable Rx handling options
     63 # Rx_thread=1 RPS=2(default for ROME) NAPI=4(default for ihelium)
     64 # Rx_thread + NAPI = 5
     65 rx_mode=5
     66 
     67 #Enable VHT on 2.4Ghz
     68 gEnableVhtFor24GHzBand=1
     69 
     70 # Regulatory Setting; 0=STRICT; 1=CUSTOM
     71 gRegulatoryChangeCountry=1
     72 
     73 # userspace country code setting shld take priority
     74 gCountryCodePriority=1
     75 
     76 # Enable/Disable LPASS support
     77 # 0 to disable, 1 to enable
     78 gEnableLpassSupport=1
     79 
     80 # Enable(1)/Disable(0) SIFS burst
     81 gEnableSifsBurst=1
     82 
     83 # Tx Chain Mask for CCK
     84 gCckChainMaskEnable=1
     85 
     86 # Tx Chain Mask for 1SS
     87 gTxChainMask1ss=0
     88 
     89 # TPC power
     90 gSelfGenFrmPwr=3
     91 
     92 ################ NAN feature set start ###################
     93 # Enable or Disable NAN
     94 # 1=Enable (default), 0=Disable
     95 gEnableNanSupport=1
     96 genable_nan_datapath=1
     97 gnan_datapath_ndi_channel=6
     98 ################ NAN feature set end #####################
     99 
    100 gIgnorePeerHTopMode=1
    101 gIgnorePeerErpInfo=1
    102 
    103 # 802.11n Protection flag
    104 gEnableApProt=1
    105 
    106 # Fixed Rate
    107 gFixedRate=0
    108 
    109 # Intra-BSS forward
    110 gDisableIntraBssFwd=0
    111 
    112 # WMM Enable/Disable
    113 WmmIsEnabled=0
    114 
    115 # 802.11h support
    116 g11hSupportEnabled=1
    117 
    118 #Short Guard Interval Enable/disable
    119 gShortGI20Mhz=1
    120 gShortGI40Mhz=1
    121 
    122 #Auto Shutdown wlan : Value in Seconds. 0 means disabled. Max 1 day = 86400 sec
    123 gWlanAutoShutdown=0
    124 
    125 #Preferred band (both or 2.4 only or 5 only)
    126 BandCapability=0
    127 
    128 gVhtChannelWidth=2
    129 
    130 # Enable Tx beamforming
    131 gTxBFEnable=1
    132 
    133 # Set txchainmask and rxchainmask
    134 # These parameters are used only if gEnable2x2 is 0
    135 # Valid values are 1,2
    136 # Set gSetTxChainmask1x1=1 or gSetRxChainmask1x1=1 to select chain0.
    137 # Set gSetTxChainmask1x1=2 or gSetRxChainmask1x1=2 to select chain1.
    138 gSetTxChainmask1x1=1
    139 gSetRxChainmask1x1=1
    140 
    141 #If set to 0, MCC is not allowed.
    142 gEnableMCCMode=1
    143 
    144 # MCC to SCC Switch mode: 0-Disable 1-Enable 2-Force SCC if same band
    145 gWlanMccToSccSwitchMode = 0
    146 
    147 # Maximum Receive AMPDU size (VHT only. Valid values: 0->8k 1->16k 2->32k 3->64k 4->128k)
    148 gVhtAmpduLenExponent=7
    149 
    150 # Maximum number of concurrent connections
    151 gMaxConcurrentActiveSessions=3
    152 
    153 # Radar PRI multiplier
    154 gDFSradarMappingPriMultiplier=4
    155 
    156 # Enable or Disable Multi-user MIMO
    157 # 1=Enable (default), 0=Disable
    158 gEnableMuBformee=1
    159 
    160 # Enable to check FW hash if secure FW feature is enabled. It's for defconfig
    161 # builds only since it will be ignored in performance/release builds.
    162 gEnableFWHashCheck=1
    163 
    164 # Enable or Disable MCC Adaptive Scheduler at the FW
    165 # 1=Enable (default), 0=Disable
    166 gEnableMCCAdaptiveScheduler=1
    167 
    168 # Disable/Enable GreenAP
    169 # 0 to disable, 1 to enable, default: 1
    170 gEnableGreenAp=0
    171 
    172 ################ Datapath feature set Begin ################
    173 # Bus bandwidth threshold values in terms of number of packets
    174 gBusBandwidthHighThreshold=2000
    175 gBusBandwidthMediumThreshold=500
    176 gBusBandwidthLowThreshold=150
    177 
    178 # Bus bandwidth compute timeout value in ms
    179 gBusBandwidthComputeInterval=100
    180 
    181 # VHT Tx/Rx MCS values
    182 # Valid values are 0,1,2. If commented out, the default value is 0.
    183 # 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
    184 gVhtRxMCS=2
    185 gVhtTxMCS=2
    186 
    187 # VHT Tx/Rx MCS values for 2x2
    188 # Valid values are 0,1,2. If commented out, the default value is 0.
    189 # 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
    190 gEnable2x2=1
    191 gVhtRxMCS2x2=2
    192 gVhtTxMCS2x2=2
    193 
    194 #IPA config is a bit mask and following are the configurations.
    195 #bit0 IPA Enable
    196 #bit1 IPA PRE Filter enable
    197 #bit2 IPv6 enable
    198 #bit3 IPA Resource Manager (RM) enable
    199 #bit4 IPA Clock scaling enable
    200 #bit5 IPA uC ENABLE
    201 #bit6 IPA uC STA ENABLE
    202 #bit8 IPA Real Time Debugging
    203 gIPAConfig=0x3d
    204 gIPADescSize=800
    205 
    206 # Enable/Disable RX full reorder offload
    207 gReorderOffloadSupported=1
    208 
    209 # Enable CE classification
    210 # 1 - enable(default)  0 - disable
    211 gCEClassifyEnable=1
    212 
    213 # Enable(Tx) fastpath for data traffic.
    214 # 1 - enable(default)  0 - disable
    215 gEnableFastPath=1
    216 
    217 # This flag enables IP, TCP and UDP checksum offload
    218 # 1 - enable(default)  0 - disable
    219 gEnableIpTcpUdpChecksumOffload=1
    220 
    221 # Enable TCP Segmentation Offload
    222 # 1 - enable  0 - disable
    223 TSOEnable=0
    224 
    225 # Enable Large Recieve Offload
    226 # 1 - enable(default)  0 - disable
    227 LROEnable=1
    228 
    229 # Enable HT MPDU Density
    230 # 4 for 2 micro sec
    231 ght_mpdu_density=4
    232 
    233 # Enable flow steering to enable multiple CEs for Rx flows.
    234 # Multiple Rx CEs<==>Multiple Rx IRQs<==>probably different CPUs.
    235 # Parallel Rx paths.
    236 # 1 - enable 0 - disable(default)
    237 gEnableFlowSteering=1
    238 
    239 ce_service_max_yield_time=500
    240 ce_service_max_rx_ind_flush=1
    241 maxMSDUsPerRxInd=8
    242 
    243 ################ Datapath feature set End ################
    244 
    245 #############################################
    246 # SCAN related configurations
    247 #############################################
    248 # Enable/Disable Idle Scan
    249 gEnableIdleScan=0
    250 
    251 #Enable Scan Results Aging based on timer
    252 #Timer value is in seconds
    253 #If Set to 0 it will not enable the feature
    254 gScanAgingTime=30
    255 
    256 #Enable Scan Results Aging based on number of scans
    257 gScanResultAgeCount=1
    258 
    259 #Enable thermal mitigation
    260 gThermalMitigationEnable=0
    261 
    262 #Maximum Channel time in msec
    263 gMaxMediumTime=6000
    264 
    265 # Scan Timing Parameters
    266 # gPassiveMaxChannelTime=110
    267 # gPassiveMinChannelTime=60
    268 gActiveMaxChannelTime=40
    269 gActiveMinChannelTime=20
    270 
    271 gPNOScanSupport=1
    272 
    273 # Perform PNO fast scan this many number of times
    274 gPNOScanTimerRepeatValue=6
    275 
    276 # PNO slow scan period = gPNOSlowScanMultiplier times PNO fast scan period
    277 # Example: fast scan period is passed from framework (default = 10 sec), then
    278 # PNO slow scan period = 60 sec.
    279 gPNOSlowScanMultiplier=6
    280 
    281 # Enable or Disable Extended Scan (GScan)
    282 # 1=Enable (default), 0=Disable
    283 gExtScanEnable=1
    284 
    285 #If set will start with active scan after driver load, otherwise will start with
    286 #passive scan to find out the domain
    287 gEnableBypass11d=1
    288 
    289 #If set to 0, will not scan DFS channels
    290 gEnableDFSChnlScan=1
    291 
    292 #Maxium Channel time in msec
    293 gMaxMediumTime = 6000
    294 
    295 adaptive_dwell_mode_enabled=1
    296 
    297 hostscan_adaptive_dwell_mode=1
    298 
    299 adapt_dwell_lpf_weight=80
    300 
    301 adapt_dwell_wifi_act_threshold=10
    302 
    303 # Enable or disable Probe Req Information Element whitelist. When enabled, IEs corresponding to bits
    304 # set in bitmaps are allowed in probe request, all others removed while device is unassociated
    305 # with an AP
    306 # 1=Enable, 0=Disable (default)
    307 g_enable_probereq_whitelist_ies=1
    308 
    309 # ie bitmap examples: <bitmap_name>=<value> [<Allowed Information elements>]
    310 #    g_probe_req_ie_bitmap_0=0x80000009 #[0, 3, 31]
    311 #    g_probe_req_ie_bitmap_0=0x00000000 #[] (default)
    312 #    g_probe_req_ie_bitmap_1=0x80000009 #[32, 35, 63]
    313 g_probe_req_ie_bitmap_0=0x0000000B
    314 # g_probe_req_ie_bitmap_1=0x00000000
    315 # g_probe_req_ie_bitmap_2=0x00000000
    316 # g_probe_req_ie_bitmap_3=0x00000000
    317 # g_probe_req_ie_bitmap_4=0x00000000
    318 # g_probe_req_ie_bitmap_5=0x00000000
    319 # g_probe_req_ie_bitmap_6=0x00000000
    320 # g_probe_req_ie_bitmap_7=0x00000000
    321 
    322 #############################################
    323 # Power related configurations
    324 #############################################
    325 # Enable IMPS or not
    326 gEnableImps=1
    327 
    328 # Enable BMPS or not
    329 gEnableBmps=1
    330 
    331 # Increase sleep duration (seconds) during IMPS
    332 # 0 implies no periodic wake up from IMPS. Periodic wakeup is
    333 # unnecessary if Idle Scan is disabled.
    334 gImpsModSleepTime=0
    335 
    336 # UAPSD service interval for VO,VI, BE, BK traffic
    337 InfraUapsdVoSrvIntv=0
    338 InfraUapsdViSrvIntv=0
    339 InfraUapsdBeSrvIntv=0
    340 InfraUapsdBkSrvIntv=0
    341 
    342 # Enable suspend or not
    343 # 1: Enable standby, 2: Enable Deep sleep, 3: Enable Mcast/Bcast Filter
    344 gEnableSuspend=3
    345 
    346 #Enable Power Save offload
    347 gEnablePowerSaveOffload=2
    348 
    349 #Enable Power saving mechanism Based on Android Framework
    350 #If set to 0 Driver internally control the Power saving mechanism
    351 #If set to 1 Android Framwrok control the Power saving mechanism
    352 isAndroidPsEn=0
    353 
    354 beaconEarlyTerminationWakeInterval=3
    355 
    356 #Data Inactivity Timeout when in powersave (in ms)
    357 gDataInactivityTimeout=200
    358 
    359 # Inactivity time (in ms) to end TX Service Period while in IBSS power save mode
    360 gIbssTxSpEndInactivityTime=10
    361 
    362 gEnableModulatedDTIM=2
    363 gMaxLIModulatedDTIM=6
    364 
    365 #############################################
    366 # Roaming related configurations
    367 #############################################
    368 # CSR Roaming Enable(1) Disable(0)
    369 gRoamingTime=0
    370 
    371 # ESE Support and fast transition
    372 EseEnabled=1
    373 
    374 gNeighborLookupThreshold=76
    375 gNeighborReassocThreshold=81
    376 gNeighborScanTimerPeriod=200
    377 gNeighborScanChannelMinTime=20
    378 gNeighborScanChannelMaxTime=30
    379 gMaxNeighborReqTries=3
    380 
    381 # To enable, set gRoamIntraBand=1 (Roaming within band)
    382 # To disable, set gRoamIntraBand=0 (Roaming across band)
    383 gRoamIntraBand=0
    384 
    385 # Legacy (non-ESE, non-802.11r) Fast Roaming Support
    386 # To enable, set FastRoamEnabled=1
    387 # To disable, set FastRoamEnabled=0
    388 FastRoamEnabled=1
    389 
    390 #Check if the AP to which we are roaming is better than current AP in terms of RSSI.
    391 #Checking is disabled if set to Zero.Otherwise it will use this value as to how better
    392 #the RSSI of the new/roamable AP should be for roaming
    393 RoamRssiDiff=3
    394 
    395 # If the RSSI of any available candidate is better than currently associated
    396 # AP by at least gImmediateRoamRssiDiff, then being to roam immediately (without
    397 # registering for reassoc threshold).
    398 # NOTE: Value of 0 means that we would register for reassoc threshold.
    399 gImmediateRoamRssiDiff=10
    400 
    401 # 802.11K support
    402 gRrmEnable=1
    403 gRrmOperChanMax=8
    404 gRrmNonOperChanMax=8
    405 
    406 gEnableFastRoamInConcurrency=1
    407 
    408 # Enable/Disable Roaming Offload Support (a.k.a Key Management Offload)
    409 # 0 to disable, 1 to enable
    410 gRoamOffloadEnabled=1
    411 
    412 gAllowDFSChannelRoam=1
    413 
    414 #############################################
    415 # Offload related configurations
    416 #############################################
    417 # Beacon filtering frequency (unit in beacon intervals)
    418 gNthBeaconFilter=50
    419 
    420 # Enable WAPI or not
    421 # WAPIIsEnabled=0
    422 # Flags to filter Mcast abd Bcast RX packets.
    423 # Value 0: No filtering, 1: Filter all Multicast.
    424 # 2: Filter all Broadcast. 3: Filter all Mcast abd Bcast
    425 McastBcastFilter=3
    426 
    427 #Flag to enable HostARPOffload feature or not
    428 hostArpOffload=1
    429 
    430 #Flag to enable HostNSOffload feature or not
    431 hostNSOffload=1
    432 
    433 # controlling the following offload patterns
    434 # through ini parameter. Default value is 1
    435 # to disable set it to zero. ssdp = 0
    436 # Setup multicast pattern for mDNS 224.0.0.251,
    437 # SSDP 239.255.255.250 and LLMNR 224.0.0.252
    438 ssdp = 0
    439 
    440 #Enable MC address filtering offload
    441 gMCAddrListEnable=1
    442 
    443 #Enable Active mode offload
    444 gActiveModeOffload=1
    445 
    446 #Enable Active mode offload
    447 gEnableActiveModeOffload=1
    448 
    449 #Enable APF in Active mode
    450 gActiveUcBpfMode=2
    451 gActiveMcBcBpfMode=1
    452 
    453 #HW CCE Filter mode
    454 gHwFilterMode=0
    455 
    456 # WOW Enable/Disable.
    457 # 0 - Disable both magic pattern match and pattern byte match.
    458 # 1 - Enable magic pattern match on all interfaces.
    459 # 2 - Enable pattern byte match on all interfaces.
    460 # 3 - Enable both magic patter and pattern byte match on all interfaces.
    461 # Default value of gEnableWoW is 3.
    462 # gEnableWoW=0
    463 
    464 
    465 #############################################
    466 # Logging related configurations
    467 #############################################
    468 gEnableLogp=1
    469 
    470 gEnableSelfRecovery=1
    471 
    472 #Enable firmware log
    473 gEnablefwlog=1
    474 # Additional firmware log levels
    475 gFwDebugLogLevel=3
    476 gFwDebugModuleLoglevel=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
    477 
    478 #Enable firmware uart print
    479 gEnablefwprint=0
    480 
    481 #############################################
    482 # TDLS related configurations
    483 #############################################
    484 # Enable support for TDLS
    485 #  0 - disable
    486 #  1 - enable
    487 gEnableTDLSSupport=1
    488 
    489 # Enable support for Implicit Trigger of TDLS. That is, wlan driver shall
    490 # initiate TDLS Discovery towards a peer whenever setup criteria (throughput
    491 # and RSSI) is met and then will initiate teardown when teardown criteria
    492 # (idle packet count and RSSI) is met.
    493 #  0 - disable
    494 #  1 - enable
    495 gEnableTDLSImplicitTrigger=1
    496 
    497 # Enable TDLS External Control. That is, user space application has to
    498 # first configure a peer MAC in wlan driver towards which TDLS is desired.
    499 # Device will establish TDLS only towards those configured peers whenever
    500 # TDLS criteria (throughput and RSSI threshold) is met and teardown TDLS
    501 # when teardown criteria (idle packet count and RSSI) is met. However,
    502 # device will accept TDLS connection if it is initiated from any other peer,
    503 # even if that peer is not configured.
    504 #  0 - disable
    505 #  1 - enable
    506 # For TDLS External Control, Implicit Trigger must also be enabled.
    507 gTDLSExternalControl=1
    508 
    509 # Enable support for TDLS off-channel operation
    510 #  0 - disable
    511 #  1 - enable
    512 # TDLS off-channel operation will be invoked when there is only one
    513 # TDLS connection.
    514 gEnableTDLSOffChannel=1
    515 
    516 gEnableTDLSScan=1
    517 gTDLSTxPacketThreshold=10
    518 gTDLSIdlePacketThreshold=1
    519 
    520 #############################################
    521 # P2P related configurations
    522 #############################################
    523 #P2P Listen offload
    524 gEnableP2pListenOffload=1
    525 
    526 #Enable or Disable p2p device address administered
    527 isP2pDeviceAddrAdministrated=0
    528 
    529 #Say gGoKeepAlivePeriod(5 seconds) and gGoLinkMonitorPeriod(10 seconds).
    530 #For every 10 seconds DUT send Qos Null frame(i.e., Keep Alive frame if link is idle for last 10 seconds.)
    531 #For both active and power save clients.
    532 
    533 #Power save clients: DUT set TIM bit from 10th second onwards and till client honors TIM bit.
    534 #If doesn't honor for 5 seconds then DUT remove client.
    535 
    536 #Active clients: DUT send Qos Null frame for 10th seconds onwards if it is not success still we try on
    537 #11th second if not tries on 12th and so on till 15th second. Hence before disconnection DUT will send 5 NULL frames.
    538 #Hence in any case DUT will detect client got removed in (10+5) seconds. i.e., (gGoKeepAlivePeriod + gGoLinkMonitorPeriod)..
    539 
    540 #gGoLinkMonitorPeriod/ gApLinkMonitorPeriod is period where link is idle and it is period
    541 #where we send NULL frame.
    542 
    543 #gApLinkMonitorPeriod = 10
    544 #gGoLinkMonitorPeriod = 10
    545 
    546 #gGoKeepAlivePeriod/gApKeepAlivePeriod is time to spend to check whether frame are succeed to send or not.
    547 #Hence total effective detection time is gGoLinkMonitorPeriod+ gGoKeepAlivePeriod/gApLinkMonitorPeriod+ gApKeepAlivePeriod.
    548 gGoKeepAlivePeriod = 20
    549 gApKeepAlivePeriod = 20
    550 
    551 #############################################
    552 # SAP related configurations
    553 #############################################
    554 #Enable OBSS protection
    555 gEnableApOBSSProt=1
    556 
    557 #Enable/Disable UAPSD for SoftAP
    558 gEnableApUapsd=1
    559 
    560 # SAP auto channel selection configuration
    561 # 0 = disable auto channel selection
    562 # 1 = enable auto channel selection, channel provided by supplicant will be ignored
    563 gApAutoChannelSelection=0
    564 
    565 #SOFTAP Channel Range selection
    566 gAPChannelSelectStartChannel=1
    567 gAPChannelSelectEndChannel=11
    568 
    569 # SAP Country code
    570 # Default Country Code is 2 bytes, 3rd byte is optional indoor or out door.
    571 # Example
    572 #   US Indoor, USI
    573 #   Korea Outdoor, KRO
    574 #   Japan without optional byte, JP
    575 #   France without optional byte, FR
    576 #gAPCntryCode=USI
    577 
    578 # DFS Master Capability
    579 gEnableDFSMasterCap=1
    580 
    581 # Disable 11AC for hotspot
    582 gSapForce11NFor11AC=1
    583 
    584 #Auto Shutdown  Value in seconds. A value of 0 means Auto shutoff is disabled
    585 gAPAutoShutOff=0
    586 
    587 # Remove Overlap channel restriction
    588 gEnableOverLapCh=0
    589 
    590 # Enable/Disable channel avoidance for SAP in SCC scenario
    591 # 0 - disable
    592 # 1 - enable
    593 gSapSccChanAvoidance=0
    594 
    595 #Enable/Disable Tx beamformee in SAP mode
    596 gEnableTxBFeeSAP=1
    597 
    598 
    599 
    600 #Enable/Disable dual MAC feature
    601 # 0 - enable DBS
    602 # 1 - disable DBS
    603 # 2 - disable DBS for connection but keep DBS for scan
    604 # 3 - disable DBS for connection but keep DBS scan with async
    605 #     scan policy disabled
    606 # 4 - enable DBS for connection as well as for scan with async
    607 #     scan policy disabled
    608 gDualMacFeatureDisable=1
    609 
    610 #Set priority for connection with bssid_hint
    611 g_is_bssid_hint_priority=0
    612 
    613 gdbs_scan_selection=5,4,1,16,4,1
    614 
    615 enable_11d_in_world_mode=1
    616 
    617 gEnableLPRx=0
    618 
    619 END
    620 
    621 # Note: Configuration parser would not read anything past the END marker
    622