Browse Source

qcacmn: Add INI to enable/disable non MLO 11be AP operation

Add INI variable to enable/disable non MLO 11be AP operation.

CRs-Fixed: 3260964
Change-Id: Ic84859244fc30d5f7c5ccd42d4a89334dbbf4890
Edayilliam Jayadev 2 years ago
parent
commit
d81b28c2ed
1 changed files with 34 additions and 1 deletions
  1. 34 1
      umac/mlme/include/cfg_cmn_mlme.h

+ 34 - 1
umac/mlme/include/cfg_cmn_mlme.h

@@ -70,8 +70,41 @@
 	CFG_VALUE_OR_DEFAULT, \
 	"11be is supported by target")
 
+#ifdef WLAN_FEATURE_11BE
+/*
+ * <ini>
+ * 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
+ *
+ * </ini>
+ */
+#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 */
+
 #define CFG_CMN_MLME_ALL \
 	CFG(CFG_MLME_MAX_CHAN_SWITCH_IE_ENABLE) \
-	CFG(CFG_MLME_11BE_TARGET_CAPAB)
+	CFG(CFG_MLME_11BE_TARGET_CAPAB) \
+	CFG_MLME_11BE_ALL
 
 #endif /* __CFG_CMN_MLME_H */