mac80211: wait for beacon before enabling powersave
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 26 Jan 2010 13:19:52 +0000 (14:19 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 26 Jan 2010 16:53:21 +0000 (11:53 -0500)
Because DTIM information is required for powersave
but is only conveyed in beacons, wait for a beacon
before enabling powersave, and change the way the
information is conveyed to the driver accordingly.

mwl8k doesn't currently seem to implement PS but
requires the DTIM period in a different way; after
talking to Lennert we agreed to just have mwl8k do
the parsing itself in the finalize_join work.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found