Skip to content

Commit 32529fc

Browse files
committed
wl_defintions.h wl_enc_type update
The WiFiS3 library added ENC_TYPE_WPA, ENC_TYPE_WPA2 and ENC_TYPE_WPA3
1 parent c4b4959 commit 32529fc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/WiFi101.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,14 @@ typedef enum {
5353
} wl_status_t;
5454

5555
/* Encryption modes */
56-
enum wl_enc_type { /* Values map to 802.11 encryption suites... */
56+
enum wl_enc_type { /* Values map to 802.11 Cipher Algorithm Identifier */
5757
ENC_TYPE_WEP = M2M_WIFI_SEC_WEP,
5858
ENC_TYPE_TKIP = M2M_WIFI_SEC_WPA_PSK,
59+
ENC_TYPE_WPA = ENC_TYPE_TKIP,
5960
ENC_TYPE_CCMP = M2M_WIFI_SEC_802_1X,
61+
ENC_TYPE_WPA2 = ENC_TYPE_CCMP,
62+
ENC_TYPE_GCMP = 6,
63+
ENC_TYPE_WPA3 = ENC_TYPE_GCMP,
6064
/* ... except these two, 7 and 8 are reserved in 802.11-2007 */
6165
ENC_TYPE_NONE = M2M_WIFI_SEC_OPEN,
6266
ENC_TYPE_AUTO = M2M_WIFI_SEC_INVALID

0 commit comments

Comments
 (0)