3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 10:39:23 +01:00

netdev: add translation for OWE AKM type

This commit is contained in:
James Prestwood 2018-11-16 14:22:44 -08:00 committed by Denis Kenzior
parent 3293bd9933
commit 8740abb60e
2 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,7 @@ enum crypto_akm {
CRYPTO_AKM_8021X_SUITE_B_SHA256 = 0x000fac0b, CRYPTO_AKM_8021X_SUITE_B_SHA256 = 0x000fac0b,
CRYPTO_AKM_8021X_SUITE_B_SHA384 = 0x000fac0c, CRYPTO_AKM_8021X_SUITE_B_SHA384 = 0x000fac0c,
CRYPTO_AKM_FT_OVER_8021X_SHA384 = 0x000fac0d, CRYPTO_AKM_FT_OVER_8021X_SHA384 = 0x000fac0d,
CRYPTO_AKM_OWE = 0x000fac12,
}; };
/* Min & Max reported by crypto_cipher_key_len when ignoring WEP */ /* Min & Max reported by crypto_cipher_key_len when ignoring WEP */

View File

@ -1851,6 +1851,8 @@ static unsigned int ie_rsn_akm_suite_to_nl80211(enum ie_rsn_akm_suite akm)
return CRYPTO_AKM_8021X_SUITE_B_SHA384; return CRYPTO_AKM_8021X_SUITE_B_SHA384;
case IE_RSN_AKM_SUITE_FT_OVER_8021X_SHA384: case IE_RSN_AKM_SUITE_FT_OVER_8021X_SHA384:
return CRYPTO_AKM_FT_OVER_8021X_SHA384; return CRYPTO_AKM_FT_OVER_8021X_SHA384;
case IE_RSN_AKM_SUITE_OWE:
return CRYPTO_AKM_OWE;
} }
return 0; return 0;