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