]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/EapManagement.h
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Include / Protocol / EapManagement.h
index 8e6addbff22250b751cb7fe9feab3a6db5b8636c..ea1b0d71e3572dead4d604f92cc364a93039c13c 100644 (file)
@@ -30,8 +30,8 @@ typedef struct _EFI_EAP_MANAGEMENT_PROTOCOL EFI_EAP_MANAGEMENT_PROTOCOL;
 /// PAE Capabilities\r
 ///\r
 ///@{\r
-#define PAE_SUPPORT_AUTHENTICATOR       0x01\r
-#define PAE_SUPPORT_SUPPLICANT          0x02\r
+#define PAE_SUPPORT_AUTHENTICATOR  0x01\r
+#define PAE_SUPPORT_SUPPLICANT     0x02\r
 ///@}\r
 \r
 ///\r
@@ -42,18 +42,18 @@ typedef struct _EFI_EAPOL_PORT_INFO {
   /// The identification number assigned to the Port by the System in\r
   /// which the Port resides.\r
   ///\r
-  EFI_PORT_HANDLE     PortNumber;\r
+  EFI_PORT_HANDLE    PortNumber;\r
   ///\r
   /// The protocol version number of the EAPOL implementation\r
   /// supported by the Port.\r
   ///\r
-  UINT8               ProtocolVersion;\r
+  UINT8              ProtocolVersion;\r
   ///\r
   /// The capabilities of the PAE associated with the Port. This field\r
   /// indicates whether Authenticator functionality, Supplicant\r
   /// functionality, both, or neither, is supported by the Port's PAE.\r
   ///\r
-  UINT8               PaeCapabilities;\r
+  UINT8              PaeCapabilities;\r
 } EFI_EAPOL_PORT_INFO;\r
 \r
 ///\r
@@ -74,10 +74,10 @@ typedef enum _EFI_EAPOL_SUPPLICANT_PAE_STATE {
 /// Definitions for ValidFieldMask\r
 ///\r
 ///@{\r
-#define AUTH_PERIOD_FIELD_VALID       0x01\r
-#define HELD_PERIOD_FIELD_VALID       0x02\r
-#define START_PERIOD_FIELD_VALID      0x04\r
-#define MAX_START_FIELD_VALID         0x08\r
+#define AUTH_PERIOD_FIELD_VALID   0x01\r
+#define HELD_PERIOD_FIELD_VALID   0x02\r
+#define START_PERIOD_FIELD_VALID  0x04\r
+#define MAX_START_FIELD_VALID     0x08\r
 ///@}\r
 \r
 ///\r
@@ -87,25 +87,25 @@ typedef struct _EFI_EAPOL_SUPPLICANT_PAE_CONFIGURATION {
   ///\r
   /// Indicates which of the following fields are valid.\r
   ///\r
-  UINT8       ValidFieldMask;\r
+  UINT8    ValidFieldMask;\r
   ///\r
   /// The initial value for the authWhile timer. Its default value is 30s.\r
   ///\r
-  UINTN       AuthPeriod;\r
+  UINTN    AuthPeriod;\r
   ///\r
   /// The initial value for the heldWhile timer. Its default value is 60s.\r
   ///\r
-  UINTN       HeldPeriod;\r
+  UINTN    HeldPeriod;\r
   ///\r
   /// The initial value for the startWhen timer. Its default value is 30s.\r
   ///\r
-  UINTN       StartPeriod;\r
+  UINTN    StartPeriod;\r
   ///\r
   /// The maximum number of successive EAPOL-Start messages will\r
   /// be sent before the Supplicant assumes that there is no\r
   /// Authenticator present. Its default value is 3.\r
   ///\r
-  UINTN       MaxStart;\r
+  UINTN    MaxStart;\r
 } EFI_EAPOL_SUPPLICANT_PAE_CONFIGURATION;\r
 \r
 ///\r
@@ -115,55 +115,55 @@ typedef struct _EFI_EAPOL_SUPPLICANT_PAE_STATISTICS {
   ///\r
   /// The number of EAPOL frames of any type that have been received by this Supplican.\r
   ///\r
-  UINTN     EapolFramesReceived;\r
+  UINTN    EapolFramesReceived;\r
   ///\r
   /// The number of EAPOL frames of any type that have been transmitted by this Supplicant.\r
   ///\r
-  UINTN     EapolFramesTransmitted;\r
+  UINTN    EapolFramesTransmitted;\r
   ///\r
   /// The number of EAPOL Start frames that have been transmitted by this Supplicant.\r
   ///\r
-  UINTN     EapolStartFramesTransmitted;\r
+  UINTN    EapolStartFramesTransmitted;\r
   ///\r
   /// The number of EAPOL Logoff frames that have been transmitted by this Supplicant.\r
   ///\r
-  UINTN     EapolLogoffFramesTransmitted;\r
+  UINTN    EapolLogoffFramesTransmitted;\r
   ///\r
   /// The number of EAP Resp/Id frames that have been transmitted by this Supplicant.\r
   ///\r
-  UINTN     EapRespIdFramesTransmitted;\r
+  UINTN    EapRespIdFramesTransmitted;\r
   ///\r
   /// The number of valid EAP Response frames (other than Resp/Id frames) that have been\r
   /// transmitted by this Supplicant.\r
   ///\r
-  UINTN     EapResponseFramesTransmitted;\r
+  UINTN    EapResponseFramesTransmitted;\r
   ///\r
   /// The number of EAP Req/Id frames that have been received by this Supplicant.\r
   ///\r
-  UINTN     EapReqIdFramesReceived;\r
+  UINTN    EapReqIdFramesReceived;\r
   ///\r
   /// The number of EAP Request frames (other than Rq/Id frames) that have been received\r
   /// by this Supplicant.\r
   ///\r
-  UINTN     EapRequestFramesReceived;\r
+  UINTN    EapRequestFramesReceived;\r
   ///\r
   /// The number of EAPOL frames that have been received by this Supplicant in which the\r
   /// frame type is not recognized.\r
   ///\r
-  UINTN     InvalidEapolFramesReceived;\r
+  UINTN    InvalidEapolFramesReceived;\r
   ///\r
   /// The number of EAPOL frames that have been received by this Supplicant in which the\r
   /// Packet Body Length field (7.5.5) is invalid.\r
   ///\r
-  UINTN     EapLengthErrorFramesReceived;\r
+  UINTN    EapLengthErrorFramesReceived;\r
   ///\r
   /// The protocol version number carried in the most recently received EAPOL frame.\r
   ///\r
-  UINTN     LastEapolFrameVersion;\r
+  UINTN    LastEapolFrameVersion;\r
   ///\r
   /// The source MAC address carried in the most recently received EAPOL frame.\r
   ///\r
-  UINTN     LastEapolFrameSource;\r
+  UINTN    LastEapolFrameSource;\r
 } EFI_EAPOL_SUPPLICANT_PAE_STATISTICS;\r
 \r
 /**\r
@@ -391,7 +391,6 @@ struct _EFI_EAP_MANAGEMENT_PROTOCOL {
   EFI_EAP_GET_SUPPLICANT_STATISTICS       GetSupplicantStatistics;\r
 };\r
 \r
-extern EFI_GUID gEfiEapManagementProtocolGuid;\r
+extern EFI_GUID  gEfiEapManagementProtocolGuid;\r
 \r
 #endif\r
-\r