]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: Add support to enable debugfs_htt_stats
authorDinesh Karthikeyan <quic_dinek@quicinc.com>
Wed, 26 Jun 2024 08:58:51 +0000 (14:28 +0530)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 1 Jul 2024 18:54:26 +0000 (21:54 +0300)
commit3f73c24f28b317f22df7870c25ff82f1d625c6c2
tree424616df575f67003da32a043339664098d4d755
parent9783e0407421a4dfc25e3a3001d0e0cff4236806
wifi: ath12k: Add support to enable debugfs_htt_stats

Create debugfs_htt_stats file when ath12k debugfs support is enabled.
Add basic ath12k_debugfs_htt_stats_register and handle htt_stats_type
file operations.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-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: Dinesh Karthikeyan <quic_dinek@quicinc.com>
Co-developed-by: Ramya Gnanasekar <quic_rgnanase@quicinc.com>
Signed-off-by: Ramya Gnanasekar <quic_rgnanase@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://patch.msgid.link/20240626085854.2500681-2-quic_rgnanase@quicinc.com
drivers/net/wireless/ath/ath12k/Makefile
drivers/net/wireless/ath/ath12k/core.h
drivers/net/wireless/ath/ath12k/debugfs.c
drivers/net/wireless/ath/ath12k/debugfs_htt_stats.c [new file with mode: 0644]
drivers/net/wireless/ath/ath12k/debugfs_htt_stats.h [new file with mode: 0644]