blob: 3deddd75a766a0d4da2de78999aed1c5c5a968c8 [file] [log] [blame]
Prakash Dhavali7090c5f2015-11-02 17:55:19 -08001# 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 HostNSOffload feature or not
95
96hostNSOffload=1
97
98# This flag enables IP, TCP and UDP checksum offload
99gEnableIpTcpUdpChecksumOffload=1
100
101#SoftAP Related Parameters
102
103# AP MAc addr
104
105gAPMacAddr=000AF589dcab
106
107
108# 802.11n Protection flag
109
110gEnableApProt=1
111
112
113#Enable OBSS protection
114
115gEnableApOBSSProt=1
116
117
118#Enable/Disable UAPSD for SoftAP
119
120gEnableApUapsd=1
121
122
123# Fixed Rate
124
125gFixedRate=0
126
127
128# Maximum Tx power
129
130# gTxPowerCap=30
131
132
133# Fragmentation Threshold
134
135# gFragmentationThreshold=2346
136
137
138# RTS threshold
139
140RTSThreshold=1048576
141
142
143# Intra-BSS forward
144
145gDisableIntraBssFwd=0
146
147
148# WMM Enable/Disable
149
150WmmIsEnabled=0
151
152
153# 802.11d support
154
155g11dSupportEnabled=1
156
157# 802.11h support
158
159g11hSupportEnabled=1
160
161# DFS Master Capability
162gEnableDFSMasterCap=1
163
164# ESE Support and fast transition
165EseEnabled=1
166ImplicitQosIsEnabled=0
167gNeighborScanTimerPeriod=200
168
169gNeighborLookupThreshold=76
170gNeighborReassocThreshold=81
171
172gNeighborScanChannelMinTime=20
173gNeighborScanChannelMaxTime=30
174gMaxNeighborReqTries=3
175
176# Legacy (non-ESE, non-802.11r) Fast Roaming Support
177# To enable, set FastRoamEnabled=1
178# To disable, set FastRoamEnabled=0
179FastRoamEnabled=1
180
181#Check if the AP to which we are roaming is better than current AP in terms of RSSI.
182#Checking is disabled if set to Zero.Otherwise it will use this value as to how better
183#the RSSI of the new/roamable AP should be for roaming
184RoamRssiDiff=3
185
186# If the RSSI of any available candidate is better than currently associated
187# AP by at least gImmediateRoamRssiDiff, then being to roam immediately (without
188# registering for reassoc threshold).
189# NOTE: Value of 0 means that we would register for reassoc threshold.
190gImmediateRoamRssiDiff=10
191
192# To enable, set gRoamIntraBand=1 (Roaming within band)
193# To disable, set gRoamIntraBand=0 (Roaming across band)
194gRoamIntraBand=0
195
196#Short Guard Interval Enable/disable
197
198gShortGI20Mhz=1
199
200gShortGI40Mhz=1
201
202
203#Auto Shutdown Value in seconds. A value of 0 means Auto shutoff is disabled
204
205gAPAutoShutOff=0
206
207#Auto Shutdown wlan : Value in Seconds. 0 means disabled. Max 1 day = 86400 sec
208gWlanAutoShutdown = 0
209
210# Not used.
211gApAutoChannelSelection=0
212
213
214# Listen Energy Detect Mode Configuration
215
216# Valid values 0-128
217
218# 128 means disable Energy Detect feature
219
220# 0-9 are threshold code and 7 is recommended value from system if feature is to be enabled.
221
222# 10-128 are reserved.
223
224# The EDET threshold mapping is as follows in 3dB step:
225
226# 0 = -60 dBm
227
228# 1 = -63 dBm
229
230# 2 = -66 dBm
231
232# ...
233
234# 7 = -81 dBm
235
236# 8 = -84 dBm
237
238# 9 = -87 dBm
239
240# 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:
241
242#
243
244# Range Loss (dB) = EDET threshold level (dBm) + 97 dBm.
245
246#
247
248gEnablePhyAgcListenMode=128
249
250
251#Preferred band (both or 2.4 only or 5 only)
252
253BandCapability=0
254
255
256#Beacon Early Termination (1 = enable the BET feature, 0 = disable)
257
258enableBeaconEarlyTermination=0
259
260beaconEarlyTerminationWakeInterval=3
261
262
263#Channel Bonding
264gChannelBondingMode5GHz=1
265
266
267#Enable Keep alive with non-zero period value
268
269gStaKeepAlivePeriod = 30
270
271#Say gGoKeepAlivePeriod(5 seconds) and gGoLinkMonitorPeriod(10 seconds).
272#For every 10 seconds DUT send Qos Null frame(i.e., Keep Alive frame if link is idle for last 10 seconds.)
273#For both active and power save clients.
274
275#Power save clients: DUT set TIM bit from 10th second onwards and till client honors TIM bit.
276#If doesn't honor for 5 seconds then DUT remove client.
277
278#Active clients: DUT send Qos Null frame for 10th seconds onwards if it is not success still we try on
279#11th second if not tries on 12th and so on till 15th second. Hence before disconnection DUT will send 5 NULL frames.
280#Hence in any case DUT will detect client got removed in (10+5) seconds. i.e., (gGoKeepAlivePeriod + gGoLinkMonitorPeriod)..
281
282#gGoLinkMonitorPeriod/ gApLinkMonitorPeriod is period where link is idle and it is period
283#where we send NULL frame.
284
285#gApLinkMonitorPeriod = 10
286
287#gGoLinkMonitorPeriod = 10
288
289#gGoKeepAlivePeriod/gApKeepAlivePeriod is time to spend to check whether frame are succeed to send or not.
290#Hence total effective detection time is gGoLinkMonitorPeriod+ gGoKeepAlivePeriod/gApLinkMonitorPeriod+ gApKeepAlivePeriod.
291
292
293gGoKeepAlivePeriod = 20
294
295gApKeepAlivePeriod = 20
296
297
298#If set will start with active scan after driver load, otherwise will start with
299
300#passive scan to find out the domain
301
302gEnableBypass11d=1
303
304
305#If set to 0, will not scan DFS channels
306
307gEnableDFSChnlScan=1
308
309# Enable DFS channel roam
310# 0: DISABLE, 1: ENABLED_NORMAL, 2: ENABLED_ACTIVE
311gAllowDFSChannelRoam=1
312
313gVhtChannelWidth=2
314gEnableLogp=1
315
316
317# Enable Automatic Tx Power control
318
319gEnableAutomaticTxPowerControl=1
320
321# 0 for OLPC 1 for CLPC and SCPC
322gEnableCloseLoop=1
323
324#Data Inactivity Timeout when in powersave (in ms)
325gDataInactivityTimeout=200
326
327# VHT Tx/Rx MCS values
328# Valid values are 0,1,2. If commented out, the default value is 0.
329# 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
330gVhtRxMCS=2
331gVhtTxMCS=2
332
333# VHT Tx/Rx MCS values for 2x2
334# Valid values are 0,1,2. If commented out, the default value is 0.
335# 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
336gEnable2x2=1
337gVhtRxMCS2x2=2
338gVhtTxMCS2x2=2
339
340# Set txchainmask and rxchainmask
341# These parameters are used only if gEnable2x2 is 0
342# Valid values are 1,2
343# Set gSetTxChainmask1x1=1 or gSetRxChainmask1x1=1 to select chain0.
344# Set gSetTxChainmask1x1=2 or gSetRxChainmask1x1=2 to select chain1.
345gSetTxChainmask1x1=1
346gSetRxChainmask1x1=1
347
348# Scan Timing Parameters
349# gPassiveMaxChannelTime=110
350# gPassiveMinChannelTime=60
351gActiveMaxChannelTime=40
352gActiveMinChannelTime=20
353
354#If set to 0, MCC is not allowed.
355gEnableMCCMode=1
356
357# MCC to SCC Switch mode: 0-Disable 1-Enable 2-Force SCC if same band
358gWlanMccToSccSwitchMode = 0
359
360# 1=enable STBC; 0=disable STBC
361gEnableRXSTBC=1
362
363# 1=enable tx STBC; 0=disable
364gEnableTXSTBC=1
365
366# 1=enable rx LDPC; 0=disable
367gEnableRXLDPC=1
368
369#Enable/Disable Tx beamforming
370gTxBFEnable=1
371
372# Enable Tx beamforming in VHT20MHz
373# Valid values are 0,1. If commented out, the default value is 0.
374# 0=disable, 1=enable
375gEnableTxBFin20MHz=1
376
377#Enable/Disable SU Tx beamformer support.
378gEnableTxSUBeamformer=1
379
380#Enable Scan Results Aging based on timer
381#Timer value is in seconds
382#If Set to 0 it will not enable the feature
383gScanAgingTime=30
384
385#Enable Scan Results Aging based on number of scans
386gScanResultAgeCount=1
387
388#Enable Power saving mechanism Based on Android Framework
389#If set to 0 Driver internally control the Power saving mechanism
390#If set to 1 Android Framwrok control the Power saving mechanism
391isAndroidPsEn=0
392
393#Enable thermal mitigation
394gThermalMitigationEnable=0
395
396gEnableFastRoamInConcurrency=1
397
398#Maxium Channel time in msec
399gMaxMediumTime = 6000
400
401# 802.11K support
402gRrmEnable=1
403gRrmOperChanMax=8
404gRrmNonOperChanMax=8
405gRrmRandIntvl=100
406
407#Scan offload
408gEnableDirectedScanOffload=1
409
410#FlexConnect Power Factor
411#Default is set to 0 (disable)
412gFlexConnectPowerFactor=0
413
414#Disable split scan, the FW will take care of it
415gNumChanCombinedConc=60
416
417#Enable Power Save offload
418gEnablePowerSaveOffload=2
419
420#Enable firmware uart print
421gEnablefwprint=0
422
423#Enable firmware log
424gEnablefwlog=1
425
426#IPA config
427gIPAConfig=0
428gIPADescSize=800
429gIPAPreFilterEnable=1
430gIPARMEnable=1
431gIPAIPv6Enable=1
432
433IpaUcOffloadEnabled=0
434gIpaUcStaOffload=0
435
436#P2P Listen offload
437gEnableP2pListenOffload=1
438
439# Maximum Receive AMPDU size (VHT only. Valid values: 0->8k 1->16k 2->32k 3->64k 4->128k)
440gVhtAmpduLenExponent=7
441
442# Maximum MPDU length (VHT only. Valid values: 0->3895 octets, 1->7991 octets, 2->11454 octets)
443gVhtMpduLen=2
444
445# Maximum number of wow filters required
446#gMaxWoWFilters=22
447
448# WOW Enable/Disable.
449# 0 - Disable both magic pattern match and pattern byte match.
450# 1 - Enable magic pattern match on all interfaces.
451# 2 - Enable pattern byte match on all interfaces.
452# 3 - Enable both magic patter and pattern byte match on all interfaces.
453# Default value of gEnableWoW is 3.
454# gEnableWoW=0
455
456# Enable or Disable MCC Adaptive Scheduler at the FW
457# 1=Enable (default), 0=Disable
458gEnableMCCAdaptiveScheduler=1
459
460#Enable or Disable p2p device address administered
461isP2pDeviceAddrAdministrated=0
462
463#Enable Rx thread
464gEnableRxThread=1
465
466#Enable NAPI
467gEnableNAPI=0
468
469# Set Thermal Power limit
470TxPower2g=10
471TxPower5g=10
472
473# Remove Overlap channel restriction
474gEnableOverLapCh=0
475
476#Enable VHT on 2.4Ghz
477gEnableVhtFor24GHzBand=1
478
479#Enable or Disable 5G early beacon termination
480gEnable5gEBT=1
481
482#Maximum number of offload peers supported
483# gMaxOffloadPeers=2
484
485# controlling the following offload patterns
486# through ini parameter. Default value is 1
487# to disable set it to zero. ssdp = 0
488# Setup multicast pattern for mDNS 224.0.0.251,
489# SSDP 239.255.255.250 and LLMNR 224.0.0.252
490ssdp = 0
491
492#Enable Memory Deep Sleep
493gEnableMemDeepSleep=1
494
495# Bus bandwidth threshold values in terms of number of packets
496gBusBandwidthHighThreshold=2000
497gBusBandwidthMediumThreshold=500
498gBusBandwidthLowThreshold=150
499
500# Bus bandwidth compute timeout value in ms
501gBusBandwidthComputeInterval=100
502
503# Regulatory Setting; 0=STRICT; 1=CUSTOM
504gRegulatoryChangeCountry=1
505# RA filtering rate limit param, the current value would not
506# help if the lifetime in RA is less than 3*60=3min. Then
507# we need to change it, though it is uncommon.
508# gRAFilterEnable=0
509gRArateLimitInterval=600
510
511# Maximum number of concurrent connections
512gMaxConcurrentActiveSessions=2
513
514# Disable/Enable GreenAP
515# 0 to disable, 1 to enable, default: 1
516gEnableGreenAp=1
517
518# Radar PRI multiplier
519gDFSradarMappingPriMultiplier=4
520
521gPNOScanSupport=1
522
523# Enable/Disable RX full reorder offload
524gReorderOffloadSupported=1
525
526#Enable/Disable LPASS support
527# 0 to disable, 1 to enable
528gEnableLpassSupport=0
529
530# Whether userspace country code setting shld have priority
531gCountryCodePriority=1
532
533# Enable(1)/Disable(0) SIFS burst
534gEnableSifsBurst=1
535
536# Enable or Disable Multi-user MIMO
537# 1=Enable (default), 0=Disable
538gEnableMuBformee=1
539
540# Enable/Disable channel avoidance for SAP in SCC scenario
541# 0 - disable
542# 1 - enable
543gSapSccChanAvoidance=0
544
545# Inactivity time (in ms) to end TX Service Period while in IBSS power save mode
546gIbssTxSpEndInactivityTime=10
547
548# Enable/Disable Roaming Offload Support (a.k.a Key Management Offload)
549# 0 to disable, 1 to enable
550gRoamOffloadEnabled=0
551
552# Enable support for TDLS
553# 0 - disable
554# 1 - enable
555gEnableTDLSSupport=1
556
557# Enable support for Implicit Trigger of TDLS. That is, wlan driver shall
558# initiate TDLS Discovery towards a peer whenever setup criteria (throughput
559# and RSSI) is met and then will initiate teardown when teardown criteria
560# (idle packet count and RSSI) is met.
561# 0 - disable
562# 1 - enable
563gEnableTDLSImplicitTrigger=1
564
565# Enable TDLS External Control. That is, user space application has to
566# first configure a peer MAC in wlan driver towards which TDLS is desired.
567# Device will establish TDLS only towards those configured peers whenever
568# TDLS criteria (throughput and RSSI threshold) is met and teardown TDLS
569# when teardown criteria (idle packet count and RSSI) is met. However,
570# device will accept TDLS connection if it is initiated from any other peer,
571# even if that peer is not configured.
572# 0 - disable
573# 1 - enable
574# For TDLS External Control, Implicit Trigger must also be enabled.
575gTDLSExternalControl=1
576
577# Enable support for TDLS off-channel operation
578# 0 - disable
579# 1 - enable
580# TDLS off-channel operation will be invoked when there is only one
581# TDLS connection.
582gEnableTDLSOffChannel=1
583
584# Enable or Disable Random MAC (Spoofing)
585# 1=Enable, 0=Disable (default)
586gEnableMacAddrSpoof=0
587
588END
589
590# Note: Configuration parser would not read anything past the END marker
591