Search Linux Wireless

Re: [PATCH 4/4] wifi: ath12k: Support pdev CCA 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 CCA stats for physical devices from firmware
> through HTT stats type 19. These stats give information about
> channel number, number of records, counters' bitmap, collection
> interval and different CCA counters.
> 
> Sample output:
> -------------
> echo 19 > /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_PDEV_CCA_STATS_HIST_TLV (1s):
> chan_num = 5955
> num_records = 10
> valid_cca_counters_bitmap = 0xff
> collection_interval = 1000
> 
> HTT_PDEV_STATS_CCA_COUNTERS_TLV:(in usec)
> tx_frame_usec = 0
> rx_frame_usec = 0
> rx_clear_usec = 999955
> my_rx_frame_usec = 0
> usec_cnt = 999955
> med_rx_idle_usec = 0
> med_tx_idle_global_usec = 0
> cca_obss_usec = 999955
> .....
> 
> 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