Skip to content

ath5: Add multiple queues / QoS support

Bruno Randolf linux-wireless 1 version In review

Get series with b4
b4 am 20100916095112.17637.17207.stgit@tt-desk

Versions newest first

  1. v1 Latest9 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9ath5k: Use four hardware queuesdrivers/net/wireless/ath/ath5k/base.c drivers/net/wireless/ath/ath5k/base.h+45 -70 replies
2/9ath5k: Fix queue debug filedrivers/net/wireless/ath/ath5k/debug.c+7 -20 replies
3/9ath5k: Fix TX queues stoppingdrivers/net/wireless/ath/ath5k/base.c+4 -50 replies
4/9ath5k: Move tx frame completion into separate functiondrivers/net/wireless/ath/ath5k/base.c+57 -500 replies
5/9ath5k: Add watchdog for stuck TX queuesdrivers/net/wireless/ath/ath5k/ath5k.h drivers/net/wireless/ath/ath5k/base.c drivers/net/wireless/ath/ath5k/base.h+56 -00 replies
6/9ath5k: Count how many times a queue got stuckdrivers/net/wireless/ath/ath5k/base.c drivers/net/wireless/ath/ath5k/base.h drivers/net/wireless/ath/ath5k/debug.c+5 -00 replies
7/9ath5k: Keep last descriptor in queuedrivers/net/wireless/ath/ath5k/base.c+32 -320 replies
8/9ath5k: Simplify cw_min/max and AIFS configurationdrivers/net/wireless/ath/ath5k/ath5k.h drivers/net/wireless/ath/ath5k/attach.c drivers/net/wireless/ath/ath5k/base.c +1 more+65 -650 replies
9/9ath5k: Add tx queue configuration functiondrivers/net/wireless/ath/ath5k/base.c+39 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] ath5: Add multiple queues / QoS support

The following series adds WME QoS for ath5k by using four hardware queues and adding the necessary callback function for mac80211 to configure the queue parameters.

It is based on my last series ("PATCH 0/8] ath: Move key cache functions to ath common") and Bobs reordered base.c ("ath5k: reorder base.c to remove fwd decls"). Please let me know if you have any merge issues and i'll resend the whole series.

Unfortunately, if we use multiple queues, the hardware can get stuck, and we don't know a better solution than resetting the hardware in this case. This is the same situation as in ath9k and i have copied the workaround from there.

bruno

---

Bruno Randolf (9):
ath5k: Use four hardware queues
ath5k: Fix queue debug file
ath5k: Fix TX queues stopping
ath5k: Move tx frame completion into separate function
ath5k: Add watchdog for stuck TX queues
ath5k: Count how many times a queue got stuck
ath5k: Keep last descriptor in queue
ath5k: Simplify cw_min/max and AIFS configuration
ath5k: Add tx queue configuration function

 drivers/net/wireless/ath/ath5k/ath5k.h  |   13 -
 drivers/net/wireless/ath/ath5k/attach.c |    2
 drivers/net/wireless/ath/ath5k/base.c   |  322 ++++++++++++++++++++++---------
 drivers/net/wireless/ath/ath5k/base.h   |    9 +
 drivers/net/wireless/ath/ath5k/debug.c  |   11 +
 drivers/net/wireless/ath/ath5k/qcu.c    |   99 +++++-----
 6 files changed, 302 insertions(+), 154 deletions(-)

--
Signature
~