[PATCH] wifi: ath11k: support HTT extended receive rate debug stats

Kalle Valo kvalo at kernel.org
Tue Aug 6 00:48:02 PDT 2024


Karthik M <quic_karm at quicinc.com> wrote:

> ATH11K_DBG_HTT_EXT_STATS_PDEV_RX_RATE_EXT  =  30
> 
> HTT stats, HTT_RX_PDEV_RATE_EXT_STATS has the rx stats info of
> the extended 80MHz, mainly 80+80 and 160MHz modes.
> 
> Usage:
> echo 30 > /sys/kernel/debug/ieee80211/phyx/ath11k/htt_stats_type
> cat /sys/kernel/debug/ieee80211/phyx/ath11k/htt_stats
> 
> HTT_RX_PDEV_RATE_EXT_STATS_TLV:
> rssi_mcast = -70
> rssi_mgmt = 6
> rssi_chain_ext[0] =  0:128, 1:128, 2:128, 3:128,
> rssi_chain_ext[1] =  0:128, 1:128, 2:128, 3:128,
> rssi_chain_ext[2] =  0:128, 1:128, 2:128, 3:128,
> rssi_chain_ext[3] =  0:128, 1:128, 2:128, 3:128,
> rssi_chain_ext[4] =  0:128, 1:128, 2:128, 3:128,
> rssi_chain_ext[5] =  0:128, 1:128, 2:128, 3:128,
> rssi_chain_ext[6] =  0:128, 1:128, 2:128, 3:128,
> rssi_chain_ext[7] =  0:128, 1:128, 2:128, 3:128,
> 
> rx_per_chain_rssi_ext_in_dbm[0] =  0:0, 1:0, 2:0, 3:0,
> rx_per_chain_rssi_ext_in_dbm[1] =  0:0, 1:0, 2:0, 3:0,
> rx_per_chain_rssi_ext_in_dbm[2] =  0:0, 1:0, 2:0, 3:0,
> rx_per_chain_rssi_ext_in_dbm[3] =  0:0, 1:0, 2:0, 3:0,
> rx_per_chain_rssi_ext_in_dbm[4] =  0:-128, 1:-128, 2:-128, 3:-128,
> rx_per_chain_rssi_ext_in_dbm[5] =  0:-128, 1:-128, 2:-128, 3:-128,
> rx_per_chain_rssi_ext_in_dbm[6] =  0:-128, 1:-128, 2:-128, 3:-128,
> rx_per_chain_rssi_ext_in_dbm[7] =  0:-128, 1:-128, 2:-128, 3:-128,
> rx_mcs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:0, 11:0, 12:0, 13:0,
> rx_11ax_mu_txbf_mcs_ext =  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,
> rx_11ax_dl_ofdma_mcs_ext =  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,
> 
> Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.9.0.1-01184-QCAHKSWPL_SILICONZ-1
> 
> Signed-off-by: Sathishkumar Muruganandam <quic_murugana at quicinc.com>
> Signed-off-by: Karthik M <quic_karm at quicinc.com>

Dropping this, please rebase if still needed.

Patch set to Changes Requested.

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20230613071212.22180-1-quic_karm@quicinc.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




More information about the ath11k mailing list