]> git.baikalelectronics.ru Git - kernel.git/commit
rtw89: update rtw89 regulation definition to R58-R31
authorZong-Zhe Yang <kevin_yang@realtek.com>
Mon, 1 Nov 2021 09:31:04 +0000 (17:31 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 26 Nov 2021 16:10:10 +0000 (18:10 +0200)
commitdc3c19bdd1f0d5b0dff2140f77f3ed49f5f2f589
tree58162a79d628db6bc61f09790b3df30b949750bd
parent544f7bcc56e61068f105b6435a95d8a08acf3661
rtw89: update rtw89 regulation definition to R58-R31

Support QATAR in rtw89_regulation_type and reorder the enum to align
realtek R58-R31 regulation definition. Besides, if an unassigned entry
of limit/limit_ru tables is read, return the corresponding WW value for
the unconfigured case.

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@codeaurora.org>
Link: https://lore.kernel.org/r/20211101093106.28848-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/phy.c