qcacld-3.0: Add ini to disable mcs13

Add ini "disable_mcs13_support" to disable mcs13 to when SAP working
on 80p80MHZ/160MHZ/320MHZ and mcs12_13 supported.

Change-Id: Iff7043cc422cbe00fa771fe5fad9ad992d6deaf5
CRs-Fixed: 3062196
This commit is contained in:
Wu Gao
2021-12-14 22:07:13 +08:00
committed by Madan Koyyalamudi
parent c6664a4d71
commit ffd5a08068
4 changed files with 140 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021 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
@@ -722,6 +723,29 @@
1, \
"Enable/Disable fils discovery for SAP")
/*
* <ini>
* disable_mcs13_support - Disable mcs13 support.
* @Min: 0
* @Max: 1
* @Default: 1
*
* This ini is used to disable mcs13 if SAP works on 80p80MHZ/160MHZ/320MHZ
* nd he_mcs_12_13_support enabled..
*
* Related: he_mcs_12_13_support
*
* Supported Feature: Concurrency
*
* Usage: Internal
*
* </ini>
*/
#define CFG_DISABLE_MCS13_SUPPORT CFG_INI_BOOL( \
"disable_mcs13_support", \
0, \
"mcs13 support")
#define CFG_SAP_ALL \
CFG_SAP_SAE \
CFG(CFG_AP_ENABLE_RANDOM_BSSID) \
@@ -755,6 +779,7 @@
CFG(CFG_GO_FORCE_11N_FOR_11AC) \
CFG(CFG_GO_11AC_OVERRIDE) \
CFG(CFG_IS_SAP_BCAST_DEAUTH_ENABLED) \
CFG(CFG_6G_SAP_FILS_DISCOVERY_ENABLED)
CFG(CFG_6G_SAP_FILS_DISCOVERY_ENABLED) \
CFG(CFG_DISABLE_MCS13_SUPPORT)
#endif /* __CFG_MLME_SAP_H */