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:
parent
fa3fad37ce
commit
e30345d699
6
src/ie.h
6
src/ie.h
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user