1# This file allows user to override the factory
2
3# defaults for the WLAN Driver
4
5
6# Enable IMPS or not
7gEnableImps=1
8
9# Enable/Disable Idle Scan
10
11gEnableIdleScan=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.
17gImpsModSleepTime=0
18
19
20# Enable BMPS or not
21gEnableBmps=1
22
23# Enable suspend or not
24
25# 1: Enable standby, 2: Enable Deep sleep, 3: Enable Mcast/Bcast Filter
26
27gEnableSuspend=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.
34gDot11Mode=0
35
36
37# CSR Roaming Enable(1) Disable(0)
38
39gRoamingTime=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
46Intf0MacAddress=000AF58989FF
47Intf1MacAddress=000AF58989FE
48Intf2MacAddress=000AF58989FD
49
50Intf3MacAddress=000AF58989FC
51
52
53# UAPSD service interval for VO,VI, BE, BK traffic
54
55InfraUapsdVoSrvIntv=0
56
57InfraUapsdViSrvIntv=0
58
59InfraUapsdBeSrvIntv=0
60
61InfraUapsdBkSrvIntv=0
62
63# Flag to allow STA send AddTspec even when ACM is Off
64gAddTSWhenACMIsOff=1
65
66# Make 1x1 the default antenna configuration
67
68gNumRxAnt=1
69
70
71# Beacon filtering frequency (unit in beacon intervals)
72
73gNthBeaconFilter=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
87McastBcastFilter=3
88
89
90#Flag to enable HostARPOffload feature or not
91
92hostArpOffload=1
93
94#Flag to enable TCPChkSumOffld feature or not
95
96gEnableTCPChkSumOffld=1
97
98#Flag to enable HostNSOffload feature or not
99
100hostNSOffload=1
101
102#Flag to enable IPChkSumOffld feature or not
103
104gEnableIPChecksumOffload=1
105
106#SoftAP Related Parameters
107
108# AP MAc addr
109
110gAPMacAddr=000AF589dcab
111
112
113# 802.11n Protection flag
114
115gEnableApProt=1
116
117
118#Enable OBSS protection
119
120gEnableApOBSSProt=1
121
122
123#Enable/Disable UAPSD for SoftAP
124
125gEnableApUapsd=1
126
127
128# Fixed Rate
129
130gFixedRate=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
145RTSThreshold=1048576
146
147
148# Intra-BSS forward
149
150gDisableIntraBssFwd=0
151
152
153# WMM Enable/Disable
154
155WmmIsEnabled=0
156
157
158# 802.11d support
159
160g11dSupportEnabled=0
161
162# 802.11h support
163
164g11hSupportEnabled=1
165
166# DFS Master Capability
167gEnableDFSMasterCap=1
168
169# ESE Support and fast transition
170EseEnabled=1
171ImplicitQosIsEnabled=0
172gNeighborScanTimerPeriod=200
173
174gNeighborLookupThreshold=76
175gNeighborReassocThreshold=81
176
177gNeighborScanChannelMinTime=20
178gNeighborScanChannelMaxTime=30
179gMaxNeighborReqTries=3
180
181# Legacy (non-ESE, non-802.11r) Fast Roaming Support
182# To enable, set FastRoamEnabled=1
183# To disable, set FastRoamEnabled=0
184FastRoamEnabled=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
189RoamRssiDiff=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.
195gImmediateRoamRssiDiff=10
196
197# To enable, set gRoamIntraBand=1 (Roaming within band)
198# To disable, set gRoamIntraBand=0 (Roaming across band)
199gRoamIntraBand=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
220gShortGI20Mhz=1
221
222gShortGI40Mhz=1
223
224
225#Auto Shutdown  Value in seconds. A value of 0 means Auto shutoff is disabled
226
227gAPAutoShutOff=0
228
229#Auto Shutdown wlan : Value in Seconds. 0 means disabled. Max 1 day = 86400 sec
230gWlanAutoShutdown = 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
239gApAutoChannelSelection=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
276gEnablePhyAgcListenMode=128
277
278
279#Preferred band (both or 2.4 only or 5 only)
280
281BandCapability=0
282
283
284#Beacon Early Termination (1 = enable the BET feature, 0 = disable)
285
286enableBeaconEarlyTermination=0
287
288beaconEarlyTerminationWakeInterval=3
289
290
291#SOFTAP Channel Range selection
292
293gAPChannelSelectStartChannel=1
294
295gAPChannelSelectEndChannel=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
302gAPChannelSelectOperatingBand=0
303
304
305#Channel Bonding
306gChannelBondingMode5GHz=1
307gChannelBondingMode24GHz=0
308
309
310#Enable Keep alive with non-zero period value
311
312gStaKeepAlivePeriod = 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
336gGoKeepAlivePeriod = 20
337
338gApKeepAlivePeriod = 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
345gEnableBypass11d=1
346
347
348#If set to 0, will not scan DFS channels
349
350gEnableDFSChnlScan=1
351
352
353gVhtChannelWidth=2
354gEnableLogp=1
355
356
357# Enable Automatic Tx Power control
358
359gEnableAutomaticTxPowerControl=1
360
361# 0 for OLPC 1 for CLPC and SCPC
362gEnableCloseLoop=1
363
364#Data Inactivity Timeout when in powersave (in ms)
365gDataInactivityTimeout=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
370gVhtRxMCS=2
371gVhtTxMCS=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
376gEnable2x2=1
377gVhtRxMCS2x2=2
378gVhtTxMCS2x2=2
379
380# Enable Tx beamforming
381gTxBFEnable=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
386gEnableTxBFin20MHz=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.
393gSetTxChainmask1x1=1
394gSetRxChainmask1x1=1
395
396# Scan Timing Parameters
397# gPassiveMaxChannelTime=110
398# gPassiveMinChannelTime=60
399gActiveMaxChannelTime=40
400gActiveMinChannelTime=20
401
402#If set to 0, MCC is not allowed.
403gEnableMCCMode=1
404
405# MCC to SCC Switch mode: 0-Disable 1-Enable 2-Force SCC if same band
406gWlanMccToSccSwitchMode = 0
407
408# 1=enable STBC; 0=disable STBC
409gEnableRXSTBC=1
410
411# 1=enable tx STBC; 0=disable
412gEnableTXSTBC=1
413
414# 1=enable rx LDPC; 0=disable
415gEnableRXLDPC=1
416
417# Enable Active mode offload
418gEnableActiveModeOffload=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
423gScanAgingTime=0
424
425#Enable Scan Results Aging based on number of scans
426gScanResultAgeCount=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
431isAndroidPsEn=0
432
433#Enable thermal mitigation
434gThermalMitigationEnable=0
435
436gEnableFastRoamInConcurrency=1
437
438#List of Country codes for which 11ac needs to be disabled
439#Each country code must be delimited by comma(,)
440gListOfNon11acCountryCode=RU,UA,ZA
441
442#Maxium Channel time in msec
443gMaxMediumTime = 6000
444
445# 802.11K support
446gRrmEnable=1
447gRrmOperChanMax=8
448gRrmNonOperChanMax=8
449gRrmRandIntvl=100
450
451#Scan offload
452gEnableDirectedScanOffload=1
453
454#FlexConnect Power Factor
455#Default is set to 0 (disable)
456gFlexConnectPowerFactor=0
457
458#Disable split scan, the FW will take care of it
459gNumChanCombinedConc=60
460
461#Enable Power Save offload
462gEnablePowerSaveOffload=5
463
464#Enable firmware uart print
465gEnablefwprint=0
466
467#Enable firmware log
468gEnablefwlog=1
469# Additional firmware log levels
470gFwDebugLogLevel=4
471gFwDebugModuleLoglevel=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
474gIPAEnable=0x00
475gIPADescSize=800
476gIPAPreFilterEnable=1
477gIPARMEnable=1
478gIPAIPv6Enable=1
479
480#P2P Listen offload
481gEnableP2pListenOffload=1
482
483# Maximum Receive AMPDU size (VHT only. Valid values: 0->8k 1->16k 2->32k 3->64k 4->128k)
484gVhtAmpduLenExponent=7
485
486# Maximum MPDU length (VHT only. Valid values: 0->3895 octets, 1->7991 octets, 2->11454 octets)
487gVhtMpduLen=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
502gEnableMCCAdaptiveScheduler=1
503
504#Enable or Disable p2p device address administered
505isP2pDeviceAddrAdministrated=1
506
507# RX packet handling options
508# 0: no rx thread, no RPS, for MDM
509# 1: RX thread
510# 2: RPS
511rxhandle=2
512
513# Set Thermal Power limit
514TxPower2g=10
515TxPower5g=10
516
517# Remove Overlap channel restriction
518gEnableOverLapCh=0
519
520#Enable VHT on 2.4Ghz
521gEnableVhtFor24GHzBand=1
522
523#Enable or Disable 5G early beacon termination
524gEnable5gEBT=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
536ssdp = 0
537
538#Enable Hysteretic mode
539gEnableHystereticMode=1
540
541# Bus bandwidth threshold values in terms of number of packets
542gBusBandwidthHighThreshold=2000
543gBusBandwidthMediumThreshold=500
544gBusBandwidthLowThreshold=150
545
546# Bus bandwidth compute timeout value in ms
547gBusBandwidthComputeInterval=100
548
549# Regulatory Setting; 0=STRICT; 1=CUSTOM
550gRegulatoryChangeCountry=1
551
552# Maximum number of concurrent connections
553gMaxConcurrentActiveSessions=2
554
555# Radar PRI multiplier
556gDFSradarMappingPriMultiplier=4
557
558gPNOScanSupport=1
559
560# Perform PNO fast scan this many number of times
561gPNOScanTimerRepeatValue=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.
566gPNOSlowScanMultiplier=6
567
568# Enable/Disable RX full reorder offload
569gReorderOffloadSupported=1
570
571# userspace country code setting shld take priority
572gCountryCodePriority=1
573
574# Enable/Disable LPASS support
575# 0 to disable, 1 to enable
576gEnableLpassSupport=1
577
578# Enable(1)/Disable(0) SIFS burst
579gEnableSifsBurst=1
580
581# Enable or Disable Multi-user MIMO
582# 1=Enable (default), 0=Disable
583gEnableMuBformee=1
584
585# Enable/Disable channel avoidance for SAP in SCC scenario
586# 0 - disable
587# 1 - enable
588gSapSccChanAvoidance=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
594gRAFilterEnable=0
595gRArateLimitInterval=300
596
597# Inactivity time (in ms) to end TX Service Period while in IBSS power save mode
598gIbssTxSpEndInactivityTime=10
599
600# Enable support for TDLS
601#  0 - disable
602#  1 - enable
603gEnableTDLSSupport=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
611gEnableTDLSImplicitTrigger=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.
623gTDLSExternalControl=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.
630gEnableTDLSOffChannel=1
631
632gEnableTDLSScan=1
633gTDLSTxStatsPeriod=500
634gTDLSTxPacketThreshold=10
635gTDLSIdlePacketThreshold=1
636
637# Enable/Disable Roaming Offload Support (a.k.a Key Management Offload)
638# 0 to disable, 1 to enable
639gRoamOffloadEnabled=0
640
641gEnableSelfRecovery=1
642
643#Enable MC address filtering offload
644gMCAddrListEnable=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
653gRuntimePM=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
658gRuntimePMDelay=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.
662gEnableFWHashCheck=1
663
664# Tx Chain Mask for CCK
665gCckChainMaskEnable=1
666
667# Tx Chain Mask for 1SS
668gTxChainMask1ss=0
669
670# TPC power
671gSelfGenFrmPwr=3
672
673gAllowDFSChannelRoam=1
674
675# Enable or Disable Extended Scan (GScan)
676# 1=Enable (default), 0=Disable
677gExtScanEnable=1
678
679# Enable or Disable NAN
680# 1=Enable (default), 0=Disable
681gEnableNanSupport=1
682
683g_use_otpmac=0
684
685# Enable Active mode offload
686gActiveModeOffload=1
687
688# Enable or disable Probe Req Information Element whitelist. When enabled, IEs corresponding to bits
689# set in bitmaps are allowed in probe request, all others removed while device is unassociated
690# with an AP
691# 1=Enable, 0=Disable (default)
692g_enable_probereq_whitelist_ies=1
693
694# ie bitmap examples: <bitmap_name>=<value> [<Allowed Information elements>]
695#    g_probe_req_ie_bitmap_0=0x80000009 #[0, 3, 31]
696#    g_probe_req_ie_bitmap_0=0x00000000 #[] (default)
697#    g_probe_req_ie_bitmap_1=0x80000009 #[32, 35, 63]
698g_probe_req_ie_bitmap_0=0x0000000B
699# g_probe_req_ie_bitmap_1=0x00000000
700# g_probe_req_ie_bitmap_2=0x00000000
701# g_probe_req_ie_bitmap_3=0x00000000
702# g_probe_req_ie_bitmap_4=0x00000000
703# g_probe_req_ie_bitmap_5=0x00000000
704# g_probe_req_ie_bitmap_6=0x00000000
705# g_probe_req_ie_bitmap_7=0x00000000
706
707END
708
709# Note: Configuration parser would not read anything past the END marker
710