summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Protocol/Eap.h
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2015-05-27 02:48:28 +0000
committerhwu1225 <hwu1225@Edk2>2015-05-27 02:48:28 +0000
commitd3dc58e979878a8f852e7bae777bd91893e166d8 (patch)
treed8967fac99ebb7e8e7b51e2ee8ac14fbcd41474e /MdePkg/Include/Protocol/Eap.h
parent940281055a8f9f5351f3099cd555fbceae07afd3 (diff)
downloadedk2-d3dc58e979878a8f852e7bae777bd91893e166d8.tar.gz
edk2-d3dc58e979878a8f852e7bae777bd91893e166d8.tar.bz2
edk2-d3dc58e979878a8f852e7bae777bd91893e166d8.zip
MdePkg: Add EFI EAP Configuration Protocol definitions
Add UEFI2.5 EFI EAP Configuration Protocol definitions. MdePkg/Include/Protocol/Eap.h is also modified for backward compatibility. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17518 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Protocol/Eap.h')
-rw-r--r--MdePkg/Include/Protocol/Eap.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/MdePkg/Include/Protocol/Eap.h b/MdePkg/Include/Protocol/Eap.h
index 9b445e25a0..eac2d5e564 100644
--- a/MdePkg/Include/Protocol/Eap.h
+++ b/MdePkg/Include/Protocol/Eap.h
@@ -5,7 +5,7 @@
The definitions in this file are defined in UEFI Specification 2.3.1B, which have
not been verified by one implementation yet.
- Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -44,10 +44,11 @@ typedef VOID * EFI_PORT_HANDLE;
//
// EAP_TYPE MD5, OTP and TOEKN_CARD has been removed from UEFI2.3.1B.
+// Definitions are kept for backward compatibility.
//
-#define EFI_EAP_TYPE_MD5 0x4
-#define EFI_EAP_TYPE_OTP 0x5
-#define EFI_EAP_TYPE_TOKEN_CARD 0x6
+#define EFI_EAP_TYPE_MD5 4
+#define EFI_EAP_TYPE_OTP 5
+#define EFI_EAP_TYPE_TOKEN_CARD 6
/**
One user provided EAP authentication method.