提交 3a73d1a6 编写于 作者: M Michal Kazior 提交者: Kalle Valo

ath10k: wake up offchannel queue properly

Once HTT Tx queue got full offchannel queue was
stopped and never woken up again. This broke, e.g.
P2P. This could be reproduced after running a lot
of traffic enough to saturate 100% of the driver
Tx queue and then trying to send offchannel
traffic.

Fixes: 96d828d4 ("ath10k: rework tx queue locking")
Signed-off-by: NMichal Kazior <michal.kazior@tieto.com>
Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
上级 94e92a7b
...@@ -2999,6 +2999,8 @@ void ath10k_mac_tx_unlock(struct ath10k *ar, int reason) ...@@ -2999,6 +2999,8 @@ void ath10k_mac_tx_unlock(struct ath10k *ar, int reason)
IEEE80211_IFACE_ITER_RESUME_ALL, IEEE80211_IFACE_ITER_RESUME_ALL,
ath10k_mac_tx_unlock_iter, ath10k_mac_tx_unlock_iter,
ar); ar);
ieee80211_wake_queue(ar->hw, ar->hw->offchannel_tx_hw_queue);
} }
void ath10k_mac_vif_tx_lock(struct ath10k_vif *arvif, int reason) void ath10k_mac_vif_tx_lock(struct ath10k_vif *arvif, int reason)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册