[PATCH] ath10k: Fix tx hanging

Kalle Valo kvalo at kernel.org
Wed Dec 8 00:38:09 PST 2021


Sebastian Gottschall <s.gottschall at dd-wrt.com> wrote:

> While running stress tests in roaming scenarios (switching ap's every 5
> seconds, we discovered a issue which leads to tx hangings of exactly 5
> seconds while or after scanning for new accesspoints. We found out that
> this hanging is triggered by ath10k_mac_wait_tx_complete since the
> empty_tx_wq was not wake when the num_tx_pending counter reaches zero.
> To fix this, we simply move the wake_up call to htt_tx_dec_pending,
> since this call was missed on several locations within the ath10k code.
> 
> Signed-off-by: Sebastian Gottschall <s.gottschall at dd-wrt.com>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>

Patch applied to ath-next branch of ath.git, thanks.

e8a91863eba3 ath10k: Fix tx hanging

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20210505085806.11474-1-s.gottschall@dd-wrt.com/

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




More information about the ath10k mailing list