linux/net/mac80211
Johannes Berg 95acac61ba mac80211: allow driver to disconnect after resume
In WoWLAN, devices may use crypto keys for TX/RX
and could also implement GTK rekeying. If the
driver isn't able to retrieve replay counters and
similar information from the device upon resume,
or if the device isn't responsive due to platform
issues, it isn't safe to keep the connection up
as GTK rekey messages from during the sleep time
could be replayed against it.

The only protection against that is disconnecting
from the AP. Modifying mac80211 to do that while
it is resuming would be very complex and invasive
in the case that the driver requires a reconfig,
so do it after it has resumed completely. In that
case, however, packets might be replayed since it
can then only happen after TX/RX are up again, so
mark keys for interfaces that need to disconnect
as "tainted" and drop all packets that are sent
or received with those keys.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-07-13 14:49:43 -04:00
..
aes_ccm.c mac80211: use AES_BLOCK_SIZE 2011-07-08 11:11:24 -04:00
aes_ccm.h mac80211: use AES_BLOCK_SIZE 2011-07-08 11:11:24 -04:00
aes_cmac.c mac80211: use AES_BLOCK_SIZE 2011-07-08 11:11:24 -04:00
aes_cmac.h mac80211: fix CMAC races 2011-07-08 11:11:20 -04:00
agg-rx.c
agg-tx.c
cfg.c mac80211: fix CMAC races 2011-07-08 11:11:20 -04:00
cfg.h
chan.c
debugfs.c
debugfs.h
debugfs_key.c mac80211: fix CMAC races 2011-07-08 11:11:20 -04:00
debugfs_key.h
debugfs_netdev.c
debugfs_netdev.h
debugfs_sta.c
debugfs_sta.h
driver-ops.h mac80211: add driver RSSI threshold events 2011-07-11 15:02:06 -04:00
driver-trace.c
driver-trace.h mac80211: add driver RSSI threshold events 2011-07-11 15:02:06 -04:00
event.c
ht.c
ibss.c
ieee80211_i.h mac80211: allow driver to disconnect after resume 2011-07-13 14:49:43 -04:00
iface.c mac80211: remove a redundant check 2011-07-13 14:49:42 -04:00
Kconfig
key.c mac80211: allow drivers to access key sequence counter 2011-07-08 11:42:22 -04:00
key.h mac80211: allow driver to disconnect after resume 2011-07-13 14:49:43 -04:00
led.c
led.h
main.c
Makefile
mesh.c
mesh.h
mesh_hwmp.c
mesh_pathtbl.c mac80211: fix smatch complains 2011-07-05 15:26:53 -04:00
mesh_plink.c
michael.c
michael.h
mlme.c mac80211: allow driver to disconnect after resume 2011-07-13 14:49:43 -04:00
offchannel.c
pm.c mac80211: allow driver to impose WoWLAN restrictions 2011-07-05 15:26:56 -04:00
rate.c
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: allow driver to disconnect after resume 2011-07-13 14:49:43 -04:00
scan.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2011-07-11 14:46:59 -04:00
spectmgmt.c
sta_info.c
sta_info.h mac80211: simplify RX PN/IV handling 2011-07-08 11:42:21 -04:00
status.c
tkip.c mac80211: allow driver to generate P1K for IV32 2011-07-08 11:42:23 -04:00
tkip.h mac80211: fix TKIP races, make API easier to use 2011-07-08 11:11:19 -04:00
tx.c mac80211: allow driver to disconnect after resume 2011-07-13 14:49:43 -04:00
util.c mac80211: allow driver to disconnect after resume 2011-07-13 14:49:43 -04:00
wep.c
wep.h
wme.c
wme.h
work.c
wpa.c mac80211: simplify RX PN/IV handling 2011-07-08 11:42:21 -04:00
wpa.h