aboutsummaryrefslogtreecommitdiffstats
path: root/src/rsn_supp/wpa.c
diff options
context:
space:
mode:
authorAhmad Masri <amasri@codeaurora.org>2018-04-16 10:52:27 (GMT)
committerJouni Malinen <j@w1.fi>2018-04-19 21:32:49 (GMT)
commit3dc3afe298f0b57540ccc78c11e5aeac95184875 (patch)
tree0f91502741a9d328ba0d6a74a654fe02022f546c /src/rsn_supp/wpa.c
parentb55c623e4c8af26f2eda29f1dc4b95783f875c17 (diff)
downloadhostap-3dc3afe298f0b57540ccc78c11e5aeac95184875.zip
hostap-3dc3afe298f0b57540ccc78c11e5aeac95184875.tar.gz
hostap-3dc3afe298f0b57540ccc78c11e5aeac95184875.tar.bz2
FT: Add MDE to assoc request IEs in connect params
Add MDE (mobility domain element) to Association Request frame IEs in the driver assoc params. wpa_supplicant will add MDE only if the network profile allows FT, the selected AP supports FT, and the mobility domain ID matches. Signed-off-by: Ahmad Masri <amasri@codeaurora.org>
Diffstat (limited to 'src/rsn_supp/wpa.c')
-rw-r--r--src/rsn_supp/wpa.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rsn_supp/wpa.c b/src/rsn_supp/wpa.c
index da01494..51b24f4 100644
--- a/src/rsn_supp/wpa.c
+++ b/src/rsn_supp/wpa.c
@@ -3297,6 +3297,12 @@ const u8 * wpa_sm_get_anonce(struct wpa_sm *sm)
#endif /* CONFIG_TESTING_OPTIONS */
+unsigned int wpa_sm_get_key_mgmt(struct wpa_sm *sm)
+{
+ return sm->key_mgmt;
+}
+
+
#ifdef CONFIG_FILS
struct wpabuf * fils_build_auth(struct wpa_sm *sm, int dh_group, const u8 *md)