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 # Enable or Disable Extended Scan (GScan)
    218 # 1=Enable (default), 0=Disable
    219 gExtScanEnable=1
    220 
    221 #If set will start with active scan after driver load, otherwise will start with
    222 #passive scan to find out the domain
    223 gEnableBypass11d=1
    224 
    225 #If set to 0, will not scan DFS channels
    226 gEnableDFSChnlScan=1
    227 
    228 gInformBssRssiRaw=0
    229 
    230 # Enable or disable Probe Req Information Element whitelist. When enabled, IEs corresponding to bits
    231 # set in bitmaps are allowed in probe request, all others removed while device is unassociated
    232 # with an AP
    233 # 1=Enable, 0=Disable (default)
    234 g_enable_probereq_whitelist_ies=1
    235 
    236 # ie bitmap examples: <bitmap_name>=<value> [<Allowed Information elements>]
    237 #    g_probe_req_ie_bitmap_0=0x80000009 #[0, 3, 31]
    238 #    g_probe_req_ie_bitmap_0=0x00000000 #[] (default)
    239 #    g_probe_req_ie_bitmap_1=0x80000009 #[32, 35, 63]
    240 g_probe_req_ie_bitmap_0=0x0000000B
    241 # g_probe_req_ie_bitmap_1=0x00000000
    242 # g_probe_req_ie_bitmap_2=0x00000000
    243 # g_probe_req_ie_bitmap_3=0x00000000
    244 # g_probe_req_ie_bitmap_4=0x00000000
    245 # g_probe_req_ie_bitmap_5=0x00000000
    246 # g_probe_req_ie_bitmap_6=0x00000000
    247 # g_probe_req_ie_bitmap_7=0x00000000
    248 
    249 #############################################
    250 # Power related configurations
    251 #############################################
    252 # Enable IMPS or not
    253 gEnableImps=1
    254 
    255 # Enable BMPS or not
    256 gEnableBmps=1
    257 
    258 # Increase sleep duration (seconds) during IMPS
    259 # 0 implies no periodic wake up from IMPS. Periodic wakeup is
    260 # unnecessary if Idle Scan is disabled.
    261 gImpsModSleepTime=0
    262 
    263 # UAPSD service interval for VO,VI, BE, BK traffic
    264 InfraUapsdVoSrvIntv=0
    265 InfraUapsdViSrvIntv=0
    266 InfraUapsdBeSrvIntv=0
    267 InfraUapsdBkSrvIntv=0
    268 
    269 # Enable suspend or not
    270 # 1: Enable standby, 2: Enable Deep sleep, 3: Enable Mcast/Bcast Filter
    271 gEnableSuspend=3
    272 
    273 #Enable Power Save offload
    274 gEnablePowerSaveOffload=5
    275 
    276 # Enable Runtime PM Feature.
    277 # Enabling this feature will put target wow and shutdown pcie link
    278 # when inactivity is detected in WLAN Driver.
    279 # This feature is inactive when beaconing interfaces are active with
    280 # clients associated.
    281 # 0 - disable
    282 # 1 - enable
    283 gRuntimePM=1
    284 
    285 # When gRuntimePM is disabled gRuntimeAutoTime won't take effect.
    286 # The Time is in msec.
    287 # 100 is min, 10000 is max, 500 is default.
    288 gRuntimePMDelay=500
    289 
    290 #Enable Power saving mechanism Based on Android Framework
    291 #If set to 0 Driver internally control the Power saving mechanism
    292 #If set to 1 Android Framwrok control the Power saving mechanism
    293 isAndroidPsEn=0
    294 
    295 #Beacon Early Termination (1 = enable the BET feature, 0 = disable)
    296 enableBeaconEarlyTermination=1
    297 
    298 beaconEarlyTerminationWakeInterval=3
    299 
    300 #Data Inactivity Timeout when in powersave (in ms)
    301 gDataInactivityTimeout=200
    302 
    303 #Enable or Disable 5G early beacon termination
    304 gEnable5gEBT=1
    305 
    306 # Inactivity time (in ms) to end TX Service Period while in IBSS power save mode
    307 gIbssTxSpEndInactivityTime=10
    308 
    309 gEnableModulatedDTIM=2
    310 gMaxLIModulatedDTIM=6
    311 
    312 #############################################
    313 # Roaming related configurations
    314 #############################################
    315 # CSR Roaming Enable(1) Disable(0)
    316 gRoamingTime=0
    317 
    318 # ESE Support and fast transition
    319 EseEnabled=1
    320 
    321 gNeighborLookupThreshold=76
    322 gNeighborReassocThreshold=81
    323 gNeighborScanTimerPeriod=200
    324 gNeighborScanChannelMinTime=20
    325 gNeighborScanChannelMaxTime=30
    326 gMaxNeighborReqTries=3
    327 
    328 # To enable, set gRoamIntraBand=1 (Roaming within band)
    329 # To disable, set gRoamIntraBand=0 (Roaming across band)
    330 gRoamIntraBand=0
    331 
    332 # Legacy (non-ESE, non-802.11r) Fast Roaming Support
    333 # To enable, set FastRoamEnabled=1
    334 # To disable, set FastRoamEnabled=0
    335 FastRoamEnabled=1
    336 
    337 #Check if the AP to which we are roaming is better than current AP in terms of RSSI.
    338 #Checking is disabled if set to Zero.Otherwise it will use this value as to how better
    339 #the RSSI of the new/roamable AP should be for roaming
    340 RoamRssiDiff=3
    341 
    342 # If the RSSI of any available candidate is better than currently associated
    343 # AP by at least gImmediateRoamRssiDiff, then being to roam immediately (without
    344 # registering for reassoc threshold).
    345 # NOTE: Value of 0 means that we would register for reassoc threshold.
    346 gImmediateRoamRssiDiff=10
    347 
    348 # 802.11K support
    349 gRrmEnable=1
    350 gRrmOperChanMax=8
    351 gRrmNonOperChanMax=8
    352 
    353 gEnableFastRoamInConcurrency=1
    354 
    355 # Enable/Disable Roaming Offload Support (a.k.a Key Management Offload)
    356 # 0 to disable, 1 to enable
    357 gRoamOffloadEnabled=0
    358 
    359 gAllowDFSChannelRoam=1
    360 
    361 #############################################
    362 # Offload related configurations
    363 #############################################
    364 # Beacon filtering frequency (unit in beacon intervals)
    365 gNthBeaconFilter=50
    366 
    367 # Enable WAPI or not
    368 # WAPIIsEnabled=0
    369 # Flags to filter Mcast abd Bcast RX packets.
    370 # Value 0: No filtering, 1: Filter all Multicast.
    371 # 2: Filter all Broadcast. 3: Filter all Mcast abd Bcast
    372 McastBcastFilter=3
    373 
    374 #Flag to enable HostARPOffload feature or not
    375 hostArpOffload=1
    376 
    377 #Flag to enable TCPChkSumOffld feature or not
    378 gEnableTCPChkSumOffld=1
    379 
    380 #Flag to enable HostNSOffload feature or not
    381 hostNSOffload=1
    382 
    383 #Flag to enable IPChkSumOffld feature or not
    384 gEnableIPChecksumOffload=1
    385 
    386 # controlling the following offload patterns
    387 # through ini parameter. Default value is 1
    388 # to disable set it to zero. ssdp = 0
    389 # Setup multicast pattern for mDNS 224.0.0.251,
    390 # SSDP 239.255.255.250 and LLMNR 224.0.0.252
    391 ssdp = 0
    392 
    393 #Enable MC address filtering offload
    394 gMCAddrListEnable=1
    395 
    396 # Enable Active mode offload
    397 gActiveModeOffload=1
    398 
    399 # Enable Active mode offload
    400 gEnableActiveModeOffload=1
    401 
    402 #Maximum number of offload peers supported
    403 # gMaxOffloadPeers=2
    404 
    405 # WOW Enable/Disable.
    406 # 0 - Disable both magic pattern match and pattern byte match.
    407 # 1 - Enable magic pattern match on all interfaces.
    408 # 2 - Enable pattern byte match on all interfaces.
    409 # 3 - Enable both magic patter and pattern byte match on all interfaces.
    410 # Default value of gEnableWoW is 3.
    411 # gEnableWoW=0
    412 
    413 #IPA config
    414 gIPAEnable=0x00
    415 gIPADescSize=800
    416 gIPAPreFilterEnable=1
    417 gIPARMEnable=1
    418 gIPAIPv6Enable=1
    419 
    420 
    421 #############################################
    422 # Logging related configurations
    423 #############################################
    424 gEnableLogp=1
    425 
    426 gEnableSelfRecovery=1
    427 
    428 #Enable firmware log
    429 gEnablefwlog=1
    430 # Additional firmware log levels
    431 gFwDebugLogLevel=4
    432 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
    433 
    434 #Enable firmware uart print
    435 gEnablefwprint=0
    436 
    437 #############################################
    438 # TDLS related configurations
    439 #############################################
    440 # Enable support for TDLS
    441 #  0 - disable
    442 #  1 - enable
    443 gEnableTDLSSupport=1
    444 
    445 # Enable support for Implicit Trigger of TDLS. That is, wlan driver shall
    446 # initiate TDLS Discovery towards a peer whenever setup criteria (throughput
    447 # and RSSI) is met and then will initiate teardown when teardown criteria
    448 # (idle packet count and RSSI) is met.
    449 #  0 - disable
    450 #  1 - enable
    451 gEnableTDLSImplicitTrigger=1
    452 
    453 # Enable TDLS External Control. That is, user space application has to
    454 # first configure a peer MAC in wlan driver towards which TDLS is desired.
    455 # Device will establish TDLS only towards those configured peers whenever
    456 # TDLS criteria (throughput and RSSI threshold) is met and teardown TDLS
    457 # when teardown criteria (idle packet count and RSSI) is met. However,
    458 # device will accept TDLS connection if it is initiated from any other peer,
    459 # even if that peer is not configured.
    460 #  0 - disable
    461 #  1 - enable
    462 # For TDLS External Control, Implicit Trigger must also be enabled.
    463 gTDLSExternalControl=1
    464 
    465 # Enable support for TDLS off-channel operation
    466 #  0 - disable
    467 #  1 - enable
    468 # TDLS off-channel operation will be invoked when there is only one
    469 # TDLS connection.
    470 gEnableTDLSOffChannel=1
    471 
    472 gEnableTDLSScan=1
    473 gTDLSTxStatsPeriod=500
    474 gTDLSTxPacketThreshold=10
    475 gTDLSIdlePacketThreshold=1
    476 
    477 #############################################
    478 # P2P related configurations
    479 #############################################
    480 #P2P Listen offload
    481 gEnableP2pListenOffload=1
    482 
    483 #Enable or Disable p2p device address administered
    484 isP2pDeviceAddrAdministrated=0
    485 
    486 #Say gGoKeepAlivePeriod(5 seconds) and gGoLinkMonitorPeriod(10 seconds).
    487 #For every 10 seconds DUT send Qos Null frame(i.e., Keep Alive frame if link is idle for last 10 seconds.)
    488 #For both active and power save clients.
    489 
    490 #Power save clients: DUT set TIM bit from 10th second onwards and till client honors TIM bit.
    491 #If doesn't honor for 5 seconds then DUT remove client.
    492 
    493 #Active clients: DUT send Qos Null frame for 10th seconds onwards if it is not success still we try on
    494 #11th second if not tries on 12th and so on till 15th second. Hence before disconnection DUT will send 5 NULL frames.
    495 #Hence in any case DUT will detect client got removed in (10+5) seconds. i.e., (gGoKeepAlivePeriod + gGoLinkMonitorPeriod)..
    496 
    497 #gGoLinkMonitorPeriod/ gApLinkMonitorPeriod is period where link is idle and it is period
    498 #where we send NULL frame.
    499 
    500 #gApLinkMonitorPeriod = 10
    501 #gGoLinkMonitorPeriod = 10
    502 
    503 #gGoKeepAlivePeriod/gApKeepAlivePeriod is time to spend to check whether frame are succeed to send or not.
    504 #Hence total effective detection time is gGoLinkMonitorPeriod+ gGoKeepAlivePeriod/gApLinkMonitorPeriod+ gApKeepAlivePeriod.
    505 gGoKeepAlivePeriod = 20
    506 gApKeepAlivePeriod = 20
    507 
    508 #############################################
    509 # SAP related configurations
    510 #############################################
    511 #Enable OBSS protection
    512 gEnableApOBSSProt=1
    513 
    514 #Enable/Disable UAPSD for SoftAP
    515 gEnableApUapsd=1
    516 
    517 # SAP auto channel selection configuration
    518 # 0 = disable auto channel selection
    519 # 1 = enable auto channel selection, channel provided by supplicant will be ignored
    520 gApAutoChannelSelection=0
    521 
    522 #SOFTAP Channel Range selection
    523 gAPChannelSelectStartChannel=1
    524 gAPChannelSelectEndChannel=11
    525 
    526 # SAP Country code
    527 # Default Country Code is 2 bytes, 3rd byte is optional indoor or out door.
    528 # Example
    529 #   US Indoor, USI
    530 #   Korea Outdoor, KRO
    531 #   Japan without optional byte, JP
    532 #   France without optional byte, FR
    533 #gAPCntryCode=USI
    534 
    535 # DFS Master Capability
    536 gEnableDFSMasterCap=1
    537 
    538 # Disable 11AC for hotspot
    539 gSapForce11NFor11AC=1
    540 
    541 #Auto Shutdown  Value in seconds. A value of 0 means Auto shutoff is disabled
    542 gAPAutoShutOff=0
    543 
    544 # Remove Overlap channel restriction
    545 gEnableOverLapCh=0
    546 
    547 # Enable/Disable channel avoidance for SAP in SCC scenario
    548 # 0 - disable
    549 # 1 - enable
    550 gSapSccChanAvoidance=0
    551 
    552 #Set priority for connection with bssid_hint
    553 g_is_bssid_hint_priority=0
    554 END
    555 
    556 # Note: Configuration parser would not read anything past the END marker
    557