EAPOL-Key Info field bits


Defines

#define EAPOL_KEY_INFO_VERSION   0x0007
 Key descriptor version, indicating WPA or WPA2.
#define EAPOL_KEY_INFO_TYPE   0x0008
 Key type bit, indicating pairwise or group.
#define EAPOL_KEY_INFO_INSTALL   0x0040
 Key install bit; set on message 3 except when legacy hacks are used.
#define EAPOL_KEY_INFO_KEY_ACK   0x0080
 Key ACK bit; set when a response is required, on all messages except #4.
#define EAPOL_KEY_INFO_KEY_MIC   0x0100
 Key MIC bit; set when the MIC field is valid, on messages 3 and 4.
#define EAPOL_KEY_INFO_SECURE   0x0200
 Secure bit; set when both sides have both keys, on messages 3 and 4.
#define EAPOL_KEY_INFO_ERROR   0x0400
 Error bit; set on a MIC failure for TKIP.
#define EAPOL_KEY_INFO_REQUEST   0x0800
 Request bit; set when authentication is initiated by the Peer (unusual).
#define EAPOL_KEY_INFO_KEY_ENC   0x1000
 Key Encrypted bit; set when the Key Data field is encrypted.
#define EAPOL_KEY_INFO_SMC_MESS   0x2000
 SMC Message bit; set when this frame is part of an IBSS SMK handshake.
#define EAPOL_KEY_VERSION_WPA   1
 Key descriptor version field value for WPA (TKIP).
#define EAPOL_KEY_VERSION_WPA2   2
 Key descriptor version field value for WPA2 (CCMP).
#define EAPOL_KEY_TYPE_PTK   0x0008
 Key type field value for a PTK (pairwise) key handshake.
#define EAPOL_KEY_TYPE_GTK   0x0000
 Key type field value for a GTK (group) key handshake.

Define Documentation

#define EAPOL_KEY_INFO_VERSION   0x0007

Key descriptor version, indicating WPA or WPA2.

Definition at line 46 of file wpa.h.

Referenced by eapol_key_rx().

#define EAPOL_KEY_INFO_TYPE   0x0008

Key type bit, indicating pairwise or group.

Definition at line 49 of file wpa.h.

Referenced by eapol_key_rx(), and wpa_send_final().

#define EAPOL_KEY_INFO_INSTALL   0x0040

Key install bit; set on message 3 except when legacy hacks are used.

Definition at line 52 of file wpa.h.

Referenced by wpa_send_final().

#define EAPOL_KEY_INFO_KEY_ACK   0x0080

Key ACK bit; set when a response is required, on all messages except #4.

Definition at line 55 of file wpa.h.

Referenced by eapol_key_rx(), wpa_send_2_of_4(), and wpa_send_final().

#define EAPOL_KEY_INFO_KEY_MIC   0x0100

Key MIC bit; set when the MIC field is valid, on messages 3 and 4.

Definition at line 58 of file wpa.h.

Referenced by eapol_key_rx(), and wpa_send_2_of_4().

#define EAPOL_KEY_INFO_SECURE   0x0200

Secure bit; set when both sides have both keys, on messages 3 and 4.

Definition at line 61 of file wpa.h.

#define EAPOL_KEY_INFO_ERROR   0x0400

Error bit; set on a MIC failure for TKIP.

Definition at line 64 of file wpa.h.

#define EAPOL_KEY_INFO_REQUEST   0x0800

Request bit; set when authentication is initiated by the Peer (unusual).

Definition at line 67 of file wpa.h.

#define EAPOL_KEY_INFO_KEY_ENC   0x1000

Key Encrypted bit; set when the Key Data field is encrypted.

Definition at line 70 of file wpa.h.

Referenced by eapol_key_rx(), wpa_handle_1_of_2(), wpa_handle_3_of_4(), and wpa_send_final().

#define EAPOL_KEY_INFO_SMC_MESS   0x2000

SMC Message bit; set when this frame is part of an IBSS SMK handshake.

Definition at line 73 of file wpa.h.

#define EAPOL_KEY_VERSION_WPA   1

Key descriptor version field value for WPA (TKIP).

Definition at line 77 of file wpa.h.

#define EAPOL_KEY_VERSION_WPA2   2

Key descriptor version field value for WPA2 (CCMP).

Definition at line 80 of file wpa.h.

#define EAPOL_KEY_TYPE_PTK   0x0008

Key type field value for a PTK (pairwise) key handshake.

Definition at line 83 of file wpa.h.

Referenced by eapol_key_rx().

#define EAPOL_KEY_TYPE_GTK   0x0000

Key type field value for a GTK (group) key handshake.

Definition at line 86 of file wpa.h.

Referenced by eapol_key_rx().


Generated on Tue Apr 6 20:01:59 2010 for gPXE by  doxygen 1.5.7.1