From 58089b1f44ba1632d453f12af81087553c6653d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Andr=C3=A1ssy?= <10706773+JAndrassy@users.noreply.github.com> Date: Thu, 30 Nov 2023 17:33:33 +0100 Subject: [PATCH] wl_defintions.h wl_enc_type update (#1859) --- cores/rp2040/wl_definitions.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cores/rp2040/wl_definitions.h b/cores/rp2040/wl_definitions.h index 0ed33fb7..945334a4 100644 --- a/cores/rp2040/wl_definitions.h +++ b/cores/rp2040/wl_definitions.h @@ -66,10 +66,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,