wifi: rtw89: set WIPHY_FLAG_DISABLE_WEXT before MLO
authorZong-Zhe Yang <kevin_yang@realtek.com>
Wed, 17 Apr 2024 09:00:50 +0000 (17:00 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 22 Apr 2024 01:29:03 +0000 (09:29 +0800)
commitd50334c38af65ac5cdcc4a1b66b26c79922e1e06
tree9ec3d7cc6d63927e00d73411b9a68269b94fdf14
parent08b5d052d17a89bb8706b2888277d0b682dc1610
wifi: rtw89: set WIPHY_FLAG_DISABLE_WEXT before MLO

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>
Link: https://msgid.link/20240417090050.42607-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c