aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorAnton Nayshtut <qca_antonn@qca.qualcomm.com>2014-11-16 15:28:53 (GMT)
committerJouni Malinen <j@w1.fi>2015-07-16 15:26:15 (GMT)
commitb36a3a65aa35dd40ffad12d90629e683d4ae7db8 (patch)
treec0ebf87d8624d6411d77290a4af94665d3c1bb84 /wpa_supplicant/events.c
parent55de4d4ba362efc27c983ef2e4f593bf21c874c1 (diff)
downloadhostap-b36a3a65aa35dd40ffad12d90629e683d4ae7db8.zip
hostap-b36a3a65aa35dd40ffad12d90629e683d4ae7db8.tar.gz
hostap-b36a3a65aa35dd40ffad12d90629e683d4ae7db8.tar.bz2
FST: Integration into wpa_supplicant
This commit integrates the FST into the wpa_supplicant. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/events.c')
-rw-r--r--wpa_supplicant/events.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index aa171ef..92abb25 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -2000,6 +2000,19 @@ static int wpa_supplicant_event_associnfo(struct wpa_supplicant *wpa_s,
if (wpa_found || rsn_found)
wpa_s->ap_ies_from_associnfo = 1;
+#ifdef CONFIG_FST
+ wpabuf_free(wpa_s->received_mb_ies);
+ wpa_s->received_mb_ies = NULL;
+ if (wpa_s->fst) {
+ struct mb_ies_info mb_ies;
+
+ wpa_printf(MSG_DEBUG, "Looking for MB IE");
+ if (!mb_ies_info_by_ies(&mb_ies, data->assoc_info.resp_ies,
+ data->assoc_info.resp_ies_len))
+ wpa_s->received_mb_ies = mb_ies_by_info(&mb_ies);
+ }
+#endif /* CONFIG_FST */
+
if (wpa_s->assoc_freq && data->assoc_info.freq &&
wpa_s->assoc_freq != data->assoc_info.freq) {
wpa_printf(MSG_DEBUG, "Operating frequency changed from "