[PATCH] wifi: ath10k: Serialize wake_tx_queue ops

Kalle Valo kvalo at kernel.org
Fri May 5 06:01:34 PDT 2023


Alexander Wetzel <alexander at wetzel-home.de> wrote:

> Serialize the ath10k implementation of the wake_tx_queue ops.
> ath10k_mac_op_wake_tx_queue() must not run concurrent since it's using
> ieee80211_txq_schedule_start().
> 
> The intend of this patch is to sort out an issue discovered in the discussion
> referred to by the Link tag.
> 
> I can't test it with real hardware and thus just implemented the per-ac queue
> lock Felix suggested. One obvious alternative to the per-ac lock would be to
> bring back the txqs_lock commit bb2edb733586 ("ath10k: migrate to mac80211 txq
> scheduling") dropped.
> 
> Fixes: bb2edb733586 ("ath10k: migrate to mac80211 txq scheduling")
> Reported-by: Felix Fietkau <nbd at nbd.name>
> Link: https://lore.kernel.org/r/519b5bb9-8899-ae7c-4eff-f3116cdfdb56@nbd.name
> CC: <stable at vger.kernel.org>
> Signed-off-by: Alexander Wetzel <alexander at wetzel-home.de>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>

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

b719ebc37a1e wifi: ath10k: Serialize wake_tx_queue ops

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20230323165527.156414-1-alexander@wetzel-home.de/

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




More information about the ath10k mailing list