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
1 changed files with 16 additions and 0 deletions
|
@ -1233,6 +1233,22 @@ int wpa_supplicant_set_suites(struct wpa_supplicant *wpa_s,
|
||||||
wpa_dbg(wpa_s, MSG_DEBUG,
|
wpa_dbg(wpa_s, MSG_DEBUG,
|
||||||
"WPA: using KEY_MGMT 802.1X with Suite B");
|
"WPA: using KEY_MGMT 802.1X with Suite B");
|
||||||
#endif /* CONFIG_SUITEB */
|
#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
|
#ifdef CONFIG_IEEE80211R
|
||||||
} else if (sel & WPA_KEY_MGMT_FT_IEEE8021X) {
|
} else if (sel & WPA_KEY_MGMT_FT_IEEE8021X) {
|
||||||
wpa_s->key_mgmt = WPA_KEY_MGMT_FT_IEEE8021X;
|
wpa_s->key_mgmt = WPA_KEY_MGMT_FT_IEEE8021X;
|
||||||
|
|
Loading…
Reference in a new issue