3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

ie: add IE_AKM_IS_8021X

This commit is contained in:
James Prestwood 2022-02-25 15:32:48 -08:00 committed by Denis Kenzior
parent 6e660032c1
commit 1024384ffd

View File

@ -354,6 +354,12 @@ enum ie_rsn_akm_suite {
IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA256 | \
IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA384))
#define IE_AKM_IS_8021X(akm) \
(akm & (IE_RSN_AKM_SUITE_8021X | \
IE_RSN_AKM_SUITE_FT_OVER_8021X | \
IE_RSN_AKM_SUITE_8021X_SHA256 | \
IE_RSN_AKM_SUITE_FT_OVER_8021X_SHA384))
#define IE_LEN(ie) \
((ie) ? (ie)[1] + 2 : 0)