mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-23 06:02:37 +01:00
ie: add IE_AKM_IS_8021X
This commit is contained in:
parent
6e660032c1
commit
1024384ffd
6
src/ie.h
6
src/ie.h
@ -354,6 +354,12 @@ enum ie_rsn_akm_suite {
|
|||||||
IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA256 | \
|
IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA256 | \
|
||||||
IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA384))
|
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) \
|
#define IE_LEN(ie) \
|
||||||
((ie) ? (ie)[1] + 2 : 0)
|
((ie) ? (ie)[1] + 2 : 0)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user