cfg80211: use reassociation when possible
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 7 Aug 2009 12:51:05 +0000 (14:51 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Aug 2009 13:13:43 +0000 (09:13 -0400)
commitf401a6f7ede753e56b84025e7d2db0d5ef560ce6
tree12b077096234ba0f990c637665d11e0afa608b17
parent59bbb6f7574bc693ed8313b98eac641116c95b94
cfg80211: use reassociation when possible

With the move of everything related to the SME from
mac80211 to cfg80211, we lost the ability to send
reassociation frames. This adds them back, but only
for wireless extensions. With the userspace SME, it
shall control assoc vs. reassoc (it already can do
so with the nl80211 interface).

I haven't touched the connect() implementation, so
it is not possible to reassociate with the nl80211
connect primitive. I think that should be done with
the NL80211_CMD_ROAM command, but we'll have to see
how that can be handled in the future, especially
with fullmac chips.

This patch addresses only the immediate regression
we had in mac80211, which previously sent reassoc.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/cfg80211.h
net/wireless/core.h
net/wireless/mlme.c
net/wireless/sme.c
net/wireless/wext-sme.c