Skip to content

Commit df7ba39

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 12c33f1 commit df7ba39

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/utility/wl_definitions.h

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

6464
/* Encryption modes */
65-
enum wl_enc_type { /* Values map to 802.11 encryption suites... */
65+
enum wl_enc_type { /* Values map to 802.11 Cipher Algorithm Identifier */
6666
ENC_TYPE_WEP = 5,
6767
ENC_TYPE_TKIP = 2,
68+
ENC_TYPE_WPA = ENC_TYPE_TKIP,
6869
ENC_TYPE_CCMP = 4,
70+
ENC_TYPE_WPA2 = ENC_TYPE_CCMP,
71+
ENC_TYPE_GCMP = 6,
72+
ENC_TYPE_WPA3 = ENC_TYPE_GCMP,
6973
/* ... except these two, 7 and 8 are reserved in 802.11-2007 */
7074
ENC_TYPE_NONE = 7,
7175
ENC_TYPE_AUTO = 8,

0 commit comments

Comments
 (0)