[PATCH 4/7] ie: Add IE_AKM_IS_OWE

Denis Kenzior
2024-08-05T14:07:27Z

Similarly to IE_AKM_IS_SAE, IE_AKM_IS_FILS, etc
---
src/ie.h | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/src/ie.h b/src/ie.h
index 024eacaa987d..82945de676a9 100644
--- a/src/ie.h
+++ b/src/ie.h
@@ -361,6 +361,11 @@ enum ie_rsn_akm_suite {
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)
{
return akm & (IE_RSN_AKM_SUITE_SAE_SHA256 |
--
2.45.2