qcacld-3.0: Avoid STA CSA during connecting

When process new beacon of current AP during connecting: after pe session
created and before peer assoc, peer phy mode isn't configured, in
lim_process_beacon_eht_op, current channel width is treated as 20M wrongly,
the channel width in eht op of beacon usually larger than 20M, so CSA is
started and RSO is disabled wrongly, although CSA not handled for vdev not
up, RSO can't be enabled any more.

To fix it, only handle eht op of beacon when sta vdev connected.

Change-Id: I8f93a3fbf5ec1de868be2581b0a9a2d77743625e
CRs-Fixed: 3504210
这个提交包含在:
Jianmin Zhu
2023-05-19 21:54:11 +08:00
提交者 Rahul Choudhary
父节点 be2b7ce4b3
当前提交 da32facf8d

查看文件

@@ -42,6 +42,7 @@
#include "wlan_mlo_mgr_roam.h" #include "wlan_mlo_mgr_roam.h"
#include "lim_mlo.h" #include "lim_mlo.h"
#include "wlan_mlo_mgr_sta.h" #include "wlan_mlo_mgr_sta.h"
#include "wlan_cm_api.h"
#ifdef WLAN_FEATURE_11BE_MLO #ifdef WLAN_FEATURE_11BE_MLO
#include <cds_ieee80211_common.h> #include <cds_ieee80211_common.h>
#endif #endif
@@ -377,7 +378,8 @@ void lim_process_beacon_eht(struct mac_context *mac_ctx,
if (!des_chan || !IS_WLAN_PHYMODE_EHT(des_chan->ch_phymode)) if (!des_chan || !IS_WLAN_PHYMODE_EHT(des_chan->ch_phymode))
return; return;
lim_process_beacon_eht_op(session, bcn_ptr); if (wlan_cm_is_vdev_connected(vdev))
lim_process_beacon_eht_op(session, bcn_ptr);
if (mlo_is_mld_sta(vdev)) if (mlo_is_mld_sta(vdev))
/* handle beacon IE for 802.11be mlo case */ /* handle beacon IE for 802.11be mlo case */