]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg: update Wi-Fi/Supplicant header files to meet UEFI 2.7.
authorWang, Fan <fan.wang@intel.com>
Tue, 6 Jun 2017 10:51:35 +0000 (18:51 +0800)
committerFu Siyuan <siyuan.fu@intel.com>
Wed, 7 Jun 2017 08:17:36 +0000 (16:17 +0800)
This patch is used to update supplicant.h and wifi2.h
to meet UEFI 2.7 definition. Add EfiSupplicant80211PMK
field in EFI_SUPPLICANT_DATA_TYPE and change **NetworkDesc
to NetworkDesc[1] in EFI_80211_GET_NETWORKS_RESULT.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wang Fan <fan.wang@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
MdePkg/Include/Protocol/Supplicant.h
MdePkg/Include/Protocol/WiFi2.h

index 37e4c7ec7746cc4bcd35a4d0a17b23382106edb6..9cd63f82d18cadc11cb86f19ea0b49a5e53cae33 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   This file defines the EFI Supplicant Protocol.\r
 \r
-  Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution. The full text of the license may be found at\r
@@ -152,6 +152,10 @@ typedef enum {
   // EFI_SUPPLICANT_GTK_LIST.\r
   //\r
   EfiSupplicant80211IGTK,\r
+  //\r
+  // 802.11 PMK. The corresponding Data is 32 bytes pairwise master key.\r
+  //\r
+  EfiSupplicant80211PMK,\r
   EfiSupplicantDataTypeMaximum\r
 } EFI_SUPPLICANT_DATA_TYPE;\r
 \r
index fc4da5cf212474c15db082d44a5e28d420041141..e370059b40c23365663f4c0925bdf8a7d5219b22 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   This file defines the EFI Wireless MAC Connection II Protocol.\r
 \r
-  Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution. The full text of the license may be found at\r
@@ -202,7 +202,7 @@ typedef struct {
   // The NetworkDesc is a pointer to an array of EFI_80211_NETWORK_DESCRIPTION\r
   // instances. It is caller's responsibility to free this buffer.\r
   //\r
-  EFI_80211_NETWORK_DESCRIPTION             **NetworkDesc;\r
+  EFI_80211_NETWORK_DESCRIPTION             NetworkDesc[1];\r
 } EFI_80211_GET_NETWORKS_RESULT;\r
 \r
 ///\r