wifi: rtw89: 8922a: add chip_ops::{enable,disable}_bb_rf
authorPing-Ke Shih <pkshih@realtek.com>
Sat, 20 Jan 2024 00:38:27 +0000 (08:38 +0800)
committerKalle Valo <kvalo@kernel.org>
Tue, 23 Jan 2024 11:34:18 +0000 (13:34 +0200)
commit5c682bcb2cedc4188102fa7fe04e116f5bd3ddea
treead5389ccd5e91f3877429a600684d2dbdbcab0b5
parentaacb84adf1a2e9eae06920e2fc471b1272132510
wifi: rtw89: 8922a: add chip_ops::{enable,disable}_bb_rf

When we are going to up interface to make connection, turn on BB and RF
hardware power by enable_bb_rf ops. Oppositely, using disable_bb_rf to
turn them off.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240120003831.7014-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/reg.h
drivers/net/wireless/realtek/rtw89/rtw8922a.c