Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c13a6a05 authored by Sujith Manoharan's avatar Sujith Manoharan Committed by John W. Linville
Browse files

ath9k: Use normal queues for offchannel frames



There is no reason why frames marked with
IEEE80211_TX_CTL_TX_OFFCHAN have to be sent using
the UAPSD queue. Since mac80211 makes sure that
RoC is done before pushing an offchannel frame
to the driver, we can use the normal TX queues
for transmission.

Signed-off-by: default avatarSujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent d7017461
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -2253,8 +2253,7 @@ int ath_tx_start(struct ieee80211_hw *hw, struct sk_buff *skb,
	if (txctl->an && queue)
	if (txctl->an && queue)
		tid = ath_get_skb_tid(sc, txctl->an, skb);
		tid = ath_get_skb_tid(sc, txctl->an, skb);


	if (info->flags & (IEEE80211_TX_CTL_PS_RESPONSE |
	if (info->flags & IEEE80211_TX_CTL_PS_RESPONSE) {
			   IEEE80211_TX_CTL_TX_OFFCHAN)) {
		ath_txq_unlock(sc, txq);
		ath_txq_unlock(sc, txq);
		txq = sc->tx.uapsdq;
		txq = sc->tx.uapsdq;
		ath_txq_lock(sc, txq);
		ath_txq_lock(sc, txq);