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
92gReportMaxLinkSpeed=0
93
94# Use OEM provisioned MAC address
95enable_mac_provision=1
96
97################ NAN feature set start ###################
98# Enable or Disable NAN
99# 1=Enable (default), 0=Disable
100gEnableNanSupport=1
101genable_nan_datapath=1
102gnan_datapath_ndi_channel=6
103################ NAN feature set end #####################
104
105gIgnorePeerHTopMode=1
106gIgnorePeerErpInfo=1
107
108# 802.11n Protection flag
109gEnableApProt=1
110
111# Fixed Rate
112gFixedRate=0
113
114# Intra-BSS forward
115gDisableIntraBssFwd=0
116
117# WMM Enable/Disable
118WmmIsEnabled=0
119
120# 802.11h support
121g11hSupportEnabled=1
122
123#Short Guard Interval Enable/disable
124gShortGI20Mhz=1
125gShortGI40Mhz=1
126
127#Auto Shutdown wlan : Value in Seconds. 0 means disabled. Max 1 day = 86400 sec
128gWlanAutoShutdown=0
129
130#Preferred band (both or 2.4 only or 5 only)
131BandCapability=0
132
133gVhtChannelWidth=2
134
135# Enable Tx beamforming
136gTxBFEnable=1
137
138# Set txchainmask and rxchainmask
139# These parameters are used only if gEnable2x2 is 0
140# Valid values are 1,2
141# Set gSetTxChainmask1x1=1 or gSetRxChainmask1x1=1 to select chain0.
142# Set gSetTxChainmask1x1=2 or gSetRxChainmask1x1=2 to select chain1.
143gSetTxChainmask1x1=1
144gSetRxChainmask1x1=1
145
146# 2.4GHz Antenna Sharing is not supported
147gForce1x1Exception=0
148
149#If set to 0, MCC is not allowed.
150gEnableMCCMode=1
151
152# MCC to SCC Switch mode: 0-Disable 1-Enable 2-Force SCC if same band
153gWlanMccToSccSwitchMode = 0
154
155# Maximum Receive AMPDU size (VHT only. Valid values: 0->8k 1->16k 2->32k 3->64k 4->128k)
156gVhtAmpduLenExponent=7
157
158# Maximum number of concurrent connections
159gMaxConcurrentActiveSessions=3
160
161# Radar PRI multiplier
162gDFSradarMappingPriMultiplier=4
163
164# Enable or Disable Multi-user MIMO
165# 1=Enable (default), 0=Disable
166gEnableMuBformee=1
167
168# Enable to check FW hash if secure FW feature is enabled. It's for defconfig
169# builds only since it will be ignored in performance/release builds.
170gEnableFWHashCheck=1
171
172# Enable or Disable MCC Adaptive Scheduler at the FW
173# 1=Enable (default), 0=Disable
174gEnableMCCAdaptiveScheduler=1
175
176# Disable/Enable GreenAP
177# 0 to disable, 1 to enable, default: 1
178gEnableGreenAp=0
179
180################ Datapath feature set Begin ################
181# Bus bandwidth threshold values in terms of number of packets
182gBusBandwidthHighThreshold=2000
183gBusBandwidthMediumThreshold=500
184gBusBandwidthLowThreshold=150
185
186# Bus bandwidth compute timeout value in ms
187gBusBandwidthComputeInterval=100
188
189# VHT Tx/Rx MCS values
190# Valid values are 0,1,2. If commented out, the default value is 0.
191# 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
192gVhtRxMCS=2
193gVhtTxMCS=2
194
195# VHT Tx/Rx MCS values for 2x2
196# Valid values are 0,1,2. If commented out, the default value is 0.
197# 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
198gEnable2x2=1
199gVhtRxMCS2x2=2
200gVhtTxMCS2x2=2
201
202#IPA config is a bit mask and following are the configurations.
203#bit0 IPA Enable
204#bit1 IPA PRE Filter enable
205#bit2 IPv6 enable
206#bit3 IPA Resource Manager (RM) enable
207#bit4 IPA Clock scaling enable
208#bit5 IPA uC ENABLE
209#bit6 IPA uC STA ENABLE
210#bit8 IPA Real Time Debugging
211gIPAConfig=0x3d
212gIPADescSize=800
213
214# Enable/Disable RX full reorder offload
215gReorderOffloadSupported=1
216
217# Enable CE classification
218# 1 - enable(default)  0 - disable
219gCEClassifyEnable=1
220
221# Enable(Tx) fastpath for data traffic.
222# 1 - enable(default)  0 - disable
223gEnableFastPath=1
224
225# This flag enables IP, TCP and UDP checksum offload
226# 1 - enable(default)  0 - disable
227gEnableIpTcpUdpChecksumOffload=1
228
229# Enable TCP Segmentation Offload
230# 1 - enable  0 - disable
231TSOEnable=1
232
233# Enable HT MPDU Density
234# 4 for 2 micro sec
235ght_mpdu_density=4
236
237# Enable flow steering to enable multiple CEs for Rx flows.
238# Multiple Rx CEs<==>Multiple Rx IRQs<==>probably different CPUs.
239# Parallel Rx paths.
240# 1 - enable 0 - disable(default)
241gEnableFlowSteering=1
242
243ce_service_max_yield_time=500
244ce_service_max_rx_ind_flush=1
245maxMSDUsPerRxInd=8
246
247# Data Stall Debugging feature
248gEnableDataStallDetection=0
249
250# Dynamic configuration of TCP limit output bytes
251gTcpLimitOutputEnable=0
252
253################ Datapath feature set End ################
254
255#############################################
256# SCAN related configurations
257#############################################
258# Enable/Disable Idle Scan
259gEnableIdleScan=0
260
261#Enable Scan Results Aging based on timer
262#Timer value is in seconds
263#If Set to 0 it will not enable the feature
264gScanAgingTime=30
265
266#Enable Scan Results Aging based on number of scans
267gScanResultAgeCount=1
268
269#Enable thermal mitigation
270gThermalMitigationEnable=0
271
272#Maximum Channel time in msec
273gMaxMediumTime=6000
274
275# Scan Timing Parameters
276# gPassiveMaxChannelTime=110
277# gPassiveMinChannelTime=60
278gActiveMaxChannelTime=40
279gActiveMinChannelTime=20
280
281gPNOScanSupport=1
282
283# Enable or Disable Extended Scan (GScan)
284# 1=Enable (default), 0=Disable
285gExtScanEnable=1
286
287#If set will start with active scan after driver load, otherwise will start with
288#passive scan to find out the domain
289gEnableBypass11d=1
290
291#If set to 0, will not scan DFS channels
292gEnableDFSChnlScan=1
293
294#Maxium Channel time in msec
295gMaxMediumTime = 6000
296
297adaptive_dwell_mode_enabled=1
298
299hostscan_adaptive_dwell_mode=1
300
301adapt_dwell_lpf_weight=80
302
303adapt_dwell_wifi_act_threshold=10
304
305# Enable or disable Probe Req Information Element whitelist. When enabled, IEs corresponding to bits
306# set in bitmaps are allowed in probe request, all others removed while device is unassociated
307# with an AP
308# 1=Enable, 0=Disable (default)
309g_enable_probereq_whitelist_ies=1
310
311# ie bitmap examples: <bitmap_name>=<value> [<Allowed Information elements>]
312#    g_probe_req_ie_bitmap_0=0x80000009 #[0, 3, 31]
313#    g_probe_req_ie_bitmap_0=0x00000000 #[] (default)
314#    g_probe_req_ie_bitmap_1=0x80000009 #[32, 35, 63]
315g_probe_req_ie_bitmap_0=0x0000000B
316g_probe_req_ie_bitmap_1=0x00040000
317# g_probe_req_ie_bitmap_2=0x00000000
318# g_probe_req_ie_bitmap_3=0x00000000
319# g_probe_req_ie_bitmap_4=0x00000000
320# g_probe_req_ie_bitmap_5=0x00000000
321g_probe_req_ie_bitmap_6=0x20000000
322# g_probe_req_ie_bitmap_7=0x00000000
323
324gProbeReqOUIs=0050F208
325
326#############################################
327# Power related configurations
328#############################################
329# Enable IMPS or not
330gEnableImps=1
331
332# Enable BMPS or not
333gEnableBmps=1
334
335# Increase sleep duration (seconds) during IMPS
336# 0 implies no periodic wake up from IMPS. Periodic wakeup is
337# unnecessary if Idle Scan is disabled.
338gImpsModSleepTime=0
339
340# UAPSD service interval for VO,VI, BE, BK traffic
341InfraUapsdVoSrvIntv=0
342InfraUapsdViSrvIntv=0
343InfraUapsdBeSrvIntv=0
344InfraUapsdBkSrvIntv=0
345
346# Enable suspend or not
347# 1: Enable standby, 2: Enable Deep sleep, 3: Enable Mcast/Bcast Filter
348gEnableSuspend=3
349
350#Enable Power Save offload
351gEnablePowerSaveOffload=2
352
353#Enable Power saving mechanism Based on Android Framework
354#If set to 0 Driver internally control the Power saving mechanism
355#If set to 1 Android Framwrok control the Power saving mechanism
356isAndroidPsEn=0
357
358beaconEarlyTerminationWakeInterval=3
359
360#Data Inactivity Timeout when in powersave (in ms)
361gDataInactivityTimeout=200
362
363# Inactivity time (in ms) to end TX Service Period while in IBSS power save mode
364gIbssTxSpEndInactivityTime=10
365
366gEnableModulatedDTIM=2
367gMaxLIModulatedDTIM=6
368
369#############################################
370# Roaming related configurations
371#############################################
372# CSR Roaming Enable(1) Disable(0)
373gRoamingTime=0
374
375# ESE Support and fast transition
376EseEnabled=1
377
378gNeighborLookupThreshold=76
379gNeighborReassocThreshold=81
380gNeighborScanChannelMinTime=20
381gNeighborScanChannelMaxTime=30
382gMaxNeighborReqTries=3
383
384# To enable, set gRoamIntraBand=1 (Roaming within band)
385# To disable, set gRoamIntraBand=0 (Roaming across band)
386gRoamIntraBand=0
387
388# Legacy (non-ESE, non-802.11r) Fast Roaming Support
389# To enable, set FastRoamEnabled=1
390# To disable, set FastRoamEnabled=0
391FastRoamEnabled=1
392
393#Check if the AP to which we are roaming is better than current AP in terms of RSSI.
394#Checking is disabled if set to Zero.Otherwise it will use this value as to how better
395#the RSSI of the new/roamable AP should be for roaming
396RoamRssiDiff=3
397
398# If the RSSI of any available candidate is better than currently associated
399# AP by at least gImmediateRoamRssiDiff, then being to roam immediately (without
400# registering for reassoc threshold).
401# NOTE: Value of 0 means that we would register for reassoc threshold.
402gImmediateRoamRssiDiff=10
403
404# 802.11K support
405gRrmEnable=1
406gRrmOperChanMax=8
407gRrmNonOperChanMax=8
408
409gEnableFastRoamInConcurrency=1
410
411# Enable/Disable Roaming Offload Support (a.k.a Key Management Offload)
412# 0 to disable, 1 to enable
413gRoamOffloadEnabled=1
414
415gAllowDFSChannelRoam=1
416
417# LFR Subnet Detection
418gLFRSubnetDetectionEnable=0
419
420#############################################
421# Offload related configurations
422#############################################
423# Beacon filtering frequency (unit in beacon intervals)
424gNthBeaconFilter=50
425
426# Enable WAPI or not
427# WAPIIsEnabled=0
428# Flags to filter Mcast abd Bcast RX packets.
429# Value 0: No filtering, 1: Filter all Multicast.
430# 2: Filter all Broadcast. 3: Filter all Mcast abd Bcast
431McastBcastFilter=3
432
433#Flag to enable HostARPOffload feature or not
434hostArpOffload=1
435
436#Flag to enable HostNSOffload feature or not
437hostNSOffload=1
438
439# controlling the following offload patterns
440# through ini parameter. Default value is 1
441# to disable set it to zero. ssdp = 0
442# Setup multicast pattern for mDNS 224.0.0.251,
443# SSDP 239.255.255.250 and LLMNR 224.0.0.252
444ssdp = 0
445
446#Enable MC address filtering offload
447gMCAddrListEnable=1
448
449#Enable Active mode offload
450gActiveModeOffload=1
451
452#Enable Active mode offload
453gEnableActiveModeOffload=1
454
455#Enable APF in Active mode
456gActiveUcBpfMode=2
457gActiveMcBcBpfMode=1
458
459#HW CCE Filter mode
460gHwFilterMode=0
461
462# WOW Enable/Disable.
463# 0 - Disable both magic pattern match and pattern byte match.
464# 1 - Enable magic pattern match on all interfaces.
465# 2 - Enable pattern byte match on all interfaces.
466# 3 - Enable both magic patter and pattern byte match on all interfaces.
467# Default value of gEnableWoW is 3.
468# gEnableWoW=0
469
470# 11k feature offload
47111k_offload_enable_bitmask=0
472
473#############################################
474# Logging related configurations
475#############################################
476gEnableLogp=1
477
478gEnableSelfRecovery=1
479
480#Enable firmware log
481gEnablefwlog=1
482# Additional firmware log levels
483gFwDebugLogLevel=3
484gFwDebugModuleLoglevel=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
485
486#Enable firmware uart print
487gEnablefwprint=0
488
489#############################################
490# TDLS related configurations
491#############################################
492# Enable support for TDLS
493#  0 - disable
494#  1 - enable
495gEnableTDLSSupport=1
496
497# Enable support for Implicit Trigger of TDLS. That is, wlan driver shall
498# initiate TDLS Discovery towards a peer whenever setup criteria (throughput
499# and RSSI) is met and then will initiate teardown when teardown criteria
500# (idle packet count and RSSI) is met.
501#  0 - disable
502#  1 - enable
503gEnableTDLSImplicitTrigger=1
504
505# Enable TDLS External Control. That is, user space application has to
506# first configure a peer MAC in wlan driver towards which TDLS is desired.
507# Device will establish TDLS only towards those configured peers whenever
508# TDLS criteria (throughput and RSSI threshold) is met and teardown TDLS
509# when teardown criteria (idle packet count and RSSI) is met. However,
510# device will accept TDLS connection if it is initiated from any other peer,
511# even if that peer is not configured.
512#  0 - disable
513#  1 - enable
514# For TDLS External Control, Implicit Trigger must also be enabled.
515gTDLSExternalControl=1
516
517# Enable support for TDLS off-channel operation
518#  0 - disable
519#  1 - enable
520# TDLS off-channel operation will be invoked when there is only one
521# TDLS connection.
522gEnableTDLSOffChannel=1
523
524gEnableTDLSScan=1
525gTDLSTxPacketThreshold=10
526gTDLSIdlePacketThreshold=1
527
528#############################################
529# P2P related configurations
530#############################################
531#P2P Listen offload
532gEnableP2pListenOffload=1
533
534#Enable or Disable p2p device address administered
535isP2pDeviceAddrAdministrated=0
536
537#Say gGoKeepAlivePeriod(5 seconds) and gGoLinkMonitorPeriod(10 seconds).
538#For every 10 seconds DUT send Qos Null frame(i.e., Keep Alive frame if link is idle for last 10 seconds.)
539#For both active and power save clients.
540
541#Power save clients: DUT set TIM bit from 10th second onwards and till client honors TIM bit.
542#If doesn't honor for 5 seconds then DUT remove client.
543
544#Active clients: DUT send Qos Null frame for 10th seconds onwards if it is not success still we try on
545#11th second if not tries on 12th and so on till 15th second. Hence before disconnection DUT will send 5 NULL frames.
546#Hence in any case DUT will detect client got removed in (10+5) seconds. i.e., (gGoKeepAlivePeriod + gGoLinkMonitorPeriod)..
547
548#gGoLinkMonitorPeriod/ gApLinkMonitorPeriod is period where link is idle and it is period
549#where we send NULL frame.
550
551#gApLinkMonitorPeriod = 10
552#gGoLinkMonitorPeriod = 10
553
554#gGoKeepAlivePeriod/gApKeepAlivePeriod is time to spend to check whether frame are succeed to send or not.
555#Hence total effective detection time is gGoLinkMonitorPeriod+ gGoKeepAlivePeriod/gApLinkMonitorPeriod+ gApKeepAlivePeriod.
556gGoKeepAlivePeriod = 20
557gApKeepAlivePeriod = 20
558
559#############################################
560# SAP related configurations
561#############################################
562#Enable OBSS protection
563gEnableApOBSSProt=1
564
565#Enable/Disable UAPSD for SoftAP
566gEnableApUapsd=1
567
568# SAP auto channel selection configuration
569# 0 = disable auto channel selection
570# 1 = enable auto channel selection, channel provided by supplicant will be ignored
571gApAutoChannelSelection=0
572
573#SOFTAP Channel Range selection
574gAPChannelSelectStartChannel=1
575gAPChannelSelectEndChannel=11
576
577# SAP Country code
578# Default Country Code is 2 bytes, 3rd byte is optional indoor or out door.
579# Example
580#   US Indoor, USI
581#   Korea Outdoor, KRO
582#   Japan without optional byte, JP
583#   France without optional byte, FR
584#gAPCntryCode=USI
585
586# DFS Master Capability
587gEnableDFSMasterCap=1
588
589#Auto Shutdown  Value in seconds. A value of 0 means Auto shutoff is disabled
590gAPAutoShutOff=0
591
592# Remove Overlap channel restriction
593gEnableOverLapCh=0
594
595# Enable/Disable channel avoidance for SAP in SCC scenario
596# 0 - disable
597# 1 - enable
598gSapSccChanAvoidance=0
599
600#Enable/Disable Tx beamformee in SAP mode
601gEnableTxBFeeSAP=1
602
603#Enable/Disable dual MAC feature
604# 0 - enable DBS
605# 1 - disable DBS
606# 2 - disable DBS for connection but keep DBS for scan
607# 3 - disable DBS for connection but keep DBS scan with async
608#     scan policy disabled
609# 4 - enable DBS for connection as well as for scan with async
610#     scan policy disabled
611gDualMacFeatureDisable=1
612
613#Set priority for connection with bssid_hint
614g_is_bssid_hint_priority=0
615
616gdbs_scan_selection=5,4,1,16,4,1
617
618enable_11d_in_world_mode=1
619
620gEnableLPRx=0
621
622gDptraceConfig=1,4,1,126
623
624gAP11ACOverride=0
625
626#Enable/Disable chain selection optimization for one chain dtim
627#Min: 0
628#MAX: 30
629gEnableDTIMSelectionDiversity=3
630
631#############################################
632# MAWC related configurations
633#############################################
634
635# MAWCEnabled - Enable/Disable Motion Aided Wireless Connectivity Global
636MAWCEnabled=0
637
638# mawc_roam_enabled - Enable/Disable MAWC during roaming
639mawc_roam_enabled=0
640
641# Enable/Disable the Motion Aided Wireless Connectivity
642# based NLO using this parameter
643mawc_nlo_enabled=0
644
645# Enable/Disable rtt sta mac randomization
646enable_rtt_mac_randomization=1
647
648# Channel selection logic DBS (1) vs MCC (0)
649channel_select_logic_conc=0
650
651gConfigVCmode=0
652
653# WLM (Wireless Latency Manager)
654wlm_latency_flags_moderate=0
655wlm_latency_flags_low=0
656wlm_latency_flags_ultralow=0
657
658# OCE Feature
659oce_sta_enable=0
660oce_sap_enable=0
661num_oce_wan_slots=0
662oce_wan_score_idx7_to_4=0
663oce_wan_score_idx11_to_8=0
664oce_enable_rssi_assoc_reject=0
665
666#Timer waiting for interface up from the upper layer
667gInterfaceChangeWait=1000
668
669#Enable Bmps(power save in connected state) based on timer
670#Timer value is in seconds
671gAutoBmpsTimerValue=90
672
673END
674
675# Note: Configuration parser would not read anything past the END marker
676