From 127fb0fc7e0a231fbcf76cc0c34326251eace60d Mon Sep 17 00:00:00 2001 From: Uraj Sasan Date: Thu, 24 Aug 2023 20:18:27 +0530 Subject: [PATCH] qcacmn: Skip sending T2LM for bridge sta Skip sending T2LM info to Target for bridge-sta topology CRs-Fixed: 3598171 Change-Id: Iccbbef68431ca2d415e4f6127ea8231d85ded0e1 --- umac/mlo_mgr/src/wlan_mlo_t2lm.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/umac/mlo_mgr/src/wlan_mlo_t2lm.c b/umac/mlo_mgr/src/wlan_mlo_t2lm.c index 9622bc00ac..e2763e6f52 100644 --- a/umac/mlo_mgr/src/wlan_mlo_t2lm.c +++ b/umac/mlo_mgr/src/wlan_mlo_t2lm.c @@ -29,6 +29,7 @@ #if defined(WLAN_FEATURE_11BE_MLO) && defined(WLAN_FEATURE_11BE_MLO_ADV_FEATURE) #include #endif +#include QDF_STATUS wlan_mlo_parse_t2lm_info(uint8_t *ie, struct wlan_t2lm_info *t2lm) @@ -820,6 +821,12 @@ QDF_STATUS wlan_send_t2lm_info(struct wlan_objmgr_vdev *vdev, continue; } + if (mlo_is_sta_bridge_vdev(co_mld_vdev)) { + t2lm_debug("skip co_mld_vdev for bridge sta"); + mlo_release_vdev_ref(co_mld_vdev); + continue; + } + status = mlo_tx_ops->send_tid_to_link_mapping(co_mld_vdev, t2lm); if (QDF_IS_STATUS_ERROR(status))