Message ID | 20240919132231.302892-1-en-wei.wu@canonical.com |
---|---|
Headers | show |
Series | rtw89: Support hardware rfkill | expand |
En-Wei Wu kirjoitti 19.9.2024 klo 16.22: > 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 | 9 +++ > 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 | 11 +++ > 9 files changed, 173 insertions(+) > applied to oracular, thanks