Skip to content

Commit 32d1696

Browse files
authored
Merge pull request #776 from JAndrassy/wifi_wl_enc_type_update
wl_defintions.h wl_enc_type update
2 parents 4781c40 + 02542ac commit 32d1696

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: libraries/WiFi/src/utility/wl_definitions.h

+5-1
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,14 @@ typedef enum {
6060
} wl_status_t;
6161

6262
/* Encryption modes */
63-
enum wl_enc_type { /* Values map to 802.11 encryption suites... */
63+
enum wl_enc_type { /* Values map to 802.11 Cipher Algorithm Identifier */
6464
ENC_TYPE_WEP = 5,
6565
ENC_TYPE_TKIP = 2,
66+
ENC_TYPE_WPA = ENC_TYPE_TKIP,
6667
ENC_TYPE_CCMP = 4,
68+
ENC_TYPE_WPA2 = ENC_TYPE_CCMP,
69+
ENC_TYPE_GCMP = 6,
70+
ENC_TYPE_WPA3 = ENC_TYPE_GCMP,
6771
/* ... except these two, 7 and 8 are reserved in 802.11-2007 */
6872
ENC_TYPE_NONE = 7,
6973
ENC_TYPE_UNKNOWN = 9,

0 commit comments

Comments
 (0)