wl12xx: schedule TX packets according to FW occupancy
authorArik Nemtsov <arik@wizery.com>
Fri, 24 Jun 2011 10:03:35 +0000 (13:03 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jul 2011 18:33:44 +0000 (21:33 +0300)
commit9e374a37b6fa2310b71d3c5657cd0c1e693120c6
treed886df79f362a6ad6be9d4d07a0728ed48d3e653
parentfae2fd767e9d380ed0d05e4a5d6b1673e2c2d3df
wl12xx: schedule TX packets according to FW occupancy

When selecting packets for transmission, prefer the ACs that are least
occupied in the FW. When packets for multiple ACs are present in the FW,
it decides which to transmit according to WMM QoS parameters.

With these changes, lower priority ACs should not be starved when higher
priority traffic is present.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.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