wifi: rtw89: 8922a: set RX gain along with set_channel operation
authorChung-Hsuan Hung <hsuan8331@realtek.com>
Fri, 5 Jan 2024 06:42:23 +0000 (14:42 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 10 Jan 2024 14:50:56 +0000 (16:50 +0200)
commitcac432a08537b5becabfbbdbdea1eb6cfe28df14
tree39b2869043d11d7c1b5d0de3b4502de698afa37b
parent0edcdd82337a6bd028cbf8869a9a6fa12e21b484
wifi: rtw89: 8922a: set RX gain along with set_channel operation

Set values of LNA, TIA and RPL gain compensation read from firmware file
when channel is changed.

Signed-off-by: Chung-Hsuan Hung <hsuan8331@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240105064228.36580-4-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/rtw8922a.c