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
1 changed files with 12 additions and 0 deletions
|
@ -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_IEEE8021X_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_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_SHA384 ||
|
||||
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:
|
||||
mgmt = RSN_AUTH_KEY_MGMT_OSEN;
|
||||
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:
|
||||
mgmt = RSN_AUTH_KEY_MGMT_802_1X_SUITE_B;
|
||||
break;
|
||||
case WPA_KEY_MGMT_IEEE8021X_SUITE_B_192:
|
||||
mgmt = RSN_AUTH_KEY_MGMT_802_1X_SUITE_B_192;
|
||||
break;
|
||||
case WPA_KEY_MGMT_FT_IEEE8021X_SHA384:
|
||||
mgmt = RSN_AUTH_KEY_MGMT_FT_802_1X_SHA384;
|
||||
break;
|
||||
case WPA_KEY_MGMT_FILS_SHA256:
|
||||
mgmt = RSN_AUTH_KEY_MGMT_FILS_SHA256;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue