[PATCH 2/6] wifi: ath12k: Support Latency Stats

Kalle Valo kvalo at kernel.org
Thu Dec 19 03:45:07 PST 2024


Roopni Devanathan <quic_rdevanat at quicinc.com> writes:

> From: Dinesh Karthikeyan <quic_dinek at quicinc.com>
>
> Add support to request latency stats from firmware through HTT stats
> type 25. These stats give information about count of transmitted and
> received MAC Protocol Data Units(PDU) and Service Data Units(SDU)

I don't if this is a cultural difference (like adding two spaces after a
dot) but I'm used to having a space before open parenthesis.

> and other latency stats.
>
> Sample output:
> -------------
> echo 25 > /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_STATS_LATENCY_CTX_TLV:
> duration = 0
> tx_msdu_cnt = 0
> tx_mpdu_cnt = 0
> rx_msdu_cnt = 0
> rx_mpdu_cnt = 0
>
> HTT_STATS_LATENCY_PROF_TLV:
> Latency name = PROF_SCH_ENQ_TQM_CMDS
> count = 0
> minimum = 4294967295
> maximum = 0
> .....
>
> HTT_STATS_LATENCY_CNT_TLV:
> prof_enable_cnt = 39
>
> 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: Kalle Valo <kvalo at kernel.org>

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



More information about the ath12k mailing list