* [PATCH rtw-next] wifi: rtw88: fix coexistence setup for 5 GHz authentication
@ 2026-12-05 23:57 Luka Gejak
0 siblings, 0 replies; only message in thread
From: Luka Gejak @ 2026-12-05 23:57 UTC (permalink / raw)
To: Ping-Ke Shih
Cc: Kalle Valo, Yan-Hsuan Chuang, linux-wireless, Luka Gejak,
Pablo Martínez Ríos, stable
rtw88 selects the 2.4 GHz coexistence path before authentication even
on 5 GHz. This can prevent authentication, as seen on an RTL8822BE.
Select the coexistence notification for the current band.
Fixes: 4136214f7c46 ("rtw88: add BT co-existence support")
Reported-by: Pablo Martínez Ríos <pabloriosmartinez@gmail.com>
Closes: https://lore.kernel.org/linux-wireless/CALTviDkEWERPrtc51WFB1K3Sn7wLdt6YhB=_Ck4PwBPdLcojBQ@mail.gmail.com/
Cc: stable@vger.kernel.org
Signed-off-by: Luka Gejak <luka.gejak@linux.dev>
---
drivers/net/wireless/realtek/rtw88/mac80211.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wireless/realtek/rtw88/mac80211.c b/drivers/net/wireless/realtek/rtw88/mac80211.c
index 0e4970d65958..69e8cb09b2c5 100644
--- a/drivers/net/wireless/realtek/rtw88/mac80211.c
+++ b/drivers/net/wireless/realtek/rtw88/mac80211.c
@@ -731,7 +731,10 @@ static void rtw_ops_mgd_prepare_tx(struct ieee80211_hw *hw,
mutex_lock(&rtwdev->mutex);
rtw_leave_lps_deep(rtwdev);
- rtw_coex_connect_notify(rtwdev, COEX_ASSOCIATE_START);
+ if (rtwdev->hal.current_band_type == RTW_BAND_5G)
+ rtw_coex_connect_notify(rtwdev, COEX_ASSOCIATE_5G_START);
+ else
+ rtw_coex_connect_notify(rtwdev, COEX_ASSOCIATE_START);
rtw_chip_prepare_tx(rtwdev);
mutex_unlock(&rtwdev->mutex);
}
--
2.56.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-05 23:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-05 23:57 [PATCH rtw-next] wifi: rtw88: fix coexistence setup for 5 GHz authentication Luka Gejak
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.