Roopni Devanathan <quic_rdevanat@xxxxxxxxxxx> writes: > From: Pradeep Kumar Chitrapu <quic_pradeepc@xxxxxxxxxxx> > > Add support to request transmit rate buffer stats from firmware through > HTT stats type 31. These stats give information such as MCS, NSS and > bandwidth of transmit and input buffer. > > Sample output: > ------------- > echo 31 > /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_STATS_PDEV_TX_RATE_TXBF_STATS: > Legacy OFDM Rates: 6 Mbps: 0, 9 Mbps: 0, 12 Mbps: 0, 18 Mbps: 0 > 24 Mbps: 0, 36 Mbps: 0, 48 Mbps: 0, 54 Mbps: 0 > tx_ol_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 > tx_ibf_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 > tx_txbf_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 > tx_ol_nss = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0 > tx_ibf_nss = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0 > tx_txbf_nss = 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0 > tx_ol_bw = 0:0, 1:0, 2:0, 3:0, 4:0 > half_tx_ol_bw = 0:0, 1:0, 2:0, 3:0, 4:0 > quarter_tx_ol_bw = 0:0, 1:0, 2:0, 3:0, 4:0 > tx_ibf_bw = 0:0, 1:0, 2:0, 3:0, 4:0 > half_tx_ibf_bw = 0:0, 1:0, 2:0, 3:0, 4:0 > quarter_tx_ibf_bw = 0:0, 1:0, 2:0, 3:0, 4:0 > tx_txbf_bw = 0:0, 1:0, 2:0, 3:0, 4:0 > half_tx_txbf_bw = 0:0, 1:0, 2:0, 3:0, 4:0 > quarter_tx_txbf_bw = 0:0, 1:0, 2:0, 3:0, 4:0 > > HTT_STATS_PDEV_TXBF_FLAG_RETURN_STATS: > TXBF_reason_code_stats: 0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7: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.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 > > Signed-off-by: Pradeep Kumar Chitrapu <quic_pradeepc@xxxxxxxxxxx> > Signed-off-by: Roopni Devanathan <quic_rdevanat@xxxxxxxxxxx> Acked-by: Kalle Valo <kvalo@xxxxxxxxxx> -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches