Search Linux Wireless

Re: [PATCH] wifi: ath12k: Support transmit hardware queue stats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/23/2024 9:28 PM, Ramya Gnanasekar wrote:
> Add support to request firmware hardware stats through HTT
> stats and display the stats information in debugfs.
> 
> Sample Output:
> -------------
> echo 3 > /sys/kernel/debug/ath12k/pci-0000\:06\:00.0/mac0/htt_stats_reset
> cat /sys/kernel/debug/ath12k/pci-0000\:06\:00.0/mac0/htt_stats
> 
> HTT_TX_HWQ_STATS_CMN_TLV:
> mac_id = 0
> hwq_id = 0
> xretry = 0
> underrun_cnt = 42
> flush_cnt = 0
> filt_cnt = 0
> null_mpdu_bmap = 0
> user_ack_failure = 42
> ack_tlv_proc = 0
> sched_id_proc = 0
> null_mpdu_tx_count = 42
> mpdu_bmap_not_recvd = 0
> num_bar = 0
> rts = 0
> cts2self = 0
> qos_null = 0
> mpdu_tried_cnt = 0
> mpdu_queued_cnt = 42
> mpdu_ack_fail_cnt = 0
> mpdu_filt_cnt = 0
> false_mpdu_ack_count = 0
> txq_timeout = 0
> 
> HTT_TX_HWQ_CMD_RESULT_STATS_TLV:
> cmd_result =  0:42, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, 10:0, 11:0, 12:0
> 
> HTT_TX_HWQ_CMD_STALL_STATS_TLV:
> cmd_stall_status =  0:0, 1:0, 2:0, 3:0, 4:0
> 
> HTT_TX_HWQ_FES_RESULT_STATS_TLV:
> fes_result =  0:42, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0
> 
> HTT_TX_HWQ_STATS_CMN_TLV:
> mac_id = 0
> hwq_id = 1
> xretry = 0
> underrun_cnt = 0
> flush_cnt = 0
> filt_cnt = 0
> null_mpdu_bmap = 0
> user_ack_failure = 0
> ack_tlv_proc = 0
> sched_id_proc = 0
> null_mpdu_tx_count = 0
> mpdu_bmap_not_recvd = 0
> num_bar = 0
> rts = 0
> cts2self = 0
> qos_null = 0
> mpdu_tried_cnt = 0
> mpdu_queued_cnt = 0
> mpdu_ack_fail_cnt = 0
> mpdu_filt_cnt = 0
> false_mpdu_ack_count = 0
> txq_timeout = 0
> 
> .....
> .....
> 
> HTT_TX_HWQ_STATS_CMN_TLV:
> mac_id = 0
> hwq_id = 20
> xretry = 0
> underrun_cnt = 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: Dinesh Karthikeyan <quic_dinek@xxxxxxxxxxx>
> Signed-off-by: Ramya Gnanasekar <quic_rgnanase@xxxxxxxxxxx>
Acked-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux