Files
linux/net/mac80211
Stanislaw Gruszka 55f40ea954 mac80211: synchronize scan off/on-channel and PS states
commit aacde9ee45 upstream.

Since:

commit b23b025fe2
Author: Ben Greear <greearb@candelatech.com>
Date:   Fri Feb 4 11:54:17 2011 -0800

    mac80211: Optimize scans on current operating channel.

we do not disable PS while going back to operational channel (on
ieee80211_scan_state_suspend) and deffer that until scan finish.
But since we are allowed to send frames, we can send a frame to AP
without PM bit set, so disable PS on AP side. Then when we switch
to off-channel (in ieee80211_scan_state_resume) we do not enable PS.
Hence we are off-channel with PS disabled, frames are not buffered
by AP.

To fix remove offchannel_ps_disable argument and always enable PS when
going off-channel and disable it when going on-channel, like it was
before.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Tested-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: CAI Qian <caiqian@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-14 10:47:33 -08:00
..
2011-05-16 14:10:41 -04:00
2009-07-10 15:01:49 -04:00
2011-05-16 14:10:41 -04:00
2011-05-16 14:10:41 -04:00
2011-01-05 16:07:12 -05:00
2012-02-29 16:33:40 -08:00
2011-05-16 14:10:41 -04:00
2012-08-15 12:04:11 -07:00
2011-05-05 14:59:20 -04:00
2011-03-31 11:26:23 -03:00
2010-12-22 15:44:22 -05:00
2010-01-05 16:21:40 -05:00