mbox series

[0/7] wifi: rtw89: separate rtw89_{vif,sta}_link from rtw89_{vif,sta} for MLO

Message ID 20240916053158.47350-1-pkshih@realtek.com (mailing list archive)
Headers show
Series wifi: rtw89: separate rtw89_{vif,sta}_link from rtw89_{vif,sta} for MLO | expand

Message

Ping-Ke Shih Sept. 16, 2024, 5:31 a.m. UTC
To support MLO, this step is to separate link's info from vif/sta. 

Since most fields are belong to link, first two patches are to just rename
rtw89_{vif,sta} to rtw89_{vif,sta}_link (add suffix _link only), but the
naming is not all look correct at this point. However, we can quickly
review these two patches because don't change logic at all, 

The patches 3/7 and 4/7 are to dereference vif/sta by link_id dynamically
instead of default link or bss.

To configure a set of settings along with link, consolidate link related
stuffs into functions by patches 5/7 and 6/7.

The last patch adds rtw89_{vif,sta} back and correct the placements of
sturct fields that are not belong to link but trivially renamed by first
two patches, and also correct the use of rtw89_{vif,sta}. Then the naming
becomes normal.

After this patchset, MLO is still not enabled. More coming refactors like
power-save, multi-links support for TX/RX path, hardware configure for
multi-links, and etc are preparing.

Zong-Zhe Yang (7):
  wifi: rtw89: rename rtw89_vif to rtw89_vif_link ahead for MLO
  wifi: rtw89: rename rtw89_sta to rtw89_sta_link ahead for MLO
  wifi: rtw89: read bss_conf corresponding to the link
  wifi: rtw89: read link_sta corresponding to the link
  wifi: rtw89: refactor VIF related func ahead for MLO
  wifi: rtw89: refactor STA related func ahead for MLO
  wifi: rtw89: tweak driver architecture for impending MLO support

 drivers/net/wireless/realtek/rtw89/cam.c      | 259 +++--
 drivers/net/wireless/realtek/rtw89/cam.h      |  24 +-
 drivers/net/wireless/realtek/rtw89/chan.c     | 215 +++--
 drivers/net/wireless/realtek/rtw89/chan.h     |   4 +-
 drivers/net/wireless/realtek/rtw89/coex.c     | 153 +--
 drivers/net/wireless/realtek/rtw89/coex.h     |   6 +-
 drivers/net/wireless/realtek/rtw89/core.c     | 887 ++++++++++++------
 drivers/net/wireless/realtek/rtw89/core.h     | 421 ++++++---
 drivers/net/wireless/realtek/rtw89/debug.c    | 127 ++-
 drivers/net/wireless/realtek/rtw89/fw.c       | 633 +++++++------
 drivers/net/wireless/realtek/rtw89/fw.h       | 192 ++--
 drivers/net/wireless/realtek/rtw89/mac.c      | 700 ++++++++------
 drivers/net/wireless/realtek/rtw89/mac.h      |  98 +-
 drivers/net/wireless/realtek/rtw89/mac80211.c | 652 ++++++++++---
 drivers/net/wireless/realtek/rtw89/mac_be.c   |  69 +-
 drivers/net/wireless/realtek/rtw89/phy.c      | 399 +++++---
 drivers/net/wireless/realtek/rtw89/phy.h      |   7 +-
 drivers/net/wireless/realtek/rtw89/ps.c       | 109 ++-
 drivers/net/wireless/realtek/rtw89/ps.h       |  14 +-
 drivers/net/wireless/realtek/rtw89/regd.c     |  79 +-
 drivers/net/wireless/realtek/rtw89/rtw8851b.c |  13 +-
 drivers/net/wireless/realtek/rtw89/rtw8852a.c |  12 +-
 drivers/net/wireless/realtek/rtw89/rtw8852b.c |  13 +-
 .../net/wireless/realtek/rtw89/rtw8852bt.c    |  13 +-
 drivers/net/wireless/realtek/rtw89/rtw8852c.c |  12 +-
 drivers/net/wireless/realtek/rtw89/rtw8922a.c |  10 +-
 drivers/net/wireless/realtek/rtw89/ser.c      |  37 +-
 drivers/net/wireless/realtek/rtw89/wow.c      | 217 +++--
 drivers/net/wireless/realtek/rtw89/wow.h      |  10 +-
 29 files changed, 3518 insertions(+), 1867 deletions(-)