diff options
author | Jouni Malinen <j@w1.fi> | 2012-09-30 12:29:40 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-10-17 05:02:12 -0400 |
commit | 6b8ece3a7031523a05a535761108775b1b67d272 (patch) | |
tree | 3eed867cf7205809de80b22f04ee08ccc5bbe9ea /net/mac80211/ieee80211_i.h | |
parent | e39e5b5e7206767a0f1be0e5cb7acbd0db87ae60 (diff) |
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/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index c06219fe9094..f17c41acb310 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -378,8 +378,9 @@ struct ieee80211_mgd_auth_data { | |||
378 | u8 key_len, key_idx; | 378 | u8 key_len, key_idx; |
379 | bool done; | 379 | bool done; |
380 | 380 | ||
381 | size_t ie_len; | 381 | u16 sae_trans, sae_status; |
382 | u8 ie[]; | 382 | size_t data_len; |
383 | u8 data[]; | ||
383 | }; | 384 | }; |
384 | 385 | ||
385 | struct ieee80211_mgd_assoc_data { | 386 | struct ieee80211_mgd_assoc_data { |