Skip to content
Commit b719ebc3 authored by Alexander Wetzel's avatar Alexander Wetzel Committed by Kalle Valo
Browse files

wifi: ath10k: Serialize wake_tx_queue ops



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 bb2edb73 ("ath10k: migrate to mac80211 txq
scheduling") dropped.

Fixes: bb2edb73 ("ath10k: migrate to mac80211 txq scheduling")
Reported-by: default avatarFelix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/519b5bb9-8899-ae7c-4eff-f3116cdfdb56@nbd.name


CC: <stable@vger.kernel.org>
Signed-off-by: default avatarAlexander Wetzel <alexander@wetzel-home.de>
Signed-off-by: default avatarKalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230323165527.156414-1-alexander@wetzel-home.de
parent e995f3f6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment