• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This file allows user to override the factory
2# defaults for the WLAN Driver
3
4#############################################
5# STA related general configurations
6#############################################
7# Assigned MAC Addresses - This will be used until NV items are in place
8# Each byte of MAC address is represented in Hex format as XX
9Intf0MacAddress=000AF58989FF
10Intf1MacAddress=000AF58989FE
11Intf2MacAddress=000AF58989FD
12Intf3MacAddress=000AF58989FC
13
14#Channel Bonding
15gChannelBondingMode5GHz=1
16gChannelBondingMode24GHz=0
17
18#Enable Keep alive with non-zero period value
19gStaKeepAlivePeriod=60
20
21# Maximum MPDU length (VHT only. Valid values: 0->3895 octets, 1->7991 octets, 2->11454 octets)
22gVhtMpduLen=2
23
24# 0 for OLPC 1 for CLPC and SCPC
25gEnableCloseLoop=1
26
27ImplicitQosIsEnabled=0
28
29# Enable Tx beamforming in VHT20MHz
30# Valid values are 0,1. If commented out, the default value is 0.
31# 0=disable, 1=enable
32gEnableTxBFin20MHz=1
33
34#Enable/Disable SU Tx beamformer support.
35gEnableTxSUBeamformer=1
36
37# 1=enable tx STBC; 0=disable
38gEnableTXSTBC=1
39
40# 1=enable STBC; 0=disable STBC
41gEnableRXSTBC=1
42
43# 1=enable rx LDPC; 0=disable
44gEnableRXLDPC=1
45
46# Flag to allow STA send AddTspec even when ACM is Off
47gAddTSWhenACMIsOff=1
48
49# RTS threshold
50RTSThreshold=1048576
51
52# 802.11d support
53g11dSupportEnabled=0
54
55
56# Phy Mode (auto, b, g, n, etc)
57# Valid values are 0-9, with 0 = Auto, 4 = 11n, 9 = 11ac
58# 1 = 11abg, 2 = 11b, 3 = 11g, 5 = 11g only, 6 = 11n only
59# 7 = 11b only 8 = 11ac only.
60gDot11Mode=0
61
62# Enable Rx handling options
63# Rx_thread=1 RPS=2(default for ROME) NAPI=4(default for ihelium)
64# Rx_thread + NAPI = 5
65rx_mode=5
66
67#Enable VHT on 2.4Ghz
68gEnableVhtFor24GHzBand=1
69
70# Regulatory Setting; 0=STRICT; 1=CUSTOM
71gRegulatoryChangeCountry=1
72
73# userspace country code setting shld take priority
74gCountryCodePriority=1
75
76# Enable/Disable LPASS support
77# 0 to disable, 1 to enable
78gEnableLpassSupport=1
79
80# Enable(1)/Disable(0) SIFS burst
81gEnableSifsBurst=1
82
83# Tx Chain Mask for CCK
84gCckChainMaskEnable=1
85
86# Tx Chain Mask for 1SS
87gTxChainMask1ss=0
88
89# TPC power
90gSelfGenFrmPwr=3
91
92################ NAN feature set start ###################
93# Enable or Disable NAN
94# 1=Enable (default), 0=Disable
95gEnableNanSupport=1
96genable_nan_datapath=1
97gnan_datapath_ndi_channel=6
98################ NAN feature set end #####################
99
100gIgnorePeerHTopMode=1
101gIgnorePeerErpInfo=1
102
103# 802.11n Protection flag
104gEnableApProt=1
105
106# Fixed Rate
107gFixedRate=0
108
109# Intra-BSS forward
110gDisableIntraBssFwd=0
111
112# WMM Enable/Disable
113WmmIsEnabled=0
114
115# 802.11h support
116g11hSupportEnabled=1
117
118#Short Guard Interval Enable/disable
119gShortGI20Mhz=1
120gShortGI40Mhz=1
121
122#Auto Shutdown wlan : Value in Seconds. 0 means disabled. Max 1 day = 86400 sec
123gWlanAutoShutdown=0
124
125#Preferred band (both or 2.4 only or 5 only)
126BandCapability=0
127
128gVhtChannelWidth=2
129
130# Enable Tx beamforming
131gTxBFEnable=1
132
133# Set txchainmask and rxchainmask
134# These parameters are used only if gEnable2x2 is 0
135# Valid values are 1,2
136# Set gSetTxChainmask1x1=1 or gSetRxChainmask1x1=1 to select chain0.
137# Set gSetTxChainmask1x1=2 or gSetRxChainmask1x1=2 to select chain1.
138gSetTxChainmask1x1=1
139gSetRxChainmask1x1=1
140
141#If set to 0, MCC is not allowed.
142gEnableMCCMode=1
143
144# MCC to SCC Switch mode: 0-Disable 1-Enable 2-Force SCC if same band
145gWlanMccToSccSwitchMode = 0
146
147# Maximum Receive AMPDU size (VHT only. Valid values: 0->8k 1->16k 2->32k 3->64k 4->128k)
148gVhtAmpduLenExponent=7
149
150# Maximum number of concurrent connections
151gMaxConcurrentActiveSessions=3
152
153# Radar PRI multiplier
154gDFSradarMappingPriMultiplier=4
155
156# Enable or Disable Multi-user MIMO
157# 1=Enable (default), 0=Disable
158gEnableMuBformee=1
159
160# Enable to check FW hash if secure FW feature is enabled. It's for defconfig
161# builds only since it will be ignored in performance/release builds.
162gEnableFWHashCheck=1
163
164# Enable or Disable MCC Adaptive Scheduler at the FW
165# 1=Enable (default), 0=Disable
166gEnableMCCAdaptiveScheduler=1
167
168# Disable/Enable GreenAP
169# 0 to disable, 1 to enable, default: 1
170gEnableGreenAp=0
171
172################ Datapath feature set Begin ################
173# Bus bandwidth threshold values in terms of number of packets
174gBusBandwidthHighThreshold=2000
175gBusBandwidthMediumThreshold=500
176gBusBandwidthLowThreshold=150
177
178# Bus bandwidth compute timeout value in ms
179gBusBandwidthComputeInterval=100
180
181# VHT Tx/Rx MCS values
182# Valid values are 0,1,2. If commented out, the default value is 0.
183# 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
184gVhtRxMCS=2
185gVhtTxMCS=2
186
187# VHT Tx/Rx MCS values for 2x2
188# Valid values are 0,1,2. If commented out, the default value is 0.
189# 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
190gEnable2x2=1
191gVhtRxMCS2x2=2
192gVhtTxMCS2x2=2
193
194#IPA config is a bit mask and following are the configurations.
195#bit0 IPA Enable
196#bit1 IPA PRE Filter enable
197#bit2 IPv6 enable
198#bit3 IPA Resource Manager (RM) enable
199#bit4 IPA Clock scaling enable
200#bit5 IPA uC ENABLE
201#bit6 IPA uC STA ENABLE
202#bit8 IPA Real Time Debugging
203gIPAConfig=0x3d
204gIPADescSize=800
205
206# Enable/Disable RX full reorder offload
207gReorderOffloadSupported=1
208
209# Enable CE classification
210# 1 - enable(default)  0 - disable
211gCEClassifyEnable=1
212
213# Enable(Tx) fastpath for data traffic.
214# 1 - enable(default)  0 - disable
215gEnableFastPath=1
216
217# This flag enables IP, TCP and UDP checksum offload
218# 1 - enable(default)  0 - disable
219gEnableIpTcpUdpChecksumOffload=1
220
221# Enable TCP Segmentation Offload
222# 1 - enable  0 - disable
223TSOEnable=0
224
225# Enable Large Recieve Offload
226# 1 - enable(default)  0 - disable
227LROEnable=1
228
229# Enable HT MPDU Density
230# 4 for 2 micro sec
231ght_mpdu_density=4
232
233# Enable flow steering to enable multiple CEs for Rx flows.
234# Multiple Rx CEs<==>Multiple Rx IRQs<==>probably different CPUs.
235# Parallel Rx paths.
236# 1 - enable 0 - disable(default)
237gEnableFlowSteering=1
238
239ce_service_max_yield_time=500
240ce_service_max_rx_ind_flush=1
241maxMSDUsPerRxInd=8
242
243################ Datapath feature set End ################
244
245#############################################
246# SCAN related configurations
247#############################################
248# Enable/Disable Idle Scan
249gEnableIdleScan=0
250
251#Enable Scan Results Aging based on timer
252#Timer value is in seconds
253#If Set to 0 it will not enable the feature
254gScanAgingTime=30
255
256#Enable Scan Results Aging based on number of scans
257gScanResultAgeCount=1
258
259#Enable thermal mitigation
260gThermalMitigationEnable=0
261
262#Maximum Channel time in msec
263gMaxMediumTime=6000
264
265# Scan Timing Parameters
266# gPassiveMaxChannelTime=110
267# gPassiveMinChannelTime=60
268gActiveMaxChannelTime=40
269gActiveMinChannelTime=20
270
271gPNOScanSupport=1
272
273# Perform PNO fast scan this many number of times
274gPNOScanTimerRepeatValue=6
275
276# PNO slow scan period = gPNOSlowScanMultiplier times PNO fast scan period
277# Example: fast scan period is passed from framework (default = 10 sec), then
278# PNO slow scan period = 60 sec.
279gPNOSlowScanMultiplier=6
280
281# Enable or Disable Extended Scan (GScan)
282# 1=Enable (default), 0=Disable
283gExtScanEnable=1
284
285#If set will start with active scan after driver load, otherwise will start with
286#passive scan to find out the domain
287gEnableBypass11d=1
288
289#If set to 0, will not scan DFS channels
290gEnableDFSChnlScan=1
291
292#Maxium Channel time in msec
293gMaxMediumTime = 6000
294
295adaptive_dwell_mode_enabled=1
296
297hostscan_adaptive_dwell_mode=1
298
299adapt_dwell_lpf_weight=80
300
301adapt_dwell_wifi_act_threshold=10
302
303# Enable or disable Probe Req Information Element whitelist. When enabled, IEs corresponding to bits
304# set in bitmaps are allowed in probe request, all others removed while device is unassociated
305# with an AP
306# 1=Enable, 0=Disable (default)
307g_enable_probereq_whitelist_ies=1
308
309# ie bitmap examples: <bitmap_name>=<value> [<Allowed Information elements>]
310#    g_probe_req_ie_bitmap_0=0x80000009 #[0, 3, 31]
311#    g_probe_req_ie_bitmap_0=0x00000000 #[] (default)
312#    g_probe_req_ie_bitmap_1=0x80000009 #[32, 35, 63]
313g_probe_req_ie_bitmap_0=0x0000000B
314# g_probe_req_ie_bitmap_1=0x00000000
315# g_probe_req_ie_bitmap_2=0x00000000
316# g_probe_req_ie_bitmap_3=0x00000000
317# g_probe_req_ie_bitmap_4=0x00000000
318# g_probe_req_ie_bitmap_5=0x00000000
319# g_probe_req_ie_bitmap_6=0x00000000
320# g_probe_req_ie_bitmap_7=0x00000000
321
322#############################################
323# Power related configurations
324#############################################
325# Enable IMPS or not
326gEnableImps=1
327
328# Enable BMPS or not
329gEnableBmps=1
330
331# Increase sleep duration (seconds) during IMPS
332# 0 implies no periodic wake up from IMPS. Periodic wakeup is
333# unnecessary if Idle Scan is disabled.
334gImpsModSleepTime=0
335
336# UAPSD service interval for VO,VI, BE, BK traffic
337InfraUapsdVoSrvIntv=0
338InfraUapsdViSrvIntv=0
339InfraUapsdBeSrvIntv=0
340InfraUapsdBkSrvIntv=0
341
342# Enable suspend or not
343# 1: Enable standby, 2: Enable Deep sleep, 3: Enable Mcast/Bcast Filter
344gEnableSuspend=3
345
346#Enable Power Save offload
347gEnablePowerSaveOffload=2
348
349#Enable Power saving mechanism Based on Android Framework
350#If set to 0 Driver internally control the Power saving mechanism
351#If set to 1 Android Framwrok control the Power saving mechanism
352isAndroidPsEn=0
353
354beaconEarlyTerminationWakeInterval=3
355
356#Data Inactivity Timeout when in powersave (in ms)
357gDataInactivityTimeout=200
358
359# Inactivity time (in ms) to end TX Service Period while in IBSS power save mode
360gIbssTxSpEndInactivityTime=10
361
362gEnableModulatedDTIM=2
363gMaxLIModulatedDTIM=6
364
365#############################################
366# Roaming related configurations
367#############################################
368# CSR Roaming Enable(1) Disable(0)
369gRoamingTime=0
370
371# ESE Support and fast transition
372EseEnabled=1
373
374gNeighborLookupThreshold=76
375gNeighborReassocThreshold=81
376gNeighborScanTimerPeriod=200
377gNeighborScanChannelMinTime=20
378gNeighborScanChannelMaxTime=30
379gMaxNeighborReqTries=3
380
381# To enable, set gRoamIntraBand=1 (Roaming within band)
382# To disable, set gRoamIntraBand=0 (Roaming across band)
383gRoamIntraBand=0
384
385# Legacy (non-ESE, non-802.11r) Fast Roaming Support
386# To enable, set FastRoamEnabled=1
387# To disable, set FastRoamEnabled=0
388FastRoamEnabled=1
389
390#Check if the AP to which we are roaming is better than current AP in terms of RSSI.
391#Checking is disabled if set to Zero.Otherwise it will use this value as to how better
392#the RSSI of the new/roamable AP should be for roaming
393RoamRssiDiff=3
394
395# If the RSSI of any available candidate is better than currently associated
396# AP by at least gImmediateRoamRssiDiff, then being to roam immediately (without
397# registering for reassoc threshold).
398# NOTE: Value of 0 means that we would register for reassoc threshold.
399gImmediateRoamRssiDiff=10
400
401# 802.11K support
402gRrmEnable=1
403gRrmOperChanMax=8
404gRrmNonOperChanMax=8
405
406gEnableFastRoamInConcurrency=1
407
408# Enable/Disable Roaming Offload Support (a.k.a Key Management Offload)
409# 0 to disable, 1 to enable
410gRoamOffloadEnabled=1
411
412gAllowDFSChannelRoam=1
413
414#############################################
415# Offload related configurations
416#############################################
417# Beacon filtering frequency (unit in beacon intervals)
418gNthBeaconFilter=50
419
420# Enable WAPI or not
421# WAPIIsEnabled=0
422# Flags to filter Mcast abd Bcast RX packets.
423# Value 0: No filtering, 1: Filter all Multicast.
424# 2: Filter all Broadcast. 3: Filter all Mcast abd Bcast
425McastBcastFilter=3
426
427#Flag to enable HostARPOffload feature or not
428hostArpOffload=1
429
430#Flag to enable HostNSOffload feature or not
431hostNSOffload=1
432
433# controlling the following offload patterns
434# through ini parameter. Default value is 1
435# to disable set it to zero. ssdp = 0
436# Setup multicast pattern for mDNS 224.0.0.251,
437# SSDP 239.255.255.250 and LLMNR 224.0.0.252
438ssdp = 0
439
440#Enable MC address filtering offload
441gMCAddrListEnable=1
442
443#Enable Active mode offload
444gActiveModeOffload=1
445
446#Enable Active mode offload
447gEnableActiveModeOffload=1
448
449#Enable APF in Active mode
450gActiveUcBpfMode=2
451gActiveMcBcBpfMode=1
452
453#HW CCE Filter mode
454gHwFilterMode=0
455
456# WOW Enable/Disable.
457# 0 - Disable both magic pattern match and pattern byte match.
458# 1 - Enable magic pattern match on all interfaces.
459# 2 - Enable pattern byte match on all interfaces.
460# 3 - Enable both magic patter and pattern byte match on all interfaces.
461# Default value of gEnableWoW is 3.
462# gEnableWoW=0
463
464
465#############################################
466# Logging related configurations
467#############################################
468gEnableLogp=1
469
470gEnableSelfRecovery=1
471
472#Enable firmware log
473gEnablefwlog=1
474# Additional firmware log levels
475gFwDebugLogLevel=3
476gFwDebugModuleLoglevel=2,1,3,1,5,1,9,1,13,1,14,1,18,1,19,1,26,1,28,1,29,1,31,1,36,1,38,1,46,1,47,1,50,1,52,1,53,1,56,1,60,1,61,1,4,1
477
478#Enable firmware uart print
479gEnablefwprint=0
480
481#############################################
482# TDLS related configurations
483#############################################
484# Enable support for TDLS
485#  0 - disable
486#  1 - enable
487gEnableTDLSSupport=1
488
489# Enable support for Implicit Trigger of TDLS. That is, wlan driver shall
490# initiate TDLS Discovery towards a peer whenever setup criteria (throughput
491# and RSSI) is met and then will initiate teardown when teardown criteria
492# (idle packet count and RSSI) is met.
493#  0 - disable
494#  1 - enable
495gEnableTDLSImplicitTrigger=1
496
497# Enable TDLS External Control. That is, user space application has to
498# first configure a peer MAC in wlan driver towards which TDLS is desired.
499# Device will establish TDLS only towards those configured peers whenever
500# TDLS criteria (throughput and RSSI threshold) is met and teardown TDLS
501# when teardown criteria (idle packet count and RSSI) is met. However,
502# device will accept TDLS connection if it is initiated from any other peer,
503# even if that peer is not configured.
504#  0 - disable
505#  1 - enable
506# For TDLS External Control, Implicit Trigger must also be enabled.
507gTDLSExternalControl=1
508
509# Enable support for TDLS off-channel operation
510#  0 - disable
511#  1 - enable
512# TDLS off-channel operation will be invoked when there is only one
513# TDLS connection.
514gEnableTDLSOffChannel=1
515
516gEnableTDLSScan=1
517gTDLSTxPacketThreshold=10
518gTDLSIdlePacketThreshold=1
519
520#############################################
521# P2P related configurations
522#############################################
523#P2P Listen offload
524gEnableP2pListenOffload=1
525
526#Enable or Disable p2p device address administered
527isP2pDeviceAddrAdministrated=0
528
529#Say gGoKeepAlivePeriod(5 seconds) and gGoLinkMonitorPeriod(10 seconds).
530#For every 10 seconds DUT send Qos Null frame(i.e., Keep Alive frame if link is idle for last 10 seconds.)
531#For both active and power save clients.
532
533#Power save clients: DUT set TIM bit from 10th second onwards and till client honors TIM bit.
534#If doesn't honor for 5 seconds then DUT remove client.
535
536#Active clients: DUT send Qos Null frame for 10th seconds onwards if it is not success still we try on
537#11th second if not tries on 12th and so on till 15th second. Hence before disconnection DUT will send 5 NULL frames.
538#Hence in any case DUT will detect client got removed in (10+5) seconds. i.e., (gGoKeepAlivePeriod + gGoLinkMonitorPeriod)..
539
540#gGoLinkMonitorPeriod/ gApLinkMonitorPeriod is period where link is idle and it is period
541#where we send NULL frame.
542
543#gApLinkMonitorPeriod = 10
544#gGoLinkMonitorPeriod = 10
545
546#gGoKeepAlivePeriod/gApKeepAlivePeriod is time to spend to check whether frame are succeed to send or not.
547#Hence total effective detection time is gGoLinkMonitorPeriod+ gGoKeepAlivePeriod/gApLinkMonitorPeriod+ gApKeepAlivePeriod.
548gGoKeepAlivePeriod = 20
549gApKeepAlivePeriod = 20
550
551#############################################
552# SAP related configurations
553#############################################
554#Enable OBSS protection
555gEnableApOBSSProt=1
556
557#Enable/Disable UAPSD for SoftAP
558gEnableApUapsd=1
559
560# SAP auto channel selection configuration
561# 0 = disable auto channel selection
562# 1 = enable auto channel selection, channel provided by supplicant will be ignored
563gApAutoChannelSelection=0
564
565#SOFTAP Channel Range selection
566gAPChannelSelectStartChannel=1
567gAPChannelSelectEndChannel=11
568
569# SAP Country code
570# Default Country Code is 2 bytes, 3rd byte is optional indoor or out door.
571# Example
572#   US Indoor, USI
573#   Korea Outdoor, KRO
574#   Japan without optional byte, JP
575#   France without optional byte, FR
576#gAPCntryCode=USI
577
578# DFS Master Capability
579gEnableDFSMasterCap=1
580
581# Disable 11AC for hotspot
582gSapForce11NFor11AC=1
583
584#Auto Shutdown  Value in seconds. A value of 0 means Auto shutoff is disabled
585gAPAutoShutOff=0
586
587# Remove Overlap channel restriction
588gEnableOverLapCh=0
589
590# Enable/Disable channel avoidance for SAP in SCC scenario
591# 0 - disable
592# 1 - enable
593gSapSccChanAvoidance=0
594
595#Enable/Disable Tx beamformee in SAP mode
596gEnableTxBFeeSAP=1
597
598
599
600#Enable/Disable dual MAC feature
601# 0 - enable DBS
602# 1 - disable DBS
603# 2 - disable DBS for connection but keep DBS for scan
604# 3 - disable DBS for connection but keep DBS scan with async
605#     scan policy disabled
606# 4 - enable DBS for connection as well as for scan with async
607#     scan policy disabled
608gDualMacFeatureDisable=1
609
610#Set priority for connection with bssid_hint
611g_is_bssid_hint_priority=0
612
613gdbs_scan_selection=5,4,1,16,4,1
614
615enable_11d_in_world_mode=1
616
617gEnableLPRx=0
618
619END
620
621# Note: Configuration parser would not read anything past the END marker
622