• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This file allows user to override the factory
2# defaults for the WLAN Driver
3
4#############################################
5# Power related configurations
6#############################################
7# Phy Mode (auto, b, g, n, etc)
8# Valid values are 0-9, with 0 = Auto, 4 = 11n, 9 = 11ac
9# 1 = 11abg, 2 = 11b, 3 = 11g, 5 = 11g only, 6 = 11n only
10# 7 = 11b only 8 = 11ac only.
11gDot11Mode=0
12
13#############################################
14# STA related general configurations
15#############################################
16# UAPSD service interval for VO,VI, BE, BK traffic
17InfraUapsdVoSrvIntv=0
18InfraUapsdViSrvIntv=0
19InfraUapsdBeSrvIntv=0
20InfraUapsdBkSrvIntv=0
21
22# Flag to allow STA send AddTspec even when ACM is Off
23gAddTSWhenACMIsOff=1
24
25#############################################
26# SAP related configurations
27#############################################
28#Enable OBSS protection
29gEnableApOBSSProt=1
30
31# RTS threshold
32RTSThreshold=1048576
33
34# 802.11d support
35g11dSupportEnabled=0
36
37# DFS Master Capability
38gEnableDFSMasterCap=0
39
40gNeighborLookupThreshold=76
41
42# Legacy (non-ESE, non-802.11r) Fast Roaming Support
43# To enable, set FastRoamEnabled=1
44# To disable, set FastRoamEnabled=0
45FastRoamEnabled=1
46
47# Check if the AP to which we are roaming is better than current AP in
48# terms of RSSI.  Checking is disabled if set to Zero.Otherwise it will
49# use this value as to how better the RSSI of the new/roamable AP should
50# be for roaming
51RoamRssiDiff=3
52
53#Channel Bonding
54gChannelBondingMode24GHz=0
55gChannelBondingMode5GHz=1
56
57# Enable DFS channel roam
58# 0: DISABLE, 1: ENABLED_NORMAL, 2: ENABLED_ACTIVE
59gAllowDFSChannelRoam=1
60
61# chain mask related params
62#
63# Set txchainmask and rxchainmask
64# These parameters are used only if gEnable2x2 is 0
65# Valid values are 1,2
66# Set gSetTxChainmask1x1=1 or gSetRxChainmask1x1=1 to select chain0.
67# Set gSetTxChainmask1x1=2 or gSetRxChainmask1x1=2 to select chain1.
68gSetTxChainmask1x1=1
69gSetRxChainmask1x1=1
70
71# MCC to SCC Switch mode:
72# 0-Disable
73# 1-Enable
74# 2-Force SCC if same band, with SAP restart
75# 3-Force SCC if same band, without SAP restart by sending (E)CSA
76# 4-Force SCC if same band (or) use SAP mandatory channel for DBS,
77#   without SAP restart by sending (E)CSA
78gWlanMccToSccSwitchMode = 3
79
80#Allow STA+SAP SCC on DFS channel with master mode support disabled.
81g_sta_sap_scc_on_dfs_chan = 0
82
83# 1=enable tx STBC; 0=disable
84gEnableTXSTBC=1
85
86# 1=enable rx LDPC; 0=disable
87gEnableRXLDPC=1
88
89#Enable/Disable Tx beamformee in SAP mode
90gEnableTxBFeeSAP=1
91
92# Enable Tx beamforming in VHT20MHz
93# Valid values are 0,1. If commented out, the default value is 0.
94# 0=disable, 1=enable
95gEnableTxBFin20MHz=1
96
97# 802.11K support
98gRrmEnable=1
99
100#Enable Power Save offload
101gEnablePowerSaveOffload=2
102
103# Maximum Receive AMPDU size (VHT only. Valid values:
104# 0->8k 1->16k 2->32k 3->64k 4->128k)
105gVhtAmpduLenExponent=7
106
107# Maximum MPDU length (VHT only. Valid values:
108# 0->3895 octets, 1->7991 octets, 2->11454 octets)
109gVhtMpduLen=2
110
111# Report actual link speed (not max or scaled)
112gReportMaxLinkSpeed=0
113
114#############################################
115# P2P related configurations
116#############################################
117#Enable or Disable p2p device address administered
118isP2pDeviceAddrAdministrated=0
119
120#Mac address provisioning
121enable_mac_provision=1
122
123#Enable VHT on 2.4Ghz
124gEnableVhtFor24GHzBand=1
125
126#############################################
127# Offload related configurations
128#############################################
129
130# controlling the following offload patterns
131# through ini parameter. Default value is 1
132# to disable set it to zero. ssdp = 0
133# Setup multicast pattern for mDNS 224.0.0.251,
134# SSDP 239.255.255.250 and LLMNR 224.0.0.252
135ssdp=0
136
137# Regulatory Setting; 0=STRICT; 1=CUSTOM
138gRegulatoryChangeCountry=1
139
140# Disable/Enable GreenAP
141# 0 to disable, 1 to enable, default: 1
142gEnableGreenAp=0
143
144#Enable/Disable LPASS support
145# 0 to disable, 1 to enable
146gEnableLpassSupport=1
147
148# Whether userspace country code setting shld have priority
149gCountryCodePriority=1
150
151# Enable or Disable Multi-user MIMO
152# 1=Enable (default), 0=Disable
153gEnableMuBformee=1
154
155# Inactivity time (in ms) to end TX Service Period while in IBSS power save mode
156gIbssTxSpEndInactivityTime=10
157
158#############################################
159# TDLS related configurations
160#############################################
161# Enable support for TDLS
162#  0 - disable
163#  1 - enable
164gEnableTDLSSupport=1
165
166# Enable support for Implicit Trigger of TDLS. That is, wlan driver shall
167# initiate TDLS Discovery towards a peer whenever setup criteria (throughput
168# and RSSI) is met and then will initiate teardown when teardown criteria
169# (idle packet count and RSSI) is met.
170#  0 - disable
171#  1 - enable
172gEnableTDLSImplicitTrigger=1
173
174# Enable support for TDLS off-channel operation
175#  0 - disable
176#  1 - enable
177# TDLS off-channel operation will be invoked when there is only one
178# TDLS connection.
179gEnableTDLSOffChannel=0
180
181# Tx/Rx Packet threshold for initiating TDLS.
182# This ini is used to configure the number of Tx/Rx packets during the period of
183# gTDLSTxStatsPeriod when exceeded, a TDLS Discovery request is triggered.
184gTDLSTxPacketThreshold=10
185
186# Number of idle packet.
187# This ini is used to configure the number of Tx/Rx packet, below which
188# within last gTDLSTxStatsPeriod period is considered as idle condition.
189gTDLSIdlePacketThreshold=1
190
191# VHT Tx/Rx MCS values
192# Valid values are 0,1,2. If commented out, the default value is 0.
193# 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
194gVhtRxMCS=2
195gVhtTxMCS=2
196
197# VHT Tx/Rx MCS values for 2x2
198# Valid values are 0,1,2. If commented out, the default value is 0.
199# 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
200gEnable2x2=1
201gVhtRxMCS2x2=2
202gVhtTxMCS2x2=2
203
204#IPA config is a bit mask and following are the configurations.
205#bit0 IPA Enable
206#bit1 IPA PRE Filter enable
207#bit2 IPv6 enable
208#bit3 IPA Resource Manager (RM) enable
209#bit4 IPA Clock scaling enable
210#bit5 IPA uC ENABLE
211#bit6 IPA uC STA ENABLE
212#bit8 IPA Real Time Debugging
213gIPAConfig=0x7d
214
215# Enable Rx handling options
216# Rx_thread=1 RPS=2(default for ROME) NAPI=4(default for ihelium)
217# Rx_thread + NAPI = 5
218rx_mode=5
219
220# Enable(Tx) fastpath for data traffic.
221# 1 - enable(default)  0 - disable
222gEnableFastPath=1
223
224# Enable TCP Segmentation Offload
225# 1 - enable  0 - disable
226TSOEnable=1
227
228# Enable Generic Receive Offload
229# LRO and GRO are exclusive to each other
230# LRO support is deprecated on latest 4.9(SDM845) kernel
231# 1 - enable(default)  0 - disable
232GROEnable=1
233
234# Enable HT MPDU Density
235# 4 for 2 micro sec
236ght_mpdu_density=4
237
238# Enable flow steering to enable multiple CEs for Rx flows.
239# Multiple Rx CEs<==>Multiple Rx IRQs<==>probably different CPUs.
240# Parallel Rx paths.
241# 1 - enable 0 - disable(default)
242gEnableFlowSteering=1
243
244# Time in microseconds after which a NAPI poll must yield
245ce_service_max_yield_time=500
246
247#Maximum number of HTT messages to be processed per NAPI poll
248ce_service_max_rx_ind_flush=1
249
250# Maximum number of MSDUs the firmware will pack in one HTT_T2H_MSG_TYPE_RX_IN_ORD_PADDR_IND
251maxMSDUsPerRxInd=8
252################ Datapath feature set End ################
253
254################ NAN feature set start ###################
255
256# Enable NAN discovery (NAN 1.0)
257# 1 - enable  0 - disable(default)
258gEnableNanSupport=1
259################ NAN feature set end #####################
260
261hostscan_adaptive_dwell_mode=1
262
263# Create another interface during driver load
264gEnableConcurrentSTA=wlan1
265
266#Enable/Disable dual MAC feature
267# 0 - enable DBS
268# 1 - disable DBS
269# 2 - disable DBS for connection but keep DBS for scan
270# 3 - disable DBS for connection but keep DBS scan with async
271#     scan policy disabled
272# 4 - enable DBS for connection as well as for scan with async
273#     scan policy disabled
274# 5 - enable DBS for connection but disable dbs for scan.
275# 6 - enable DBS for connection but disable simultaneous scan from
276#     upper layer (DBS scan remains enabled in FW).
277gDualMacFeatureDisable=6
278
279#Enable/Disable latency mode
280# 0 disable
281# 1 enable
282wlm_latency_enable=1
283
284# Enable/Disable NUD Tracking within driver
285gEnableNUDTracking=0
286
287# Configure hardware filter for DTIM mode
288# The hardware filter is only effective in DTIM mode.
289# Use this configuration to blanket drop broadcast/multicast packets at the hardware level
290# without waking up the firmware
291#
292# Takes a bitmap of frame types to drop
293#
294# 0 = disable feature
295# 1 = drop all broadcast frames, except ARP (default)
296# 2 = drop all multicast frames, except ICMPv6
297# 3 = drop all broadcast and multicast frames, except ARP and ICMPv6
298gHwFilterMode=0
299
300# Enables SNR Monitoring
301# This ini is used to set default snr monitor
302gEnableSNRMonitoring=1
303
304# Control to enable TCP limit output byte
305# This ini is used to enable dynamic configuration of TCP limit output bytes
306# tcp_limit_output_bytes param.
307# Enabling this will let driver post message to cnss-daemon,
308# accordingly cnss-daemon will modify the tcp_limit_output_bytes.
309gTcpLimitOutputEnable=0
310
311# Enable Target Wake Time support.
312# This ini is used to enable or disable TWT support.
313enable_twt=0
314
315# For NLO/PNO, enable MAWC based scan
316# Enable/Disable the Motion Aided Wireless Connectivity based NLO using this parameter
317mawc_nlo_enabled=0
318
319# Force 1x1 when connecting to certain peer
320# This INI when enabled will force 1x1 connection with certain peer.
321gForce1x1Exception=0
322
323# Enable/disable oce feature for STA
324# This ini is used to enable/disable oce feature for STA
325oce_sta_enable=1
326
327# Enable/disable oce feature for SAP
328# This ini is used to enable/disable oce feature for SAP
329oce_sap_enable=0
330
331#Enable/disable FILS discovery for SAP
332oce_enable_fils_discovery_sap=0
333
334# Set probe request rate
335# This ini is used to set probe request rate to 5.5Mbps as per OCE requirement in 2.4G band
336oce_enable_probe_req_rate=0
337
338#Enable/disable probe request deferral as per OCE spec
339oce_enable_probe_req_deferral=0
340
341# HE caps Weightage to calculate best candidate
342# This ini is used to increase/decrease HE caps weightage in best candidate selection.
343# If AP supports HE caps, AP will get additional weightage with this param.
344# Weightage will be given only if dot11mode is HE capable.
345he_caps_weightage=0
346
347# PCL Weightage to calculate best candidate
348# This ini is used to increase/decrease PCL weightage in best candidate selection.
349# If some APs are in PCL list, those AP will get addition weightage.
350pcl_weightage=10
351
352# Enable/disable esp feature
353# This ini is used to enable/disable ESP(Estimated service parameters) IE parsing and decides
354# whether firmware will include this in its scoring algo.
355enable_esp_for_roam=0
356
357# Bitmask to enable 11k offload to FW.
358# This ini is used to set which of the 11k features is offloaded to FW
359# Currently Neighbor Report Request is supported for offload and is enabled by default.
360# B0: Offload 11k neighbor report requests
361# B1-B31: Reserved
36211k_offload_enable_bitmask=0
363
364# Set channel selection logic for different concurrency combinations to DBS or inter band MCC.
365# Default is DBS for STA+STA and STA+P2P.
366#  0 - inter-band MCC
367#  1 - DBS
368#
369# BIT 0: STA+STA
370# BIT 1: STA+P2P
371# BIT 2-31: Reserved
372channel_select_logic_conc=0
373
374# Configure BTM
375# Bit 0: Enable/Disable the BTM offload. Set this to 1 will enable and 0 will disable BTM offload.
376# BIT 2, 1: Action on non matching candidate with cache. If a BTM request is received from AP
377#           then the candidate AP's may/may-not be present in the firmware scan cache.
378#           Based on below config firmware will decide whether to forward BTM frame to host or
379#           consume with firmware and proceed with Roaming to candidate AP.
380#
381#           00 scan and consume
382#           01 no scan and forward to host
383#           10, 11 reserved
384# BIT 5, 4, 3: Roaming handoff decisions on multiple candidates match
385#              000 match if exact BSSIDs are found
386#              001 match if at least one top priority BSSID only
387#              010, 011, 100, 101, 110, 111 reserved
388# BIT 6: Set this to 1 will send BTM query frame and 0 not sent.
389# BIT 7-31: Reserved
390btm_offload_config=1473
391btm_disassoc_timer_threshold=10000
392minimum_btm_candidate_score=0
393roam_candidate_validity_timer=0
394
395#Timer waiting for interface up from the upper layer
396gInterfaceChangeWait=2000
397
398# Set external ACS Policy to Mandatory
399acs_policy=1
400
401# Set Modulated Dtim
402gEnableModulatedDTIM=2
403
404# Enable NAN datapath
405genable_nan_datapath=1
406
407# Set MaxLIModulate Dtim
408gMaxLIModulatedDTIM=6
409
410# Used for ignore peer infrormation
411gIgnorePeerErpInfo=1
412
413# DBS Scan Selection
414gdbs_scan_selection=5,4,1,16,4,1
415
416# 0 - Disallow STA+SAP SCC on LTE coex channel
417# 1 - Allow STA+SAP SCC on LTE coex channel
418g_sta_sap_scc_on_lte_coex_chan=1
419
420# Tx Chain Mask for CCK
421gCckChainMaskEnable=1
422
423# Tx Chain Mask for 1SS
424gTxChainMask1ss=0
425
426# TPC power
427gSelfGenFrmPwr=3
428
429# Enable LFR3 subnet detection
430gLFRSubnetDetectionEnable=0
431
432#Enable APF in Active mode
433gActiveUcBpfMode=2
434
435# Control MC/BC active APF mode
436gActiveMcBcBpfMode=1
437
438# Enable or disable Probe Req Information Element whitelist. When enabled, IEs corresponding to bits
439# set in bitmaps are allowed in probe request, all others removed while device is unassociated
440# with an AP
441# 1=Enable, 0=Disable (default)
442g_enable_probereq_whitelist_ies=1
443
444# ie bitmap examples: <bitmap_name>=<value> [<Allowed Information elements>]
445#    g_probe_req_ie_bitmap_0=0x80000009 #[0, 3, 31]
446#    g_probe_req_ie_bitmap_0=0x00000000 #[] (default)
447#    g_probe_req_ie_bitmap_1=0x80000009 #[32, 35, 63]
448g_probe_req_ie_bitmap_0=0x0000000B
449g_probe_req_ie_bitmap_1=0x00040000
450# g_probe_req_ie_bitmap_2=0x00000000
451# g_probe_req_ie_bitmap_3=0x00000000
452# g_probe_req_ie_bitmap_4=0x00000000
453# g_probe_req_ie_bitmap_5=0x00000000
454g_probe_req_ie_bitmap_6=0x20000000
455# g_probe_req_ie_bitmap_7=0x00000000
456
457# Used to specify vendor specific OUIs
458gProbeReqOUIs=0050F208
459
460# enable 11d in world mode
461enable_11d_in_world_mode=1
462
463# WLM flags setting for low level
464wlm_latency_flags_low=0xc08
465
466#Enable/Disable chain selection optimization for one chain dtim
467#Min: 0
468#MAX: 30
469gEnableDTIMSelectionDiversity=3
470
471# Enable/Disable rtt sta mac randomization
472enable_rtt_mac_randomization=1
473
474# Set max time for active 2G channel scan
475active_max_channel_time_2g=40
476
477# To config roaming scan policy
478roaming_scan_policy=1
479
480# Config DPTRACE
481gDptraceConfig=1,6,2,126
482
483# Enable/Disable peer unmap confirmation support in Host
484gEnablePeerUnmapConfSupport=1
485
486# Enable/Disable separate wifi aware interface
487nan_separate_iface_support=1
488
489# Config Thermal mitigation
490gThrottleDutyCycleLevel0=0
491gThrottleDutyCycleLevel1=0
492gThrottleDutyCycleLevel2=10
493gThrottleDutyCycleLevel3=30
494gThrottleDutyCycleLevel4=50
495gThrottleDutyCycleLevel5=70
496
497# Enable/Disable conversion from SARV1 to SARV2
498gEnableSARV1toSARV2=1
499
500#This ini is used to enable/disable ESE feature
501EseEnabled=1
502
503# Configure max number of ndi host supports
504ndi_max_support=2
505
506# Use wake lock during user scan
507wake_lock_in_user_scan=1
508
509# To address an interop issue with a particular AP
510# Used to specify action OUIs to reconnect when assoc timeout
511gActionOUIReconnAssocTimeout=00E04C 00 01
512
513# Limit to send request to the firmware at most once in a second
514nb_commands_interval=1
515
516END
517
518# Note: Configuration parser would not read anything past the END marker
519
520