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:
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_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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user