All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH ath9k-txq-work 1/2] ath9k: fix powersave wakeup
@ 2016-07-11 13:04 Felix Fietkau
  2016-07-11 13:04 ` [PATCH ath9k-txq-work 2/2] ath9k: call ieee80211_sta_set_buffered if frames are pending Felix Fietkau
  2016-07-11 13:52 ` [PATCH ath9k-txq-work 1/2] ath9k: fix powersave wakeup Toke Høiland-Jørgensen
  0 siblings, 2 replies; 4+ messages in thread
From: Felix Fietkau @ 2016-07-11 13:04 UTC (permalink / raw)
  To: toke; +Cc: linux-wireless

drv_wake_tx_queue will only call into the driver if there are frames
pending in the mac80211 queue. the driver needs to take care of its own
queued frames

Signed-off-by: Felix Fietkau <nbd@nbd.name>
---
 drivers/net/wireless/ath/ath9k/xmit.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c
index b0a6fd2..b3521c3 100644
--- a/drivers/net/wireless/ath/ath9k/xmit.c
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
@@ -1582,6 +1582,10 @@ void ath_tx_aggr_wakeup(struct ath_softc *sc, struct ath_node *an)
 
 		ath_txq_lock(sc, txq);
 		tid->clear_ps_filter = true;
+		if (ath_tid_has_buffered(tid)) {
+			ath_tx_queue_tid(sc, txq, tid);
+			ath_txq_schedule(sc, txq);
+		}
 		ath_txq_unlock_complete(sc, txq);
 	}
 }
-- 
2.8.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-07-11 13:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-11 13:04 [PATCH ath9k-txq-work 1/2] ath9k: fix powersave wakeup Felix Fietkau
2016-07-11 13:04 ` [PATCH ath9k-txq-work 2/2] ath9k: call ieee80211_sta_set_buffered if frames are pending Felix Fietkau
2016-07-11 13:52 ` [PATCH ath9k-txq-work 1/2] ath9k: fix powersave wakeup Toke Høiland-Jørgensen
2016-07-11 13:55   ` Felix Fietkau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.