Search Linux Wireless

Re: [PATCH 1/4] wifi: ath12k: Support Self-Generated Transmit stats

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

 



On 9/13/2024 1:29 AM, Roopni Devanathan wrote:
> From: Dinesh Karthikeyan <quic_dinek@xxxxxxxxxxx>
> 
> Add support to request transmit selfgen stats from firmware through HTT stats
> type 12. These stats give information about single user NDP packets, multi-
> user MIMO NDP packets, OFDMA triggers, etc.
> 
> Sample output:
> -------------
> echo 12 > /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_SELFGEN_CMN_STATS_TLV:
> mac_id = 0
> su_bar = 0
> rts = 0
> .....
> 
> HTT_TX_SELFGEN_AC_STATS_TLV:
> ac_su_ndpa_tried = 0
> ac_su_ndp_tried = 0
> ac_mu_mimo_ndpa_tried = 0
> .....
> 
> HTT_TX_SELFGEN_AX_STATS_TLV:
> ax_su_ndpa_tried = 0
> ax_su_ndp_tried = 0
> ax_mu_mimo_ndpa_tried = 0
> .....
> 
> HTT_TX_SELFGEN_BE_STATS_TLV:
> be_su_ndpa_queued = 0
> be_su_ndpa_tried = 0
> be_su_ndp_queued = 0
> .....
> 
> HTT_TX_SELFGEN_AC_ERR_STATS_TLV:
> ac_su_ndp_err = 0
> ac_su_ndpa_err = 0
> ac_mu_mimo_ndpa_err = 0
> .....
> 
> HTT_TX_SELFGEN_AX_ERR_STATS_TLV:
> ax_su_ndp_err = 0
> ax_su_ndpa_err = 0
> ax_mu_mimo_ndpa_err = 0
> .....
> 
> HTT_TX_SELFGEN_BE_ERR_STATS_TLV:
> be_su_ndp_err = 0
> be_su_ndp_flushed = 0
> be_su_ndpa_err = 0
> .....
> 
> HTT_TX_SELFGEN_AC_SCHED_STATUS_STATS_TLV:
> ac_su_ndpa_sch_status =  0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0
> ac_su_ndp_sch_status =  0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0
> ac_mu_mimo_ndpa_sch_status =  0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0
> .....
> 
> HTT_TX_SELFGEN_AX_SCHED_STATUS_STATS_TLV:
> ax_su_ndpa_sch_status =  0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0
> ax_su_ndp_sch_status =  0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0
> ax_mu_mimo_ndpa_sch_status =  0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0
> .....
> 
> HTT_TX_SELFGEN_BE_SCHED_STATUS_STATS_TLV:
> be_su_ndpa_sch_status =  0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0
> be_su_ndp_sch_status =  0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0
> be_mu_mimo_ndpa_sch_status =  0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6: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@xxxxxxxxxxx>
> Signed-off-by: Roopni Devanathan <quic_rdevanat@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