3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 23:09:34 +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_SHA256) || \
(akm == IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA384)) (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) \ #define IE_LEN(ie) \
(ie) ? (ie)[1] + 2 : 0 (ie) ? (ie)[1] + 2 : 0