wl12xx: use round-robin policy for tx
authorEliad Peller <eliad@wizery.com>
Mon, 10 Oct 2011 08:13:17 +0000 (10:13 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 11 Oct 2011 12:29:57 +0000 (15:29 +0300)
commite4120df982c2051f3cfc02f6278798c5166a72f8
treee3a9ddc2b7fed63e1b24881d67c7f08e87271586
parentf750c82045d8f5d0d6d59e517eb485ffbbe014b2
wl12xx: use round-robin policy for tx

Currently, a single vif might starve all the other vifs.
Save the last vif we dequeued a packet from, and continue
with the following one using a round-robin policy.

Signed-off-by: Eliad Peller <eliad@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/wl12xx.h