32 #define EAPOL_VERSION 3
34 #define EAPOL_VERSION 2
37 enum { IEEE802_1X_TYPE_EAP_PACKET = 0,
38 IEEE802_1X_TYPE_EAPOL_START = 1,
39 IEEE802_1X_TYPE_EAPOL_LOGOFF = 2,
40 IEEE802_1X_TYPE_EAPOL_KEY = 3,
41 IEEE802_1X_TYPE_EAPOL_ENCAPSULATED_ASF_ALERT = 4,
42 IEEE802_1X_TYPE_EAPOL_MKA = 5,
45 enum { EAPOL_KEY_TYPE_RC4 = 1, EAPOL_KEY_TYPE_RSN = 2,
46 EAPOL_KEY_TYPE_WPA = 254 };
49 #define IEEE8021X_REPLAY_COUNTER_LEN 8
50 #define IEEE8021X_KEY_SIGN_LEN 16
51 #define IEEE8021X_KEY_IV_LEN 16
53 #define IEEE8021X_KEY_INDEX_FLAG 0x80
54 #define IEEE8021X_KEY_INDEX_MASK 0x03
66 u8 replay_counter[IEEE8021X_REPLAY_COUNTER_LEN];
67 u8 key_iv[IEEE8021X_KEY_IV_LEN];
74 u8 key_signature[IEEE8021X_KEY_SIGN_LEN];
Definition: eapol_common.h:60
Definition: eapol_common.h:21
Definition: eapol_common.h:14