wl12xx: implement Tx watermarks per AC
authorArik Nemtsov <arik@wizery.com>
Fri, 24 Jun 2011 10:03:37 +0000 (13:03 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jul 2011 18:33:44 +0000 (21:33 +0300)
commit708bb3cf58a9bc90f3171ba64f30601f690e5aaa
treebb64ac4a73af18a37e0290bf9a8642e0ed5d43fd
parent787b2dc44aa1ae2524f022659c6c6b2d3c979e04
wl12xx: implement Tx watermarks per AC

Each AC is stopped when its queue is filled up to the high watermark,
and restarted when its queue it lower than the low watermark. This
ensures congested ACs are not able to starve other ACs.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c
drivers/net/wireless/wl12xx/tx.c
drivers/net/wireless/wl12xx/tx.h
drivers/net/wireless/wl12xx/wl12xx.h