ath11k: Supporting RX ring backpressure HTT event and stats handling
authorSriram R <srirrama@codeaurora.org>
Mon, 16 Mar 2020 09:28:40 +0000 (14:58 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 18 Mar 2020 11:43:54 +0000 (13:43 +0200)
commit678e8414bf4eadd58dff8845b632d1cb30abc7f6
tree3ca2067dc19c846700519cb1b1d81fd36fcbc629
parentbeb2f77297b0b7640e20ca2894104c87e21f5a47
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>
drivers/net/wireless/ath/ath11k/debug.h
drivers/net/wireless/ath/ath11k/debug_htt_stats.c
drivers/net/wireless/ath/ath11k/debug_htt_stats.h
drivers/net/wireless/ath/ath11k/dp.h
drivers/net/wireless/ath/ath11k/dp_rx.c