]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/wireless/nl80211.c
nl80211: Add IEEE 802.1X PAE control for station mode
authorJouni Malinen <jouni.malinen@atheros.com>
Mon, 11 May 2009 18:57:57 +0000 (21:57 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 13 May 2009 19:44:37 +0000 (15:44 -0400)
commit3f77316c6b99f596bfbf72c0542f47f7230b702e
treed9c8634e62917687c9a2741fdd72dd2c19c04727
parenteccb8e8f0c3af47aeb6dbe4012eb8d4fc888767a
nl80211: Add IEEE 802.1X PAE control for station mode

Add a new NL80211_ATTR_CONTROL_PORT flag for NL80211_CMD_ASSOCIATE to
allow user space to indicate that it will control the IEEE 802.1X port
in station mode. Previously, mac80211 was always marking the port
authorized in station mode. This was enough when drop_unencrypted flag
was set. However, drop_unencrypted can currently be controlled only
with WEXT and the current nl80211 design does not allow fully secure
configuration. Fix this by providing a mechanism for user space to
control the IEEE 802.1X port in station mode (i.e., do the same that
we are already doing in AP mode).

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/nl80211.h
include/net/cfg80211.h
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/wext.c
net/wireless/nl80211.c