rtw89: 8852c: add TX power by rate and limit tables
authorPing-Ke Shih <pkshih@realtek.com>
Thu, 14 Apr 2022 06:20:16 +0000 (14:20 +0800)
committerKalle Valo <kvalo@kernel.org>
Sat, 23 Apr 2022 12:44:49 +0000 (15:44 +0300)
commit342475ac510ac0231fb38d00befdc86228453825
treefb15263fd265e3889d1c24562eea764f119ac481
parenteefad995c24295138669e5522f9b04c31fef0755
rtw89: 8852c: add TX power by rate and limit tables

TX power depends on rate, but must follow regulation for specific country.
Once asked to set channel, we configure registers according to these TX
power tables.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220414062027.62638-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/rtw8852c.c
drivers/net/wireless/realtek/rtw89/rtw8852c_table.c
drivers/net/wireless/realtek/rtw89/rtw8852c_table.h