On 9/30/2024 10:17 AM, Roopni Devanathan wrote: > From: Sidhanta Sahu <quic_sidhanta@xxxxxxxxxxx> > > 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@xxxxxxxxxxx> > Signed-off-by: Roopni Devanathan <quic_rdevanat@xxxxxxxxxxx> Acked-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>