blob: 085421ad2ff433607a229db8b5a03fb25c5dce7f [file] [log] [blame]
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +01001# This file allows user to override the factory
2# defaults for the WLAN Driver
3
4# Enable IMPS or not
5gEnableImps=1
6
7# Enable BMPS or not
8gEnableBmps=1
9
10# Phy Mode (auto, b, g, n, etc)
11# Valid values are 0-9, with 0 = Auto, 4 = 11n, 9 = 11ac
12# 1 = 11abg, 2 = 11b, 3 = 11g, 5 = 11g only, 6 = 11n only
13# 7 = 11b only 8 = 11ac only.
14gDot11Mode=0
15
16# Assigned MAC Addresses - This will be used until NV items are in place
17# Each byte of MAC address is represented in Hex format as XX
18Intf0MacAddress=000AF58989FF
19Intf1MacAddress=000AF58989FE
20Intf2MacAddress=000AF58989FD
21Intf3MacAddress=000AF58989FC
22
23# UAPSD service interval for VO,VI, BE, BK traffic
24InfraUapsdVoSrvIntv=0
25InfraUapsdViSrvIntv=0
26InfraUapsdBeSrvIntv=0
27InfraUapsdBkSrvIntv=0
28
29# Flag to allow STA send AddTspec even when ACM is Off
30gAddTSWhenACMIsOff=1
31
32# Flags to filter Mcast and Bcast RX packets.
33# Value 0: No filtering, 1: Filter all Multicast.
34# 2: Filter all Broadcast. 3: Filter all Mcast abd Bcast
35McastBcastFilter=3
36
37#Flag to enable HostARPOffload feature or not
38hostArpOffload=1
39
40#Flag to enable HostNSOffload feature or not
41hostNSOffload=1
42
43# 802.11n Protection flag
44gEnableApProt=1
45
46#Enable OBSS protection
47gEnableApOBSSProt=1
48
49#Enable/Disable UAPSD for SoftAP
50gEnableApUapsd=1
51
52# Fixed Rate
53gFixedRate=0
54
55# Maximum Tx power
56# gTxPowerCap=30
57
58# Fragmentation Threshold
59# gFragmentationThreshold=2346
60
61# RTS threshold
62RTSThreshold=1048576
63
64# Intra-BSS forward
65gDisableIntraBssFwd=0
66
67# WMM Enable/Disable
68WmmIsEnabled=0
69
70# 802.11d support
71g11dSupportEnabled=0
72
73# 802.11h support
74g11hSupportEnabled=1
75
76# DFS Master Capability
77gEnableDFSMasterCap=1
78
79# ESE Support and fast transition
80EseEnabled=0
81
82ImplicitQosIsEnabled=0
83
84gNeighborScanTimerPeriod=200
85gNeighborLookupThreshold=65
86gNeighborScanChannelMinTime=20
87gNeighborScanChannelMaxTime=30
88gMaxNeighborReqTries=3
89
90# Legacy (non-ESE, non-802.11r) Fast Roaming Support
91# To enable, set FastRoamEnabled=1
92# To disable, set FastRoamEnabled=0
93FastRoamEnabled=1
94
95# Check if the AP to which we are roaming is better than current AP in
96# terms of RSSI. Checking is disabled if set to Zero.Otherwise it will
97# use this value as to how better the RSSI of the new/roamable AP should
98# be for roaming
99RoamRssiDiff=5
100
101# To enable, set gRoamIntraBand=1 (Roaming within band)
102# To disable, set gRoamIntraBand=0 (Roaming across band)
103gRoamIntraBand=0
104
105#Short Guard Interval Enable/disable
106gShortGI20Mhz=1
107gShortGI40Mhz=1
108
109#Auto Shutdown Value in seconds. A value of 0 means Auto shutoff is disabled
110gAPAutoShutOff=0
111
112#Auto Shutdown wlan : Value in Seconds. 0 means disabled. Max 1 day = 86400 sec
113gWlanAutoShutdown = 0
114
115# Not used.
116gApAutoChannelSelection=0
117
118#Preferred band (both or 2.4 only or 5 only)
119BandCapability=0
120
121#Channel Bonding
122gChannelBondingMode5GHz=1
123
124#Say gGoKeepAlivePeriod(5 seconds) and gGoLinkMonitorPeriod(10 seconds).
125#For every 10 seconds DUT send Qos Null frame(i.e., Keep Alive frame if link
126#is idle for last 10 seconds.) For both active and power save clients.
127
128#Power save clients: DUT set TIM bit from 10th second onwards and till client
129#honors TIM bit. If doesn't honor for 5 seconds then DUT remove client.
130
131#Active clients: DUT send Qos Null frame for 10th seconds onwards if it is not
132#success still we try on 11th second if not tries on 12th and so on till 15th
133#second. Hence before disconnection DUT will send 5 NULL frames. Hence in any
134#case DUT will detect client got removed in (10+5) seconds.
135#i.e., (gGoKeepAlivePeriod + gGoLinkMonitorPeriod)..
136
137#gGoLinkMonitorPeriod/ gApLinkMonitorPeriod is period where link is idle and
138#it is period where we send NULL frame.
139#gApLinkMonitorPeriod = 10
140#gGoLinkMonitorPeriod = 10
141
142#gGoKeepAlivePeriod/gApKeepAlivePeriod is time to spend to check whether frame
143#are succeed to send or not. Hence total effective detection time is
144# (gGoLinkMonitorPeriod + gGoKeepAlivePeriod) /
145# (gApLinkMonitorPeriod + gApKeepAlivePeriod)
146gGoKeepAlivePeriod = 20
147gApKeepAlivePeriod = 20
148
149#If set will start with active scan after driver load, otherwise will start with
150#passive scan to find out the domain
151gEnableBypass11d=1
152
153#If set to 0, will not scan DFS channels
154gEnableDFSChnlScan=1
155
156# Enable DFS channel roam
157# 0: DISABLE, 1: ENABLED_NORMAL, 2: ENABLED_ACTIVE
158gAllowDFSChannelRoam=1
159
160gVhtChannelWidth=2
161
162#Data Inactivity Timeout when in powersave (in ms)
163gDataInactivityTimeout=200
164
165# Set txchainmask and rxchainmask
166# These parameters are used only if gEnable2x2 is 0
167# Valid values are 1,2
168# Set gSetTxChainmask1x1=1 or gSetRxChainmask1x1=1 to select chain0.
169# Set gSetTxChainmask1x1=2 or gSetRxChainmask1x1=2 to select chain1.
170gSetTxChainmask1x1=1
171gSetRxChainmask1x1=1
172
173# Scan Timing Parameters
174# gPassiveMaxChannelTime=110
175# gPassiveMinChannelTime=60
176gActiveMaxChannelTime=40
177gActiveMinChannelTime=20
178
179#If set to 0, MCC is not allowed.
180gEnableMCCMode=1
181
182# MCC to SCC Switch mode:
183# 0-Disable
184# 1-Enable
185# 2-Force SCC if same band, with SAP restart
186# 3-Force SCC if same band, without SAP restart by sending (E)CSA
187# 4-Force SCC if same band (or) use SAP mandatory channel for DBS,
188# without SAP restart by sending (E)CSA
189gWlanMccToSccSwitchMode = 3
190
191# 1=enable STBC; 0=disable STBC
192gEnableRXSTBC=1
193
194# 1=enable tx STBC; 0=disable
195gEnableTXSTBC=1
196
197# 1=enable rx LDPC; 0=disable
198gEnableRXLDPC=1
199
200#Enable/Disable Tx beamforming
201gTxBFEnable=1
202
203#Enable/Disable Tx beamformee in SAP mode
204gEnableTxBFeeSAP=1
205
206# Enable Tx beamforming in VHT20MHz
207# Valid values are 0,1. If commented out, the default value is 0.
208# 0=disable, 1=enable
209gEnableTxBFin20MHz=1
210
211#Enable/Disable SU Tx beamformer support.
212gEnableTxSUBeamformer=1
213
214gEnableFastRoamInConcurrency=1
215
216#Maxium Channel time in msec
217gMaxMediumTime = 6000
218
219# 802.11K support
220gRrmEnable=1
221
222#Enable Power Save offload
223gEnablePowerSaveOffload=2
224
225#Enable firmware uart print
226gEnablefwprint=0
227
228# Firmware log mode
229# Valid values are 0,1,2
230# 0=Disable, 1=WMI, 2=DIAG
231gEnablefwlog=1
232
233# Maximum Receive AMPDU size (VHT only. Valid values:
234# 0->8k 1->16k 2->32k 3->64k 4->128k)
235gVhtAmpduLenExponent=7
236
237# Maximum MPDU length (VHT only. Valid values:
238# 0->3895 octets, 1->7991 octets, 2->11454 octets)
239gVhtMpduLen=2
240
241# Maximum number of wow filters required
242#gMaxWoWFilters=22
243
244# WOW Enable/Disable.
245# 0 - Disable both magic pattern match and pattern byte match.
246# 1 - Enable magic pattern match on all interfaces.
247# 2 - Enable pattern byte match on all interfaces.
248# 3 - Enable both magic pattern and pattern byte match on all interfaces.
249# Default value of gEnableWoW is 3.
250# gEnableWoW=0
251
252# Enable or Disable MCC Adaptive Scheduler at the FW
253# 1=Enable (default), 0=Disable
254gEnableMCCAdaptiveScheduler=1
255
256#Enable or Disable p2p device address administered
257isP2pDeviceAddrAdministrated=0
258
259# Remove Overlap channel restriction
260gEnableOverLapCh=0
261
262#Enable VHT on 2.4Ghz
263gEnableVhtFor24GHzBand=1
264
265#Maximum number of offload peers supported
266# gMaxOffloadPeers=2
267
268# controlling the following offload patterns
269# through ini parameter. Default value is 1
270# to disable set it to zero. ssdp = 0
271# Setup multicast pattern for mDNS 224.0.0.251,
272# SSDP 239.255.255.250 and LLMNR 224.0.0.252
273ssdp=0
274
275#Enable Memory Deep Sleep
276gEnableMemDeepSleep=1
277
278# Regulatory Setting; 0=STRICT; 1=CUSTOM
279gRegulatoryChangeCountry=1
280
281# RA filtering rate limit param, the current value would not
282# help if the lifetime in RA is less than 3*60=3min. Then
283# we need to change it, though it is uncommon.
284# gRAFilterEnable=0
285gRArateLimitInterval=600
286
287# Maximum number of concurrent connections
288gMaxConcurrentActiveSessions=3
289
290# Disable/Enable GreenAP
291# 0 to disable, 1 to enable, default: 1
292gEnableGreenAp=0
293
294# Radar PRI multiplier
295gDFSradarMappingPriMultiplier=4
296
297gPNOScanSupport=1
298
299#Enable/Disable LPASS support
300# 0 to disable, 1 to enable
301gEnableLpassSupport=1
302
303# Whether userspace country code setting shld have priority
304gCountryCodePriority=1
305
306# Enable(1)/Disable(0) SIFS burst
307gEnableSifsBurst=1
308
309# Enable or Disable Multi-user MIMO
310# 1=Enable (default), 0=Disable
311gEnableMuBformee=1
312
313# Enable/Disable channel avoidance for SAP in SCC scenario
314# 0 - disable
315# 1 - enable
316gSapSccChanAvoidance=0
317
318# Inactivity time (in ms) to end TX Service Period while in IBSS power save mode
319gIbssTxSpEndInactivityTime=10
320
321# Enable TDLS External Control. That is, user space application has to
322# first configure a peer MAC in wlan driver towards which TDLS is desired.
323# Device will establish TDLS only towards those configured peers whenever
324# TDLS criteria (throughput and RSSI threshold) is met and teardown TDLS
325# when teardown criteria (idle packet count and RSSI) is met. However,
326# device will accept TDLS connection if it is initiated from any other peer,
327# even if that peer is not configured.
328# 0 - disable
329# 1 - enable
330# For TDLS External Control, Implicit Trigger must also be enabled.
331gTDLSExternalControl=1
332
333# Enable support for TDLS off-channel operation
334# 0 - disable
335# 1 - enable
336# TDLS off-channel operation will be invoked when there is only one
337# TDLS connection.
338gEnableTDLSOffChannel=1
339
340# Enable or Disable Random MAC (Spoofing)
341# 1=Enable (default), 0=Disable
342gEnableMacAddrSpoof=1
343
344################ Datapath feature set Begin ################
345# Bus bandwidth threshold values in terms of number of packets
346gBusBandwidthHighThreshold=2000
347gBusBandwidthMediumThreshold=500
348gBusBandwidthLowThreshold=150
349
350# Bus bandwidth compute timeout value in ms
351gBusBandwidthComputeInterval=100
352
353# VHT Tx/Rx MCS values
354# Valid values are 0,1,2. If commented out, the default value is 0.
355# 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
356gVhtRxMCS=2
357gVhtTxMCS=2
358
359# VHT Tx/Rx MCS values for 2x2
360# Valid values are 0,1,2. If commented out, the default value is 0.
361# 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
362gEnable2x2=1
363gVhtRxMCS2x2=2
364gVhtTxMCS2x2=2
365
366#IPA config is a bit mask and following are the configurations.
367#bit0 IPA Enable
368#bit1 IPA PRE Filter enable
369#bit2 IPv6 enable
370#bit3 IPA Resource Manager (RM) enable
371#bit4 IPA Clock scaling enable
372#bit5 IPA uC ENABLE
373#bit6 IPA uC STA ENABLE
374#bit8 IPA Real Time Debugging
375gIPAConfig=0x7d
376gIPADescSize=800
377
378# Enable/Disable RX full reorder offload
379gReorderOffloadSupported=1
380
381# Enable CE classification
382# 1 - enable(default) 0 - disable
383gCEClassifyEnable=1
384
385# Enable Rx handling options
386# Rx_thread=1 RPS=2(default for ROME) NAPI=4(default for ihelium)
387rx_mode=5
388
389# Enable(Tx) fastpath for data traffic.
390# 1 - enable(default) 0 - disable
391gEnableFastPath=1
392
393# This flag enables IP, TCP and UDP checksum offload
394# 1 - enable(default) 0 - disable
395gEnableIpTcpUdpChecksumOffload=1
396
397# Enable TCP Segmentation Offload
398# 1 - enable 0 - disable
399TSOEnable=1
400
401# Enable Generic Receive Offload
402# 1 - enable(default) 0 - disable
403GROEnable=1
404
405# Enable HT MPDU Density
406# 4 for 2 micro sec
407ght_mpdu_density=4
408
409# Enable flow steering to enable multiple CEs for Rx flows.
410# Multiple Rx CEs<==>Multiple Rx IRQs<==>probably different CPUs.
411# Parallel Rx paths.
412# 1 - enable 0 - disable(default)
413gEnableFlowSteering=1
414
415# Time in microseconds after which a NAPI poll must yield
416ce_service_max_yield_time=500
417
418#Maximum number of HTT messages to be processed per NAPI poll
419ce_service_max_rx_ind_flush=1
420
421# Maximum number of MSDUs the firmware will pack in one HTT_T2H_MSG_TYPE_RX_IN_ORD_PADDR_IND
422maxMSDUsPerRxInd=8
423
424# Enable NUD tracking feature
425# 1 - enable 0 - disable(default)
426gEnableNUDTracking=1
427
428# Enable PEER UNMAP CONF SUPPORT
429# 1 - enable 0 - disable(default)
430gEnablePeerUnmapConfSupport=1
431
432################ Datapath feature set End ################
433
434################ NAN feature set start ###################
435
436# Enable NAN discovery (NAN 1.0)
437# 1 - enable 0 - disable(default)
438gEnableNanSupport=1
439# Enable NAN Datapath
440genable_nan_datapath=1
441
442################ NAN feature set end #####################
443
444adaptive_dwell_mode_enabled=1
445
446hostscan_adaptive_dwell_mode=1
447
448adapt_dwell_lpf_weight=80
449
450adapt_dwell_wifi_act_threshold=10
451
452MAWCEnabled=0
453
454# Enable/Disable rtt sta mac randomization
455enable_rtt_mac_randomization=1
456
457#Enable/Disable SNR monitoring
458gEnableSNRMonitoring=1
459
460# Rx thread affinity mask in UL case
461RX_THREAD_UL_CPU_AFFINITY_MASK=0xc0
462END
463
464# Note: Configuration parser would not read anything past the END marker
465