[PATCH v6 4/4] wifi: ath12k: Support Transmit PER Rate Stats
Jeff Johnson
quic_jjohnson at quicinc.com
Fri Nov 15 13:23:43 PST 2024
On 11/14/2024 10:28 PM, Roopni Devanathan wrote:
> From: Dinesh Karthikeyan <quic_dinek at quicinc.com>
>
> Add support to request per rate stats through HTT stats type
> 40. These stats give information about rates of PPDUs and
> MPDUs for single user and for OFDMA and MUMIMO technologies
> corresponding to multiple users.
>
> Sample output:
> -------------
> echo 40 > /sys/kernel/debug/ath12k/pci-0000\:06\:00.0/mac0/htt_stats_type
> cat /sys/kernel/debug/ath12k/pci-0000\:06\:00.0/mac0/htt_stats
> HTT_TX_PER_STATS:
>
> PER_STATS_SU:
>
> PER per BW:
> ppdus_tried_su = 0:0 1:0 2:0 3:0 4:0
> ppdus_ack_failed_su = 0:0 1:0 2:0 3:0 4:0
> mpdus_tried_su = 0:0 1:0 2:0 3:0 4:0
> mpdus_failed_su = 0:0 1:0 2:0 3:0 4:0
>
> PER per NSS:
> ppdus_tried_su = 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0
> ppdus_ack_failed_su = 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0
> mpdus_tried_su = 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0
> mpdus_failed_su = 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0
>
> PER per MCS:
> ppdus_tried_su = 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 8:0 9:0 10:0 11:0 12:0 13:0
> ppdus_ack_failed_su = 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 8:0 9:0 10:0 11:0 12:0 13:0
> mpdus_tried_su = 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 8:0 9:0 10:0 11:0 12:0 13:0
> mpdus_failed_su = 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 8:0 9:0 10:0 11:0 12:0 13: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-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4
>
> Signed-off-by: Dinesh Karthikeyan <quic_dinek at quicinc.com>
> Signed-off-by: Roopni Devanathan <quic_rdevanat at quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson at quicinc.com>
More information about the ath12k
mailing list