From df7ba395b71df4a996e9c4fe78a60788e6bd693f Mon Sep 17 00:00:00 2001 From: Juraj Andrassy Date: Mon, 6 Nov 2023 09:20:57 +0100 Subject: [PATCH] wl_defintions.h wl_enc_type update The WiFiS3 library added ENC_TYPE_WPA, ENC_TYPE_WPA2 and ENC_TYPE_WPA3 --- src/utility/wl_definitions.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/utility/wl_definitions.h b/src/utility/wl_definitions.h index 8e60133..c01bfbc 100644 --- a/src/utility/wl_definitions.h +++ b/src/utility/wl_definitions.h @@ -62,10 +62,14 @@ typedef enum { } wl_status_t; /* Encryption modes */ -enum wl_enc_type { /* Values map to 802.11 encryption suites... */ +enum wl_enc_type { /* Values map to 802.11 Cipher Algorithm Identifier */ ENC_TYPE_WEP = 5, ENC_TYPE_TKIP = 2, + ENC_TYPE_WPA = ENC_TYPE_TKIP, ENC_TYPE_CCMP = 4, + ENC_TYPE_WPA2 = ENC_TYPE_CCMP, + ENC_TYPE_GCMP = 6, + ENC_TYPE_WPA3 = ENC_TYPE_GCMP, /* ... except these two, 7 and 8 are reserved in 802.11-2007 */ ENC_TYPE_NONE = 7, ENC_TYPE_AUTO = 8,