The set_channel() is main function to configure operating channel, and also configure settings related to channel, such as spur elimination. When switching channel from one to another, hardware could stay abnormal state, so a helper is used to stop TX/RX during that period, and also reset hardware state before starting to work at new channel. Ping-Ke Shih (4): wifi: rtw89: 8922a: add set_channel MAC part wifi: rtw89: 8922a: add set_channel BB part wifi: rtw89: 8922a: add set_channel RF part wifi: rtw89: 8922a: add helper of set_channel drivers/net/wireless/realtek/rtw89/phy.c | 119 ++++ drivers/net/wireless/realtek/rtw89/phy.h | 6 + drivers/net/wireless/realtek/rtw89/reg.h | 78 ++- drivers/net/wireless/realtek/rtw89/rtw8922a.c | 534 ++++++++++++++++++ .../net/wireless/realtek/rtw89/rtw8922a_rfk.c | 143 +++++ .../net/wireless/realtek/rtw89/rtw8922a_rfk.h | 5 + 6 files changed, 884 insertions(+), 1 deletion(-) -- 2.25.1