diff options
author | Sriram R <srirrama@codeaurora.org> | 2020-03-16 14:58:40 +0530 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-03-18 13:43:54 +0200 |
commit | 678e8414bf4eadd58dff8845b632d1cb30abc7f6 (patch) | |
tree | 3ca2067dc19c846700519cb1b1d81fd36fcbc629 /drivers/net/wireless/ath/ath11k/debug.h | |
parent | beb2f77297b0b7640e20ca2894104c87e21f5a47 (diff) | |
download | lwn-678e8414bf4eadd58dff8845b632d1cb30abc7f6.tar.gz lwn-678e8414bf4eadd58dff8845b632d1cb30abc7f6.zip |
ath11k: Supporting RX ring backpressure HTT event and stats handling
The Firmware sends HTT event to host whenever there is a
backpressure on RX rings, Handling such event and dumping
info on the console under the "ATH11K_DBG_DP_HTT" debug level.
Fetching RX ring backpressure histogram from FW via htt_stats debugfs.
#echo "24" > /sys/kernel/debug/ath11k/ipq8074/macX/htt_stats_type
#cat /sys/kernel/debug/ath11k/ipq8074/macX/htt_stats
Signed-off-by: Vikas Patel <vikpatel@codeaurora.org>
Signed-off-by: Sriram R <srirrama@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath11k/debug.h')
-rw-r--r-- | drivers/net/wireless/ath/ath11k/debug.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath11k/debug.h b/drivers/net/wireless/ath/ath11k/debug.h index 427d3ac5c909..97e7306c506d 100644 --- a/drivers/net/wireless/ath/ath11k/debug.h +++ b/drivers/net/wireless/ath/ath11k/debug.h @@ -53,6 +53,8 @@ enum ath11k_dbg_htt_ext_stats_type { ATH11K_DBG_HTT_EXT_STATS_TWT_SESSIONS = 20, ATH11K_DBG_HTT_EXT_STATS_REO_RESOURCE_STATS = 21, ATH11K_DBG_HTT_EXT_STATS_TX_SOUNDING_INFO = 22, + ATH11K_DBG_HTT_EXT_STATS_PDEV_OBSS_PD_STATS = 23, + ATH11K_DBG_HTT_EXT_STATS_RING_BACKPRESSURE_STATS = 24, /* keep this last */ ATH11K_DBG_HTT_NUM_EXT_STATS, |