FST: Integration into wpa_supplicant

This commit integrates the FST into the wpa_supplicant.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Anton Nayshtut 2014-11-16 17:28:53 +02:00 committed by Jouni Malinen
parent 55de4d4ba3
commit b36a3a65aa
7 changed files with 238 additions and 0 deletions

View file

@ -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 "