[PATCH ath-next 0/3] wifi: ath12k: Improve dp stats
Sreeramya Soratkal
sreeramya.soratkal at oss.qualcomm.com
Tue Jun 23 22:53:54 PDT 2026
This short series improves the device_dp_stats debugfs interface in
ath12k to produce more useful and accurate diagnostic output in MLO
configurations.
Patch 1 fixes a latent correctness issue where the REO Rx and WBM
release error tables were unconditionally printed for
ATH12K_MAX_DEVICES columns showing zero-filled entries for device
slots that have no hardware. Replacing the compile-time constant
with the runtime device count keeps the output compact and correct.
Patch 2 prepends a ktime-based millisecond timestamp to the top of
the dump. In MLO setups the per-device file is to be read
independently for each ath12k instance, so without a common timestamp
it is difficult to verify whether two snapshots are contemporaneous,
making cross-device counter comparisons unreliable.
Patch 3 extends the existing per-radio section to report the center
frequency on which each radio is currently operating. This allows
the reader to correlate throughput and error counters with the channel
without having to cross-reference iw/nl80211 output separately.
Sreeramya Soratkal (3):
wifi: ath12k: Use runtime device count in dp stats display
wifi: ath12k: Add timestamp to dp stats display
wifi: ath12k: Show per-radio center freq in dp stats
drivers/net/wireless/ath/ath12k/debugfs.c | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
base-commit: 63abe299b12b317dfee5bcd09037da4668a4431a
--
2.34.1
More information about the ath12k
mailing list