diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2014-09-24 02:18:15 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-09-26 17:11:08 -0400 |
commit | c13a6a0535ec0338e804958e5353c8ff772838d2 (patch) | |
tree | 75932f5e1c27c7cc37a3c29af481bec19c8639ef /drivers/net/wireless/ath/ath9k/xmit.c | |
parent | d7017461fa4ce9a59104866a6c382eeca439560a (diff) |
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: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/xmit.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/xmit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c index 2c8327f308c9..00931b6f6304 100644 --- a/drivers/net/wireless/ath/ath9k/xmit.c +++ b/drivers/net/wireless/ath/ath9k/xmit.c | |||
@@ -2253,8 +2253,7 @@ int ath_tx_start(struct ieee80211_hw *hw, struct sk_buff *skb, | |||
2253 | if (txctl->an && queue) | 2253 | if (txctl->an && queue) |
2254 | tid = ath_get_skb_tid(sc, txctl->an, skb); | 2254 | tid = ath_get_skb_tid(sc, txctl->an, skb); |
2255 | 2255 | ||
2256 | if (info->flags & (IEEE80211_TX_CTL_PS_RESPONSE | | 2256 | if (info->flags & IEEE80211_TX_CTL_PS_RESPONSE) { |
2257 | IEEE80211_TX_CTL_TX_OFFCHAN)) { | ||
2258 | ath_txq_unlock(sc, txq); | 2257 | ath_txq_unlock(sc, txq); |
2259 | txq = sc->tx.uapsdq; | 2258 | txq = sc->tx.uapsdq; |
2260 | ath_txq_lock(sc, txq); | 2259 | ath_txq_lock(sc, txq); |