xref: /wlan-driver/qcacld-3.0/components/mlme/dispatcher/inc/cfg_mlme_sta.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1 /*
2  * Copyright (c) 2012-2021, The Linux Foundation. All rights reserved.
3  * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved.
4  *
5  * Permission to use, copy, modify, and/or distribute this software for any
6  * purpose with or without fee is hereby granted, provided that the above
7  * copyright notice and this permission notice appear in all copies.
8  *
9  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16  */
17 
18 /**
19  * DOC: This file contains configuration definitions for MLME STA.
20  */
21 
22 #ifndef CFG_MLME_STA_H__
23 #define CFG_MLME_STA_H__
24 
25 #include "wlan_mlme_public_struct.h"
26 
27 #ifdef CONNECTION_ROAMING_CFG
28 # define CONKEEPALIVE_INTERVAL_MIN 0
29 # define CONKEEPALIVE_INTERVAL_MAX 120
30 # define CONKEEPALIVE_INTERVAL_DEFAULT 30
31 #else
32 # define CONKEEPALIVE_INTERVAL_MIN 0
33 # define CONKEEPALIVE_INTERVAL_MAX 1000
34 # define CONKEEPALIVE_INTERVAL_DEFAULT 30
35 #endif
36 /*
37  * <ini>
38  * gStaKeepAlivePeriod/ConKeepAlive_Interval - STA keep alive period
39  *
40  *
41  * @Min: 0
42  * @Max: 1000
43  * @Default: 30
44  *
45  * This ini is used to control how frequently STA should send NULL frames to AP
46  * (period in seconds) to notify AP of its existence.
47  *
48  * Related: None
49  *
50  * Supported Feature: STA
51  *
52  * Usage: Internal/External
53  *
54  * </ini>
55  */
56 
57 /*
58  * <ini>
59  * gStaKeepAlivePeriod/ConKeepAlive_Interval - STA keep alive period
60  *
61  *
62  * @Min: 0
63  * @Max: 120
64  * @Default: 30
65  *
66  * This ini is used to control how frequently STA should send NULL frames to AP
67  * (period in seconds) to notify AP of its existence.
68  *
69  * Related: None
70  *
71  * Supported Feature: STA
72  *
73  * Usage: Internal/External
74  *
75  * </ini>
76  */
77 #define CFG_INFRA_STA_KEEP_ALIVE_PERIOD CFG_INI_UINT( \
78 	"gStaKeepAlivePeriod ConKeepAlive_Interval", \
79 	CONKEEPALIVE_INTERVAL_MIN, \
80 	CONKEEPALIVE_INTERVAL_MAX, \
81 	CONKEEPALIVE_INTERVAL_DEFAULT, \
82 	CFG_VALUE_OR_DEFAULT, \
83 	"send default NULL frame to AP")
84 
85 
86 /*
87  * bss_max_idle_period - STA bss max period
88  *
89  * @Min: 0
90  * @Max: 100
91  * @Default: 0
92  *
93  * This ini is used to advertise the bss max idle period in assoc req.
94  *
95  * Related: None
96  *
97  * Supported Feature: STA
98  *
99  * Usage: Internal
100  *
101  */
102 #define CFG_STA_BSS_MAX_IDLE_PERIOD CFG_INI_UINT( \
103 	"bss_max_idle_period", \
104 	0, \
105 	100, \
106 	0, \
107 	CFG_VALUE_OR_DEFAULT, \
108 	"advertise bss max idle period")
109 
110 /*
111  * <ini>
112  * tgt_gtx_usr_cfg - target gtx user config
113  * @Min: 0
114  * @Max: 32
115  * @Default: 32
116  *
117  * This ini is used to set target gtx user config.
118  *
119  * Related: None
120  *
121  * Usage: Internal/External
122  *
123  * </ini>
124  */
125 #define CFG_TGT_GTX_USR_CFG CFG_INI_UINT( \
126 	"tgt_gtx_usr_cfg", \
127 	0, \
128 	32, \
129 	32, \
130 	CFG_VALUE_OR_DEFAULT, \
131 	"target gtx user config")
132 
133 /*
134  * <ini>
135  * pmkidModes - Enable PMKID modes
136  * This INI is used to enable PMKID feature options
137  * @Min: 0
138  * @Max: 3
139  * @Default: 3
140  *
141  * Related: None
142  *
143  * Supported Feature: Scan
144  *
145  * Usage: External
146  *
147  * </ini>
148  */
149 #define CFG_PMKID_MODES CFG_INI_UINT( \
150 	"pmkidModes", \
151 	0, \
152 	3, \
153 	3, \
154 	CFG_VALUE_OR_DEFAULT, \
155 	"PMKID feature options")
156 
157 /*
158  * <ini>
159  * gIgnorePeerErpInfo - Ignore peer information
160  * @Min: 0
161  * @Max: 1
162  * @Default: 0
163  *
164  * This ini is used to ignore default peer info
165  *
166  * Related: None
167  *
168  * Supported Feature: STA
169  *
170  * Usage: Internal/External
171  *
172  * </ini>
173  */
174 #define CFG_IGNORE_PEER_ERP_INFO CFG_INI_BOOL( \
175 	"gIgnorePeerErpInfo", \
176 	0, \
177 	"ignore default peer info")
178 
179 /*
180  * <ini>
181  * gStaPrefer80MHzOver160MHz - set sta preference to connect in 80HZ/160HZ
182  * @Min: 0
183  * @Max: 2
184  * @Default: 0
185  *
186  * This ini is used to set sta preference to connect in 80HZ/160HZ
187  *
188  * 0 - Connects in 160MHz 1x1 when AP is 160MHz 2x2
189  * 1 - Connects in 80MHz 2x2 when AP is 160MHz 2x2
190  * 2 - Always Connects in 80MHz when AP is 160MHz
191  *
192  * Related: NA
193  *
194  * Supported Feature: 11AC
195  *
196  * Usage: External
197  *
198  * </ini>
199  */
200 #define CFG_STA_PREFER_80MHZ_OVER_160MHZ CFG_INI_UINT( \
201 	"gStaPrefer80MHzOver160MHz", \
202 	0, \
203 	2, \
204 	0, \
205 	CFG_VALUE_OR_DEFAULT, \
206 	"Sta preference to connect in 80HZ/160HZ")
207 
208 /*
209  * <ini>
210  * gEnable5gEBT - Enables/disables 5G early beacon termination. When enabled
211  *                 terminate the reception of beacon if the TIM element is
212  *                 clear for the power saving
213  * @Min: 0
214  * @Max: 1
215  * @Default: 1
216  *
217  * This ini is used to set default 5G early beacon termination
218  *
219  * Related: None
220  *
221  * Supported Feature: STA
222  *
223  * Usage: Internal/External
224  *
225  * </ini>
226  */
227 #define CFG_PPS_ENABLE_5G_EBT CFG_INI_BOOL( \
228 	"gEnable5gEBT", \
229 	1, \
230 	"5G early beacon termination")
231 
232 /*
233  * <ini>
234  * gSendDeauthBeforeCon - Send deauth before connection or not
235  * @Min: 0
236  * @Max: 1
237  * @Default: 0
238  *
239  * This ini is used to set whether send deauth before connection or
240  * not. If last disconnection was due to HB failure and we reconnect
241  * to same AP next time, send deauth before starting connection.
242  *
243  * Related: None
244  *
245  * Supported Feature: STA
246  *
247  * Usage: Internal/External
248  *
249  * </ini>
250  */
251 #define CFG_ENABLE_DEAUTH_BEFORE_CONNECTION CFG_INI_BOOL( \
252 	"gSendDeauthBeforeCon", \
253 	0, \
254 	"send deauth before connection")
255 
256 /*
257  * <ini>
258  * deauth_retry_cnt- No. of deauth retries if the Tx is failed
259  * @Min: 0
260  * @Max: 4
261  * @Default: 2
262  *
263  * This ini is used to set retry deauth if Tx is not success.
264  *
265  * Related: None
266  *
267  * Supported Feature: STA
268  *
269  * Usage: Internal/External
270  *
271  * </ini>
272  */
273 #define CFG_DEAUTH_RETRY_CNT CFG_INI_UINT( \
274 	"deauth_retry_cnt", \
275 	0, \
276 	4, \
277 	2, \
278 	CFG_VALUE_OR_DEFAULT, \
279 	"Set Deauth retry count")
280 
281 /*
282  * <ini>
283  * gDot11PMode - 802.11p mode
284  * @Min: CFG_11P_DISABLED
285  * @Max: CFG_11P_CONCURRENT
286  * @Default: CFG_11P_DISABLED
287  *
288  * This ini used to set 802.11p mode.
289  *
290  *
291  * Usage: Internal/External
292  *
293  * </ini>
294  */
295 #define CFG_DOT11P_MODE CFG_INI_UINT( \
296 	"gDot11PMode", \
297 	CFG_11P_DISABLED, \
298 	CFG_11P_CONCURRENT, \
299 	CFG_11P_DISABLED, \
300 	CFG_VALUE_OR_DEFAULT, \
301 	"802.11p mode")
302 
303 /*
304  * <ini>
305  * gEnable_go_cts2self_for_sta - Indicate firmware to stop NOA and
306  * start using cts2self
307  * @Min: 0
308  * @Max: 1
309  * @Default: 0
310  *
311  * When gEnable_go_cts2self_for_sta is enabled then if a legacy
312  * client connects to P2P GO, Host will send a WMI VDEV command
313  * to FW to stop using NOA for P2P GO
314  * and start using CTS2SELF.
315  *
316  *
317  * Supported Feature: P2P
318  *
319  *
320  * Usage: Internal/External
321  *
322  * </ini>
323  */
324 #define CFG_ENABLE_GO_CTS2SELF_FOR_STA CFG_INI_BOOL( \
325 	"gEnable_go_cts2self_for_sta", \
326 	0, \
327 	"firmware to stop NOA and start using cts2self")
328 
329 /*
330  * <ini>
331  * g_qcn_ie_support - QCN IE support
332  * @Min: 0 (disabled)
333  * @Max: 1 (enabled)
334  * @Default: 1 (enabled)
335  *
336  * This config item is used to support QCN IE in probe/assoc/reassoc request
337  * for STA mode. QCN IE support is not added for SAP mode.
338  *
339  * Related: N/A
340  *
341  * Supported Feature: N/A
342  *
343  * Usage: Internal/External
344  *
345  * </ini>
346  */
347 #define CFG_QCN_IE_SUPPORT CFG_INI_BOOL( \
348 	"g_qcn_ie_support", \
349 	1, \
350 	"QCN IE support")
351 
352 /*
353  * <ini>
354  * g_fils_max_chan_guard_time - Set maximum channel guard time(ms)
355  * @Min: 0
356  * @Max: 10
357  * @Default: 0
358  *
359  * This ini is used to set maximum channel guard time in milliseconds.
360  *
361  * Related: None
362  *
363  * Supported Feature: FILS
364  *
365  * Usage: External
366  *
367  * </ini>
368  */
369 #define CFG_FILS_MAX_CHAN_GUARD_TIME CFG_INI_UINT( \
370 	"g_fils_max_chan_guard_time", \
371 	0, \
372 	10, \
373 	0, \
374 	CFG_VALUE_OR_DEFAULT, \
375 	"Set maximum channel guard time")
376 
377 /*
378  * <ini>
379  * SingleTIDRC - Set replay counter for all TID's
380  * @Min: 0       Separate replay counter for all TID
381  * @Max: 1       Single replay counter for all TID
382  * @Default: 1
383  *
384  * This ini is used to set replay counter for all TID's
385  *
386  * 0 - Separate replay counter for all TID
387  * 1 - Single replay counter for all TID
388  *
389  * Related: None.
390  *
391  * Supported Feature: WMM
392  *
393  * Usage: Internal/External
394  *
395  * </ini>
396  */
397 #define CFG_SINGLE_TID_RC CFG_INI_BOOL( \
398 	"SingleTIDRC", \
399 	1, \
400 	"replay counter for all TID")
401 
402 /*
403  * wait_cnf_timeout - Wait assoc cnf timeout
404  * @Min: 10
405  * @Max: 3000
406  * @Default: 1000
407  *
408  * This is internal configure for waiting assoc cnf timeout
409  *
410  * Related: None
411  *
412  * Usage: Internal
413  *
414  */
415 #define CFG_WT_CNF_TIMEOUT CFG_UINT( \
416 	"wait_cnf_timeout", \
417 	10, \
418 	3000, \
419 	1000, \
420 	CFG_VALUE_OR_DEFAULT, \
421 	"Wait confirm timeout")
422 
423 /*
424  * <ini>
425  * gStaMiracastMccRestTimeVal - Rest time when Miracast is running.
426  * @Min: 100
427  * @Max: 500
428  * @Default: 400
429  *
430  * This ini is used to set rest time for home channel for Miracast before
431  * going for scan.
432  *
433  * Related: None.
434  *
435  * Supported Feature: Concurrency
436  *
437  * Usage: Internal/External
438  *
439  * </ini>
440  */
441 
442 #define CFG_STA_MCAST_MCC_REST_TIME CFG_INI_UINT( \
443 	"gStaMiracastMccRestTimeVal", \
444 	100, \
445 	500, \
446 	400, \
447 	CFG_VALUE_OR_DEFAULT, \
448 	"Rest time when Miracast is running")
449 
450 /*
451  * current_rssi - current rssi
452  * @Min: 0
453  * @Max: 127
454  * @Default: 0
455  *
456  * This is internal configure for current rssi
457  *
458  * Related: None
459  *
460  * Usage: Internal
461  *
462  */
463 #define CFG_CURRENT_RSSI CFG_UINT( \
464 	"current_rssi", \
465 	0, \
466 	127, \
467 	0, \
468 	CFG_VALUE_OR_DEFAULT, \
469 	"Current RSSI")
470 
471 /*
472  * <ini>
473  * gAllowTPCfromAP - Support for AP power constraint
474  * @Min: 0
475  * @Max: 1
476  * @Default: 1
477  *
478  * This ini controls driver to honor/dishonor power constraint from AP.
479  *
480  * Related: None.
481  *
482  * Supported Feature: Concurrency
483  *
484  * Usage: Internal/External
485  *
486  * </ini>
487  */
488 #define CFG_TX_POWER_CTRL CFG_INI_BOOL( \
489 	"gAllowTPCfromAP", \
490 	1, \
491 	"Support for AP power constraint")
492 
493 /*
494  * <ini>
495  * gStaKeepAliveMethod - Which keepalive method to use
496  * @Min: 1
497  * @Max: 3
498  * @Default: 1
499  *
500  * This ini determines which keepalive method to use for station interfaces
501  *	 1) Use null data packets
502  *	 2) Use gratuitous ARP packets
503  *	 3) Use unsolicited ARP response packets
504  *
505  * Related: gStaKeepAlivePeriod, gApKeepAlivePeriod, gGoKeepAlivePeriod
506  *
507  * Supported Feature: STA, Keepalive
508  *
509  * Usage: External
510  *
511  * </ini>
512  */
513 #define CFG_STA_KEEPALIVE_METHOD CFG_INI_INT( \
514 			"gStaKeepAliveMethod", \
515 			MLME_STA_KEEPALIVE_NULL_DATA, \
516 			MLME_STA_KEEPALIVE_UNSOLICIT_ARP_RSP, \
517 			MLME_STA_KEEPALIVE_NULL_DATA, \
518 			CFG_VALUE_OR_DEFAULT, \
519 			"Which keepalive method to use")
520 
521 /*
522  * <ini>
523  * gMaxLIModulatedDTIM - Set MaxLIModulate Dtim
524  * @Min: 1
525  * @Max: 10
526  * @Default: 5
527  *
528  * This ini is used to set default MaxLIModulatedDTIM
529  *
530  * Related: None
531  *
532  * Supported Feature: STA
533  *
534  * Usage: Internal/External
535  *
536  * </ini>
537  */
538 #define CFG_MAX_LI_MODULATED_DTIM CFG_INI_UINT( \
539 			"gMaxLIModulatedDTIM", \
540 			1, \
541 			10, \
542 			5, \
543 			CFG_VALUE_OR_DEFAULT, \
544 			"Max modulated dtim")
545 
546 /*
547  * <ini>
548  * @Min: 0
549  * @Max: 2000
550  * @Default: 500
551  *
552  * This ini is used to set default ConDTIMSkipping_MaxTime in ms
553  *
554  * Related: None
555  *
556  * Supported Feature: STA
557  *
558  * Usage: External
559  *
560  * </ini>
561  */
562 #define CFG_MAX_LI_MODULATED_DTIM_MS CFG_INI_UINT( \
563 			"ConDTIMSkipping_MaxTime", \
564 			0, \
565 			2000, \
566 			500, \
567 			CFG_VALUE_OR_DEFAULT, \
568 			"DTIM skipping max time")
569 
570 #ifdef WLAN_FEATURE_11BE_MLO
571 /*
572  * <ini>
573  * mlo_support_link_num - Set number of link mlo connection supports for sta
574  * @Min: 1
575  * @Max: 3
576  * @Default: 2
577  *
578  * This ini is used to configure the number of link mlo connection supports
579  *
580  * Related: None
581  *
582  * Supported Feature: STA
583  *
584  * Usage: Internal/External
585  *
586  * </ini>
587  */
588 #define CFG_MLO_SUPPORT_LINK_NUM CFG_INI_UINT( \
589 			"mlo_support_link_num", \
590 			1, \
591 			3, \
592 			2, \
593 			CFG_VALUE_OR_DEFAULT, \
594 			"supported mlo link number")
595 
596 #define CFG_MLO_SUPPORT_LINK_NUM_CFG CFG(CFG_MLO_SUPPORT_LINK_NUM)
597 
598 /*
599  * <cfg>
600  * mlo_max_simultaneous_links- Set number of mlo simultaneous links for sta
601  * @Min: 0
602  * @Max: 1
603  * @Default: 1
604  *
605  * This cfg is used to configure the mlo max simultaneous links
606  *
607  * Related: None
608  *
609  * Supported Feature: STA
610  *
611  * Usage: Internal
612  *
613  * </cfg>
614  */
615 #define CFG_MLO_MAX_SIMULTANEOUS_LINKS CFG_UINT( \
616 			"mlo_max_simultaneous_links", \
617 			0, \
618 			1, \
619 			1, \
620 			CFG_VALUE_OR_DEFAULT, \
621 			"mlo max simultaneous links")
622 
623 #define CFG_MLO_MAX_SIMULTANEOUS_LINKS_CFG CFG(CFG_MLO_MAX_SIMULTANEOUS_LINKS)
624 /*
625  * <cfg>
626  * mlo_support_link_band - Set band bitmap of mlo connection supports for sta
627  * @Min: 1
628  * @Max: 0x77
629  * @Default: 0x77
630  *
631  * This cfg is used to configure the band bitmap of mlo connection supports
632  *
633  * Related: None
634  *
635  * Supported Feature: STA
636  *
637  * Usage: Internal
638  *
639  * Supported band of all mlo links
640  * bits 0: REG_BAND_2G
641  * bits 1: REG_BAND_5G
642  * bits 2: REG_BAND_6G
643  *
644  * Supported band of assoc link
645  * bits 4: REG_BAND_2G
646  * bits 5: REG_BAND_5G
647  * bits 6: REG_BAND_6G
648  *
649  * </cfg>
650  */
651 #define CFG_MLO_SUPPORT_LINK_BAND CFG_INI_UINT( \
652 			"mlo_support_link_band", \
653 			0x1, \
654 			0x77, \
655 			0x77, \
656 			CFG_VALUE_OR_DEFAULT, \
657 			"supported mlo link band")
658 
659 #define CFG_MLO_SUPPORT_LINK_BAND_CFG CFG(CFG_MLO_SUPPORT_LINK_BAND)
660 /*
661  * <cfg>
662  * RoamCommon_Mlo_TpPrefer - percentage to boost mlo scoring
663  *
664  * @Min: -20
665  * @Max: +20
666  * @Default: 10
667  *
668  * This cfg is used to boost/reduce the mlo weightage with configured
669  * value.
670  *
671  * Supported Feature: STA
672  *
673  * Usage: External
674  *
675  * </cfg>
676  */
677 #define CFG_MLO_PREFER_PERCENTAGE CFG_INI_INT(\
678 			"RoamCommon_Mlo_TpPrefer", \
679 			-20, \
680 			20, \
681 			10,\
682 			CFG_VALUE_OR_DEFAULT, \
683 			"mlo prefer percentage")
684 
685 #define CFG_MLO_PREFER_PERCENTAGE_CFG CFG(CFG_MLO_PREFER_PERCENTAGE)
686 
687 #else
688 #define CFG_MLO_SUPPORT_LINK_NUM_CFG
689 #define CFG_MLO_SUPPORT_LINK_BAND_CFG
690 #define CFG_MLO_MAX_SIMULTANEOUS_LINKS_CFG
691 #define CFG_MLO_PREFER_PERCENTAGE_CFG
692 #endif
693 
694 /*
695  * <cfg>
696  * mlo_same_link_mld_addr - Use one of the links address as same mld address
697  * @Default: false
698  *
699  * This cfg is used to configure the one of link address as same mld address
700  *
701  * Related: None
702  *
703  * Supported Feature: STA
704  *
705  * Usage: Internal
706  *
707  *
708  * </cfg>
709  */
710 #define CFG_MLO_SAME_LINK_MLD_ADDR CFG_BOOL( \
711 			"mlo_same_link_mld_addr",\
712 			0, \
713 			"same address for mlo link/mld")
714 
715 #ifdef WLAN_HDD_MULTI_VDEV_SINGLE_NDEV
716 #define CFG_MLO_SAME_LINK_MLD_ADDR_CFG CFG(CFG_MLO_SAME_LINK_MLD_ADDR)
717 #else
718 #define CFG_MLO_SAME_LINK_MLD_ADDR_CFG
719 #endif
720 
721 /*
722  * <ini>
723  * eht_disable_punct_in_us_lpi - Flag to Disable eht puncture in US LPI mode
724  * @Min: false
725  * @Max: true
726  * @Default: false
727  *
728  * Related: None
729  *
730  * Supported Feature: 802.11be protocol
731  *
732  * Usage: Internal
733  *
734  * </ini>
735  */
736 #define CFG_EHT_DISABLE_PUNCT_IN_US_LPI \
737 	CFG_BOOL("eht_disable_punct_in_us_lpi", \
738 		 false, \
739 		 "Disable eht puncture in US LPI mode")
740 
741 #ifdef WLAN_FEATURE_11BE
742 #define CFG_EHT_DISABLE_PUNCT_IN_US_LPI_CFG CFG(CFG_EHT_DISABLE_PUNCT_IN_US_LPI)
743 #else
744 #define CFG_EHT_DISABLE_PUNCT_IN_US_LPI_CFG
745 #endif
746 
747 #ifdef WLAN_FEATURE_11BE_MLO
748 /*
749  * <cfg>
750  * mlo_5gl_5gh_mlsr - enable/disable 5GL+5GH MLSR
751  * @Min: false
752  * @Max: true
753  * @Default: true
754  *
755  * Related: None
756  *
757  * Supported Feature: 5GL+5GH MLSR
758  *
759  * Usage: Internal
760  *
761  * </cfg>
762  */
763 
764 #define CFG_MLO_MLO_5GL_5GH_MLSR CFG_INI_BOOL( \
765 		"mlo_5gl_5gh_mlsr",\
766 		1, \
767 		"enable 5GL+5GH MLSR")
768 
769 #define CFG_MLO_MLO_5GL_5GH_MLSR_CFG CFG(CFG_MLO_MLO_5GL_5GH_MLSR)
770 
771 /*
772  * <ini>
773  * epcs_support_enable - enable/disable epcs
774  * @Min: false
775  * @Max: true
776  * @Default: false
777  *
778  * Related: None
779  *
780  * Supported Feature: emergency preparedness communications service (EPCS)
781  * priority access
782  *
783  * Usage: External
784  *
785  * </ini>
786  */
787 
788 #define CFG_MLO_EPCS_SUPPORT_ENABLE CFG_INI_BOOL( \
789 		"epcs_support_enable",\
790 		0, \
791 		"enable epcs support")
792 
793 #define CFG_MLO_EPCS_SUPPORT_ENABLE_CFG CFG(CFG_MLO_EPCS_SUPPORT_ENABLE)
794 #else
795 #define CFG_MLO_MLO_5GL_5GH_MLSR_CFG
796 #define CFG_MLO_EPCS_SUPPORT_ENABLE_CFG
797 #endif
798 
799 #define CFG_STA_ALL \
800 	CFG(CFG_INFRA_STA_KEEP_ALIVE_PERIOD) \
801 	CFG(CFG_STA_BSS_MAX_IDLE_PERIOD) \
802 	CFG(CFG_TGT_GTX_USR_CFG) \
803 	CFG(CFG_PMKID_MODES) \
804 	CFG(CFG_IGNORE_PEER_ERP_INFO) \
805 	CFG(CFG_STA_PREFER_80MHZ_OVER_160MHZ) \
806 	CFG(CFG_PPS_ENABLE_5G_EBT) \
807 	CFG(CFG_ENABLE_DEAUTH_BEFORE_CONNECTION) \
808 	CFG(CFG_DOT11P_MODE) \
809 	CFG(CFG_DEAUTH_RETRY_CNT) \
810 	CFG(CFG_ENABLE_GO_CTS2SELF_FOR_STA) \
811 	CFG(CFG_QCN_IE_SUPPORT) \
812 	CFG(CFG_STA_MCAST_MCC_REST_TIME) \
813 	CFG(CFG_FILS_MAX_CHAN_GUARD_TIME) \
814 	CFG(CFG_SINGLE_TID_RC) \
815 	CFG(CFG_STA_KEEPALIVE_METHOD) \
816 	CFG(CFG_WT_CNF_TIMEOUT) \
817 	CFG(CFG_CURRENT_RSSI) \
818 	CFG(CFG_TX_POWER_CTRL) \
819 	CFG(CFG_MAX_LI_MODULATED_DTIM_MS) \
820 	CFG_MLO_SUPPORT_LINK_NUM_CFG \
821 	CFG_MLO_MAX_SIMULTANEOUS_LINKS_CFG \
822 	CFG_MLO_SUPPORT_LINK_BAND_CFG \
823 	CFG_MLO_PREFER_PERCENTAGE_CFG \
824 	CFG_MLO_SAME_LINK_MLD_ADDR_CFG \
825 	CFG_EHT_DISABLE_PUNCT_IN_US_LPI_CFG \
826 	CFG_MLO_MLO_5GL_5GH_MLSR_CFG \
827 	CFG_MLO_EPCS_SUPPORT_ENABLE_CFG
828 #endif /* CFG_MLME_STA_H__ */
829