aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/main.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-09-30 19:29:40 +0300
committerJohannes Berg <johannes.berg@intel.com>2012-10-17 11:02:12 +0200
commit6b8ece3a7031523a05a535761108775b1b67d272 (patch)
tree3eed867cf7205809de80b22f04ee08ccc5bbe9ea /net/mac80211/main.c
parentcfg80211: Allow user space to specify non-IEs to SAE Authentication (diff)
downloadlinux-dev-6b8ece3a7031523a05a535761108775b1b67d272.tar.xz
linux-dev-6b8ece3a7031523a05a535761108775b1b67d272.zip
mac80211: Allow station mode SAE to be implemented in user space
SAE uses two rounds of Authentication frames and both rounds require considerable calculation to be done. This commit extends the existing station mode authentication request to allow more control for user space programs to build the SAE fields and to run the authentication step ones. Only the second round with authentication transaction sequence 2 will result in moving to authenticated state. Signed-off-by: Jouni Malinen <j@w1.fi> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r--net/mac80211/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index 2c8969b67851..473b755b349f 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -599,6 +599,7 @@ struct ieee80211_hw *ieee80211_alloc_hw(size_t priv_data_len,
wiphy->flags |= WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL;
wiphy->features = NL80211_FEATURE_SK_TX_STATUS |
+ NL80211_FEATURE_SAE |
NL80211_FEATURE_HT_IBSS;
if (!ops->set_key)