All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] wifi: rtw89: set WIPHY_FLAG_DISABLE_WEXT before MLO
@ 2024-04-17  9:00 Ping-Ke Shih
  2024-04-22  1:32 ` Ping-Ke Shih
  0 siblings, 1 reply; 2+ messages in thread
From: Ping-Ke Shih @ 2024-04-17  9:00 UTC (permalink / raw)
  To: linux-wireless; +Cc: kevin_yang

From: Zong-Zhe Yang <kevin_yang@realtek.com>

We will support MLO on 802.11be chip, e.g. RTL8922A, in the future. At that
time being, we will set WIPHY_FLAG_SUPPORTS_MLO according to chip info and
FW features at runtime. But, with WIPHY_FLAG_SUPPORTS_MLO flag, cfg80211
will disable WEXT. In case inconsistent user experience, if 802.11be chip,
we disable WEXT uniformly from now on.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
---
 drivers/net/wireless/realtek/rtw89/core.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/net/wireless/realtek/rtw89/core.c b/drivers/net/wireless/realtek/rtw89/core.c
index 52588f04155a..8c5081631d09 100644
--- a/drivers/net/wireless/realtek/rtw89/core.c
+++ b/drivers/net/wireless/realtek/rtw89/core.c
@@ -4509,6 +4509,9 @@ static int rtw89_core_register_hw(struct rtw89_dev *rtwdev)
 	if (!chip->support_rnr)
 		hw->wiphy->flags |= WIPHY_FLAG_SPLIT_SCAN_6GHZ;
 
+	if (chip->chip_gen == RTW89_CHIP_BE)
+		hw->wiphy->flags |= WIPHY_FLAG_DISABLE_WEXT;
+
 	hw->wiphy->features |= NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR;
 
 	hw->wiphy->max_scan_ssids = RTW89_SCANOFLD_MAX_SSID;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/2] wifi: rtw89: set WIPHY_FLAG_DISABLE_WEXT before MLO
  2024-04-17  9:00 [PATCH 1/2] wifi: rtw89: set WIPHY_FLAG_DISABLE_WEXT before MLO Ping-Ke Shih
@ 2024-04-22  1:32 ` Ping-Ke Shih
  0 siblings, 0 replies; 2+ messages in thread
From: Ping-Ke Shih @ 2024-04-22  1:32 UTC (permalink / raw)
  To: Ping-Ke Shih, linux-wireless; +Cc: kevin_yang

Ping-Ke Shih <pkshih@realtek.com> wrote:

> From: Zong-Zhe Yang <kevin_yang@realtek.com>
> 
> We will support MLO on 802.11be chip, e.g. RTL8922A, in the future. At that
> time being, we will set WIPHY_FLAG_SUPPORTS_MLO according to chip info and
> FW features at runtime. But, with WIPHY_FLAG_SUPPORTS_MLO flag, cfg80211
> will disable WEXT. In case inconsistent user experience, if 802.11be chip,
> we disable WEXT uniformly from now on.
> 
> Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>

2 patch(es) applied to rtw-next branch of rtw.git, thanks.

d50334c38af6 wifi: rtw89: set WIPHY_FLAG_DISABLE_WEXT before MLO
0a548ecac7b9 wifi: rtw89: 8922a: fix argument to hal_reset in bb_cfg_txrx_path

---
https://github.com/pkshih/rtw.git


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-22  1:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-17  9:00 [PATCH 1/2] wifi: rtw89: set WIPHY_FLAG_DISABLE_WEXT before MLO Ping-Ke Shih
2024-04-22  1:32 ` Ping-Ke Shih

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.