android_kernel_google_msm/net/mac80211
Stanislaw Gruszka 5a099d740f 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.

Cc: stable@vger.kernel.org # 2.6.39+
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-03 18:24:42 -06:00
..
aes_ccm.c
aes_ccm.h
aes_cmac.c
aes_cmac.h
agg-rx.c
agg-tx.c
cfg.c mac80211: fix FT roaming 2013-02-03 18:24:41 -06:00
cfg.h
chan.c
debugfs.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
debugfs.h simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
debugfs_key.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
debugfs_key.h
debugfs_netdev.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
debugfs_netdev.h
debugfs_sta.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
debugfs_sta.h
driver-ops.h
driver-trace.c
driver-trace.h
event.c
ht.c
ibss.c mac80211: fix ibss scanning 2013-01-17 08:51:03 -08:00
ieee80211_i.h mac80211: synchronize scan off/on-channel and PS states 2013-02-03 18:24:42 -06:00
iface.c mac80211: clean up remain-on-channel on interface stop 2012-06-17 11:21:25 -07:00
Kconfig
key.c
key.h
led.c
led.h
main.c
Makefile
mesh.c mac80211: cancel mesh path timer 2012-08-15 08:10:09 -07:00
mesh.h
mesh_hwmp.c
mesh_pathtbl.c
mesh_plink.c
michael.c
michael.h
mlme.c mac80211: clear bssid on auth/assoc failure 2012-10-02 10:30:07 -07:00
offchannel.c mac80211: synchronize scan off/on-channel and PS states 2013-02-03 18:24:42 -06:00
pm.c
rate.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
rate.h
rc80211_minstrel.c
rc80211_minstrel.h
rc80211_minstrel_debugfs.c
rc80211_minstrel_ht.c
rc80211_minstrel_ht.h
rc80211_minstrel_ht_debugfs.c
rc80211_pid.h
rc80211_pid_algo.c
rc80211_pid_debugfs.c
rx.c mac80211: make sure data is accessible in EAPOL check 2012-11-17 13:16:11 -08:00
scan.c mac80211: synchronize scan off/on-channel and PS states 2013-02-03 18:24:42 -06:00
spectmgmt.c
sta_info.c mac80211: use del_timer_sync for final sta cleanup timer deletion 2013-01-17 08:51:04 -08:00
sta_info.h
status.c mac80211: call skb_dequeue/ieee80211_free_txskb instead of __skb_queue_purge 2012-11-26 11:37:41 -08:00
tkip.c
tkip.h
tx.c mac80211: call skb_dequeue/ieee80211_free_txskb instead of __skb_queue_purge 2012-11-26 11:37:41 -08:00
util.c mac80211: don't send null data packet when not associated 2012-11-26 11:37:40 -08:00
wep.c
wep.h
wme.c
wme.h
work.c mac80211: synchronize scan off/on-channel and PS states 2013-02-03 18:24:42 -06:00
wpa.c mac80211: check if key has TKIP type before updating IV 2012-10-31 10:03:01 -07:00
wpa.h