Browse Source

qcacmn: Move peer transition history under MLO_ADV flag

Move the peer transition history infra under
WLAN_FEATURE_11BE_MLO_ADV_FEATURE flag to enable the changes
by default

Change-Id: I8b0e07fb045b1e383af4b4144e31e8b709a8c83d
CRs-Fixed: 3802485
Vinod Kumar Pirla 1 year ago
parent
commit
46b43b40f2

+ 2 - 2
umac/mlme/include/wlan_psoc_mlme.h

@@ -94,7 +94,7 @@ struct psoc_config {
 	struct psoc_mlo_config mlo_config;
 };
 
-#ifdef WLAN_FEATURE_PEER_TRANS_HIST
+#ifdef WLAN_FEATURE_11BE_MLO_ADV_FEATURE
 /**
  * enum wlan_peer_tbl_trans_entry_flags - Peer table transition flags
  * @WLAN_PEER_TBL_TRANS_CREATE: Peer table modify due to create
@@ -167,7 +167,7 @@ struct psoc_mlme_obj {
 	struct wlan_6ghz_rnr_global_cache rnr_6ghz_cache[WLAN_UMAC_MAX_PDEVS];
 	struct wlan_6ghz_rnr_global_cache rnr_6ghz_cache_legacy[WLAN_UMAC_MAX_PDEVS];
 	struct psoc_config psoc_cfg;
-#ifdef WLAN_FEATURE_PEER_TRANS_HIST
+#ifdef WLAN_FEATURE_11BE_MLO_ADV_FEATURE
 	qdf_list_t peer_history_list;
 #endif
 };

+ 2 - 2
umac/mlme/psoc_mgr/dispatcher/inc/wlan_psoc_mlme_api.h

@@ -24,7 +24,7 @@
 
 #include <include/wlan_psoc_mlme.h>
 
-#ifdef WLAN_FEATURE_PEER_TRANS_HIST
+#ifdef WLAN_FEATURE_11BE_MLO_ADV_FEATURE
 #define MAX_PEER_HIST_LIST_SIZE 256
 #endif
 
@@ -40,7 +40,7 @@
 struct psoc_mlme_obj *wlan_psoc_mlme_get_cmpt_obj(
 						struct wlan_objmgr_psoc *psoc);
 
-#ifdef WLAN_FEATURE_PEER_TRANS_HIST
+#ifdef WLAN_FEATURE_11BE_MLO_ADV_FEATURE
 /**
  * wlan_mlme_psoc_init_peer_trans_history() - Initialize PSOC peer trans history
  * @psoc_mlme: PSOC MLME priv object

+ 1 - 1
umac/mlme/psoc_mgr/dispatcher/src/wlan_psoc_mlme_api.c

@@ -78,7 +78,7 @@ struct psoc_mlme_obj *wlan_psoc_mlme_get_cmpt_obj(struct wlan_objmgr_psoc *psoc)
 
 qdf_export_symbol(wlan_psoc_mlme_get_cmpt_obj);
 
-#ifdef WLAN_FEATURE_PEER_TRANS_HIST
+#ifdef WLAN_FEATURE_11BE_MLO_ADV_FEATURE
 void wlan_mlme_psoc_peer_trans_hist_remove_back(qdf_list_t *peer_history)
 {
 	struct wlan_peer_tbl_trans_entry *peer_trans_entry;