wl12xx: enable/disable BET with AUTO_PS/ACTIVE
authorEyal Shapira <eyal@wizery.com>
Tue, 31 Jan 2012 09:57:24 +0000 (11:57 +0200)
committerLuciano Coelho <coelho@ti.com>
Wed, 15 Feb 2012 06:38:32 +0000 (08:38 +0200)
commited471d3402b0fa77e52007c6f8d79b16c4194000
tree745295a238953effbda94f30790a0e90bc5c5178
parent248a0018f365c1fa51aa381e7b6f6e97eacf61ff
wl12xx: enable/disable BET with AUTO_PS/ACTIVE

While the FW with dynamic PS controls BET when going to PSM and back
internally within the FW, there's still a need to enable it from the driver
at least once (so enable on every entry to AUTO_PS)
and disable it once we explicitly go back to STATION_ACTIVE_MODE.
BET isn't relevant for 5GHz

Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/ps.c