Felix Fietkau
2b4a669802
mac80211: make ieee80211_schedule_txq schedule empty TXQs
...
Currently there is no way for the driver to signal to mac80211 that it should
schedule a TXQ even if there are no packets on the mac80211 part of that queue.
This is problematic if the driver has an internal retry queue to deal with
software A-MPDU retry.
This patch changes the behavior of ieee80211_schedule_txq to always schedule
the queue, as its only user (ath9k) seems to expect such behavior already:
it calls this function on tx status and on powersave wakeup whenever its
internal retry queue is not empty.
Also add an extra argument to ieee80211_return_txq to get the same behavior.
This fixes an issue on ath9k where tx queues with packets to retry (and no
new packets in mac80211) would not get serviced.
Fixes: 89cea7493a ("ath9k: Switch to mac80211 TXQ scheduling and airtime APIs")
Signed-off-by: Felix Fietkau <nbd@nbd.name >
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com >
Signed-off-by: Johannes Berg <johannes.berg@intel.com >
2019-04-08 13:31:31 +02:00
..
2018-07-07 17:52:26 +02:00
2017-02-27 18:43:46 -08:00
2014-03-03 15:35:55 -05:00
2018-10-13 20:27:35 +03:00
2016-03-11 13:59:56 +02:00
2016-03-11 13:59:58 +02:00
2016-03-11 13:59:59 +02:00
2018-11-05 13:15:24 +02:00
2018-07-31 10:51:43 +03:00
2016-12-15 10:26:27 +02:00
2017-01-12 12:59:45 +02:00
2018-11-05 13:15:34 +02:00
2016-07-19 20:58:07 +03:00
2016-03-11 13:59:56 +02:00
2016-03-03 19:27:17 +02:00
2016-03-03 19:27:17 +02:00
2013-12-09 15:37:58 -05:00
2016-10-13 14:11:30 +03:00
2019-02-04 17:52:49 +02:00
2018-01-25 07:33:36 +02:00
2016-01-26 16:47:38 +02:00
2017-09-25 10:13:58 +03:00
2018-11-05 13:18:34 +02:00
2015-03-03 14:55:24 +02:00
2018-06-12 16:19:22 -07:00
2018-07-31 10:51:35 +03:00
2016-07-19 20:59:04 +03:00
2015-03-13 15:19:36 +02:00
2014-10-27 14:16:18 -04:00
2015-02-26 14:58:46 +02:00
2016-03-11 13:59:57 +02:00
2016-03-11 13:59:57 +02:00
2016-03-11 13:59:57 +02:00
2016-03-11 13:59:57 +02:00
2016-03-11 13:59:57 +02:00
2016-03-11 13:59:58 +02:00
2016-03-11 13:59:58 +02:00
2013-12-02 14:25:01 -05:00
2016-03-11 13:59:59 +02:00
2019-02-12 20:44:41 +02:00
2016-07-08 17:03:41 +03:00
2016-03-11 14:00:04 +02:00
2016-03-11 14:00:04 +02:00
2018-02-07 16:14:08 +02:00
2014-10-27 14:16:18 -04:00
2018-06-29 14:44:49 +03:00
2015-12-08 16:51:05 +02:00
2014-03-17 13:13:08 -04:00
2018-10-02 07:43:32 +03:00
2018-10-02 07:43:32 +03:00
2018-03-26 18:22:44 +03:00
2014-02-28 14:33:16 -05:00
2019-02-07 16:59:04 +02:00
2018-10-02 07:43:56 +03:00
2017-05-19 11:47:44 +03:00
2016-07-08 17:03:41 +03:00
2019-02-12 20:44:41 +02:00
2019-02-26 15:08:16 +02:00
2019-02-12 20:44:41 +02:00
2018-03-27 11:01:13 +03:00
2014-05-29 13:08:10 -04:00
2018-05-25 13:15:21 +03:00
2013-10-18 14:03:54 -04:00
2018-11-06 18:26:50 +02:00
2018-11-06 18:26:50 +02:00
2017-01-13 15:29:24 +02:00
2017-01-13 15:29:24 +02:00
2017-01-13 15:29:24 +02:00
2017-05-19 10:57:55 +03:00
2017-04-19 17:00:48 +03:00
2017-10-27 16:54:19 +03:00
2018-06-29 14:55:36 +03:00
2016-12-01 13:18:33 +02:00
2017-09-25 10:13:58 +03:00
2018-03-27 11:01:13 +03:00
2016-03-11 14:00:02 +02:00
2018-03-29 12:10:26 +03:00
2017-12-14 17:30:11 +02:00
2019-02-07 17:01:24 +02:00
2017-06-16 11:48:40 -04:00
2014-02-12 15:36:03 -05:00
2017-10-27 16:54:19 +03:00
2015-03-20 08:27:17 +02:00
2018-11-05 13:15:46 +02:00
2018-06-29 14:44:49 +03:00
2019-02-12 20:44:41 +02:00
2018-11-06 18:27:01 +02:00
2017-10-27 16:54:19 +03:00
2018-01-16 16:29:22 +02:00
2017-04-28 10:41:45 +02:00
2018-11-06 18:43:30 +02:00
2017-12-07 16:31:57 +02:00
2017-09-25 10:13:58 +03:00
2018-08-06 14:32:21 -05:00
2013-07-24 11:02:39 -04:00
2019-02-26 15:09:00 +02:00
2015-03-20 08:27:19 +02:00
2015-03-03 14:55:27 +02:00
2015-02-26 14:58:43 +02:00
2018-01-16 16:29:22 +02:00
2017-06-28 19:54:38 +03:00
2018-10-02 07:54:26 +03:00
2018-06-29 14:55:36 +03:00
2015-04-07 20:07:44 +03:00
2015-02-06 08:39:21 +02:00
2019-04-08 13:31:31 +02:00