[PATCH ath12k-ng v2 0/2] wifi: ath12k: Modularization of PDEV object for Next Generation Driver
Vasanthakumar Thiagarajan
vasanthakumar.thiagarajan at oss.qualcomm.com
Wed Oct 8 08:52:13 PDT 2025
On 10/7/2025 4:32 PM, Ripan Deuri wrote:
> 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(-)
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan at oss.qualcomm.com>
More information about the ath12k
mailing list