1 /* 2 * Copyright (c) 2021, The Linux Foundation. All rights reserved. 3 * Copyright (c) 2022 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 umac mlme related CFG/INI Items. 20 */ 21 22 #ifndef __CFG_CMN_MLME_H 23 #define __CFG_CMN_MLME_H 24 25 /* 26 * <ini> 27 * max_chan_switch_ie_enable - Flag to enable max chan switch IE support 28 * @Min: false 29 * @Max: true 30 * @Default: false 31 * 32 * For non_ap platform, this flag will be enabled at later point and for ap 33 * platform this flag will be disabled 34 * 35 * Related: None 36 * 37 * Supported Feature: Max channel switch IE 38 * 39 * Usage: External 40 * 41 * </ini> 42 */ 43 #define CFG_MLME_MAX_CHAN_SWITCH_IE_ENABLE \ 44 CFG_INI_BOOL("max_chan_switch_ie_enable", \ 45 PLATFORM_VALUE(false, false), \ 46 "To enable max channel switch IE") 47 48 /* 49 * <ini> 50 * mlme_11be_target_capab - Flag to check the target capability for 11be 51 * @Min: false 52 * @Max: true 53 * @Default: false 54 * 55 * This flag helps in confirming whether 11be is supported by the target. 56 * 57 * Related: None 58 * 59 * Supported Feature: 11be 60 * 61 * Usage: Internal 62 * 63 * </ini> 64 */ 65 #define CFG_MLME_11BE_TARGET_CAPAB CFG_UINT( \ 66 "mlme_11be_target_capab",\ 67 0, \ 68 1, \ 69 1, \ 70 CFG_VALUE_OR_DEFAULT, \ 71 "11be is supported by target") 72 73 #define CFG_CMN_MLME_ALL \ 74 CFG(CFG_MLME_MAX_CHAN_SWITCH_IE_ENABLE) \ 75 CFG(CFG_MLME_11BE_TARGET_CAPAB) 76 77 #endif /* __CFG_CMN_MLME_H */ 78