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