Message ID | 20241217095216.1543923-1-quic_rdevanat@quicinc.com |
---|---|
Headers | show |
Series | wifi: ath12k: Support Sounding, Latency, Trigger, FSE stats | expand |
Roopni Devanathan <quic_rdevanat@quicinc.com> writes: > From: Dinesh Karthikeyan <quic_dinek@quicinc.com> > > Add support to request sounding stats from firmware through HTT stats > type 22. These stats give sounding information of different Wi-Fi > standards, channel vector upload status and correlation details. > > Sample output: > ------------- > echo 22 > /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_AC_SOUNDING_STATS_TLV: > ac_cbf_20 = IBF: 0, SU_SIFS: 0, SU_RBO: 0, MU_SIFS: 0, MU_RBO: 0 > ac_cbf_40 = IBF: 0, SU_SIFS: 0, SU_RBO: 0, MU_SIFS: 0, MU_RBO: 0 > ..... > Sounding User_0 = 20MHz: 0, 40MHz: 0, 80MHz: 0, 160MHz: 0 > Sounding User_1 = 20MHz: 0, 40MHz: 0, 80MHz: 0, 160MHz: 0 > ..... > > HTT_TX_AX_SOUNDING_STATS_TLV: > ax_cbf_20 = IBF: 0, SU_SIFS: 0, SU_RBO: 0, MU_SIFS: 0, MU_RBO: 0 > ax_cbf_40 = IBF: 0, SU_SIFS: 0, SU_RBO: 0, MU_SIFS: 0, MU_RBO: 0 > ..... > Sounding User_0 = 20MHz: 0, 40MHz: 0, 80MHz: 0, 160MHz: 0 > Sounding User_1 = 20MHz: 0, 40MHz: 0, 80MHz: 0, 160MHz: 0 > ..... > > HTT_TX_BE_SOUNDING_STATS_TLV: > be_cbf_20 = IBF: 0, SU_SIFS: 0, SU_RBO: 0, MU_SIFS: 0, MU_RBO: 0 > be_cbf_40 = IBF: 0, SU_SIFS: 0, SU_RBO: 0, MU_SIFS: 0, MU_RBO: 0 > ..... > Sounding User_0 = 20MHz: 0, 40MHz: 0, 80MHz: 0, 160MHz: 0, 320MHz: 0 > Sounding User_1 = 20MHz: 0, 40MHz: 0, 80MHz: 0, 160MHz: 0, 320MHz: 0 > ..... > > CV UPLOAD HANDLER STATS: > cv_nc_mismatch_err = 0 > cv_fcs_err = 0 > cv_frag_idx_mismatch = 0 > cv_invalid_peer_id = 0 > ..... > > CV QUERY STATS: > cv_total_query = 0 > cv_total_pattern_query = 0 > cv_total_bw_query = 0 > cv_invalid_bw_coding = 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@quicinc.com> > Signed-off-by: Roopni Devanathan <quic_rdevanat@quicinc.com> Acked-by: Kalle Valo <kvalo@kernel.org>
Roopni Devanathan <quic_rdevanat@quicinc.com> writes: > From: Dinesh Karthikeyan <quic_dinek@quicinc.com> > > Add support to request uplink trigger stats from firmware through > HTT stats type 26. These stats give information about uplink > OFDMA bandwidth, received RSSI, power headroom, QoS, data size, > PPDU info and pass/fail info for each user. > > Note: MCC firmware version > WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4 > does not support tags HTT_STATS_RX_PDEV_UL_TRIG_STATS_TAG(94) and > HTT_STATS_RX_PDEV_UL_OFDMA_USER_STATS_TAG(95), currently. > > Sample output: > ------------- > echo 26 > /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_RX_PDEV_UL_TRIGGER_STATS_TLV: > mac_id = 0 > rx_11ax_ul_ofdma = 0 > ul_ofdma_rx_mcs = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, 10:0, 11:0 > ul_ofdma_rx_gi[0] = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, 10:0, 11:0 > ul_ofdma_rx_gi[1] = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, 10:0, 11:0 > ul_ofdma_rx_gi[2] = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, 10:0, 11:0 > ul_ofdma_rx_gi[3] = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, 10:0, 11:0 > ul_ofdma_rx_nss = 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0 > ul_ofdma_rx_bw = 0:0, 1:0, 2:0, 3:0 > half_ul_ofdma_rx_bw = 0:0, 1:0, 2:0, 3:0 > quarter_ul_ofdma_rx_bw = 0:0, 1:0, 2:0, 3:0 > ..... > > HTT_RX_PDEV_UL_OFDMA_USER_STAS_TLV: > rx_ulofdma_non_data_ppdu_0 = 0 > rx_ulofdma_data_ppdu_0 = 0 > rx_ulofdma_mpdu_ok_0 = 0 > rx_ulofdma_mpdu_fail_0 = 0 > rx_ulofdma_non_data_nusers_0 = 0 > rx_ulofdma_data_nusers_0 = 0 > ..... > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Dinesh Karthikeyan <quic_dinek@quicinc.com> > Signed-off-by: Roopni Devanathan <quic_rdevanat@quicinc.com> Acked-by: Kalle Valo <kvalo@kernel.org>
Roopni Devanathan <quic_rdevanat@quicinc.com> writes: > From: Dinesh Karthikeyan <quic_dinek@quicinc.com> > > Add support to request uplink MUMIMO trigger stats from firmware > through HTT stats type 27. These stats give information about > bandwidth, RSSI of signal received, dB mean of pilots received, > etc., of all users. > > Note: MCC firmware version WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4 > does not support tags HTT_STATS_RX_PDEV_UL_TRIG_STATS_TAG(94) and > HTT_STATS_RX_PDEV_UL_OFDMA_USER_STATS_TAG(95), currently. > > Sample output: > ------------- > echo 27 > /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_RX_PDEV_UL_MUMIMO_TRIG_STATS_TLV: > mac_id = 0 > rx_11ax_ul_mumimo = 0 > ul_mumimo_rx_mcs = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, 10:0, 11:0, 12:0, 13:0 > ul_mumimo_rx_gi_0 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, 10:0, 11:0, 12:0, 13:0 > ul_mumimo_rx_gi_1 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, 10:0, 11:0, 12:0, 13:0 > ..... > ul_mumimo_rx_nss = 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0 > ul_mumimo_rx_bw = 0:0, 1:0, 2:0, 3:0 > half_ul_mumimo_rx_bw = 0:0, 1:0, 2:0, 3:0 > quarter_ul_mumimo_rx_bw = 0:0, 1:0, 2:0, 3:0 > ul_mumimo_rx_stbc = 0 > ul_mumimo_rx_ldpc = 0 > rx_ul_mumimo_rssi_in_dbm: chain0 = 0:6, 1:0, 2:0, 3:0 > rx_ul_mumimo_rssi_in_dbm: chain1 = 0:0, 1:0, 2:0, 3:0 > ..... > rx_ul_mumimo_target_rssi: user_0 = 0:-128, 1:-128, 2:-128, 3:-128 > rx_ul_mumimo_target_rssi: user_1 = 0:-128, 1:-128, 2:-128, 3:-128 > ..... > rx_ul_mumimo_fd_rssi: user_0 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0 > rx_ul_mumimo_fd_rssi: user_1 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0 > ..... > rx_ulmumimo_pilot_evm_db_mean: user_0 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0 > rx_ulmumimo_pilot_evm_db_mean: user_1 = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0 > ..... > ul_mumimo_basic_trigger_rx_qos_null_only = 0 > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Dinesh Karthikeyan <quic_dinek@quicinc.com> > Signed-off-by: Roopni Devanathan <quic_rdevanat@quicinc.com> Acked-by: Kalle Valo <kvalo@kernel.org>