wifi: rtw89: 8851b: add TX power related functions
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 19 May 2023 03:14:54 +0000 (11:14 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 25 May 2023 16:11:29 +0000 (19:11 +0300)
commit76f2516f79373e17974ce03c52eba4cfea8483e9
tree377a59ca82f1da4604d66dafd254a5c7551947ec
parent8b21c08ef7df41aa615439beac323a7b3b1df0e6
wifi: rtw89: 8851b: add TX power related functions

Get TX power value from tables according to selected country and channel,
and set proper power to registers.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230519031500.21087-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/rtw8851b.c