From df3a499948906c38438d09c11f4dfebb0900dc3f Mon Sep 17 00:00:00 2001
From: Juraj Andrassy <juraj.andrassy@gmail.com>
Date: Sun, 31 Mar 2024 14:06:22 +0200
Subject: [PATCH] WiFi wl_enc_type enum update

---
 cores/esp8266/wl_definitions.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/cores/esp8266/wl_definitions.h b/cores/esp8266/wl_definitions.h
index df175c446f..7852ca014c 100644
--- a/cores/esp8266/wl_definitions.h
+++ b/cores/esp8266/wl_definitions.h
@@ -60,10 +60,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