wl12xx: Change TX queue to be per AC
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>
Mon, 13 Dec 2010 07:52:37 +0000 (09:52 +0200)
committerLuciano Coelho <luciano.coelho@nokia.com>
Wed, 15 Dec 2010 13:41:37 +0000 (15:41 +0200)
commit6742f554db14da94172da9eb1875a1aa944a827f
tree2c82e2a54f3184bb12ee78c72cdccbf1f469002b
parent17c1755c24d83f9fd0509b64c76cc43fc60cc642
wl12xx: Change TX queue to be per AC

With the current single-queue implementation traffic priorization is not
working correctly - when using multiple BE streams and one, say VI stream,
the VI stream will share bandwidth almost equally with the BE streams.

To fix the issue, implement per AC queues, which are emptied in priority
order to the firmware. To keep it relatively simple, maintain a global
buffer count and global queue stop/wake instead of per-AC.

With these changes, priorization appears to work just fine.

Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
drivers/net/wireless/wl12xx/debugfs.c
drivers/net/wireless/wl12xx/main.c
drivers/net/wireless/wl12xx/tx.c
drivers/net/wireless/wl12xx/wl12xx.h