nl80211: Add DPP and OWE AKM selectors to CONNECT/ASSOC request
This is needed to support drivers that use NL80211_ATTR_AKM_SUITES. Signed-off-by: Srinivas Dasari <dasaris@codeaurora.org>
This commit is contained in:
parent
8f9d2b171f
commit
e005725a69
1 changed files with 9 additions and 1 deletions
|
@ -5256,7 +5256,9 @@ static int nl80211_connect_common(struct wpa_driver_nl80211_data *drv,
|
||||||
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 ||
|
||||||
params->key_mgmt_suite == WPA_KEY_MGMT_FT_FILS_SHA384) {
|
params->key_mgmt_suite == WPA_KEY_MGMT_FT_FILS_SHA384 ||
|
||||||
|
params->key_mgmt_suite == WPA_KEY_MGMT_OWE ||
|
||||||
|
params->key_mgmt_suite == WPA_KEY_MGMT_DPP) {
|
||||||
int mgmt = RSN_AUTH_KEY_MGMT_PSK_OVER_802_1X;
|
int mgmt = RSN_AUTH_KEY_MGMT_PSK_OVER_802_1X;
|
||||||
|
|
||||||
switch (params->key_mgmt_suite) {
|
switch (params->key_mgmt_suite) {
|
||||||
|
@ -5299,6 +5301,12 @@ static int nl80211_connect_common(struct wpa_driver_nl80211_data *drv,
|
||||||
case WPA_KEY_MGMT_FT_FILS_SHA384:
|
case WPA_KEY_MGMT_FT_FILS_SHA384:
|
||||||
mgmt = RSN_AUTH_KEY_MGMT_FT_FILS_SHA384;
|
mgmt = RSN_AUTH_KEY_MGMT_FT_FILS_SHA384;
|
||||||
break;
|
break;
|
||||||
|
case WPA_KEY_MGMT_OWE:
|
||||||
|
mgmt = RSN_AUTH_KEY_MGMT_OWE;
|
||||||
|
break;
|
||||||
|
case WPA_KEY_MGMT_DPP:
|
||||||
|
mgmt = RSN_AUTH_KEY_MGMT_DPP;
|
||||||
|
break;
|
||||||
case WPA_KEY_MGMT_PSK:
|
case WPA_KEY_MGMT_PSK:
|
||||||
default:
|
default:
|
||||||
mgmt = RSN_AUTH_KEY_MGMT_PSK_OVER_802_1X;
|
mgmt = RSN_AUTH_KEY_MGMT_PSK_OVER_802_1X;
|
||||||
|
|
Loading…
Reference in a new issue