wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ieee802_1x_defs.h
Go to the documentation of this file.
1 
5 #ifndef IEEE802_1X_DEFS_H
6 #define IEEE802_1X_DEFS_H
7 
8 #define CS_ID_LEN 8
9 #define CS_ID_GCM_AES_128 {0x00, 0x80, 0x02, 0x00, 0x01, 0x00, 0x00, 0x01}
10 #define CS_NAME_GCM_AES_128 "GCM-AES-128"
11 
19 
24 };
25 
26 
27 /* IEEE Std 802.1X-2010 - Table 11-6 - MACsec Capability */
28 enum macsec_cap {
31 
34 
40 
47 };
48 
49 enum validate_frames {
50  Disabled,
51  Checked,
52  Strict,
53 };
54 
55 /* IEEE Std 802.1X-2010 - Table 11-6 - Confidentiality Offset */
56 enum confidentiality_offset {
57  CONFIDENTIALITY_NONE = 0,
58  CONFIDENTIALITY_OFFSET_0 = 1,
59  CONFIDENTIALITY_OFFSET_30 = 2,
60  CONFIDENTIALITY_OFFSET_50 = 3,
61 };
62 
63 /* IEEE Std 802.1X-2010 - Table 9-2 */
64 #define DEFAULT_PRIO_INFRA_PORT 0x10
65 #define DEFAULT_PRIO_PRIMRAY_AP 0x30
66 #define DEFAULT_PRIO_SECONDARY_AP 0x50
67 #define DEFAULT_PRIO_GROUP_CA_MEMBER 0x70
68 #define DEFAULT_PRIO_NOT_KEY_SERVER 0xFF
69 
70 #endif /* IEEE802_1X_DEFS_H */
Disabled MACsec - do not secure sessions.
Definition: ieee802_1x_defs.h:23
'Integrity without confidentiality' and 'Integrity and confidentiality' with a confidentiality offset...
Definition: ieee802_1x_defs.h:46
macsec_cap
Definition: ieee802_1x_defs.h:28
macsec_policy
Definition: ieee802_1x_defs.h:12
'Integrity without confidentiality'
Definition: ieee802_1x_defs.h:33
'Integrity without confidentiality' and 'Integrity and confidentiality' with a confidentiality offset...
Definition: ieee802_1x_defs.h:39
MACsec is not implemented.
Definition: ieee802_1x_defs.h:30
Should secure sessions. This accepts key server's advice to determine whether to secure the session o...
Definition: ieee802_1x_defs.h:18