rtw89: 8852c: add BB initial and reset functions
authorPing-Ke Shih <pkshih@realtek.com>
Thu, 14 Apr 2022 06:20:19 +0000 (14:20 +0800)
committerKalle Valo <kvalo@kernel.org>
Sat, 23 Apr 2022 12:44:50 +0000 (15:44 +0300)
commitcc99eefa61f08a655a6471ee31e3096ad2e329d2
tree629d85f81048ed1c2e2e28353eebab123afdebfb
parentc7845551bf667894c5eb4320265d8717f056a8ac
rtw89: 8852c: add BB initial and reset functions

chip_ops::bb_sethw is to initialize BB settings out of BB parameters
tables. Once switching channel or initialing, we do chip_ops::bb_reset to
reset hardware counters and states to make things in expectation.

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-6-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/reg.h
drivers/net/wireless/realtek/rtw89/rtw8852c.c