mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-19 03:14:05 -05:00
nl80211: Add SAE, FT-SAE, FT-EAP-SHA384 AKMs in connect request
This is needed for full MAC drivers that use NL80211_CMD_CONNECT for issuing connect request. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
edcaf16f9e
commit
005585d602
@ -5511,8 +5511,11 @@ static int nl80211_connect_common(struct wpa_driver_nl80211_data *drv,
|
|||||||
params->key_mgmt_suite == WPA_KEY_MGMT_OSEN ||
|
params->key_mgmt_suite == WPA_KEY_MGMT_OSEN ||
|
||||||
params->key_mgmt_suite == WPA_KEY_MGMT_IEEE8021X_SHA256 ||
|
params->key_mgmt_suite == WPA_KEY_MGMT_IEEE8021X_SHA256 ||
|
||||||
params->key_mgmt_suite == WPA_KEY_MGMT_PSK_SHA256 ||
|
params->key_mgmt_suite == WPA_KEY_MGMT_PSK_SHA256 ||
|
||||||
|
params->key_mgmt_suite == WPA_KEY_MGMT_SAE ||
|
||||||
|
params->key_mgmt_suite == WPA_KEY_MGMT_FT_SAE ||
|
||||||
params->key_mgmt_suite == WPA_KEY_MGMT_IEEE8021X_SUITE_B ||
|
params->key_mgmt_suite == WPA_KEY_MGMT_IEEE8021X_SUITE_B ||
|
||||||
params->key_mgmt_suite == WPA_KEY_MGMT_IEEE8021X_SUITE_B_192 ||
|
params->key_mgmt_suite == WPA_KEY_MGMT_IEEE8021X_SUITE_B_192 ||
|
||||||
|
params->key_mgmt_suite == WPA_KEY_MGMT_FT_IEEE8021X_SHA384 ||
|
||||||
params->key_mgmt_suite == WPA_KEY_MGMT_FILS_SHA256 ||
|
params->key_mgmt_suite == WPA_KEY_MGMT_FILS_SHA256 ||
|
||||||
params->key_mgmt_suite == WPA_KEY_MGMT_FILS_SHA384 ||
|
params->key_mgmt_suite == WPA_KEY_MGMT_FILS_SHA384 ||
|
||||||
params->key_mgmt_suite == WPA_KEY_MGMT_FT_FILS_SHA256 ||
|
params->key_mgmt_suite == WPA_KEY_MGMT_FT_FILS_SHA256 ||
|
||||||
@ -5543,12 +5546,21 @@ static int nl80211_connect_common(struct wpa_driver_nl80211_data *drv,
|
|||||||
case WPA_KEY_MGMT_OSEN:
|
case WPA_KEY_MGMT_OSEN:
|
||||||
mgmt = RSN_AUTH_KEY_MGMT_OSEN;
|
mgmt = RSN_AUTH_KEY_MGMT_OSEN;
|
||||||
break;
|
break;
|
||||||
|
case WPA_KEY_MGMT_SAE:
|
||||||
|
mgmt = RSN_AUTH_KEY_MGMT_SAE;
|
||||||
|
break;
|
||||||
|
case WPA_KEY_MGMT_FT_SAE:
|
||||||
|
mgmt = RSN_AUTH_KEY_MGMT_FT_SAE;
|
||||||
|
break;
|
||||||
case WPA_KEY_MGMT_IEEE8021X_SUITE_B:
|
case WPA_KEY_MGMT_IEEE8021X_SUITE_B:
|
||||||
mgmt = RSN_AUTH_KEY_MGMT_802_1X_SUITE_B;
|
mgmt = RSN_AUTH_KEY_MGMT_802_1X_SUITE_B;
|
||||||
break;
|
break;
|
||||||
case WPA_KEY_MGMT_IEEE8021X_SUITE_B_192:
|
case WPA_KEY_MGMT_IEEE8021X_SUITE_B_192:
|
||||||
mgmt = RSN_AUTH_KEY_MGMT_802_1X_SUITE_B_192;
|
mgmt = RSN_AUTH_KEY_MGMT_802_1X_SUITE_B_192;
|
||||||
break;
|
break;
|
||||||
|
case WPA_KEY_MGMT_FT_IEEE8021X_SHA384:
|
||||||
|
mgmt = RSN_AUTH_KEY_MGMT_FT_802_1X_SHA384;
|
||||||
|
break;
|
||||||
case WPA_KEY_MGMT_FILS_SHA256:
|
case WPA_KEY_MGMT_FILS_SHA256:
|
||||||
mgmt = RSN_AUTH_KEY_MGMT_FILS_SHA256;
|
mgmt = RSN_AUTH_KEY_MGMT_FILS_SHA256;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user