From 3bafd562b7be6c781f3f389a1e79b37268076ffa Mon Sep 17 00:00:00 2001 From: Hao Wu Date: Wed, 20 May 2015 05:21:19 +0000 Subject: MdePkg: Add WiFi device path definition and its node/text conversion Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu Reviewed-by: Ye Ting git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17476 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Protocol/DevicePath.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'MdePkg/Include') 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; -- cgit v1.2.3