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

ie: Add IE_AKM_IS_FILS macro

This commit is contained in:
Denis Kenzior 2021-03-31 10:05:55 -05:00
parent fa3fad37ce
commit e30345d699

View File

@ -296,6 +296,12 @@ enum ie_rsn_akm_suite {
(akm == IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA256) || \
(akm == IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA384))
#define IE_AKM_IS_FILS(akm) \
((akm == IE_RSN_AKM_SUITE_FILS_SHA256) || \
(akm == IE_RSN_AKM_SUITE_FILS_SHA384) || \
(IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA256) || \
(IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA384))
#define IE_LEN(ie) \
(ie) ? (ie)[1] + 2 : 0