rtw88: 8821c: add set tx power index
authorTzu-En Huang <tehuang@realtek.com>
Tue, 16 Jun 2020 09:16:20 +0000 (17:16 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 15 Jul 2020 09:06:52 +0000 (12:06 +0300)
commitad5f411b7f37fcc9d1fcf4fe0b433c2f5691cb0c
tree1a14538223f0e0025f18611345349c6274d70397
parent769a29ce2af45481c1971be5a96250696fb4acf4
rtw88: 8821c: add set tx power index

To configure the transmit power of 8821c implement trasmit
power index setting callback function for 8821c. This is very
similar to the callback function of 8822b.

Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Tzu-En Huang <tehuang@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200616091625.26489-3-yhchuang@realtek.com
drivers/net/wireless/realtek/rtw88/rtw8821c.c