ath10k: Enable a HTC debug message during insufficient tx credits
PATCH 1/1 ath10k: Enable a HTC debug message during insufficient tx credits
From: Mohammed Shafi Shajakhan <[email protected]>
Add an ath10k HTC debug message when insufficient tx credits are available to send the WMI commands. This is very useful in debugging issues like 'tx credit starvation' that could possibly happen with multiclient setup with constant roaming
--- drivers/net/wireless/ath/ath10k/htc.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/net/wireless/ath/ath10k/htc.c +3 -0
@@ -119,6 +119,9 @@ int ath10k_htc_send(struct ath10k_htc *htc, credits =DIV_ROUND_UP (skb->len, htc->target_credit_size);spin_lock_bh (&htc->tx_lock);if (ep->tx_credits < credits) { +ath10k_dbg (ar,ATH10K_DBG_HTC , +"htc insufficient credits ep %d required %d available %d\n" , + eid, credits, ep->tx_credits);spin_unlock_bh (&htc->tx_lock); ret = -EAGAIN ; goto err_pull;
Signature · 1 line
1.9.1
Quoted 8 lines · Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan <[email protected]>
Add an ath10k HTC debug message when insufficient tx credits are available to send the WMI commands. This is very useful in debugging issues like 'tx credit starvation' that could possibly happen with multiclient setup with constant roaming
Signed-off-by Mohammed Shafi Shajakhan <[email protected]>
Patch applied to ath-next branch of ath.git, thanks.
03e463a4197a ath10k: enable a HTC debug message during insufficient tx credits
Signature · 6 lines
https://patchwork.kernel.org/patch/9656099/ Documentation about submitting wireless patches and checking status from patchwork: https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches