mbox series

[0/8] wifi: rtw89: enhance dynamic mechanism per PHY

Message ID 20250117072828.16728-1-pkshih@realtek.com (mailing list archive)
Headers show
Series wifi: rtw89: enhance dynamic mechanism per PHY | expand

Message

Ping-Ke Shih Jan. 17, 2025, 7:28 a.m. UTC
To support MLO, two PHY work simultaneously. Enhance dynamic mechanism
to support two PHY from one.

The logic are almost the same, so create two context instances for PHY 0/1.
For hardware registers, only set registers according to certain PHY.

Ping-Ke Shih (8):
  wifi: rtw89: phy: rename to RTW89_PHY_NUM as proper naming
  wifi: rtw89: phy: add PHY context array to support functions per PHY
  wifi: rtw89: phy: support env_monitor per PHY
  wifi: rtw89: phy: support DIG per PHY
  wifi: rtw89: phy: support ch_info per PHY
  wifi: rtw89: phy: support EDCCA per PHY
  wifi: rtw89: phy: support EDCCA log per PHY
  wifi: rtw89: phy: disable CFO track when two PHY are working
    simultaneously

 drivers/net/wireless/realtek/rtw89/coex.c     |  38 +-
 drivers/net/wireless/realtek/rtw89/core.c     |  17 +-
 drivers/net/wireless/realtek/rtw89/core.h     | 100 ++-
 drivers/net/wireless/realtek/rtw89/fw.h       |  14 +-
 drivers/net/wireless/realtek/rtw89/mac.c      |   2 +-
 drivers/net/wireless/realtek/rtw89/mac_be.c   |   2 +-
 drivers/net/wireless/realtek/rtw89/phy.c      | 703 ++++++++++--------
 drivers/net/wireless/realtek/rtw89/phy.h      |   7 +-
 drivers/net/wireless/realtek/rtw89/reg.h      |   5 +
 drivers/net/wireless/realtek/rtw89/rtw8851b.c |  15 +-
 drivers/net/wireless/realtek/rtw89/rtw8852a.c |  15 +-
 drivers/net/wireless/realtek/rtw89/rtw8852b.c |  15 +-
 .../net/wireless/realtek/rtw89/rtw8852bt.c    |  15 +-
 drivers/net/wireless/realtek/rtw89/rtw8852c.c |  15 +-
 drivers/net/wireless/realtek/rtw89/rtw8922a.c |  15 +-
 drivers/net/wireless/realtek/rtw89/sar.c      |   3 +-
 16 files changed, 603 insertions(+), 378 deletions(-)