mbox series

[0/4] wifi: rtw89: 8922a: add chip_ops::set_channel() and helpers

Message ID 20240215055741.14148-1-pkshih@realtek.com (mailing list archive)
Headers show
Series wifi: rtw89: 8922a: add chip_ops::set_channel() and helpers | expand

Message

Ping-Ke Shih Feb. 15, 2024, 5:57 a.m. UTC
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(-)