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

Comments

Jeff Johnson Jan. 26, 2025, 6:45 p.m. UTC | #1
On Sat, 25 Jan 2025 00:23:27 +0530, Ramya Gnanasekar wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/3] wifi: ath12k: Request vdev stats from firmware
      commit: e367c924768b11d28727efbf2a6426c7aef66f0f
[2/3] wifi: ath12k: Request beacon stats from firmware
      commit: 9fe4669ae9193b27d1d4add9a26c82dca9d59da0
[3/3] wifi: ath12k: Request pdev stats from firmware
      commit: b826ad94d89615e222a3682b02adcbe45ecbde0e

Best regards,