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