[PATCH v2] ath11k: Increment pending_mgmt_tx count before tx send invoke

Kalle Valo kvalo at codeaurora.org
Mon Nov 15 01:26:02 PST 2021


P Praneesh <quic_ppranees at quicinc.com> wrote:

> There is a race condition whereby the tx completion handler can be invoked
> before the 'num_pending_mgmt_tx" count is incremented. If that occurs, we
> could get warning trace indicating that 'num_pending_mgmt_tx' is 0 (because
> it was not yet incremented). Ideally, this trace should be seen only if
> mgmt tx has not happened but tx completion is received, and it is not
> expected in this race condition.
> 
> Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.4.0.1-01386-QCAHKSWPL_SILICONZ-1
> 
> Co-developed-by: Lavanya Suresh <lavaks at codeaurora.org>
> Signed-off-by: Lavanya Suresh <lavaks at codeaurora.org>
> Signed-off-by: P Praneesh <quic_ppranees at quicinc.com>
> Signed-off-by: Kalle Valo <kvalo at codeaurora.org>

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

c0b0d2e87d91 ath11k: Increment pending_mgmt_tx count before tx send invoke

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/1635168282-8845-1-git-send-email-quic_ppranees@quicinc.com/

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




More information about the ath11k mailing list