]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: ath12k: Rearrange PPDU radio stats
authorRipan Deuri <quic_rdeuri@quicinc.com>
Tue, 7 Oct 2025 11:02:03 +0000 (16:32 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Wed, 8 Oct 2025 16:24:49 +0000 (09:24 -0700)
commitc57176c0dad91a00bd20feb5f6dc4e8d575f4628
tree583e32475a1407c24cdafc4768ae0864e32f1392
parent9e0ee04f818f42ec879b053e4b5d0c9c230415da
wifi: ath12k: Rearrange PPDU radio stats

Encapsulate PPDU stats in dp_pdev as these stats are related to data path
out-of-band operations. This reorganization improves the structuring of
data path stats and enhances the efficiency of data path operations by
consolidating both in-band (per packet) fields and out-of-band data path
stats within the same ath12k_pdev_dp object.

ppdu_list_lock is used to protect HTT pdev stats update.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3

Signed-off-by: Ripan Deuri <quic_rdeuri@quicinc.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/20251007110203.1541167-3-quic_rdeuri@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/core.h
drivers/net/wireless/ath/ath12k/dp.h
drivers/net/wireless/ath/ath12k/dp_cmn.h
drivers/net/wireless/ath/ath12k/dp_htt.c
drivers/net/wireless/ath/ath12k/mac.c