wifi: rtw89: regd: configure Thailand in regulation type
authorZong-Zhe Yang <kevin_yang@realtek.com>
Wed, 27 Sep 2023 07:21:53 +0000 (15:21 +0800)
committerKalle Valo <kvalo@kernel.org>
Tue, 3 Oct 2023 11:32:18 +0000 (14:32 +0300)
commit1af55a76e0732f4ab77c1bfaf0e6409853dd7007
treec20a25cccee26a709ec5c0e554d1097161ab0199
parentaa75cc029e053627743fba2cde8a73519abe8421
wifi: rtw89: regd: configure Thailand in regulation type

Realtek RFE (RF Front End) parameters can consider Thailand individually
now, so we add it into regulation type enum. Then, we map country code TH
to RTW89_ETSI/RTW89_THAILAND according to band. The RF TX power tables will
add entries for RTW89_THAILAND in the following.

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>
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/regd.c