mirror of https://lore.kernel.org/ath12k/
 help / color / mirror / Atom feed
* [PATCH ath12k-ng v2 0/2] wifi: ath12k: Modularization of PDEV object for Next Generation Driver
@ 2025-10-07 11:02 Ripan Deuri
  2025-10-07 11:02 ` [PATCH ath12k-ng v2 1/2] wifi: ath12k: Refactor data path pdev struct Ripan Deuri
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ripan Deuri @ 2025-10-07 11:02 UTC (permalink / raw)
  To: ath12k; +Cc: linux-wireless

This patch series continues the effort to modularize data path structures
in ath12k, focusing on improving the organization of DP pdev handling and
preparing for future architecture-specific extensions.

Patch 1 refactors DP pdev handling by consolidating all DP-related fields
of a radio into struct ath12k_pdev_dp structure. An RCU-protected array of
these objects is introduced in ath12k_dp to facilitate dp_pdev lookup from
ath12k_dp.

Patch 2 encapsulates PPDU statistics within dp_pdev, as these stats are
associated with out-of-band data path operations. This reorganization
provides a cleaner structure by grouping both in-band (per-packet) fields
and out-of-band stats under the same ath12k_pdev_dp object.

These changes are part of a broader effort to establish a base framework
for next-generation driver development, allowing the data path to remain
flexible for future extensions.
---
Changes in v2:
    - Made ath12k_pdev_dp_to_ar() a static inline in core.h
---
Ripan Deuri (2):
  wifi: ath12k: Refactor data path pdev struct
  wifi: ath12k: Rearrange PPDU radio stats

 drivers/net/wireless/ath/ath12k/core.h        |  24 +-
 drivers/net/wireless/ath/ath12k/dp.c          |  23 ++
 drivers/net/wireless/ath/ath12k/dp.h          |  41 ++++
 drivers/net/wireless/ath/ath12k/dp_cmn.h      |  18 ++
 drivers/net/wireless/ath/ath12k/dp_htt.c      |  59 +++--
 drivers/net/wireless/ath/ath12k/dp_mon.c      | 183 ++++++++-------
 drivers/net/wireless/ath/ath12k/dp_mon.h      |   9 +-
 drivers/net/wireless/ath/ath12k/dp_rx.c       |  99 ++++----
 drivers/net/wireless/ath/ath12k/dp_rx.h       |  13 +-
 drivers/net/wireless/ath/ath12k/mac.c         |  34 ++-
 drivers/net/wireless/ath/ath12k/wifi7/dp_rx.c | 216 ++++++++++--------
 drivers/net/wireless/ath/ath12k/wifi7/dp_tx.c |  66 +++---
 drivers/net/wireless/ath/ath12k/wifi7/dp_tx.h |   2 +-
 13 files changed, 488 insertions(+), 299 deletions(-)


base-commit: af66c7640cf94aa77314cf8d5e95141bdecbc1ee
-- 
2.34.1



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-10-08 16:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-07 11:02 [PATCH ath12k-ng v2 0/2] wifi: ath12k: Modularization of PDEV object for Next Generation Driver Ripan Deuri
2025-10-07 11:02 ` [PATCH ath12k-ng v2 1/2] wifi: ath12k: Refactor data path pdev struct Ripan Deuri
2025-10-07 11:02 ` [PATCH ath12k-ng v2 2/2] wifi: ath12k: Rearrange PPDU radio stats Ripan Deuri
2025-10-08 15:52 ` [PATCH ath12k-ng v2 0/2] wifi: ath12k: Modularization of PDEV object for Next Generation Driver Vasanthakumar Thiagarajan
2025-10-08 16:28 ` Jeff Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox