mbox series

[v4,0/2] wifi: ath12k: Introduce hw abstraction

Message ID 20240118010320.3918136-1-quic_periyasa@quicinc.com
Headers show
Series wifi: ath12k: Introduce hw abstraction | expand

Message

Karthikeyan Periyasamy Jan. 18, 2024, 1:03 a.m. UTC
To support multi link operation (MLO), need to move from the multi wiphy
model to a single wiphy model. However, the single wiphy model allows
multiple link/radio to be exposed by the same mac80211 hw. So introduce
a new container (ath12k_hw) structure. This approach improves scalability
for future multi link operation support.

v4:
 - fixed the ath12k-check warning
v3:
 - Removed (struct ath12k_hw::conf_mutex) as per kalle comment
 - Rebased on master branch
v2:
 - Rebased on pending branch as per jeff comments

Karthikeyan Periyasamy (2):
  wifi: ath12k: Refactor the mac80211 hw access from link/radio
  wifi: ath12k: Introduce the container for mac80211 hw

 drivers/net/wireless/ath/ath12k/core.c   |  18 +-
 drivers/net/wireless/ath/ath12k/core.h   |  42 ++-
 drivers/net/wireless/ath/ath12k/dp_mon.c |   4 +-
 drivers/net/wireless/ath/ath12k/dp_rx.c  |   6 +-
 drivers/net/wireless/ath/ath12k/dp_tx.c  |   6 +-
 drivers/net/wireless/ath/ath12k/mac.c    | 460 +++++++++++++++--------
 drivers/net/wireless/ath/ath12k/mac.h    |   4 +-
 drivers/net/wireless/ath/ath12k/reg.c    |   9 +-
 drivers/net/wireless/ath/ath12k/wmi.c    |  17 +-
 9 files changed, 391 insertions(+), 175 deletions(-)


base-commit: 03a67f8046dadb966950a0a6acbac2839cddfeb1