]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: stop tracking authenticated state
authorJohannes Berg <johannes.berg@intel.com>
Fri, 20 Jan 2012 12:55:25 +0000 (13:55 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Feb 2012 19:50:37 +0000 (14:50 -0500)
commit27d1020f53e536bc1f2bef0b120e2879a1a07100
tree8dc100ec6a5ee527a6e86b33e904f5f9d14181ab
parent2545d9cbc392c7bb092d20bd616244fa17b3320e
cfg80211: stop tracking authenticated state

To track authenticated state seems to have been
a design mistake in cfg80211. It is possible to
have out of band authentication (FT), tracking
multiple authentications caused more problems
than it ever helped, and the implementation in
mac80211 is too complex.

Remove all this complexity, and let userspace
do whatever it wants to, mac80211 can deal with
that just fine. Association is still tracked of
course, but authentication no longer is. Local
auth state changes are thus no longer of value,
so ignore them completely.

This will also help implement SAE -- asking the
driver to do an authentication is now almost
equivalent to sending an authentication frame,
with the exception of shared key authentication
which is still handled completely.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Documentation/DocBook/80211.tmpl
include/net/cfg80211.h
net/mac80211/mlme.c
net/wireless/core.h
net/wireless/mlme.c
net/wireless/nl80211.c
net/wireless/sme.c