linux/net/mac80211
Daniel Drake 8a69aa93d5 [MAC80211]: STA reassociation improvements
My cheapy D-Link AP behaves strangely w.r.t reassociations.

The following sequence of commands causes me to lose association and to be
unable to regain it:

	ifconfig eth8 down
	ifconfig eth8 up
	iwconfig eth8 essid <x>

This is because mac80211 tries to reassociate, rather than just associate.
My AP replies with an association response (not a reassociation response...)
denying the association with code 12: "Association denied due to reason
outside the scope of this standard"

mac80211 tries this reassociation another 4 times or so before finally giving
up.

I see 2 problems here:
 1. bringing the interface down and up again should be resetting interface state
    i.e. after the interface is brought down, it should have no memory of if or
         where it was previously associated
 2. after the first reassociation fails, mac80211 should fall back to
    standard association for the next attempt

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Jiri Benc <jbenc@suse.cz>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2007-10-10 16:47:37 -07:00
..
aes_ccm.c [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
aes_ccm.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
debugfs_key.c [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
debugfs_key.h [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
debugfs_netdev.c [PATCH] mac80211: use do { } while (0) for multi-line macros 2007-08-06 15:38:48 -04:00
debugfs_netdev.h [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
debugfs_sta.c [PATCH] mac80211: Fix sparse error for sta_last_seq_ctrl_read 2007-08-06 15:39:01 -04:00
debugfs_sta.h [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
debugfs.c [PATCH] mac80211: fix debugfs tx power reduction output 2007-06-11 17:47:48 -04:00
debugfs.h [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
hostapd_ioctl.h [PATCH] mac80211: kill PRISM2_PARAM_CLEAR_KEYS 2007-07-12 16:07:25 -04:00
ieee80211_cfg.c [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
ieee80211_cfg.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
ieee80211_common.h [PATCH] mac80211: remove ieee80211_set_aid_for_sta 2007-07-12 16:07:25 -04:00
ieee80211_i.h [MAC80211]: improve locking of sta_info related structures 2007-10-10 16:47:37 -07:00
ieee80211_iface.c [MAC80211]: improve locking of sta_info related structures 2007-10-10 16:47:37 -07:00
ieee80211_ioctl.c [PATCH] mac80211: don't allow scanning in monitor mode 2007-08-06 15:39:15 -04:00
ieee80211_key.h [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
ieee80211_led.c [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
ieee80211_led.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
ieee80211_rate.c [MAC80211]: move some rate control functions out of ieee80211.c 2007-10-10 16:47:35 -07:00
ieee80211_rate.h [MAC80211]: move some rate control functions out of ieee80211.c 2007-10-10 16:47:35 -07:00
ieee80211_sta.c [MAC80211]: STA reassociation improvements 2007-10-10 16:47:37 -07:00
ieee80211.c [MAC80211]: STA reassociation improvements 2007-10-10 16:47:37 -07:00
Kconfig [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
key.c [MAC80211]: split out some key functions from ieee80211.c 2007-10-10 16:47:34 -07:00
Makefile [MAC80211]: introduce util.c 2007-10-10 16:47:36 -07:00
michael.c [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
michael.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
rc80211_simple.c [PATCH] mac80211: fix initialisation when built-in 2007-09-25 22:55:45 -07:00
regdomain.c [PATCH] mac80211: regdomain.c needs to include ieee80211_i.h 2007-07-17 21:50:20 -04:00
rx.c [MAC80211]: rx cleanups (2) 2007-10-10 16:47:32 -07:00
sta_info.c [MAC80211]: improve locking of sta_info related structures 2007-10-10 16:47:37 -07:00
sta_info.h [MAC80211]: improve locking of sta_info related structures 2007-10-10 16:47:37 -07:00
tkip.c [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
tkip.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
tx.c [MAC80211]: improve locking of sta_info related structures 2007-10-10 16:47:37 -07:00
util.c [MAC80211]: introduce util.c 2007-10-10 16:47:36 -07:00
wep.c [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
wep.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
wme.c [MAC80211]: move QoS rx handlers into rx.c 2007-10-10 16:47:30 -07:00
wme.h [MAC80211]: move QoS rx handlers into rx.c 2007-10-10 16:47:30 -07:00
wpa.c [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
wpa.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00