3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-16 17:09:24 +01:00

ie: Add IE_AKM_IS_OWE

Similarly to IE_AKM_IS_SAE, IE_AKM_IS_FILS, etc
This commit is contained in:
Denis Kenzior 2024-08-03 21:51:58 -05:00
parent d43f05224d
commit 8a27cff8c0

View File

@ -361,6 +361,11 @@ enum ie_rsn_akm_suite {
IE_RSN_AKM_SUITE_OSEN = 0x40000, IE_RSN_AKM_SUITE_OSEN = 0x40000,
}; };
static inline bool IE_AKM_IS_OWE(uint32_t akm)
{
return akm & (IE_RSN_AKM_SUITE_OWE);
}
static inline bool IE_AKM_IS_SAE(uint32_t akm) static inline bool IE_AKM_IS_SAE(uint32_t akm)
{ {
return akm & (IE_RSN_AKM_SUITE_SAE_SHA256 | return akm & (IE_RSN_AKM_SUITE_SAE_SHA256 |