blob: d544a4a88f0f95c1dae006e14e1334166f5cb45f [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
Prakash Dhavali7090c5f2015-11-02 17:55:19 -0800314
315# Enable Automatic Tx Power control
316
317gEnableAutomaticTxPowerControl=1
318
319# 0 for OLPC 1 for CLPC and SCPC
320gEnableCloseLoop=1
321
322#Data Inactivity Timeout when in powersave (in ms)
323gDataInactivityTimeout=200
324
325# VHT Tx/Rx MCS values
326# Valid values are 0,1,2. If commented out, the default value is 0.
327# 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
328gVhtRxMCS=2
329gVhtTxMCS=2
330
331# VHT Tx/Rx MCS values for 2x2
332# Valid values are 0,1,2. If commented out, the default value is 0.
333# 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
334gEnable2x2=1
335gVhtRxMCS2x2=2
336gVhtTxMCS2x2=2
337
338# Set txchainmask and rxchainmask
339# These parameters are used only if gEnable2x2 is 0
340# Valid values are 1,2
341# Set gSetTxChainmask1x1=1 or gSetRxChainmask1x1=1 to select chain0.
342# Set gSetTxChainmask1x1=2 or gSetRxChainmask1x1=2 to select chain1.
343gSetTxChainmask1x1=1
344gSetRxChainmask1x1=1
345
346# Scan Timing Parameters
347# gPassiveMaxChannelTime=110
348# gPassiveMinChannelTime=60
349gActiveMaxChannelTime=40
350gActiveMinChannelTime=20
351
352#If set to 0, MCC is not allowed.
353gEnableMCCMode=1
354
Chandrasekaran Manishekar802827d2016-03-08 11:46:01 +0530355# MCC to SCC Switch mode:
356# 0-Disable
357# 1-Enable
358# 2-Force SCC if same band
359# 3-Force SCC if same band, without SAP restart by sending (E)CSA
Prakash Dhavali7090c5f2015-11-02 17:55:19 -0800360gWlanMccToSccSwitchMode = 0
361
362# 1=enable STBC; 0=disable STBC
363gEnableRXSTBC=1
364
365# 1=enable tx STBC; 0=disable
366gEnableTXSTBC=1
367
368# 1=enable rx LDPC; 0=disable
369gEnableRXLDPC=1
370
371#Enable/Disable Tx beamforming
372gTxBFEnable=1
373
Kiran Kumar Lokere5302ab62015-12-16 16:03:16 -0800374#Enable/Disable Tx beamformee in SAP mode
375gEnableTxBFeeSAP=1
376
Prakash Dhavali7090c5f2015-11-02 17:55:19 -0800377# Enable Tx beamforming in VHT20MHz
378# Valid values are 0,1. If commented out, the default value is 0.
379# 0=disable, 1=enable
380gEnableTxBFin20MHz=1
381
382#Enable/Disable SU Tx beamformer support.
Naveen Rawatefa01082015-12-01 12:08:45 -0800383gEnableTxSUBeamformer=1
Prakash Dhavali7090c5f2015-11-02 17:55:19 -0800384
385#Enable Scan Results Aging based on timer
386#Timer value is in seconds
387#If Set to 0 it will not enable the feature
388gScanAgingTime=30
389
390#Enable Scan Results Aging based on number of scans
391gScanResultAgeCount=1
392
393#Enable Power saving mechanism Based on Android Framework
394#If set to 0 Driver internally control the Power saving mechanism
395#If set to 1 Android Framwrok control the Power saving mechanism
396isAndroidPsEn=0
397
398#Enable thermal mitigation
399gThermalMitigationEnable=0
400
401gEnableFastRoamInConcurrency=1
402
403#Maxium Channel time in msec
404gMaxMediumTime = 6000
405
406# 802.11K support
407gRrmEnable=1
408gRrmOperChanMax=8
409gRrmNonOperChanMax=8
410gRrmRandIntvl=100
411
412#Scan offload
413gEnableDirectedScanOffload=1
414
415#FlexConnect Power Factor
416#Default is set to 0 (disable)
417gFlexConnectPowerFactor=0
418
419#Disable split scan, the FW will take care of it
420gNumChanCombinedConc=60
421
422#Enable Power Save offload
423gEnablePowerSaveOffload=2
424
425#Enable firmware uart print
426gEnablefwprint=0
427
Prakash Dhavali7090c5f2015-11-02 17:55:19 -0800428#IPA config
429gIPAConfig=0
430gIPADescSize=800
431gIPAPreFilterEnable=1
432gIPARMEnable=1
433gIPAIPv6Enable=1
434
435IpaUcOffloadEnabled=0
436gIpaUcStaOffload=0
437
438#P2P Listen offload
439gEnableP2pListenOffload=1
440
441# Maximum Receive AMPDU size (VHT only. Valid values: 0->8k 1->16k 2->32k 3->64k 4->128k)
442gVhtAmpduLenExponent=7
443
444# Maximum MPDU length (VHT only. Valid values: 0->3895 octets, 1->7991 octets, 2->11454 octets)
445gVhtMpduLen=2
446
447# Maximum number of wow filters required
448#gMaxWoWFilters=22
449
450# WOW Enable/Disable.
451# 0 - Disable both magic pattern match and pattern byte match.
452# 1 - Enable magic pattern match on all interfaces.
453# 2 - Enable pattern byte match on all interfaces.
454# 3 - Enable both magic patter and pattern byte match on all interfaces.
455# Default value of gEnableWoW is 3.
456# gEnableWoW=0
457
458# Enable or Disable MCC Adaptive Scheduler at the FW
459# 1=Enable (default), 0=Disable
460gEnableMCCAdaptiveScheduler=1
461
462#Enable or Disable p2p device address administered
463isP2pDeviceAddrAdministrated=0
464
465#Enable Rx thread
466gEnableRxThread=1
467
468#Enable NAPI
Orhan K AKYILDIZ9d2b5e02015-12-17 11:38:12 -0800469gEnableNAPI=1
Prakash Dhavali7090c5f2015-11-02 17:55:19 -0800470
471# Set Thermal Power limit
472TxPower2g=10
473TxPower5g=10
474
475# Remove Overlap channel restriction
476gEnableOverLapCh=0
477
478#Enable VHT on 2.4Ghz
479gEnableVhtFor24GHzBand=1
480
481#Enable or Disable 5G early beacon termination
482gEnable5gEBT=1
483
484#Maximum number of offload peers supported
485# gMaxOffloadPeers=2
486
487# controlling the following offload patterns
488# through ini parameter. Default value is 1
489# to disable set it to zero. ssdp = 0
490# Setup multicast pattern for mDNS 224.0.0.251,
491# SSDP 239.255.255.250 and LLMNR 224.0.0.252
492ssdp = 0
493
494#Enable Memory Deep Sleep
495gEnableMemDeepSleep=1
496
497# Bus bandwidth threshold values in terms of number of packets
498gBusBandwidthHighThreshold=2000
499gBusBandwidthMediumThreshold=500
500gBusBandwidthLowThreshold=150
501
502# Bus bandwidth compute timeout value in ms
503gBusBandwidthComputeInterval=100
504
505# Regulatory Setting; 0=STRICT; 1=CUSTOM
506gRegulatoryChangeCountry=1
507# RA filtering rate limit param, the current value would not
508# help if the lifetime in RA is less than 3*60=3min. Then
509# we need to change it, though it is uncommon.
510# gRAFilterEnable=0
511gRArateLimitInterval=600
512
513# Maximum number of concurrent connections
Tushnim Bhattacharyyae67bfc72016-01-27 11:47:37 -0800514gMaxConcurrentActiveSessions=3
Prakash Dhavali7090c5f2015-11-02 17:55:19 -0800515
516# Disable/Enable GreenAP
517# 0 to disable, 1 to enable, default: 1
518gEnableGreenAp=1
519
520# Radar PRI multiplier
521gDFSradarMappingPriMultiplier=4
522
523gPNOScanSupport=1
524
525# Enable/Disable RX full reorder offload
526gReorderOffloadSupported=1
527
528#Enable/Disable LPASS support
529# 0 to disable, 1 to enable
530gEnableLpassSupport=0
531
532# Whether userspace country code setting shld have priority
533gCountryCodePriority=1
534
535# Enable(1)/Disable(0) SIFS burst
536gEnableSifsBurst=1
537
538# Enable or Disable Multi-user MIMO
539# 1=Enable (default), 0=Disable
540gEnableMuBformee=1
541
542# Enable/Disable channel avoidance for SAP in SCC scenario
543# 0 - disable
544# 1 - enable
545gSapSccChanAvoidance=0
546
547# Inactivity time (in ms) to end TX Service Period while in IBSS power save mode
548gIbssTxSpEndInactivityTime=10
549
550# Enable/Disable Roaming Offload Support (a.k.a Key Management Offload)
551# 0 to disable, 1 to enable
552gRoamOffloadEnabled=0
553
554# Enable support for TDLS
555# 0 - disable
556# 1 - enable
557gEnableTDLSSupport=1
558
559# Enable support for Implicit Trigger of TDLS. That is, wlan driver shall
560# initiate TDLS Discovery towards a peer whenever setup criteria (throughput
561# and RSSI) is met and then will initiate teardown when teardown criteria
562# (idle packet count and RSSI) is met.
563# 0 - disable
564# 1 - enable
565gEnableTDLSImplicitTrigger=1
566
567# Enable TDLS External Control. That is, user space application has to
568# first configure a peer MAC in wlan driver towards which TDLS is desired.
569# Device will establish TDLS only towards those configured peers whenever
570# TDLS criteria (throughput and RSSI threshold) is met and teardown TDLS
571# when teardown criteria (idle packet count and RSSI) is met. However,
572# device will accept TDLS connection if it is initiated from any other peer,
573# even if that peer is not configured.
574# 0 - disable
575# 1 - enable
576# For TDLS External Control, Implicit Trigger must also be enabled.
577gTDLSExternalControl=1
578
579# Enable support for TDLS off-channel operation
580# 0 - disable
581# 1 - enable
582# TDLS off-channel operation will be invoked when there is only one
583# TDLS connection.
584gEnableTDLSOffChannel=1
585
586# Enable or Disable Random MAC (Spoofing)
587# 1=Enable, 0=Disable (default)
588gEnableMacAddrSpoof=0
589
Manjunathappa Prakash8e8f67e2015-11-05 14:40:52 -0800590# Enable(Tx) fastpath for data traffic.
591# 0 - disable
592# 1 - enable
593gEnableFastPath=1
594
Dhanashri Atre83d373d2015-07-28 16:45:59 -0700595# Enable TCP Segmentation Offload
596# 0 - disable
597# 1 - enable
598TSOEnable=1
599
Prakash Dhavali7090c5f2015-11-02 17:55:19 -0800600END
601
602# Note: Configuration parser would not read anything past the END marker
603