summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2015-05-20 05:21:19 +0000
committerhwu1225 <hwu1225@Edk2>2015-05-20 05:21:19 +0000
commit3bafd562b7be6c781f3f389a1e79b37268076ffa (patch)
tree5b77508fe1b23c34065d56f0a728031b239a0c9b /MdePkg/Include
parent0d2aa2b19602644417862e887a863950917bdc68 (diff)
downloadedk2-3bafd562b7be6c781f3f389a1e79b37268076ffa.tar.gz
edk2-3bafd562b7be6c781f3f389a1e79b37268076ffa.tar.bz2
edk2-3bafd562b7be6c781f3f389a1e79b37268076ffa.zip
MdePkg: Add WiFi device path definition and its node/text conversion
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17476 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include')
-rw-r--r--MdePkg/Include/Protocol/DevicePath.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/MdePkg/Include/Protocol/DevicePath.h b/MdePkg/Include/Protocol/DevicePath.h
index 1dbb1a1ff4..7b9a4e5520 100644
--- a/MdePkg/Include/Protocol/DevicePath.h
+++ b/MdePkg/Include/Protocol/DevicePath.h
@@ -895,6 +895,18 @@ typedef struct {
BLUETOOTH_ADDRESS BD_ADDR;
} BLUETOOTH_DEVICE_PATH;
+///
+/// Wi-Fi Device Path SubType.
+///
+#define MSG_WIFI_DP 0x1C
+typedef struct {
+ EFI_DEVICE_PATH_PROTOCOL Header;
+ ///
+ /// Service set identifier. A 32-byte octets string.
+ ///
+ UINT8 SSId[32];
+} WIFI_DEVICE_PATH;
+
//
// Media Device Path
//
@@ -1145,6 +1157,7 @@ typedef union {
NVME_NAMESPACE_DEVICE_PATH NvmeNamespace;
URI_DEVICE_PATH Uri;
BLUETOOTH_DEVICE_PATH Bluetooth;
+ WIFI_DEVICE_PATH WiFi;
UFS_DEVICE_PATH Ufs;
SD_DEVICE_PATH Sd;
HARDDRIVE_DEVICE_PATH HardDrive;
@@ -1199,6 +1212,7 @@ typedef union {
NVME_NAMESPACE_DEVICE_PATH *NvmeNamespace;
URI_DEVICE_PATH *Uri;
BLUETOOTH_DEVICE_PATH *Bluetooth;
+ WIFI_DEVICE_PATH *WiFi;
UFS_DEVICE_PATH *Ufs;
SD_DEVICE_PATH *Sd;
HARDDRIVE_DEVICE_PATH *HardDrive;