cfg80211: allow changing port control protocol
authorJohannes Berg <johannes.berg@intel.com>
Fri, 27 Aug 2010 11:26:53 +0000 (14:26 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Aug 2010 17:27:07 +0000 (13:27 -0400)
commitc0692b8fe29fb4d4dad33487aabf3ed7e1e880c0
tree39c0c74c2270a285e1a0cfc7958ced7368cf28a6
parent3ffc2a905b1faae4c0fe39d66f0752c3a4cbb3c7
cfg80211: allow changing port control protocol

Some vendor specified mechanisms for 802.1X-style
functionality use a different protocol than EAP
(even if EAP is vendor-extensible). Allow setting
the ethertype for the protocol when a driver has
support for this. The default if unspecified is
EAP, of course.

Note: This is suitable only for station mode, not
      for AP implementation.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/nl80211.h
include/net/cfg80211.h
net/wireless/nl80211.c
net/wireless/wext-sme.c