mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-16 17:09:24 +01:00
ie: Add IE_AKM_IS_OWE
Similarly to IE_AKM_IS_SAE, IE_AKM_IS_FILS, etc
This commit is contained in:
parent
d43f05224d
commit
8a27cff8c0
5
src/ie.h
5
src/ie.h
@ -361,6 +361,11 @@ enum ie_rsn_akm_suite {
|
|||||||
IE_RSN_AKM_SUITE_OSEN = 0x40000,
|
IE_RSN_AKM_SUITE_OSEN = 0x40000,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static inline bool IE_AKM_IS_OWE(uint32_t akm)
|
||||||
|
{
|
||||||
|
return akm & (IE_RSN_AKM_SUITE_OWE);
|
||||||
|
}
|
||||||
|
|
||||||
static inline bool IE_AKM_IS_SAE(uint32_t akm)
|
static inline bool IE_AKM_IS_SAE(uint32_t akm)
|
||||||
{
|
{
|
||||||
return akm & (IE_RSN_AKM_SUITE_SAE_SHA256 |
|
return akm & (IE_RSN_AKM_SUITE_SAE_SHA256 |
|
||||||
|
Loading…
Reference in New Issue
Block a user