2023-05-08 08:26:36

by Ping-Ke Shih

[permalink] [raw]
Subject: [PATCH 0/3] wifi: rtw89: support U-NII-4 5.9GHz channels

8852B, 8852C and upcoming 8851B can support U-NII-4, so add this patchset
to enable this feature. However, we can't turn it on unconditionally,
because hardware may not get certification in certain platforms, so add
a flag in BIOS ACPI to determine if we should disable these channels.

Zong-Zhe Yang (3):
wifi: rtw89: introduce realtek ACPI DSM method
wifi: rtw89: regd: judge UNII-4 according to BIOS and chip
wifi: rtw89: support U-NII-4 channels on 5GHz band

drivers/net/wireless/realtek/rtw89/Makefile | 3 +-
drivers/net/wireless/realtek/rtw89/acpi.c | 52 ++++++++++++++++
drivers/net/wireless/realtek/rtw89/acpi.h | 21 +++++++
drivers/net/wireless/realtek/rtw89/core.c | 10 ++-
drivers/net/wireless/realtek/rtw89/core.h | 2 +
drivers/net/wireless/realtek/rtw89/regd.c | 61 +++++++++++++++++++
drivers/net/wireless/realtek/rtw89/rtw8851b.c | 1 +
drivers/net/wireless/realtek/rtw89/rtw8852a.c | 1 +
drivers/net/wireless/realtek/rtw89/rtw8852b.c | 1 +
drivers/net/wireless/realtek/rtw89/rtw8852c.c | 1 +
10 files changed, 151 insertions(+), 2 deletions(-)
create mode 100644 drivers/net/wireless/realtek/rtw89/acpi.c
create mode 100644 drivers/net/wireless/realtek/rtw89/acpi.h

--
2.25.1