cfg80211: support 4-way handshake offloading for 802.1X
authorAvraham Stern <avraham.stern@intel.com>
Fri, 9 Jun 2017 12:08:43 +0000 (13:08 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 13 Jun 2017 08:44:09 +0000 (10:44 +0200)
commit3a00df5707b6af715e78c26569800e0c2eb615fe
treefa4d6f08302a8a4eda8ebfc3854096e13fef23f4
parent91b5ab628929d97357108594610e7c07be93e2fd
cfg80211: support 4-way handshake offloading for 802.1X

Add API for setting the PMK to the driver. For FT support, allow
setting also the PMK-R0 Name.

This can be used by drivers that support 4-Way handshake offload
while IEEE802.1X authentication is managed by upper layers.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
[arend.vanspriel@broadcom.com: add WANT_1X_4WAY_HS attribute]
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
[reword NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X docs a bit to
say that the device may require it]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/ieee80211.h
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/core.c
net/wireless/nl80211.c
net/wireless/rdev-ops.h
net/wireless/trace.h