TianoCore EDK2 master
Loading...
Searching...
No Matches
EapManagement.h
Go to the documentation of this file.
1
17#ifndef __EFI_EAP_MANAGEMENT_PROTOCOL_H__
18#define __EFI_EAP_MANAGEMENT_PROTOCOL_H__
19
20#include <Protocol/Eap.h>
21
22#define EFI_EAP_MANAGEMENT_PROTOCOL_GUID \
23 { \
24 0xbb62e663, 0x625d, 0x40b2, {0xa0, 0x88, 0xbb, 0xe8, 0x36, 0x23, 0xa2, 0x45 } \
25 }
26
28
33#define PAE_SUPPORT_AUTHENTICATOR 0x01
34#define PAE_SUPPORT_SUPPLICANT 0x02
36
40typedef struct _EFI_EAPOL_PORT_INFO {
58
63 Logoff,
64 Disconnected,
65 Connecting,
66 Acquired,
67 Authenticating,
68 Held,
69 Authenticated,
70 MaxSupplicantPaeState
72
77#define AUTH_PERIOD_FIELD_VALID 0x01
78#define HELD_PERIOD_FIELD_VALID 0x02
79#define START_PERIOD_FIELD_VALID 0x04
80#define MAX_START_FIELD_VALID 0x08
82
110
168
196typedef
200 OUT BOOLEAN *SystemAuthControl,
202 );
203
220typedef
224 IN BOOLEAN SystemAuthControl
225 );
226
238typedef
242 );
243
256typedef
258(EFIAPI *EFI_EAP_USER_LOGON)(
260 );
261
274typedef
276(EFIAPI *EFI_EAP_USER_LOGOFF)(
278 );
279
312typedef
318 );
319
343typedef
348 );
349
369typedef
374 );
375
384 EFI_EAP_GET_SYSTEM_CONFIGURATION GetSystemConfiguration;
385 EFI_EAP_SET_SYSTEM_CONFIGURATION SetSystemConfiguration;
386 EFI_EAP_INITIALIZE_PORT InitializePort;
387 EFI_EAP_USER_LOGON UserLogon;
388 EFI_EAP_USER_LOGOFF UserLogoff;
389 EFI_EAP_GET_SUPPLICANT_STATUS GetSupplicantStatus;
390 EFI_EAP_SET_SUPPLICANT_CONFIGURATION SetSupplicantConfiguration;
391 EFI_EAP_GET_SUPPLICANT_STATISTICS GetSupplicantStatistics;
392};
393
394extern EFI_GUID gEfiEapManagementProtocolGuid;
395
396#endif
UINT64 UINTN
VOID * EFI_PORT_HANDLE
Definition: Eap.h:30
EFI_STATUS(EFIAPI * EFI_EAP_USER_LOGON)(IN EFI_EAP_MANAGEMENT_PROTOCOL *This)
EFI_STATUS(EFIAPI * EFI_EAP_GET_SUPPLICANT_STATUS)(IN EFI_EAP_MANAGEMENT_PROTOCOL *This, OUT EFI_EAPOL_SUPPLICANT_PAE_STATE *CurrentState, IN OUT EFI_EAPOL_SUPPLICANT_PAE_CONFIGURATION *Configuration OPTIONAL)
EFI_STATUS(EFIAPI * EFI_EAP_GET_SUPPLICANT_STATISTICS)(IN EFI_EAP_MANAGEMENT_PROTOCOL *This, OUT EFI_EAPOL_SUPPLICANT_PAE_STATISTICS *Statistics)
EFI_STATUS(EFIAPI * EFI_EAP_INITIALIZE_PORT)(IN EFI_EAP_MANAGEMENT_PROTOCOL *This)
_EFI_EAPOL_SUPPLICANT_PAE_STATE
Definition: EapManagement.h:62
struct _EFI_EAPOL_SUPPLICANT_PAE_STATISTICS EFI_EAPOL_SUPPLICANT_PAE_STATISTICS
struct _EFI_EAPOL_SUPPLICANT_PAE_CONFIGURATION EFI_EAPOL_SUPPLICANT_PAE_CONFIGURATION
EFI_STATUS(EFIAPI * EFI_EAP_GET_SYSTEM_CONFIGURATION)(IN EFI_EAP_MANAGEMENT_PROTOCOL *This, OUT BOOLEAN *SystemAuthControl, OUT EFI_EAPOL_PORT_INFO *PortInfo OPTIONAL)
EFI_STATUS(EFIAPI * EFI_EAP_SET_SYSTEM_CONFIGURATION)(IN EFI_EAP_MANAGEMENT_PROTOCOL *This, IN BOOLEAN SystemAuthControl)
EFI_STATUS(EFIAPI * EFI_EAP_SET_SUPPLICANT_CONFIGURATION)(IN EFI_EAP_MANAGEMENT_PROTOCOL *This, IN EFI_EAPOL_SUPPLICANT_PAE_CONFIGURATION *Configuration)
enum _EFI_EAPOL_SUPPLICANT_PAE_STATE EFI_EAPOL_SUPPLICANT_PAE_STATE
struct _EFI_EAPOL_PORT_INFO EFI_EAPOL_PORT_INFO
EFI_STATUS(EFIAPI * EFI_EAP_USER_LOGOFF)(IN EFI_EAP_MANAGEMENT_PROTOCOL *This)
UINT16 Statistics(IN NIC_DATA *Nic, IN UINT64 DbAddr, IN UINT16 DbSize)
Definition: PxeFunction.c:995
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
EFI_PORT_HANDLE PortNumber
Definition: EapManagement.h:45
Definition: Base.h:213