From bec4ed482dcc1af0b22f4bb461ad88fb863d8ad8 Mon Sep 17 00:00:00 2001 From: Tiago Medicci Serrano Date: Wed, 26 Apr 2023 10:50:18 -0300 Subject: [PATCH] wireless: add `IW_AUTH_WPA_VERSION_WPA3` to support WPA3 Add the `IW_AUTH_WPA_VERSION_WPA3` bit field to support selecting WPA3-SAE networks using the `IW_AUTH_WPA_VERSION` command. This commit is necessary to enable `wapi`'s support for WPA3. --- include/nuttx/wireless/wireless.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/nuttx/wireless/wireless.h b/include/nuttx/wireless/wireless.h index a016ff655a..1e2a686d8c 100644 --- a/include/nuttx/wireless/wireless.h +++ b/include/nuttx/wireless/wireless.h @@ -355,6 +355,7 @@ #define IW_AUTH_WPA_VERSION_DISABLED 0x00000001 #define IW_AUTH_WPA_VERSION_WPA 0x00000002 #define IW_AUTH_WPA_VERSION_WPA2 0x00000004 +#define IW_AUTH_WPA_VERSION_WPA3 0x00000008 /* IW_AUTH_PAIRWISE_CIPHER and IW_AUTH_GROUP_CIPHER values (bit field) */