mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 10:18:21 -05:00
FILS: Allow wpa_supplicant to select FILS AKM for connection
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
7147a834df
commit
b8ae56e4d0
@ -1233,6 +1233,22 @@ int wpa_supplicant_set_suites(struct wpa_supplicant *wpa_s,
|
||||
wpa_dbg(wpa_s, MSG_DEBUG,
|
||||
"WPA: using KEY_MGMT 802.1X with Suite B");
|
||||
#endif /* CONFIG_SUITEB */
|
||||
#ifdef CONFIG_FILS
|
||||
#ifdef CONFIG_IEEE80211R
|
||||
} else if (sel & WPA_KEY_MGMT_FT_FILS_SHA384) {
|
||||
wpa_s->key_mgmt = WPA_KEY_MGMT_FT_FILS_SHA384;
|
||||
wpa_dbg(wpa_s, MSG_DEBUG, "WPA: using KEY_MGMT FT-FILS-SHA384");
|
||||
} else if (sel & WPA_KEY_MGMT_FT_FILS_SHA256) {
|
||||
wpa_s->key_mgmt = WPA_KEY_MGMT_FT_FILS_SHA256;
|
||||
wpa_dbg(wpa_s, MSG_DEBUG, "WPA: using KEY_MGMT FT-FILS-SHA256");
|
||||
#endif /* CONFIG_IEEE80211R */
|
||||
} else if (sel & WPA_KEY_MGMT_FILS_SHA384) {
|
||||
wpa_s->key_mgmt = WPA_KEY_MGMT_FILS_SHA384;
|
||||
wpa_dbg(wpa_s, MSG_DEBUG, "WPA: using KEY_MGMT FILS-SHA384");
|
||||
} else if (sel & WPA_KEY_MGMT_FILS_SHA256) {
|
||||
wpa_s->key_mgmt = WPA_KEY_MGMT_FILS_SHA256;
|
||||
wpa_dbg(wpa_s, MSG_DEBUG, "WPA: using KEY_MGMT FILS-SHA256");
|
||||
#endif /* CONFIG_FILS */
|
||||
#ifdef CONFIG_IEEE80211R
|
||||
} else if (sel & WPA_KEY_MGMT_FT_IEEE8021X) {
|
||||
wpa_s->key_mgmt = WPA_KEY_MGMT_FT_IEEE8021X;
|
||||
|
Loading…
Reference in New Issue
Block a user