mbox series

[v3,0/6] wifi: rtw89: 8922a: implement more chip_ops for 8922A

Message ID 20240120003831.7014-1-pkshih@realtek.com (mailing list archive)
Headers show
Series wifi: rtw89: 8922a: implement more chip_ops for 8922A | expand

Message

Ping-Ke Shih Jan. 20, 2024, 12:38 a.m. UTC
Introduce MLO/DBCC mode variable that is used to configure PHY mode for
various application. The later implementation of chip_ops will reference
the mode to set registers. Though we have not really enabled MLO.

Other patches are chips_ops to enable BB/RF, set TX power and BT
coexistence helpers. Also, define chip specified registers that are used
by common logic flow.

v3:
 - rebase to top of wireless-next tree to resolve conflicts of patch 5/6
 - no logic changes.

v2:
 - modify patches 3/6 and 5/6 because we found some problems during
   verification.

Chung-Hsuan Hung (1):
  wifi: rtw89: 8922a: add BTG functions to assist BT coexistence to
    control TX/RX

Ping-Ke Shih (5):
  wifi: rtw89: add mlo_dbcc_mode for WiFi 7 chips
  wifi: rtw89: 8922a: add chip_ops::{enable,disable}_bb_rf
  wifi: rtw89: 8922a: add chip_ops related to BB init
  wifi: rtw89: 8922a: add register definitions of H2C, C2H, page, RRSR
    and EDCCA
  wifi: rtw89: 8922a: add TX power related ops

 drivers/net/wireless/realtek/rtw89/core.c     |   3 +
 drivers/net/wireless/realtek/rtw89/core.h     |  42 ++
 drivers/net/wireless/realtek/rtw89/phy.c      |   1 +
 drivers/net/wireless/realtek/rtw89/phy.h      |  10 +
 drivers/net/wireless/realtek/rtw89/reg.h      | 199 +++++++-
 drivers/net/wireless/realtek/rtw89/rtw8851b.c |   1 +
 drivers/net/wireless/realtek/rtw89/rtw8852a.c |   1 +
 drivers/net/wireless/realtek/rtw89/rtw8852b.c |   1 +
 drivers/net/wireless/realtek/rtw89/rtw8852c.c |   1 +
 drivers/net/wireless/realtek/rtw89/rtw8922a.c | 482 ++++++++++++++++++
 10 files changed, 740 insertions(+), 1 deletion(-)