[PATCH] wifi: ath12k: Support Pdev OBSS Stats
Jeff Johnson
quic_jjohnson at quicinc.com
Mon Sep 30 16:31:06 PDT 2024
On 9/19/2024 3:18 AM, Roopni Devanathan wrote:
> From: Dinesh Karthikeyan <quic_dinek at quicinc.com>
>
> Add support to request pdev OBSS stats from firmware through stats
> type 23. These stats give information about PPDUs transmitted or
> tried to be transmitted in Spatial Reuse Groups(SRG), Parameterized
> Spatial Reuse(PSR) and non-PSR groups.
>
> Sample output:
> -------------
> echo 23 > /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_OBSS_PD_STATS_TLV:
> num_spatial_reuse_tx = 0
> num_spatial_reuse_opportunities = 0
> num_non_srg_opportunities = 0
> num_non_srg_ppdu_tried = 0
> .....
>
> HTT_PDEV_OBSS_PD_PER_AC_STATS:
> Access Category 0 (best effort)
> num_non_srg_ppdu_tried = 0
> num_non_srg_ppdu_success = 0
> num_srg_ppdu_tried = 0
> num_srg_ppdu_success = 0
>
> Access Category 1 (background)
> num_non_srg_ppdu_tried = 0
> num_non_srg_ppdu_success = 0
> num_srg_ppdu_tried = 0
> num_srg_ppdu_success = 0
> .....
>
> Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.1.1-00214-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