xref: /wlan-dirver/qca-wifi-host-cmn/umac/mlme/include/cfg_cmn_mlme.h (revision 2f4b444fb7e689b83a4ab0e7b3b38f0bf4def8e0)
1 /*
2  * Copyright (c) 2021, The Linux Foundation. All rights reserved.
3  *
4  * Permission to use, copy, modify, and/or distribute this software for any
5  * purpose with or without fee is hereby granted, provided that the above
6  * copyright notice and this permission notice appear in all copies.
7  *
8  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15  */
16 
17 /**
18  * DOC: This file contains umac mlme related CFG/INI Items.
19  */
20 
21 #ifndef __CFG_CMN_MLME_H
22 #define __CFG_CMN_MLME_H
23 
24 /*
25  * <ini>
26  * max_chan_switch_ie_enable - Flag to enable max chan switch IE support
27  * @Min: false
28  * @Max: true
29  * @Default: false
30  *
31  * For non_ap platform, this flag will be enabled at later point and for ap
32  * platform this flag will be disabled
33  *
34  * Related: None
35  *
36  * Supported Feature: Max channel switch IE
37  *
38  * Usage: External
39  *
40  * </ini>
41  */
42 #define CFG_MLME_MAX_CHAN_SWITCH_IE_ENABLE \
43 	CFG_INI_BOOL("max_chan_switch_ie_enable", \
44 	PLATFORM_VALUE(false, false), \
45 	"To enable max channel switch IE")
46 
47 #define CFG_CMN_MLME_ALL \
48 	CFG(CFG_MLME_MAX_CHAN_SWITCH_IE_ENABLE)
49 
50 #endif /* __CFG_CMN_MLME_H */
51