xref: /wlan-driver/qcacld-3.0/components/mlme/dispatcher/inc/cfg_mlme_generic.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
3*5113495bSYour Name  * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
4*5113495bSYour Name  *
5*5113495bSYour Name  * Permission to use, copy, modify, and/or distribute this software for
6*5113495bSYour Name  * any purpose with or without fee is hereby granted, provided that the
7*5113495bSYour Name  * above copyright notice and this permission notice appear in all
8*5113495bSYour Name  * copies.
9*5113495bSYour Name  *
10*5113495bSYour Name  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
11*5113495bSYour Name  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
12*5113495bSYour Name  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
13*5113495bSYour Name  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
14*5113495bSYour Name  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
15*5113495bSYour Name  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
16*5113495bSYour Name  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17*5113495bSYour Name  * PERFORMANCE OF THIS SOFTWARE.
18*5113495bSYour Name  */
19*5113495bSYour Name 
20*5113495bSYour Name /**
21*5113495bSYour Name  * DOC: This file contains centralized definitions of converged configuration.
22*5113495bSYour Name  */
23*5113495bSYour Name 
24*5113495bSYour Name #ifndef __CFG_MLME_GENERIC_H
25*5113495bSYour Name #define __CFG_MLME_GENERIC_H
26*5113495bSYour Name 
27*5113495bSYour Name #define CFG_PMF_SA_QUERY_MAX_RETRIES_TYPE	CFG_INI_UINT
28*5113495bSYour Name #define CFG_PMF_SA_QUERY_RETRY_INTERVAL_TYPE	CFG_INI_UINT
29*5113495bSYour Name 
30*5113495bSYour Name /**
31*5113495bSYour Name  * enum monitor_mode_concurrency - Monitor mode concurrency
32*5113495bSYour Name  * @MONITOR_MODE_CONC_NO_SUPPORT: No concurrency supported with monitor mode
33*5113495bSYour Name  * @MONITOR_MODE_CONC_STA_SCAN_MON: STA + monitor mode concurrency is supported
34*5113495bSYour Name  * @MONITOR_MODE_CONC_AFTER_LAST: last value in enum
35*5113495bSYour Name  * @MONITOR_MODE_CONC_MAX: max value supported
36*5113495bSYour Name  */
37*5113495bSYour Name enum monitor_mode_concurrency {
38*5113495bSYour Name 	MONITOR_MODE_CONC_NO_SUPPORT,
39*5113495bSYour Name 	MONITOR_MODE_CONC_STA_SCAN_MON,
40*5113495bSYour Name 	MONITOR_MODE_CONC_AFTER_LAST,
41*5113495bSYour Name 	MONITOR_MODE_CONC_MAX = MONITOR_MODE_CONC_AFTER_LAST - 1,
42*5113495bSYour Name };
43*5113495bSYour Name 
44*5113495bSYour Name /**
45*5113495bSYour Name  * enum wlan_wds_mode - wds mode
46*5113495bSYour Name  * @WLAN_WDS_MODE_DISABLED: WDS is disabled
47*5113495bSYour Name  * @WLAN_WDS_MODE_REPEATER: WDS repeater mode
48*5113495bSYour Name  * @WLAN_WDS_MODE_LAST: last value in enum
49*5113495bSYour Name  * @WLAN_WDS_MODE_MAX: max value supported
50*5113495bSYour Name  * This is used for 'type' values in wds_mode
51*5113495bSYour Name  */
52*5113495bSYour Name enum wlan_wds_mode {
53*5113495bSYour Name 	WLAN_WDS_MODE_DISABLED  =  0,
54*5113495bSYour Name 	WLAN_WDS_MODE_REPEATER  =  1,
55*5113495bSYour Name 	/* keep this last */
56*5113495bSYour Name 	WLAN_WDS_MODE_LAST,
57*5113495bSYour Name 	WLAN_WDS_MODE_MAX = WLAN_WDS_MODE_LAST - 1,
58*5113495bSYour Name };
59*5113495bSYour Name 
60*5113495bSYour Name /**
61*5113495bSYour Name  * enum wlan_eht_mode - EHT mode of operation
62*5113495bSYour Name  * @WLAN_EHT_MODE_DISABLED: EHT is disabled
63*5113495bSYour Name  * @WLAN_EHT_MODE_SLO: Single-link operation mode
64*5113495bSYour Name  * @WLAN_EHT_MODE_MLSR: Multi-link Single-Radio mode
65*5113495bSYour Name  * @WLAN_EHT_MODE_MLMR: Multi-link Multi-Radio mode
66*5113495bSYour Name  * @WLAN_EHT_MODE_EMLSR: Enhanced Multi-link Single-Radio mode
67*5113495bSYour Name  * @WLAN_EHT_MODE_LAST: last value in enum
68*5113495bSYour Name  * @WLAN_EHT_MODE_MAX: max value supported
69*5113495bSYour Name  *
70*5113495bSYour Name  * This is used for 'type' values in eht_mode
71*5113495bSYour Name  */
72*5113495bSYour Name enum wlan_eht_mode {
73*5113495bSYour Name 	WLAN_EHT_MODE_DISABLED  = 0,
74*5113495bSYour Name 	WLAN_EHT_MODE_SLO       = 1,
75*5113495bSYour Name 	WLAN_EHT_MODE_MLSR      = 2,
76*5113495bSYour Name 	WLAN_EHT_MODE_MLMR      = 3,
77*5113495bSYour Name 	WLAN_EHT_MODE_EMLSR     = 4,
78*5113495bSYour Name 	/* keep this last */
79*5113495bSYour Name 	WLAN_EHT_MODE_LAST,
80*5113495bSYour Name 	WLAN_EHT_MODE_MAX = WLAN_EHT_MODE_LAST - 1,
81*5113495bSYour Name };
82*5113495bSYour Name 
83*5113495bSYour Name /**
84*5113495bSYour Name  * enum wlan_emlsr_action_mode - EMLSR action mode
85*5113495bSYour Name  * @WLAN_EMLSR_MODE_DISABLED: EMLSR is disabled
86*5113495bSYour Name  * @WLAN_EMLSR_MODE_ENTER: Enter EMLSR operation mode
87*5113495bSYour Name  * @WLAN_EMLSR_MODE_EXIT: Exit EMLSR operation mode
88*5113495bSYour Name  * @WLAN_EMLSR_MODE_LAST: last value in enum
89*5113495bSYour Name  * @WLAN_EMLSR_MODE_MAX: max value supported
90*5113495bSYour Name  *
91*5113495bSYour Name  * This is used for 'type' values in emlsr_mode
92*5113495bSYour Name  */
93*5113495bSYour Name enum wlan_emlsr_action_mode {
94*5113495bSYour Name 	WLAN_EMLSR_MODE_DISABLED = 0,
95*5113495bSYour Name 	WLAN_EMLSR_MODE_ENTER    = 1,
96*5113495bSYour Name 	WLAN_EMLSR_MODE_EXIT     = 2,
97*5113495bSYour Name 	/* keep this last */
98*5113495bSYour Name 	WLAN_EMLSR_MODE_LAST,
99*5113495bSYour Name 	WLAN_EMLSR_MODE_MAX = WLAN_EMLSR_MODE_LAST - 1,
100*5113495bSYour Name };
101*5113495bSYour Name 
102*5113495bSYour Name /**
103*5113495bSYour Name  * enum wlan_t2lm_negotiation_support - TID-to-link mapping negotiation support
104*5113495bSYour Name  * @WLAN_T2LM_DISABLE: T2LM support is disabled
105*5113495bSYour Name  * @WLAN_T2LM_SAME_LINK_SET: Mapping of all TIDs to the same link set, both DL
106*5113495bSYour Name  * and UL
107*5113495bSYour Name  * @WLAN_T2LM_RESERVED: This value is Reserved
108*5113495bSYour Name  * @WLAN_T2LM_SAME_DIFF_LINK_SET: Mapping of each TID to the same or different
109*5113495bSYour Name  * link set
110*5113495bSYour Name  * @WLAN_T2LM_SUPPORT_LAST: last value in enum
111*5113495bSYour Name  * @WLAN_T2LM_SUPPORT_MAX: max value supported
112*5113495bSYour Name  *
113*5113495bSYour Name  * This is used for 'type' values in T2LM support
114*5113495bSYour Name  */
115*5113495bSYour Name enum wlan_t2lm_negotiation_support {
116*5113495bSYour Name 	WLAN_T2LM_DISABLE            = 0,
117*5113495bSYour Name 	WLAN_T2LM_SAME_LINK_SET      = 1,
118*5113495bSYour Name 	WLAN_T2LM_RESERVED           = 2,
119*5113495bSYour Name 	WLAN_T2LM_SAME_DIFF_LINK_SET = 3,
120*5113495bSYour Name 	/* keep this last */
121*5113495bSYour Name 	WLAN_T2LM_SUPPORT_LAST,
122*5113495bSYour Name 	WLAN_T2LM_SUPPORT_MAX = WLAN_T2LM_SUPPORT_LAST - 1,
123*5113495bSYour Name };
124*5113495bSYour Name 
125*5113495bSYour Name /**
126*5113495bSYour Name  * enum debug_packet_log_type - Debug packet log type
127*5113495bSYour Name  * @DEBUG_PKTLOG_TYPE_NONE: Debug packet log is disabled
128*5113495bSYour Name  * @DEBUG_PKTLOG_TYPE_MGMT: Management frames logging is enabled.
129*5113495bSYour Name  * @DEBUG_PKTLOG_TYPE_EAPOL: EAPOL packets logging is enabled.
130*5113495bSYour Name  * @DEBUG_PKTLOG_TYPE_DHCP: DHCP packets logging is enabled.
131*5113495bSYour Name  * @DEBUG_PKTLOG_TYPE_ACTION: Action frames logging is enabled.
132*5113495bSYour Name  * @DEBUG_PKTLOG_TYPE_ARP: ARP packets logging is enabled.
133*5113495bSYour Name  */
134*5113495bSYour Name enum debug_packet_log_type {
135*5113495bSYour Name 	DEBUG_PKTLOG_TYPE_NONE   = 0x0,
136*5113495bSYour Name 	DEBUG_PKTLOG_TYPE_MGMT   = 0x1,
137*5113495bSYour Name 	DEBUG_PKTLOG_TYPE_EAPOL  = 0x2,
138*5113495bSYour Name 	DEBUG_PKTLOG_TYPE_DHCP   = 0x4,
139*5113495bSYour Name 	DEBUG_PKTLOG_TYPE_ACTION = 0x8,
140*5113495bSYour Name 	DEBUG_PKTLOG_TYPE_ARP    = 0x10,
141*5113495bSYour Name };
142*5113495bSYour Name 
143*5113495bSYour Name /**
144*5113495bSYour Name  * enum t2lm_negotiation_support: t2lm negotiation supported
145*5113495bSYour Name  * @T2LM_NEGOTIATION_DISABLED: T2LM is disabled
146*5113495bSYour Name  * @T2LM_NEGOTIATION_ALL_TIDS_TO_SUBSET_OF_LINKS: supports the mapping
147*5113495bSYour Name  * of all TIDs to the same link set both DL and UL.
148*5113495bSYour Name  * @T2LM_NEGOTIATION_RESERVED:
149*5113495bSYour Name  * this mapping value is reserved.
150*5113495bSYour Name  * @T2LM_NEGOTIATION_DISJOINT_MAPPING: supports the mapping of
151*5113495bSYour Name  * each TID to the same or different link set.
152*5113495bSYour Name  * @T2LM_NEGOTIATION_LAST: last value in enum
153*5113495bSYour Name  * @T2LM_NEGOTIATION_MAX: max value supported
154*5113495bSYour Name  */
155*5113495bSYour Name enum t2lm_negotiation_support {
156*5113495bSYour Name 	T2LM_NEGOTIATION_DISABLED = 0,
157*5113495bSYour Name 	T2LM_NEGOTIATION_ALL_TIDS_TO_SUBSET_OF_LINKS = 1,
158*5113495bSYour Name 	T2LM_NEGOTIATION_RESERVED = 2,
159*5113495bSYour Name 	T2LM_NEGOTIATION_DISJOINT_MAPPING  = 3,
160*5113495bSYour Name 	T2LM_NEGOTIATION_LAST,
161*5113495bSYour Name 	/* keep this last */
162*5113495bSYour Name 	T2LM_NEGOTIATION_MAX = T2LM_NEGOTIATION_LAST - 1,
163*5113495bSYour Name };
164*5113495bSYour Name 
165*5113495bSYour Name /**
166*5113495bSYour Name  * enum wlan_epcs_capability - EPCS capability
167*5113495bSYour Name  * @WLAN_EPCS_CAP_DISABLED: EPCS capability disable
168*5113495bSYour Name  * @WLAN_EPCS_CAP_ENABLE: EPCS capability enable
169*5113495bSYour Name  * @WLAN_EPCS_CAP_LAST: last value in enum
170*5113495bSYour Name  * @WLAN_EPCS_CAP_MAX: max value supported
171*5113495bSYour Name  */
172*5113495bSYour Name enum wlan_epcs_capability {
173*5113495bSYour Name 	WLAN_EPCS_CAP_DISABLED  =  0,
174*5113495bSYour Name 	WLAN_EPCS_CAP_ENABLE  =  1,
175*5113495bSYour Name 	/* keep this last */
176*5113495bSYour Name 	WLAN_EPCS_CAP_LAST,
177*5113495bSYour Name 	WLAN_EPCS_CAP_MAX = WLAN_EPCS_CAP_LAST - 1,
178*5113495bSYour Name };
179*5113495bSYour Name 
180*5113495bSYour Name /**
181*5113495bSYour Name  * enum wlan_epcs_frame - EPCS frame type
182*5113495bSYour Name  * @WLAN_EPCS_FRAME_TEARDOWN: EPCS teardown frame
183*5113495bSYour Name  * @WLAN_EPCS_FRAME_REQUEST: EPCS request frame
184*5113495bSYour Name  * @WLAN_EPCS_FRAME_LAST: last value in enum
185*5113495bSYour Name  * @WLAN_EPCS_FRAME_MAX: max value supported
186*5113495bSYour Name  */
187*5113495bSYour Name enum wlan_epcs_frame {
188*5113495bSYour Name 	WLAN_EPCS_FRAME_TEARDOWN  =  0,
189*5113495bSYour Name 	WLAN_EPCS_FRAME_REQUEST  =  1,
190*5113495bSYour Name 	/* keep this last */
191*5113495bSYour Name 	WLAN_EPCS_FRAME_LAST,
192*5113495bSYour Name 	WLAN_EPCS_FRAME_MAX = WLAN_EPCS_FRAME_LAST - 1,
193*5113495bSYour Name };
194*5113495bSYour Name 
195*5113495bSYour Name /*
196*5113495bSYour Name  * pmfSaQueryMaxRetries - Control PMF SA query retries for SAP
197*5113495bSYour Name  * @Min: 0
198*5113495bSYour Name  * @Max: 20
199*5113495bSYour Name  * @Default: 5
200*5113495bSYour Name  *
201*5113495bSYour Name  * This ini to set the number of PMF SA query retries for SAP
202*5113495bSYour Name  *
203*5113495bSYour Name  * Related: None.
204*5113495bSYour Name  *
205*5113495bSYour Name  * Supported Feature: PMF(11W)
206*5113495bSYour Name  *
207*5113495bSYour Name  */
208*5113495bSYour Name #define CFG_PMF_SA_QUERY_MAX_RETRIES CFG_PMF_SA_QUERY_MAX_RETRIES_TYPE( \
209*5113495bSYour Name 		"pmfSaQueryMaxRetries", \
210*5113495bSYour Name 		0, \
211*5113495bSYour Name 		20, \
212*5113495bSYour Name 		5, \
213*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
214*5113495bSYour Name 		"PMF SA query retries for SAP")
215*5113495bSYour Name /*
216*5113495bSYour Name  * pmfSaQueryRetryInterval - Control PMF SA query retry interval
217*5113495bSYour Name  * for SAP in ms
218*5113495bSYour Name  * @Min: 10
219*5113495bSYour Name  * @Max: 2000
220*5113495bSYour Name  * @Default: 200
221*5113495bSYour Name  *
222*5113495bSYour Name  * This ini to set the PMF SA query retry interval for SAP in ms
223*5113495bSYour Name  *
224*5113495bSYour Name  * Related: None.
225*5113495bSYour Name  *
226*5113495bSYour Name  * Supported Feature: PMF(11W)
227*5113495bSYour Name  *
228*5113495bSYour Name  */
229*5113495bSYour Name #define CFG_PMF_SA_QUERY_RETRY_INTERVAL CFG_PMF_SA_QUERY_RETRY_INTERVAL_TYPE( \
230*5113495bSYour Name 		"pmfSaQueryRetryInterval", \
231*5113495bSYour Name 		10, \
232*5113495bSYour Name 		2000, \
233*5113495bSYour Name 		200, \
234*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
235*5113495bSYour Name 		"PMF SA query retry interval for SAP")
236*5113495bSYour Name 
237*5113495bSYour Name #ifdef WLAN_FEATURE_11BE
238*5113495bSYour Name /*
239*5113495bSYour Name  * oem_eht_mlo_crypto_bitmap - OEM control to allow various EHT connection
240*5113495bSYour Name  * options using bitmap based on following ENUM (Name of ENUM to be added)
241*5113495bSYour Name  * @Min: 0x0
242*5113495bSYour Name  * @Max: 0xFFFFFFFF
243*5113495bSYour Name  * @Default: 0x20008 - To allow MLO WPA2-PMF cap APs and WPA3-SAE w/o H2E cap
244*5113495bSYour Name  *
245*5113495bSYour Name  * This INI is used to control the driver candidate selection and EHT
246*5113495bSYour Name  * connection choice based on OEM configuration. The bitmap follows the
247*5113495bSYour Name  * implementation from wlan_crypto_oem_eht_mlo_config enum
248*5113495bSYour Name  */
249*5113495bSYour Name #define CFG_OEM_EHT_MLO_CRYPTO_BITMAP CFG_INI_UINT( \
250*5113495bSYour Name 		"oem_eht_mlo_crypto_bitmap", \
251*5113495bSYour Name 		0x0, \
252*5113495bSYour Name 		0xFFFFFFFF, \
253*5113495bSYour Name 		0x20008, \
254*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
255*5113495bSYour Name 		"OEM control to allow/disallow crypto to EHT configuration")
256*5113495bSYour Name 
257*5113495bSYour Name #define CFG_OEM_EHT_MLO_CRYPTO_BITMAP_SUPPORTED \
258*5113495bSYour Name 			CFG(CFG_OEM_EHT_MLO_CRYPTO_BITMAP)
259*5113495bSYour Name #else
260*5113495bSYour Name #define CFG_OEM_EHT_MLO_CRYPTO_BITMAP_SUPPORTED
261*5113495bSYour Name #endif
262*5113495bSYour Name 
263*5113495bSYour Name /*
264*5113495bSYour Name  * <ini>
265*5113495bSYour Name  * enable_rtt_mac_randomization - Enable/Disable rtt mac randomization
266*5113495bSYour Name  * @Min: 0
267*5113495bSYour Name  * @Max: 1
268*5113495bSYour Name  * @Default: 1
269*5113495bSYour Name  *
270*5113495bSYour Name  * Usage: External
271*5113495bSYour Name  *
272*5113495bSYour Name  * </ini>
273*5113495bSYour Name  */
274*5113495bSYour Name #define CFG_ENABLE_RTT_MAC_RANDOMIZATION CFG_INI_BOOL( \
275*5113495bSYour Name 	"enable_rtt_mac_randomization", \
276*5113495bSYour Name 	1, \
277*5113495bSYour Name 	"Enable RTT MAC randomization")
278*5113495bSYour Name 
279*5113495bSYour Name #define CFG_RTT3_ENABLE CFG_BOOL( \
280*5113495bSYour Name 		"rtt3_enabled", \
281*5113495bSYour Name 		1, \
282*5113495bSYour Name 		"RTT3 enable/disable info")
283*5113495bSYour Name 
284*5113495bSYour Name /*
285*5113495bSYour Name  * <ini>
286*5113495bSYour Name  * g11hSupportEnabled - Enable 11h support
287*5113495bSYour Name  * @Min: 0
288*5113495bSYour Name  * @Max: 1
289*5113495bSYour Name  * @Default: 1
290*5113495bSYour Name  *
291*5113495bSYour Name  * This ini is used to set 11h support flag
292*5113495bSYour Name  *
293*5113495bSYour Name  * Related: None
294*5113495bSYour Name  *
295*5113495bSYour Name  * Supported Feature: STA
296*5113495bSYour Name  *
297*5113495bSYour Name  * Usage: External
298*5113495bSYour Name  *
299*5113495bSYour Name  * </ini>
300*5113495bSYour Name  */
301*5113495bSYour Name #define CFG_11H_SUPPORT_ENABLED CFG_INI_BOOL( \
302*5113495bSYour Name 		"g11hSupportEnabled", \
303*5113495bSYour Name 		1, \
304*5113495bSYour Name 		"11h Enable Flag")
305*5113495bSYour Name 
306*5113495bSYour Name /*
307*5113495bSYour Name  * <ini>
308*5113495bSYour Name  * g11dSupportEnabled - Enable 11d support
309*5113495bSYour Name  * @Min: 0
310*5113495bSYour Name  * @Max: 1
311*5113495bSYour Name  * @Default: 1
312*5113495bSYour Name  *
313*5113495bSYour Name  * This ini is used to set 11d support flag
314*5113495bSYour Name  *
315*5113495bSYour Name  * Related: None
316*5113495bSYour Name  *
317*5113495bSYour Name  * Supported Feature: STA
318*5113495bSYour Name  *
319*5113495bSYour Name  * Usage: External
320*5113495bSYour Name  *
321*5113495bSYour Name  * </ini>
322*5113495bSYour Name  */
323*5113495bSYour Name #define CFG_11D_SUPPORT_ENABLED CFG_INI_BOOL( \
324*5113495bSYour Name 		"g11dSupportEnabled", \
325*5113495bSYour Name 		1, \
326*5113495bSYour Name 		"11d Enable Flag")
327*5113495bSYour Name 
328*5113495bSYour Name /*
329*5113495bSYour Name  * rf_test_mode_enabled - Enable rf test mode support
330*5113495bSYour Name  * @Min: 0
331*5113495bSYour Name  * @Max: 1
332*5113495bSYour Name  * @Default: 0
333*5113495bSYour Name  *
334*5113495bSYour Name  * This cfg is used to set rf test mode support flag
335*5113495bSYour Name  * by default 6 G Hz security check will be enabled
336*5113495bSYour Name  * with rf test mode as disabled.
337*5113495bSYour Name  *
338*5113495bSYour Name  * Related: None
339*5113495bSYour Name  *
340*5113495bSYour Name  * Supported Feature: STA
341*5113495bSYour Name  */
342*5113495bSYour Name #define CFG_RF_TEST_MODE_SUPP_ENABLED CFG_BOOL( \
343*5113495bSYour Name 		"rf_test_mode_enabled", \
344*5113495bSYour Name 		0, \
345*5113495bSYour Name 		"rf test mode Enable Flag")
346*5113495bSYour Name 
347*5113495bSYour Name #ifdef CONFIG_BAND_6GHZ
348*5113495bSYour Name /*
349*5113495bSYour Name  * disable_vlp_sta_conn_to_sp_ap - Disable VLP STA connection to SP AP
350*5113495bSYour Name  * @Min: 0
351*5113495bSYour Name  * @Max: 1
352*5113495bSYour Name  * @Default: 0
353*5113495bSYour Name  *
354*5113495bSYour Name  * This cfg is used to disable connection when AP is operating in 6 GHz
355*5113495bSYour Name  * SP mode but STA doesn't support SP mode and supports VLP mode.
356*5113495bSYour Name  *
357*5113495bSYour Name  * Related: None
358*5113495bSYour Name  *
359*5113495bSYour Name  * Supported Feature: STA
360*5113495bSYour Name  */
361*5113495bSYour Name #define CFG_DISABLE_VLP_STA_CONN_TO_SP_AP CFG_BOOL( \
362*5113495bSYour Name 		"disable_vlp_sta_conn_to_sp_ap", \
363*5113495bSYour Name 		0, \
364*5113495bSYour Name 		"disable vlp sta conn to sp ap")
365*5113495bSYour Name #define CFG_DIS_VLP_STA_CONN_TO_SP_AP	CFG(CFG_DISABLE_VLP_STA_CONN_TO_SP_AP)
366*5113495bSYour Name #else
367*5113495bSYour Name #define CFG_DIS_VLP_STA_CONN_TO_SP_AP
368*5113495bSYour Name #endif
369*5113495bSYour Name 
370*5113495bSYour Name #ifdef CONFIG_BAND_6GHZ
371*5113495bSYour Name /*
372*5113495bSYour Name  * standard_6ghz_connection_policy - Enable 6 GHz standard connection policy
373*5113495bSYour Name  * @Min: 0
374*5113495bSYour Name  * @Max: 1
375*5113495bSYour Name  * @Default: 1
376*5113495bSYour Name  *
377*5113495bSYour Name  * This ini is used to set standard 6 GHz policies where STA will be
378*5113495bSYour Name  * allowed to scan and connect to any 6 GHz AP.
379*5113495bSYour Name  *
380*5113495bSYour Name  * Related: None
381*5113495bSYour Name  *
382*5113495bSYour Name  * Supported Feature: STA
383*5113495bSYour Name  */
384*5113495bSYour Name #define CFG_6GHZ_STANDARD_CONNECTION_POLICY CFG_INI_BOOL( \
385*5113495bSYour Name 		"standard_6ghz_connection_policy", \
386*5113495bSYour Name 		1, \
387*5113495bSYour Name 		"6ghz standard 6 GHZ connection policy")
388*5113495bSYour Name #define CFG_6GHZ_STD_CONN_POLICY	CFG(CFG_6GHZ_STANDARD_CONNECTION_POLICY)
389*5113495bSYour Name #else
390*5113495bSYour Name #define CFG_6GHZ_STD_CONN_POLICY
391*5113495bSYour Name #endif
392*5113495bSYour Name 
393*5113495bSYour Name #ifdef WLAN_FEATURE_11BE_MLO
394*5113495bSYour Name /*
395*5113495bSYour Name  * emlsr_mode_enable - Enable eMLSR mode support
396*5113495bSYour Name  * @Min: 0
397*5113495bSYour Name  * @Max: 1
398*5113495bSYour Name  * @Default: 0
399*5113495bSYour Name  *
400*5113495bSYour Name  * This cfg is used to enable eMLSR mode
401*5113495bSYour Name  * If 0 - MLMR mode (Default mode)
402*5113495bSYour Name  * If 1 - eMLSR mode
403*5113495bSYour Name  *
404*5113495bSYour Name  * Related: None
405*5113495bSYour Name  *
406*5113495bSYour Name  * Supported Feature: STA
407*5113495bSYour Name  */
408*5113495bSYour Name #define CFG_EMLSR_MODE_ENABLE CFG_BOOL( \
409*5113495bSYour Name 		"emlsr_mode_enable", \
410*5113495bSYour Name 		0, \
411*5113495bSYour Name 		"eMLSR mode enable flag")
412*5113495bSYour Name #define CFG_EMLSR_MODE_ENABLED	CFG(CFG_EMLSR_MODE_ENABLE)
413*5113495bSYour Name #else
414*5113495bSYour Name #define CFG_EMLSR_MODE_ENABLED
415*5113495bSYour Name #endif
416*5113495bSYour Name 
417*5113495bSYour Name /*
418*5113495bSYour Name  * <ini>
419*5113495bSYour Name  * BandCapability - Preferred band (0: 2.4G, 5G, and 6G,
420*5113495bSYour Name  *				    1: 2.4G only,
421*5113495bSYour Name  *				    2: 5G only,
422*5113495bSYour Name  *				    3: Both 2.4G and 5G,
423*5113495bSYour Name  *				    4: 6G only,
424*5113495bSYour Name  *				    5: Both 2.4G and 6G,
425*5113495bSYour Name  *				    6: Both 5G and 6G,
426*5113495bSYour Name  *				    7: 2.4G, 5G, and 6G)
427*5113495bSYour Name  * @Min: 0
428*5113495bSYour Name  * @Max: 7
429*5113495bSYour Name  * @Default: 7
430*5113495bSYour Name  *
431*5113495bSYour Name  * This ini is used to set default band capability
432*5113495bSYour Name  * (0: Both 2.4G and 5G, 1: 2.4G only, 2: 5G only, 3: Both 2.4G and 5G,
433*5113495bSYour Name  *  4: 6G only, 5: Both 2.4G and 6G, 6: Both 5G and 6G, 7: 2.4G, 5G, and 6G)
434*5113495bSYour Name  *
435*5113495bSYour Name  * Related: None
436*5113495bSYour Name  *
437*5113495bSYour Name  * Supported Feature: STA
438*5113495bSYour Name  *
439*5113495bSYour Name  * Usage: External
440*5113495bSYour Name  *
441*5113495bSYour Name  * </ini>
442*5113495bSYour Name  */
443*5113495bSYour Name #define CFG_BAND_CAPABILITY CFG_INI_UINT( \
444*5113495bSYour Name 	"BandCapability", \
445*5113495bSYour Name 	0, \
446*5113495bSYour Name 	7, \
447*5113495bSYour Name 	7, \
448*5113495bSYour Name 	CFG_VALUE_OR_DEFAULT, \
449*5113495bSYour Name 	"Band Capability")
450*5113495bSYour Name 
451*5113495bSYour Name /*
452*5113495bSYour Name  * <ini>
453*5113495bSYour Name  * gPreventLinkDown - Enable to prevent bus link from going down
454*5113495bSYour Name  * @Min: 0
455*5113495bSYour Name  * @Max: 1
456*5113495bSYour Name  * @Default: 0
457*5113495bSYour Name  *
458*5113495bSYour Name  * Enable to prevent bus link from going down. Useful for platforms that do not
459*5113495bSYour Name  * (yet) support link down suspend cases.
460*5113495bSYour Name  *
461*5113495bSYour Name  * Related: N/A
462*5113495bSYour Name  *
463*5113495bSYour Name  * Supported Feature: Suspend/Resume
464*5113495bSYour Name  *
465*5113495bSYour Name  * Usage: Internal
466*5113495bSYour Name  *
467*5113495bSYour Name  * </ini>
468*5113495bSYour Name  */
469*5113495bSYour Name #if defined(QCA_WIFI_EMULATION) || defined(QCA_WIFI_QCA6290)
470*5113495bSYour Name #define CFG_PREVENT_LINK_DOWN CFG_INI_BOOL( \
471*5113495bSYour Name 	"gPreventLinkDown", \
472*5113495bSYour Name 	1, \
473*5113495bSYour Name 	"Prevent Bus Link Down")
474*5113495bSYour Name #else
475*5113495bSYour Name #define CFG_PREVENT_LINK_DOWN CFG_INI_BOOL( \
476*5113495bSYour Name 	"gPreventLinkDown", \
477*5113495bSYour Name 	0, \
478*5113495bSYour Name 	"Prevent Bus Link Down")
479*5113495bSYour Name #endif /* QCA_WIFI_EMULATION */
480*5113495bSYour Name 
481*5113495bSYour Name /*
482*5113495bSYour Name  * <ini>
483*5113495bSYour Name  * gSelect5GHzMargin - Sets RSSI preference for 5GHz over 2.4GHz AP.
484*5113495bSYour Name  * @Min: 0
485*5113495bSYour Name  * @Max: 60
486*5113495bSYour Name  * @Default: 0
487*5113495bSYour Name  *
488*5113495bSYour Name  * Prefer connecting to 5G AP even if its RSSI is lower by gSelect5GHzMargin
489*5113495bSYour Name  * dBm than 2.4G AP. This feature requires the dependent cfg.ini
490*5113495bSYour Name  * "gRoamPrefer5GHz" set to 1
491*5113495bSYour Name  *
492*5113495bSYour Name  * Related: gRoamPrefer5GHz
493*5113495bSYour Name  *
494*5113495bSYour Name  * Supported Feature: Roaming
495*5113495bSYour Name  *
496*5113495bSYour Name  * Usage: External
497*5113495bSYour Name  *
498*5113495bSYour Name  * </ini>
499*5113495bSYour Name  */
500*5113495bSYour Name #define CFG_SELECT_5GHZ_MARGIN CFG_INI_UINT( \
501*5113495bSYour Name 	"gSelect5GHzMargin", \
502*5113495bSYour Name 	0, \
503*5113495bSYour Name 	60, \
504*5113495bSYour Name 	0, \
505*5113495bSYour Name 	CFG_VALUE_OR_DEFAULT, \
506*5113495bSYour Name 	"Select 5Ghz Margin")
507*5113495bSYour Name 
508*5113495bSYour Name /*
509*5113495bSYour Name  * <ini>
510*5113495bSYour Name  * gEnableMemDeepSleep - Sets Memory Deep Sleep on/off.
511*5113495bSYour Name  * @Min: 0
512*5113495bSYour Name  * @Max: 1
513*5113495bSYour Name  * @Default: 1
514*5113495bSYour Name  *
515*5113495bSYour Name  * This option enables/disables memory deep sleep.
516*5113495bSYour Name  * Related: None
517*5113495bSYour Name  *
518*5113495bSYour Name  * Supported Feature: General
519*5113495bSYour Name  *
520*5113495bSYour Name  * Usage: External
521*5113495bSYour Name  *
522*5113495bSYour Name  * </ini>
523*5113495bSYour Name  */
524*5113495bSYour Name #define CFG_ENABLE_MEM_DEEP_SLEEP CFG_INI_BOOL( \
525*5113495bSYour Name 	"gEnableMemDeepSleep", \
526*5113495bSYour Name 	1, \
527*5113495bSYour Name 	"Enable Memory Deep Sleep")
528*5113495bSYour Name 
529*5113495bSYour Name /*
530*5113495bSYour Name  * <ini>
531*5113495bSYour Name  *
532*5113495bSYour Name  * gEnableCckTxFirOverride - Enable/disable CCK TxFIR Override
533*5113495bSYour Name  * @Min: 0 (disabled)
534*5113495bSYour Name  * @Max: 1 (enabled)
535*5113495bSYour Name  * @Default: 0 (disabled)
536*5113495bSYour Name  *
537*5113495bSYour Name  * When operating in an 802.11b mode, this configuration item forces a 2x2 radio
538*5113495bSYour Name  * configuration into 1x for Tx and 2x for Rx (ie 1x2) for regulatory compliance
539*5113495bSYour Name  * reasons.
540*5113495bSYour Name  *
541*5113495bSYour Name  * Related: enable2x2
542*5113495bSYour Name  *
543*5113495bSYour Name  * Supported Feature: 802.11b, 2x2
544*5113495bSYour Name  *
545*5113495bSYour Name  * Usage: External
546*5113495bSYour Name  *
547*5113495bSYour Name  * </ini>
548*5113495bSYour Name  */
549*5113495bSYour Name #define CFG_ENABLE_CCK_TX_FIR_OVERRIDE CFG_INI_BOOL( \
550*5113495bSYour Name 	"gEnableCckTxFirOverride", \
551*5113495bSYour Name 	0, \
552*5113495bSYour Name 	"Enable CCK TX FIR Override")
553*5113495bSYour Name 
554*5113495bSYour Name /*
555*5113495bSYour Name  * <ini>
556*5113495bSYour Name  *
557*5113495bSYour Name  * gEnableForceTargetAssert - Enable/disable SSR
558*5113495bSYour Name  * @Min: 0 (disabled)
559*5113495bSYour Name  * @Max: 1 (enabled)
560*5113495bSYour Name  * @Default: 0 (disabled)
561*5113495bSYour Name  *
562*5113495bSYour Name  * This INI item is used to control subsystem restart(SSR) test framework
563*5113495bSYour Name  * Set it's value to 1 to enable APPS triggered SSR testing
564*5113495bSYour Name  *
565*5113495bSYour Name  * Related: None
566*5113495bSYour Name  *
567*5113495bSYour Name  * Supported Feature: General
568*5113495bSYour Name  *
569*5113495bSYour Name  * Usage: External
570*5113495bSYour Name  *
571*5113495bSYour Name  * </ini>
572*5113495bSYour Name  */
573*5113495bSYour Name #define CFG_ENABLE_CRASH_INJECT CFG_INI_BOOL( \
574*5113495bSYour Name 	"gEnableForceTargetAssert", \
575*5113495bSYour Name 	0, \
576*5113495bSYour Name 	"Enable Crash Inject")
577*5113495bSYour Name 
578*5113495bSYour Name /*
579*5113495bSYour Name  * <ini>
580*5113495bSYour Name  *
581*5113495bSYour Name  * gEnableLpassSupport - Enable/disable LPASS Support
582*5113495bSYour Name  * @Min: 0 (disabled)
583*5113495bSYour Name  * @Max: 1 (enabled)
584*5113495bSYour Name  * @Default: 1 (disabled) if WLAN_FEATURE_LPSS is defined, 0 otherwise
585*5113495bSYour Name  *
586*5113495bSYour Name  * Related: None
587*5113495bSYour Name  *
588*5113495bSYour Name  * Supported Feature: General
589*5113495bSYour Name  *
590*5113495bSYour Name  * Usage: External
591*5113495bSYour Name  *
592*5113495bSYour Name  * </ini>
593*5113495bSYour Name  */
594*5113495bSYour Name #ifdef WLAN_FEATURE_LPSS
595*5113495bSYour Name #define CFG_ENABLE_LPASS_SUPPORT CFG_INI_BOOL( \
596*5113495bSYour Name 	"gEnableLpassSupport", \
597*5113495bSYour Name 	1, \
598*5113495bSYour Name 	"Enable LPASS Support")
599*5113495bSYour Name #else
600*5113495bSYour Name #define CFG_ENABLE_LPASS_SUPPORT CFG_BOOL( \
601*5113495bSYour Name 	"gEnableLpassSupport", \
602*5113495bSYour Name 	0, \
603*5113495bSYour Name 	"Enable LPASS Support")
604*5113495bSYour Name #endif
605*5113495bSYour Name 
606*5113495bSYour Name /*
607*5113495bSYour Name  * <ini>
608*5113495bSYour Name  *
609*5113495bSYour Name  * gEnableSelfRecovery - Enable/disable Self Recovery
610*5113495bSYour Name  * @Min: 0 (disabled)
611*5113495bSYour Name  * @Max: 1 (enabled)
612*5113495bSYour Name  * @Default: 0 (disabled)
613*5113495bSYour Name  *
614*5113495bSYour Name  * Related: None
615*5113495bSYour Name  *
616*5113495bSYour Name  * Supported Feature: General
617*5113495bSYour Name  *
618*5113495bSYour Name  * Usage: External
619*5113495bSYour Name  *
620*5113495bSYour Name  * </ini>
621*5113495bSYour Name  */
622*5113495bSYour Name #define CFG_ENABLE_SELF_RECOVERY CFG_INI_BOOL( \
623*5113495bSYour Name 	"gEnableSelfRecovery", \
624*5113495bSYour Name 	0, \
625*5113495bSYour Name 	"Enable Self Recovery")
626*5113495bSYour Name 
627*5113495bSYour Name /*
628*5113495bSYour Name  * <ini>
629*5113495bSYour Name  *
630*5113495bSYour Name  * gSapDot11mc - Enable/disable SAP 802.11mc support
631*5113495bSYour Name  * @Min: 0 (disabled)
632*5113495bSYour Name  * @Max: 1 (enabled)
633*5113495bSYour Name  * @Default: 0 (disabled)
634*5113495bSYour Name  *
635*5113495bSYour Name  * Related: None
636*5113495bSYour Name  *
637*5113495bSYour Name  * Supported Feature: General
638*5113495bSYour Name  *
639*5113495bSYour Name  * Usage: External
640*5113495bSYour Name  *
641*5113495bSYour Name  * </ini>
642*5113495bSYour Name  */
643*5113495bSYour Name #define CFG_SAP_DOT11MC CFG_INI_BOOL( \
644*5113495bSYour Name 	"gSapDot11mc", \
645*5113495bSYour Name 	0, \
646*5113495bSYour Name 	"SAP 802.11mc support")
647*5113495bSYour Name 
648*5113495bSYour Name /*
649*5113495bSYour Name  * <ini>
650*5113495bSYour Name  *
651*5113495bSYour Name  * gEnableFatalEvent - Enable/Disable BUG report in case of fatal event
652*5113495bSYour Name  * @Min: 0 (disabled)
653*5113495bSYour Name  * @Max: 1 (enabled)
654*5113495bSYour Name  * @Default: 1 (enabled)
655*5113495bSYour Name  *
656*5113495bSYour Name  * Related: None
657*5113495bSYour Name  *
658*5113495bSYour Name  * Supported Feature: General
659*5113495bSYour Name  *
660*5113495bSYour Name  * Usage: External
661*5113495bSYour Name  *
662*5113495bSYour Name  * </ini>
663*5113495bSYour Name  */
664*5113495bSYour Name #define CFG_ENABLE_FATAL_EVENT_TRIGGER CFG_INI_BOOL( \
665*5113495bSYour Name 	"gEnableFatalEvent", \
666*5113495bSYour Name 	1, \
667*5113495bSYour Name 	"Enable Fatal Event Trigger")
668*5113495bSYour Name 
669*5113495bSYour Name /*
670*5113495bSYour Name  * <ini>
671*5113495bSYour Name  * gSub20ChannelWidth - Control sub 20 channel width (5/10 Mhz)
672*5113495bSYour Name  * @Min: 0
673*5113495bSYour Name  * @Max: 2
674*5113495bSYour Name  * @Default: 0
675*5113495bSYour Name  *
676*5113495bSYour Name  * This ini is used to set the sub 20 channel width.
677*5113495bSYour Name  * gSub20ChannelWidth=0: indicates do not use Sub 20 MHz bandwidth
678*5113495bSYour Name  * gSub20ChannelWidth=1: Bring up SAP/STA in 5 MHz bandwidth
679*5113495bSYour Name  * gSub20ChannelWidth=2: Bring up SAP/STA in 10 MHz bandwidth
680*5113495bSYour Name  *
681*5113495bSYour Name  * Related: None
682*5113495bSYour Name  *
683*5113495bSYour Name  * Supported Feature: 5/10 Mhz channel width support
684*5113495bSYour Name  *
685*5113495bSYour Name  * Usage: External
686*5113495bSYour Name  *
687*5113495bSYour Name  * </ini>
688*5113495bSYour Name  */
689*5113495bSYour Name #define CFG_SUB_20_CHANNEL_WIDTH CFG_INI_UINT( \
690*5113495bSYour Name 	"gSub20ChannelWidth", \
691*5113495bSYour Name 	0, \
692*5113495bSYour Name 	2, \
693*5113495bSYour Name 	0, \
694*5113495bSYour Name 	CFG_VALUE_OR_DEFAULT, \
695*5113495bSYour Name 	"Sub 20 Channel Width")
696*5113495bSYour Name 
697*5113495bSYour Name /*
698*5113495bSYour Name  * <ini>
699*5113495bSYour Name  * goptimize_chan_avoid_event - Optimize channel avoidance indication
700*5113495bSYour Name  *				coming from firmware
701*5113495bSYour Name  * @Min: 0
702*5113495bSYour Name  * @Max: 1
703*5113495bSYour Name  * @Default: 0
704*5113495bSYour Name  *
705*5113495bSYour Name  * Related: None
706*5113495bSYour Name  *
707*5113495bSYour Name  * Supported Feature: General
708*5113495bSYour Name  *
709*5113495bSYour Name  * Usage: External
710*5113495bSYour Name  *
711*5113495bSYour Name  * </ini>
712*5113495bSYour Name  */
713*5113495bSYour Name #define CFG_OPTIMIZE_CA_EVENT CFG_INI_BOOL( \
714*5113495bSYour Name 	"goptimize_chan_avoid_event", \
715*5113495bSYour Name 	0, \
716*5113495bSYour Name 	"Optimize FW CA Event")
717*5113495bSYour Name 
718*5113495bSYour Name /*
719*5113495bSYour Name  * <ini>
720*5113495bSYour Name  * fw_timeout_crash - Enable/Disable BUG ON
721*5113495bSYour Name  * @Min: 0
722*5113495bSYour Name  * @Max: 1
723*5113495bSYour Name  * @Default: 1
724*5113495bSYour Name  *
725*5113495bSYour Name  * This ini is used to Trigger host crash when firmware fails to send the
726*5113495bSYour Name  * response to host
727*5113495bSYour Name  * fw_timeout_crash = 0 Disabled
728*5113495bSYour Name  * fw_timeout_crash = 1 Trigger host crash
729*5113495bSYour Name  *
730*5113495bSYour Name  * Related: None
731*5113495bSYour Name  *
732*5113495bSYour Name  * Supported Feature: SSR
733*5113495bSYour Name  *
734*5113495bSYour Name  * Usage: External
735*5113495bSYour Name  *
736*5113495bSYour Name  * </ini>
737*5113495bSYour Name  */
738*5113495bSYour Name #define CFG_CRASH_FW_TIMEOUT CFG_INI_BOOL( \
739*5113495bSYour Name 	"fw_timeout_crash", \
740*5113495bSYour Name 	1, \
741*5113495bSYour Name 	"Enable FW Timeout Crash")
742*5113495bSYour Name 
743*5113495bSYour Name /*
744*5113495bSYour Name  * <ini>
745*5113495bSYour Name  * gDroppedPktDisconnectTh - Sets dropped packet threshold in firmware
746*5113495bSYour Name  * @Min: 0
747*5113495bSYour Name  * @Max: 65535
748*5113495bSYour Name  * @Default: 512
749*5113495bSYour Name  *
750*5113495bSYour Name  * This INI is the packet drop threshold will trigger disconnect from remote
751*5113495bSYour Name  * peer.
752*5113495bSYour Name  *
753*5113495bSYour Name  * Related: None
754*5113495bSYour Name  *
755*5113495bSYour Name  * Supported Feature: connection
756*5113495bSYour Name  *
757*5113495bSYour Name  * Usage: External
758*5113495bSYour Name  *
759*5113495bSYour Name  * </ini>
760*5113495bSYour Name  */
761*5113495bSYour Name #define CFG_DROPPED_PKT_DISCONNECT_THRESHOLD CFG_INI_UINT( \
762*5113495bSYour Name 	"gDroppedPktDisconnectTh", \
763*5113495bSYour Name 	0, \
764*5113495bSYour Name 	65535, \
765*5113495bSYour Name 	512, \
766*5113495bSYour Name 	CFG_VALUE_OR_DEFAULT, \
767*5113495bSYour Name 	"Dropped Pkt Disconnect threshold")
768*5113495bSYour Name 
769*5113495bSYour Name /*
770*5113495bSYour Name  * <ini>
771*5113495bSYour Name  * gItoRepeatCount - sets ito repeated count
772*5113495bSYour Name  * @Min: 0
773*5113495bSYour Name  * @Max: 5
774*5113495bSYour Name  * @Default: 0
775*5113495bSYour Name  *
776*5113495bSYour Name  * This ini sets the ito count in FW
777*5113495bSYour Name  *
778*5113495bSYour Name  * Usage: External
779*5113495bSYour Name  *
780*5113495bSYour Name  * </ini>
781*5113495bSYour Name  */
782*5113495bSYour Name #define CFG_ITO_REPEAT_COUNT CFG_INI_UINT( \
783*5113495bSYour Name 	"gItoRepeatCount", \
784*5113495bSYour Name 	0, \
785*5113495bSYour Name 	5, \
786*5113495bSYour Name 	0, \
787*5113495bSYour Name 	CFG_VALUE_OR_DEFAULT, \
788*5113495bSYour Name 	"ITO Repeat Count")
789*5113495bSYour Name 
790*5113495bSYour Name /*
791*5113495bSYour Name  * <ini>
792*5113495bSYour Name  * gEnableDeauthToDisassocMap - Enables deauth to disassoc map
793*5113495bSYour Name  * @Min: 0
794*5113495bSYour Name  * @Max: 1
795*5113495bSYour Name  * @Default: 0
796*5113495bSYour Name  *
797*5113495bSYour Name  * This ini is used to set default  disassoc map
798*5113495bSYour Name  *
799*5113495bSYour Name  * Related: None
800*5113495bSYour Name  *
801*5113495bSYour Name  * Supported Feature: STA
802*5113495bSYour Name  *
803*5113495bSYour Name  * Usage: External
804*5113495bSYour Name  *
805*5113495bSYour Name  * </ini>
806*5113495bSYour Name  */
807*5113495bSYour Name #define CFG_ENABLE_DEAUTH_TO_DISASSOC_MAP CFG_INI_BOOL( \
808*5113495bSYour Name 		"gEnableDeauthToDisassocMap", \
809*5113495bSYour Name 		0, \
810*5113495bSYour Name 		"Enables deauth to disassoc map")
811*5113495bSYour Name 
812*5113495bSYour Name /*
813*5113495bSYour Name  * <ini>
814*5113495bSYour Name  * gEnableDebugLog - Enable/Disable the Connection related logs
815*5113495bSYour Name  * @Min: 0
816*5113495bSYour Name  * @Max: 0xFF
817*5113495bSYour Name  * @Default: 0x01
818*5113495bSYour Name  *
819*5113495bSYour Name  * This ini is used to enable/disable the connection related logs
820*5113495bSYour Name  * 0x1  - Enable mgmt pkt logs (except probe req/rsp, beacons).
821*5113495bSYour Name  * 0x2  - Enable EAPOL pkt logs.
822*5113495bSYour Name  * 0x4  - Enable DHCP pkt logs.
823*5113495bSYour Name  * 0x8  - Enable mgmt action frames logs.
824*5113495bSYour Name  * 0x10 - Enable ARP pkt logs.
825*5113495bSYour Name  * 0x0  - Disable all the above connection related logs.
826*5113495bSYour Name  * The default value of 0x01 will enable all the mgmt logs
827*5113495bSYour Name  *
828*5113495bSYour Name  * Related: None
829*5113495bSYour Name  *
830*5113495bSYour Name  * Supported Feature: STA
831*5113495bSYour Name  *
832*5113495bSYour Name  * Usage: External
833*5113495bSYour Name  *
834*5113495bSYour Name  * </ini>
835*5113495bSYour Name  */
836*5113495bSYour Name #define CFG_ENABLE_DEBUG_PACKET_LOG CFG_INI_UINT( \
837*5113495bSYour Name 				"gEnableDebugLog", \
838*5113495bSYour Name 				0, 0xFF, 0x01, \
839*5113495bSYour Name 				CFG_VALUE_OR_DEFAULT, \
840*5113495bSYour Name 				"Enable debug log")
841*5113495bSYour Name 
842*5113495bSYour Name /*
843*5113495bSYour Name  * <ini>
844*5113495bSYour Name  * enable_beacon_reception_stats - Enable disable beacon reception stats
845*5113495bSYour Name  * @Min: 0
846*5113495bSYour Name  * @Max: 1
847*5113495bSYour Name  * @Default: 0
848*5113495bSYour Name  *
849*5113495bSYour Name  * This ini is used to enable/disable the beacon reception stats collected per
850*5113495bSYour Name  * vdev and then sent to the driver to be displayed in sysfs
851*5113495bSYour Name  *
852*5113495bSYour Name  * Related: None
853*5113495bSYour Name  *
854*5113495bSYour Name  * Supported Feature: Stats
855*5113495bSYour Name  *
856*5113495bSYour Name  * Usage: External
857*5113495bSYour Name  *
858*5113495bSYour Name  * </ini>
859*5113495bSYour Name  */
860*5113495bSYour Name  #define CFG_ENABLE_BEACON_RECEPTION_STATS CFG_INI_BOOL( \
861*5113495bSYour Name 			"enable_beacon_reception_stats", \
862*5113495bSYour Name 			0, \
863*5113495bSYour Name 			"Enable disable beacon reception stats")
864*5113495bSYour Name 
865*5113495bSYour Name /*
866*5113495bSYour Name  * <ini>
867*5113495bSYour Name  * disable_4way_hs_offload - Enable/Disable 4 way handshake offload to firmware
868*5113495bSYour Name  * @Min: 0
869*5113495bSYour Name  * @Max: 0x2
870*5113495bSYour Name  * @Default: 0x2
871*5113495bSYour Name  *
872*5113495bSYour Name  * 0x0 - 4-way HS to be handled in firmware for the AKMs except for SAE and
873*5113495bSYour Name  * OWE roaming the 4way HS is handled in supplicant by default
874*5113495bSYour Name  * 0x1 - 4-way HS to be handled in supplicant
875*5113495bSYour Name  * 0x2 - 4-way HS to be handled in firmware for the AKMs including the SAE
876*5113495bSYour Name  * Roam except for OWE roaming the 4way HS is handled in supplicant
877*5113495bSYour Name  *
878*5113495bSYour Name  * Based on the requirement the Max value can be increased per AKM.
879*5113495bSYour Name  *
880*5113495bSYour Name  * Related: None
881*5113495bSYour Name  *
882*5113495bSYour Name  * Supported Feature: STA Roaming
883*5113495bSYour Name  *
884*5113495bSYour Name  * Usage: External
885*5113495bSYour Name  *
886*5113495bSYour Name  * </ini>
887*5113495bSYour Name  */
888*5113495bSYour Name #define CFG_DISABLE_4WAY_HS_OFFLOAD CFG_INI_UINT( \
889*5113495bSYour Name 		"disable_4way_hs_offload", \
890*5113495bSYour Name 		0, \
891*5113495bSYour Name 		0x2, \
892*5113495bSYour Name 		0x2, \
893*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
894*5113495bSYour Name 		"Enable/disable 4 way handshake offload to firmware")
895*5113495bSYour Name 
896*5113495bSYour Name /*
897*5113495bSYour Name  * <ini>
898*5113495bSYour Name  * mgmt_retry_max - Maximum Retries for mgmt frames
899*5113495bSYour Name  * @Min: 0
900*5113495bSYour Name  * @Max: 31
901*5113495bSYour Name  * @Default: 15
902*5113495bSYour Name  *
903*5113495bSYour Name  * This ini is used to set maximum retries for mgmt frames
904*5113495bSYour Name  *
905*5113495bSYour Name  * Supported Feature: STA/SAP
906*5113495bSYour Name  *
907*5113495bSYour Name  * Usage: External
908*5113495bSYour Name  *
909*5113495bSYour Name  * </ini>
910*5113495bSYour Name  */
911*5113495bSYour Name #define CFG_MGMT_RETRY_MAX CFG_INI_UINT( \
912*5113495bSYour Name 	"mgmt_retry_max", \
913*5113495bSYour Name 	0, \
914*5113495bSYour Name 	31, \
915*5113495bSYour Name 	15, \
916*5113495bSYour Name 	CFG_VALUE_OR_DEFAULT, \
917*5113495bSYour Name 	"Max retries for mgmt frames")
918*5113495bSYour Name 
919*5113495bSYour Name /*
920*5113495bSYour Name  * <ini>
921*5113495bSYour Name  * enable_he_mcs0_for_mgmt_6ghz- if disabled FW will use 6Mbps 11A rate
922*5113495bSYour Name  * @Min: 0
923*5113495bSYour Name  * @Max: 1
924*5113495bSYour Name  * @Default: 0
925*5113495bSYour Name  *
926*5113495bSYour Name  * If this ini is disabled firmware will use 6Mbps 11A rate
927*5113495bSYour Name  *
928*5113495bSYour Name  * Supported Feature: STA/SAP
929*5113495bSYour Name  *
930*5113495bSYour Name  * Usage: External
931*5113495bSYour Name  *
932*5113495bSYour Name  * </ini>
933*5113495bSYour Name  */
934*5113495bSYour Name #define CFG_ENABLE_HE_MCS0_MGMT_6GHZ CFG_INI_BOOL( \
935*5113495bSYour Name 	"enable_he_mcs0_for_mgmt_6ghz", \
936*5113495bSYour Name 	0, \
937*5113495bSYour Name 	"MCS0 rate for 6ghz mgmt frames")
938*5113495bSYour Name 
939*5113495bSYour Name /*
940*5113495bSYour Name  * <ini>
941*5113495bSYour Name  * bmiss_skip_full_scan - To decide whether firmware does channel map based
942*5113495bSYour Name  * partial scan or partial scan followed by full scan in case no candidate is
943*5113495bSYour Name  * found in partial scan.
944*5113495bSYour Name  * @Min: 0
945*5113495bSYour Name  * @Max: 1
946*5113495bSYour Name  * @Default: 0
947*5113495bSYour Name  *
948*5113495bSYour Name  * 0 : Based on the channel map , firmware does scan to find new AP. if AP is
949*5113495bSYour Name  *     not found then it does a full scan on all valid channels.
950*5113495bSYour Name  * 1 : Firmware does channel map based partial scan only.
951*5113495bSYour Name  *
952*5113495bSYour Name  * Related: None
953*5113495bSYour Name  *
954*5113495bSYour Name  * Supported Feature: STA Roaming
955*5113495bSYour Name  *
956*5113495bSYour Name  * Usage: External
957*5113495bSYour Name  *
958*5113495bSYour Name  * </ini>
959*5113495bSYour Name  */
960*5113495bSYour Name #define CFG_BMISS_SKIP_FULL_SCAN CFG_INI_BOOL("bmiss_skip_full_scan", \
961*5113495bSYour Name 			0, \
962*5113495bSYour Name 			"To decide partial/partial scan followed by full scan")
963*5113495bSYour Name 
964*5113495bSYour Name /*
965*5113495bSYour Name  * <ini>
966*5113495bSYour Name  * gEnableRingBuffer - Enable Ring Buffer for Bug Report
967*5113495bSYour Name  * @Min: 0
968*5113495bSYour Name  * @Max: 1
969*5113495bSYour Name  * @Default: 1
970*5113495bSYour Name  *
971*5113495bSYour Name  * This ini is used to enable Ring Buffer
972*5113495bSYour Name  *
973*5113495bSYour Name  * Related: None
974*5113495bSYour Name  *
975*5113495bSYour Name  * Supported Feature: STA/SAP
976*5113495bSYour Name  *
977*5113495bSYour Name  * Usage: External
978*5113495bSYour Name  *
979*5113495bSYour Name  * </ini>
980*5113495bSYour Name  */
981*5113495bSYour Name #define CFG_ENABLE_RING_BUFFER CFG_INI_BOOL( \
982*5113495bSYour Name 		"gEnableRingBuffer", \
983*5113495bSYour Name 		1, \
984*5113495bSYour Name 		"To Enable Ring Buffer")
985*5113495bSYour Name 
986*5113495bSYour Name /*
987*5113495bSYour Name  * <ini>
988*5113495bSYour Name  * dfs_chan_ageout_time - Set DFS Channel ageout time(in seconds)
989*5113495bSYour Name  * @Min: 0
990*5113495bSYour Name  * @Max: 8
991*5113495bSYour Name  * Default: 0
992*5113495bSYour Name  *
993*5113495bSYour Name  * Ageout time is the time upto which DFS channel information such as beacon
994*5113495bSYour Name  * found is remembered. So that Firmware performs Active scan instead of the
995*5113495bSYour Name  * Passive to reduce the Dwell time.
996*5113495bSYour Name  * This ini Parameter used to set ageout timer value from host to FW.
997*5113495bSYour Name  * If not set, Firmware will disable ageout time.
998*5113495bSYour Name  *
999*5113495bSYour Name  * Supported Feature: STA scan in DFS channels
1000*5113495bSYour Name  *
1001*5113495bSYour Name  * Usage: External
1002*5113495bSYour Name  *
1003*5113495bSYour Name  * </ini>
1004*5113495bSYour Name  */
1005*5113495bSYour Name #define CFG_DFS_CHAN_AGEOUT_TIME CFG_INI_UINT("dfs_chan_ageout_time", \
1006*5113495bSYour Name 			0, 8, 0, CFG_VALUE_OR_DEFAULT, \
1007*5113495bSYour Name 			"Set DFS Channel ageout time from host to firmware")
1008*5113495bSYour Name 
1009*5113495bSYour Name /*
1010*5113495bSYour Name  * <ini>
1011*5113495bSYour Name  * sae_connect_retries - Bit mask to retry Auth and full connection on assoc
1012*5113495bSYour Name  * timeout to same AP and auth retries during roaming
1013*5113495bSYour Name  * @Min: 0x0
1014*5113495bSYour Name  * @Max: 0x53
1015*5113495bSYour Name  * @Default: 0x52
1016*5113495bSYour Name  *
1017*5113495bSYour Name  * This ini is used to set max auth retry in auth phase of roaming and initial
1018*5113495bSYour Name  * connection and max connection retry in case of assoc timeout. MAX Auth
1019*5113495bSYour Name  * retries are capped to 3, connection retries are capped to 2 and roam Auth
1020*5113495bSYour Name  * retry is capped to 1.
1021*5113495bSYour Name  * Default is 0x52 i.e. 1 roam auth retry, 2 auth retry and 2 full connection
1022*5113495bSYour Name  * retry.
1023*5113495bSYour Name  *
1024*5113495bSYour Name  * Bits       Retry Type
1025*5113495bSYour Name  * BIT[0:2]   AUTH retries
1026*5113495bSYour Name  * BIT[3:5]   Connection reties
1027*5113495bSYour Name  * BIT[6:8]   ROAM AUTH retries
1028*5113495bSYour Name  *
1029*5113495bSYour Name  * Some Possible values are as below
1030*5113495bSYour Name  * 0          - NO auth/roam Auth retry and NO full connection retry after
1031*5113495bSYour Name  *              assoc timeout
1032*5113495bSYour Name  * 0x49       - 1 auth/roam auth retry and 1 full connection retry
1033*5113495bSYour Name  * 0x52       - 1 roam auth retry, 2 auth retry and 2 full connection retry
1034*5113495bSYour Name  * 0x1 /0x2   - 0 roam auth retry, 1 or 2 auth retry respectively and NO full
1035*5113495bSYour Name  *              connection retry
1036*5113495bSYour Name  * 0x8 /0x10  - 0 roam auth retry,NO auth retry and 1 or 2 full connection retry
1037*5113495bSYour Name  *              respectively.
1038*5113495bSYour Name  * 0x4A       - 1 roam auth retry,2 auth retry and 1 full connection retry
1039*5113495bSYour Name  * 0x51       - 1 auth/roam auth retry and 2 full connection retry
1040*5113495bSYour Name  *
1041*5113495bSYour Name  * Related: None
1042*5113495bSYour Name  *
1043*5113495bSYour Name  * Supported Feature: STA SAE
1044*5113495bSYour Name  *
1045*5113495bSYour Name  * Usage: External
1046*5113495bSYour Name  *
1047*5113495bSYour Name  * </ini>
1048*5113495bSYour Name  */
1049*5113495bSYour Name #define CFG_SAE_CONNECION_RETRIES CFG_INI_UINT("sae_connect_retries", \
1050*5113495bSYour Name 				0, 0x53, 0x52, CFG_VALUE_OR_DEFAULT, \
1051*5113495bSYour Name 				"Bit mask to retry Auth and full connection on assoc timeout to same AP for SAE connection")
1052*5113495bSYour Name 
1053*5113495bSYour Name /*
1054*5113495bSYour Name  * <ini>
1055*5113495bSYour Name  *
1056*5113495bSYour Name  * wls_6ghz_capable - WiFi Location Service(WLS) is 6Ghz capable
1057*5113495bSYour Name  * @Min: 0 (WLS 6Ghz non-capable)
1058*5113495bSYour Name  * @Max: 1 (WLS 6Ghz capable)
1059*5113495bSYour Name  * @Default: 0 (WLS 6Ghz non-capable)
1060*5113495bSYour Name  *
1061*5113495bSYour Name  * Related: None
1062*5113495bSYour Name  *
1063*5113495bSYour Name  * Supported Feature: General
1064*5113495bSYour Name  *
1065*5113495bSYour Name  * Usage: Internal
1066*5113495bSYour Name  *
1067*5113495bSYour Name  * </ini>
1068*5113495bSYour Name  */
1069*5113495bSYour Name #define CFG_WLS_6GHZ_CAPABLE CFG_INI_BOOL( \
1070*5113495bSYour Name 	"wls_6ghz_capable", \
1071*5113495bSYour Name 	0, \
1072*5113495bSYour Name 	"WiFi Location Service(WLS) is 6Ghz capable or not")
1073*5113495bSYour Name 
1074*5113495bSYour Name /*
1075*5113495bSYour Name  * <ini>
1076*5113495bSYour Name  *
1077*5113495bSYour Name  * monitor_mode_conc - Monitor mode concurrency supported
1078*5113495bSYour Name  * @Min: 0
1079*5113495bSYour Name  * @Max: 1
1080*5113495bSYour Name  * @Default: 0
1081*5113495bSYour Name  *
1082*5113495bSYour Name  * Related: None
1083*5113495bSYour Name  *
1084*5113495bSYour Name  * Monitor mode concurrency supported
1085*5113495bSYour Name  * 0 - No concurrency supported
1086*5113495bSYour Name  * 1 - Allow STA scan + Monitor mode concurrency
1087*5113495bSYour Name  *
1088*5113495bSYour Name  * Supported Feature: General
1089*5113495bSYour Name  *
1090*5113495bSYour Name  * Usage: External
1091*5113495bSYour Name  *
1092*5113495bSYour Name  * </ini>
1093*5113495bSYour Name  */
1094*5113495bSYour Name #define CFG_MONITOR_MODE_CONCURRENCY CFG_INI_UINT( \
1095*5113495bSYour Name 	"monitor_mode_concurrency", \
1096*5113495bSYour Name 	MONITOR_MODE_CONC_NO_SUPPORT, \
1097*5113495bSYour Name 	MONITOR_MODE_CONC_MAX, \
1098*5113495bSYour Name 	MONITOR_MODE_CONC_NO_SUPPORT, \
1099*5113495bSYour Name 	CFG_VALUE_OR_DEFAULT, \
1100*5113495bSYour Name 	"Monitor mode concurrency supported")
1101*5113495bSYour Name 
1102*5113495bSYour Name #ifdef FEATURE_WDS
1103*5113495bSYour Name /*
1104*5113495bSYour Name  * <ini>
1105*5113495bSYour Name  *
1106*5113495bSYour Name  * wds_mode - wds mode supported
1107*5113495bSYour Name  * @Min: 0
1108*5113495bSYour Name  * @Max: 1
1109*5113495bSYour Name  * @Default: 0
1110*5113495bSYour Name  *
1111*5113495bSYour Name  * Related: None
1112*5113495bSYour Name  *
1113*5113495bSYour Name  * wds mode supported
1114*5113495bSYour Name  * 0 - wds mode disabled
1115*5113495bSYour Name  * 1 - wds repeater mode
1116*5113495bSYour Name  *
1117*5113495bSYour Name  * Supported Feature: General
1118*5113495bSYour Name  *
1119*5113495bSYour Name  * Usage: External
1120*5113495bSYour Name  *
1121*5113495bSYour Name  * </ini>
1122*5113495bSYour Name  */
1123*5113495bSYour Name #define CFG_WDS_MODE CFG_INI_UINT( \
1124*5113495bSYour Name 	"wds_mode", \
1125*5113495bSYour Name 	WLAN_WDS_MODE_DISABLED, \
1126*5113495bSYour Name 	WLAN_WDS_MODE_MAX, \
1127*5113495bSYour Name 	WLAN_WDS_MODE_DISABLED, \
1128*5113495bSYour Name 	CFG_VALUE_OR_DEFAULT, \
1129*5113495bSYour Name 	"wds mode supported")
1130*5113495bSYour Name 
1131*5113495bSYour Name #define CFG_WDS_MODE_ALL CFG(CFG_WDS_MODE)
1132*5113495bSYour Name #else
1133*5113495bSYour Name #define CFG_WDS_MODE_ALL
1134*5113495bSYour Name #endif
1135*5113495bSYour Name 
1136*5113495bSYour Name /*
1137*5113495bSYour Name  * <ini>
1138*5113495bSYour Name  * tx_retry_multiplier - TX retry multiplier
1139*5113495bSYour Name  * @Min: 0
1140*5113495bSYour Name  * @Max: 500
1141*5113495bSYour Name  * @Default: 0
1142*5113495bSYour Name  *
1143*5113495bSYour Name  * This ini is used to indicate percentage to max retry limit to fw
1144*5113495bSYour Name  * which can further be used by fw to multiply counter by
1145*5113495bSYour Name  * tx_retry_multiplier percent.
1146*5113495bSYour Name  *
1147*5113495bSYour Name  * Supported Feature: STA/SAP
1148*5113495bSYour Name  *
1149*5113495bSYour Name  * Usage: External
1150*5113495bSYour Name  *
1151*5113495bSYour Name  * </ini>
1152*5113495bSYour Name  */
1153*5113495bSYour Name #define CFG_TX_RETRY_MULTIPLIER CFG_INI_UINT( \
1154*5113495bSYour Name 	"tx_retry_multiplier", \
1155*5113495bSYour Name 	0, \
1156*5113495bSYour Name 	500, \
1157*5113495bSYour Name 	0, \
1158*5113495bSYour Name 	CFG_VALUE_OR_DEFAULT, \
1159*5113495bSYour Name 	"percentage of max retry limit")
1160*5113495bSYour Name 
1161*5113495bSYour Name /*
1162*5113495bSYour Name  * <ini>
1163*5113495bSYour Name  * mgmt_frame_hw_tx_retry_count - Set hw tx retry count for mgmt action
1164*5113495bSYour Name  * frame
1165*5113495bSYour Name  * @Min: N/A
1166*5113495bSYour Name  * @Max: N/A
1167*5113495bSYour Name  * @Default: N/A
1168*5113495bSYour Name  *
1169*5113495bSYour Name  * Set mgmt action frame hw tx retry count, string format looks like below:
1170*5113495bSYour Name  * frame_hw_tx_retry_count="<frame type>,<retry count>,..."
1171*5113495bSYour Name  * frame type is enum value of mlme_cfg_frame_type.
1172*5113495bSYour Name  * Retry count max value is 127.
1173*5113495bSYour Name  * For example:
1174*5113495bSYour Name  * frame_hw_tx_retry_count="0,64,2,32"
1175*5113495bSYour Name  * The above input string means:
1176*5113495bSYour Name  * For p2p go negotiation request fame, hw retry count 64
1177*5113495bSYour Name  * For p2p provision discovery request, hw retry count 32
1178*5113495bSYour Name  *
1179*5113495bSYour Name  * Related: None.
1180*5113495bSYour Name  *
1181*5113495bSYour Name  * Supported Feature: STA/P2P
1182*5113495bSYour Name  *
1183*5113495bSYour Name  * Usage: External
1184*5113495bSYour Name  *
1185*5113495bSYour Name  * </ini>
1186*5113495bSYour Name  */
1187*5113495bSYour Name #define MGMT_FRM_HW_TX_RETRY_COUNT_STR_LEN  (64)
1188*5113495bSYour Name #define CFG_MGMT_FRAME_HW_TX_RETRY_COUNT CFG_INI_STRING( \
1189*5113495bSYour Name 		"mgmt_frame_hw_tx_retry_count", \
1190*5113495bSYour Name 		0, \
1191*5113495bSYour Name 		MGMT_FRM_HW_TX_RETRY_COUNT_STR_LEN, \
1192*5113495bSYour Name 		"", \
1193*5113495bSYour Name 		"Set mgmt action frame hw tx retry count")
1194*5113495bSYour Name 
1195*5113495bSYour Name #if defined(WLAN_FEATURE_SR)
1196*5113495bSYour Name /*
1197*5113495bSYour Name  * <ini>
1198*5113495bSYour Name  * sr_enable_modes - Modes for which SR(Spatial Reuse) feature can be enabled
1199*5113495bSYour Name  * @Min: 0x00
1200*5113495bSYour Name  * @Max: 0xf
1201*5113495bSYour Name  * @Default: 0x1
1202*5113495bSYour Name  *
1203*5113495bSYour Name  * This ini is used to check for which mode SR feature is enabled
1204*5113495bSYour Name  *
1205*5113495bSYour Name  * Bit 0: Enable/Disable SR feature for STA
1206*5113495bSYour Name  * Bit 1: Enable/Disable SR feature for SAP
1207*5113495bSYour Name  * Bit 2: Enable/Disable SR feature for P2P CLI
1208*5113495bSYour Name  * Bit 3: Enable/Disable SR feature for P2P GO
1209*5113495bSYour Name  *
1210*5113495bSYour Name  * Related: None
1211*5113495bSYour Name  *
1212*5113495bSYour Name  * Supported Feature: STA/SAP
1213*5113495bSYour Name  *
1214*5113495bSYour Name  * Usage: External
1215*5113495bSYour Name  *
1216*5113495bSYour Name  * </ini>
1217*5113495bSYour Name  */
1218*5113495bSYour Name #define CFG_SR_ENABLE_MODES CFG_INI_UINT( \
1219*5113495bSYour Name 		"sr_enable_modes",\
1220*5113495bSYour Name 		0x0,\
1221*5113495bSYour Name 		0xf,\
1222*5113495bSYour Name 		0x1,\
1223*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
1224*5113495bSYour Name 		"To decide for which mode SR feature is enabled")
1225*5113495bSYour Name #define CFG_SR_ENABLE_MODES_ALL CFG(CFG_SR_ENABLE_MODES)
1226*5113495bSYour Name #else
1227*5113495bSYour Name #define CFG_SR_ENABLE_MODES_ALL
1228*5113495bSYour Name #endif
1229*5113495bSYour Name 
1230*5113495bSYour Name #ifdef WLAN_FEATURE_11BE_MLO
1231*5113495bSYour Name /*
1232*5113495bSYour Name  * t2lm_negotiation_support - T2LM negotiation support by STA
1233*5113495bSYour Name  * @Min: 0
1234*5113495bSYour Name  * @Max: 3
1235*5113495bSYour Name  * @Default: 1
1236*5113495bSYour Name  *
1237*5113495bSYour Name  * This cfg is used to define t2lm negotiation supported value by STA
1238*5113495bSYour Name  * If 0 - t2lm negotiation is not supported
1239*5113495bSYour Name  * If 1 - supports the mapping of all TIDs to the same link set both DL and UL.
1240*5113495bSYour Name  * If 2 - reserved
1241*5113495bSYour Name  * If 3 - supports the mapping of each TID to the same or different link set.
1242*5113495bSYour Name  *
1243*5113495bSYour Name  * Related: None
1244*5113495bSYour Name  *
1245*5113495bSYour Name  * Supported Feature: STA
1246*5113495bSYour Name  */
1247*5113495bSYour Name #define CFG_T2LM_NEGOTIATION_SUPPORT CFG_INI_UINT( \
1248*5113495bSYour Name 					"t2lm_negotiation_supported", \
1249*5113495bSYour Name 					T2LM_NEGOTIATION_DISABLED, \
1250*5113495bSYour Name 					T2LM_NEGOTIATION_DISJOINT_MAPPING, \
1251*5113495bSYour Name 					T2LM_NEGOTIATION_ALL_TIDS_TO_SUBSET_OF_LINKS, \
1252*5113495bSYour Name 					CFG_VALUE_OR_DEFAULT, \
1253*5113495bSYour Name 					"T2LM negotiation supported value")
1254*5113495bSYour Name 
1255*5113495bSYour Name #define CFG_T2LM_NEGOTIATION_SUPPORTED CFG(CFG_T2LM_NEGOTIATION_SUPPORT)
1256*5113495bSYour Name #else
1257*5113495bSYour Name #define CFG_T2LM_NEGOTIATION_SUPPORTED
1258*5113495bSYour Name #endif
1259*5113495bSYour Name 
1260*5113495bSYour Name #define CFG_GENERIC_ALL \
1261*5113495bSYour Name 	CFG(CFG_ENABLE_DEBUG_PACKET_LOG) \
1262*5113495bSYour Name 	CFG(CFG_PMF_SA_QUERY_MAX_RETRIES) \
1263*5113495bSYour Name 	CFG(CFG_PMF_SA_QUERY_RETRY_INTERVAL) \
1264*5113495bSYour Name 	CFG_OEM_EHT_MLO_CRYPTO_BITMAP_SUPPORTED \
1265*5113495bSYour Name 	CFG(CFG_ENABLE_RTT_MAC_RANDOMIZATION) \
1266*5113495bSYour Name 	CFG(CFG_RTT3_ENABLE) \
1267*5113495bSYour Name 	CFG(CFG_11H_SUPPORT_ENABLED) \
1268*5113495bSYour Name 	CFG(CFG_11D_SUPPORT_ENABLED) \
1269*5113495bSYour Name 	CFG(CFG_BAND_CAPABILITY) \
1270*5113495bSYour Name 	CFG(CFG_PREVENT_LINK_DOWN) \
1271*5113495bSYour Name 	CFG(CFG_SELECT_5GHZ_MARGIN) \
1272*5113495bSYour Name 	CFG(CFG_ENABLE_MEM_DEEP_SLEEP) \
1273*5113495bSYour Name 	CFG(CFG_ENABLE_CCK_TX_FIR_OVERRIDE) \
1274*5113495bSYour Name 	CFG(CFG_ENABLE_CRASH_INJECT) \
1275*5113495bSYour Name 	CFG(CFG_ENABLE_LPASS_SUPPORT) \
1276*5113495bSYour Name 	CFG(CFG_ENABLE_SELF_RECOVERY) \
1277*5113495bSYour Name 	CFG(CFG_ENABLE_DEAUTH_TO_DISASSOC_MAP) \
1278*5113495bSYour Name 	CFG(CFG_DISABLE_4WAY_HS_OFFLOAD) \
1279*5113495bSYour Name 	CFG(CFG_SAP_DOT11MC) \
1280*5113495bSYour Name 	CFG(CFG_ENABLE_FATAL_EVENT_TRIGGER) \
1281*5113495bSYour Name 	CFG(CFG_SUB_20_CHANNEL_WIDTH) \
1282*5113495bSYour Name 	CFG(CFG_OPTIMIZE_CA_EVENT) \
1283*5113495bSYour Name 	CFG(CFG_CRASH_FW_TIMEOUT) \
1284*5113495bSYour Name 	CFG(CFG_DROPPED_PKT_DISCONNECT_THRESHOLD) \
1285*5113495bSYour Name 	CFG(CFG_ITO_REPEAT_COUNT) \
1286*5113495bSYour Name 	CFG(CFG_ENABLE_BEACON_RECEPTION_STATS) \
1287*5113495bSYour Name 	CFG(CFG_MGMT_RETRY_MAX) \
1288*5113495bSYour Name 	CFG(CFG_ENABLE_HE_MCS0_MGMT_6GHZ) \
1289*5113495bSYour Name 	CFG(CFG_BMISS_SKIP_FULL_SCAN) \
1290*5113495bSYour Name 	CFG(CFG_ENABLE_RING_BUFFER) \
1291*5113495bSYour Name 	CFG(CFG_DFS_CHAN_AGEOUT_TIME) \
1292*5113495bSYour Name 	CFG(CFG_SAE_CONNECION_RETRIES) \
1293*5113495bSYour Name 	CFG(CFG_WLS_6GHZ_CAPABLE) \
1294*5113495bSYour Name 	CFG(CFG_MONITOR_MODE_CONCURRENCY) \
1295*5113495bSYour Name 	CFG(CFG_RF_TEST_MODE_SUPP_ENABLED) \
1296*5113495bSYour Name 	CFG_WDS_MODE_ALL \
1297*5113495bSYour Name 	CFG(CFG_TX_RETRY_MULTIPLIER) \
1298*5113495bSYour Name 	CFG(CFG_MGMT_FRAME_HW_TX_RETRY_COUNT) \
1299*5113495bSYour Name 	CFG_6GHZ_STD_CONN_POLICY \
1300*5113495bSYour Name 	CFG_EMLSR_MODE_ENABLED \
1301*5113495bSYour Name 	CFG_SR_ENABLE_MODES_ALL \
1302*5113495bSYour Name 	CFG_T2LM_NEGOTIATION_SUPPORTED\
1303*5113495bSYour Name 	CFG_DIS_VLP_STA_CONN_TO_SP_AP
1304*5113495bSYour Name #endif /* __CFG_MLME_GENERIC_H */
1305