ACK: [PATCH 1/3] lib: fwts_uefi: add wireless device path define

Alex Hung alex.hung at canonical.com
Wed Nov 25 02:32:11 UTC 2015


On 2015-11-20 04:54 PM, Ivan Hu wrote:
> Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
> ---
>   src/lib/include/fwts_uefi.h | 8 +++++++-
>   1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/src/lib/include/fwts_uefi.h b/src/lib/include/fwts_uefi.h
> index a1d9971..f7f8ade 100644
> --- a/src/lib/include/fwts_uefi.h
> +++ b/src/lib/include/fwts_uefi.h
> @@ -236,7 +236,8 @@ typedef enum {
>   	FWTS_UEFI_URI_DEVICE_PATH_SUBTYPE = 		(0x18),
>   	FWTS_UEFI_UFS_DEVICE_PATH_SUBTYPE = 		(0x19),
>   	FWTS_UEFI_SD_DEVICE_PATH_SUBTYPE = 		(0x1a),
> -	FWTS_UEFI_BLUETOOTH_DEVICE_PATH_SUBTYPE = 	(0x1b)
> +	FWTS_UEFI_BLUETOOTH_DEVICE_PATH_SUBTYPE = 	(0x1b),
> +	FWTS_UEFI_WIRELESS_DEVICE_PATH_SUBTYPE = 	(0x1c)
>   } messaging_dev_path_subtypes;
>
>   typedef enum {
> @@ -530,6 +531,11 @@ typedef struct {
>
>   typedef struct {
>   	fwts_uefi_dev_path dev_path;
> +	char ssid[0];
> +} __attribute__((packed)) fwts_uefi_wireless_dev_path;
> +
> +typedef struct {
> +	fwts_uefi_dev_path dev_path;
>   	uint32_t partition_number;
>   	uint64_t partition_start;
>   	uint64_t partition_size;
>

Acked-by: Alex Hung <alex.hung at canonical.com>



More information about the fwts-devel mailing list