[PATCH 1/3] wifi: ath12k: Request vdev stats from firmware
Aditya Kumar Singh
aditya.kumar.singh at oss.qualcomm.com
Fri Jan 24 21:23:36 PST 2025
On 1/25/25 00:23, Ramya Gnanasekar wrote:
> Add support to request and print vdev stats from firmware through WMI.
>
> Sample output:
> -------------
> cat /sys/kernel/debug/ath12k/pci-0000\:06\:00.0/mac0/fw_stats/vdev_stats
>
> ath12k VDEV stats
> =================
>
> VDEV ID 0
> VDEV MAC address 00:03:7f:6c:9c:1a
> beacon snr 96
> data snr 255
> num rx frames 0
> num rts fail 0
> num rts success 0
> num rx err 0
> num rx discard 0
> num tx not acked 0
> num tx frames [00] 0
> num tx frames [01] 0
> num tx frames [02] 0
> num tx frames [03] 2
> num tx frames retries [00] 0
> num tx frames retries [01] 0
> num tx frames retries [02] 0
> num tx frames retries [03] 0
> num tx frames failures [00] 0
> num tx frames failures [01] 0
> num tx frames failures [02] 0
> num tx frames failures [03] 0
> tx rate history [00] 0x00000000
> tx rate history [01] 0x00000000
> tx rate history [02] 0x00000000
> tx rate history [03] 0x00000000
> tx rate history [04] 0x00000000
> tx rate history [05] 0x00000000
> tx rate history [06] 0x00000000
> tx rate history [07] 0x00000000
> tx rate history [08] 0x00000000
> tx rate history [09] 0x00000000
> beacon rssi history [00] 0
> beacon rssi history [01] 0
> beacon rssi history [02] 0
> beacon rssi history [03] 0
> beacon rssi history [04] 0
> beacon rssi history [05] 0
> beacon rssi history [06] 0
> beacon rssi history [07] 0
> beacon rssi history [08] 0
> beacon rssi history [09] 0
>
> 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: Ramya Gnanasekar<ramya.gnanasekar at oss.qualcomm.com>
> ---
Reviewed-by: Aditya Kumar Singh <aditya.kumar.singh at oss.qualcomm.com>
--
Aditya
More information about the ath12k
mailing list