qcacmn: Disable 11be functionality when not supported by fw

Disable 11be functionality when not supported by fw

Change-Id: Ifb90893e15c9bc74aac3aab75220a0d5c866dd59
CRs-Fixed: 3291962
This commit is contained in:
Aditya Kodukula
2022-09-14 00:46:27 -07:00
کامیت شده توسط Madan Koyyalamudi
والد bf2b82dec7
کامیت 7e71dbe627
8فایلهای تغییر یافته به همراه217 افزوده شده و 20 حذف شده

مشاهده پرونده

@@ -1,5 +1,6 @@
/*
* 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
@@ -44,7 +45,33 @@
PLATFORM_VALUE(false, false), \
"To enable max channel switch IE")
/*
* <ini>
* 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
*
* </ini>
*/
#define CFG_MLME_11BE_TARGET_CAPAB CFG_UINT( \
"mlme_11be_target_capab",\
0, \
1, \
1, \
CFG_VALUE_OR_DEFAULT, \
"11be is supported by target")
#define CFG_CMN_MLME_ALL \
CFG(CFG_MLME_MAX_CHAN_SWITCH_IE_ENABLE)
CFG(CFG_MLME_MAX_CHAN_SWITCH_IE_ENABLE) \
CFG(CFG_MLME_11BE_TARGET_CAPAB)
#endif /* __CFG_CMN_MLME_H */