diff options
| author | Zong-Zhe Yang <[email protected]> | 2023-05-08 08:12:10 +0000 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2023-05-11 13:19:17 +0000 |
| commit | a002f98123dd5e6b6d66c1b42a37dfd6e25ade4c (patch) | |
| tree | b29feb842ff4e9dc87b4e92ef786f7515d76fedb /net/switchdev/switchdev.c | |
| parent | wifi: rtw89: introduce realtek ACPI DSM method (diff) | |
| download | kernel-a002f98123dd5e6b6d66c1b42a37dfd6e25ade4c.tar.gz kernel-a002f98123dd5e6b6d66c1b42a37dfd6e25ade4c.zip | |
wifi: rtw89: regd: judge UNII-4 according to BIOS and chip
For realtek regulatory, there are following two kinds of configurations
to determine whether to allow UNII-4 band, i.e. 5.9GHz channels.
1. default setting according to whether chip support it or not
2. evaluate realtek ACPI DSM with RTW89_ACPI_DSM_FUNC_59G_EN (func. 6)
If (1) is false, we won't try (2) and just disallow UNII-4. Otherwise,
if (2) is not supported or returns a non-specific value, we follow the
default setting either. Besides, this commit aims to add decision logic
in rtw89 regulatory. Actually, driver doesn't register UNII-4 yet. That
will be handled by another commit.
Signed-off-by: Zong-Zhe Yang <[email protected]>
Signed-off-by: Ping-Ke Shih <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
