wl12xx: don't regulate links when a single STA is connected
authorArik Nemtsov <arik@wizery.com>
Thu, 25 Aug 2011 09:43:15 +0000 (12:43 +0300)
committerLuciano Coelho <coelho@ti.com>
Wed, 14 Sep 2011 10:15:17 +0000 (13:15 +0300)
commitda03209eaca9302e110925f84a515e03062aaa9e
tree9e8b17cf8d2fc9899ff775a6598195f9ff0bf33f
parentc47e8229fa5622e4e3f2d6b8e847c4429696a275
wl12xx: don't regulate links when a single STA is connected

When operating as AP track the number of connected stations. When a
single STA is connected don't regulate the PS status of the link.
Since this is the only STA connected, there's no point holding space in
FW for other links. This will speed up communications with a single
connected STA in PSM.

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/wl12xx.h