wifi: rtw89: regd: judge 6 GHz according to chip and BIOS
authorZong-Zhe Yang <kevin_yang@realtek.com>
Fri, 2 Jun 2023 15:05:50 +0000 (23:05 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 8 Jun 2023 15:58:51 +0000 (18:58 +0300)
commitffc23511531341936dbddd24ba0e3a08bcdda01c
treef5663c208ec69d1b74bdcc4df5a98a1748c70695
parentb7d170d5a670de8d30d2db94179099f52f8df485
wifi: rtw89: regd: judge 6 GHz according to chip and BIOS

We allow platform to disable 6 GHz on chips, which supports 6 GHz, through
BIOS. Driver will evaluate Realtek acpi DSM with RTW89_ACPI_DSM_FUNC_6G_DIS
(function 3) to get whether 6 GHz should be disabled.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230602150556.36777-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/regd.c