mbox series

[0/2] wifi: ath12k: Support pdev Rate, Scheduled Algorithm Stats

Message ID 20240930171705.596703-1-quic_rdevanat@quicinc.com
Headers show
Series wifi: ath12k: Support pdev Rate, Scheduled Algorithm Stats | expand

Message

Roopni Devanathan Sept. 30, 2024, 5:17 p.m. UTC
Add support to request HTT stats type 49 and 51 from firmware. These
stats give scheduled algorithm stats and BE OFDMA rate of pdev, respectively.

Depends-on:
[PATCH] wifi: ath12k: Modify print_array_to_buf() to support arrays with 1-based semantics
Link: https://lore.kernel.org/linux-wireless/20240730035154.3723773-1-quic_rdevanat@quicinc.com/

[PATCH 0/4] wifi: ath12k: Support Ring, SFM, Transmit MU, SelfGen stats, CCA stats
Link: https://lore.kernel.org/linux-wireless/20240913082949.573482-4-quic_rdevanat@quicinc.com/T/

[PATCH] wifi: ath12k: Support Pdev OBSS Stats
Link: https://lore.kernel.org/linux-wireless/20240919101812.941145-1-quic_rdevanat@quicinc.com/

[PATCH] wifi: ath12k: Support DMAC Reset Stats
Link: https://lore.kernel.org/linux-wireless/20240926051110.2477814-1-quic_rdevanat@quicinc.com/

Pradeep Kumar Chitrapu (1):
  wifi: ath12k: Support BE OFDMA Pdev Rate Stats

Sidhanta Sahu (1):
  wifi: ath12k: Support Pdev Scheduled Algorithm Stats

 .../wireless/ath/ath12k/debugfs_htt_stats.c   | 161 ++++++++++++++++++
 .../wireless/ath/ath12k/debugfs_htt_stats.h   |  59 +++++++
 2 files changed, 220 insertions(+)


base-commit: ced1f8bd64cda4e0c1df0890d1041cc6b18d5c77
prerequisite-patch-id: 970109034faa25a7630720c0da29c875e821f9ec
prerequisite-patch-id: 0bda913781a634c055869a033aa9b34d10825a20
prerequisite-patch-id: 4d37990775694f110ce3e87096231fe8855f09f5
prerequisite-patch-id: 121409543edef60c5f6144dd7ae3a615a78520f7
prerequisite-patch-id: ecac67f6fce1dd4d5089dbc3da840e311f6a7218
prerequisite-patch-id: 0537ae604d2617e42bef13bfb791aad4d11bf6e1
prerequisite-patch-id: da5a4e5cc3097994bfcba4b37680c90b0675ccf9

Comments

Jeff Johnson Oct. 2, 2024, 3:04 p.m. UTC | #1
On 9/30/2024 10:17 AM, Roopni Devanathan wrote:
> From: Sidhanta Sahu <quic_sidhanta@quicinc.com>
> 
> Add support to request scheduled algorithm stats from firmware
> through HTT stats type 49. These stats give information such
> as count of DLOFDMA enabled, disabled, probed and monitored
> based on rate and latency, consecutive number of MPDUs tried
> and succeeded, etc.
> 
> Note: WCN7850 firmware version -
> WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4
> does not support HTT stats type 49.
> 
> Sample output:
> -------------
> echo 49 > /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_SCHED_ALGO_TLV:
> mac_id = 0
> rate_based_dlofdma_enabled_count =  0:0, 1:0, 2:0, 3:0
> rate_based_dlofdma_disabled_count =  0:0, 1:0, 2:0, 3:0
> rate_based_dlofdma_probing_count =  0:0, 1:0, 2:0, 3:0
> rate_based_dlofdma_monitoring_count =  0:0, 1:0, 2:0, 3:0
> chan_acc_lat_based_dlofdma_enabled_count =  0:0, 1:0, 2:0, 3:0
> chan_acc_lat_based_dlofdma_disabled_count =  0:0, 1:0, 2:0, 3:0
> chan_acc_lat_based_dlofdma_monitoring_count =  0:0, 1:0, 2:0, 3:0
> downgrade_to_dl_su_ru_alloc_fail =  0:0, 1:0, 2:0, 3:0
> candidate_list_single_user_disable_ofdma =  0:0, 1:0, 2:0, 3:0
> dl_cand_list_dropped_high_ul_qos_weight =  0:0, 1:0, 2:0, 3:0
> ax_dlofdma_disabled_due_to_pipelining =  0:0, 1:0, 2:0, 3:0
> dlofdma_disabled_su_only_eligible =  0:0, 1:0, 2:0, 3:0
> dlofdma_disabled_consec_no_mpdus_tried =  0:0, 1:0, 2:0, 3:0
> dlofdma_disabled_consec_no_mpdus_success =  0:0, 1:0, 2:0, 3:0
> 
> Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.1.1-00214-QCAHKSWPL_SILICONZ-1
> 
> Signed-off-by: Sidhanta Sahu <quic_sidhanta@quicinc.com>
> Signed-off-by: Roopni Devanathan <quic_rdevanat@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>