/* * Copyright (c) 2021, The Linux Foundation. All rights reserved. * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ /** * DOC: This file contains umac mlme related CFG/INI Items. */ #ifndef __CFG_CMN_MLME_H #define __CFG_CMN_MLME_H /* * * max_chan_switch_ie_enable - Flag to enable max chan switch IE support * @Min: false * @Max: true * @Default: false * * For non_ap platform, this flag will be enabled at later point and for ap * platform this flag will be disabled * * Related: None * * Supported Feature: Max channel switch IE * * Usage: External * * */ #define CFG_MLME_MAX_CHAN_SWITCH_IE_ENABLE \ CFG_INI_BOOL("max_chan_switch_ie_enable", \ PLATFORM_VALUE(false, false), \ "To enable max channel switch IE") /* * * mlme_11be_target_capab - Flag to check the target capability for 11be * @Min: false * @Max: true * @Default: false * * This flag helps in confirming whether 11be is supported by the target. * * Related: None * * Supported Feature: 11be * * Usage: Internal * * */ #define CFG_MLME_11BE_TARGET_CAPAB CFG_UINT( \ "mlme_11be_target_capab",\ 0, \ 1, \ 1, \ CFG_VALUE_OR_DEFAULT, \ "11be is supported by target") #ifdef WLAN_FEATURE_11BE /* * * non_mlo_11be_ap_operation_enable - Flag to enable non MLO 802.11be AP * operation * @Min: false * @Max: true * @Default: false * * The 802.11be standard does not allow non-MLO 11be AP operation. For * development purposes, add an INI flag to enable/disable non-MLO 802.11be AP * operation. This INI will be disabled by default. * * Related: None * * Supported Feature: 802.11be protocol * * Usage: Internal * * */ #define CFG_MLME_NON_MLO_11BE_AP_OPERATION_ENABLE \ CFG_INI_BOOL("non_mlo_11be_ap_operation_enable", \ false, \ "Enable non MLO 11be AP operation") #define CFG_MLME_11BE_ALL \ CFG(CFG_MLME_NON_MLO_11BE_AP_OPERATION_ENABLE) #else #define CFG_MLME_11BE_ALL #endif /* WLAN_FEATURE_11BE */ /* * * mlme_mlo_reconfig_reassoc_enable- Flag for non-AP MLD re-association * upon detecting ML Reconfig AP addition * @Min: false * @Max: true * @Default: false * * This flag when set to true enables re-association by non-AP MLD when * the non-AP MLD detects that the AP MLD it is associated with has * added a new AP using ML Reconfiguration. * * Related: None * * Supported Feature: 11be MLO Reconfig * * Usage: Internal * * */ #define CFG_MLME_MLO_RECONFIG_REASSOC_ENABLE CFG_INI_UINT( \ "mlme_mlo_reconfig_reassoc_enable",\ 0, 1, 0, \ CFG_VALUE_OR_DEFAULT, \ "MLO reconfig reassoc is supported by target") #define CFG_CMN_MLME_ALL \ CFG(CFG_MLME_MAX_CHAN_SWITCH_IE_ENABLE) \ CFG(CFG_MLME_11BE_TARGET_CAPAB) \ CFG(CFG_MLME_MLO_RECONFIG_REASSOC_ENABLE) \ CFG_MLME_11BE_ALL #endif /* __CFG_CMN_MLME_H */