[SRU][N][PATCH v4 0/1] rtw89: Support hardware rfkill

En-Wei Wu en-wei.wu at canonical.com
Thu Sep 19 13:15:38 UTC 2024


BugLink: https://bugs.launchpad.net/bugs/2077384

SRU Justification:

[Impact]
With RTL8851BE and "Control WLAN radio" (in Dell BIOS setting) on, wifi function 
is not be disabled when we plug in the Ethernet cable. The issue is because the 
rtw89 driver doesn't have the hardware rfkill mechanism.

[Fix]
Backport the Realtek patch in linux-next:

https://lore.kernel.org/linux-wireless/20240724052626.12774-1-pkshih@realtek.com/T/#m1361ad1d6125d64976677fea4ba2e3aff219d1ad

[Test Plan]
1. Enable Control WLAN radio in BIOS setting
2. Boot into OS
2. Plug in Ethernet cable.
3. Check if the WiFi function being HW blocked

[Where problems could occur]
May disrupt the software rfkill.

Kuan-Chung Chen (1):
  wifi: rtw89: add support for hardware rfkill

 drivers/net/wireless/realtek/rtw89/core.c     | 68 +++++++++++++++++++
 drivers/net/wireless/realtek/rtw89/core.h     | 10 +++
 drivers/net/wireless/realtek/rtw89/mac80211.c | 17 +++++
 drivers/net/wireless/realtek/rtw89/reg.h      | 24 +++++++
 drivers/net/wireless/realtek/rtw89/rtw8851b.c | 11 +++
 drivers/net/wireless/realtek/rtw89/rtw8852a.c | 11 +++
 drivers/net/wireless/realtek/rtw89/rtw8852b.c | 11 +++
 drivers/net/wireless/realtek/rtw89/rtw8852c.c | 11 +++
 drivers/net/wireless/realtek/rtw89/rtw8922a.c | 56 +++++++++++++++
 9 files changed, 219 insertions(+)

-- 
2.43.0




More information about the kernel-team mailing list