mbox series

[ath-pending,0/3] Support to request pdev, vdev and beacon stats

Message ID 20250124185330.1244585-1-ramya.gnanasekar@oss.qualcomm.com (mailing list archive)
Headers show
Series Support to request pdev, vdev and beacon stats | expand

Message

Ramya Gnanasekar Jan. 24, 2025, 6:53 p.m. UTC
PDEV, VDEV and beacon stats will be maintained in firmware by
stats module. These stats can be requested by host through
WMI cmd on demand and can be used for debugging.

This patch creates debugfs file for each stats which sends
request to firmware upon read and print the corresponding information.

ath12k
`-- pci-0000:06:00.0
    |-- mac0
        `-- fw_stats
            |-- beacon_stats
            `-- pdev_stats
            `-- vdev_stats

Ramya Gnanasekar (3):
  wifi: ath12k: Request vdev stats from firmware
  wifi: ath12k: Request beacon stats from firmware
  wifi: ath12k: Request pdev stats from firmware

 drivers/net/wireless/ath/ath12k/core.h    |  89 ++++
 drivers/net/wireless/ath/ath12k/debugfs.c | 380 ++++++++++++++++-
 drivers/net/wireless/ath/ath12k/debugfs.h |  13 +-
 drivers/net/wireless/ath/ath12k/wmi.c     | 482 ++++++++++++++++++++++
 drivers/net/wireless/ath/ath12k/wmi.h     |  77 ++++
 5 files changed, 1039 insertions(+), 2 deletions(-)


base-commit: 74557cbe44f8186f8e97443be258293479eddc8e