mirror of https://github.com/acidanthera/audk.git
MdePkg/BluetoothConfig: Add new EFI_BLUETOOTH_CONFIG_DATA_TYPE types
UEFI spec 2.7 adds new EFI_BLUETOOTH_CONFIG_DATA_TYPE types. The patch adds them to the header file. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
parent
ff5623e990
commit
0cbd5830b4
|
@ -2,7 +2,7 @@
|
||||||
EFI Bluetooth Configuration Protocol as defined in UEFI 2.5.
|
EFI Bluetooth Configuration Protocol as defined in UEFI 2.5.
|
||||||
This protocol abstracts user interface configuration for Bluetooth device.
|
This protocol abstracts user interface configuration for Bluetooth device.
|
||||||
|
|
||||||
Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials are licensed and made available under
|
This program and the accompanying materials are licensed and made available under
|
||||||
the terms and conditions of the BSD License that accompanies this distribution.
|
the terms and conditions of the BSD License that accompanies this distribution.
|
||||||
The full text of the license may be found at
|
The full text of the license may be found at
|
||||||
|
@ -69,7 +69,7 @@ typedef enum {
|
||||||
///
|
///
|
||||||
/// Remote Bluetooth device state. Data structure is EFI_BLUETOOTH_CONFIG_REMOTE_DEVICE_STATE_TYPE.
|
/// Remote Bluetooth device state. Data structure is EFI_BLUETOOTH_CONFIG_REMOTE_DEVICE_STATE_TYPE.
|
||||||
///
|
///
|
||||||
EfiBluetoothConfigDataTypeRemoteDeviceState,
|
EfiBluetoothConfigDataTypeRemoteDeviceState, /* Relevant for LE*/
|
||||||
///
|
///
|
||||||
/// Local/Remote Bluetooth device SDP information. Data structure is UINT8[].
|
/// Local/Remote Bluetooth device SDP information. Data structure is UINT8[].
|
||||||
///
|
///
|
||||||
|
@ -77,11 +77,11 @@ typedef enum {
|
||||||
///
|
///
|
||||||
/// Local Bluetooth device address. Data structure is BLUETOOTH_ADDRESS.
|
/// Local Bluetooth device address. Data structure is BLUETOOTH_ADDRESS.
|
||||||
///
|
///
|
||||||
EfiBluetoothConfigDataTypeBDADDR,
|
EfiBluetoothConfigDataTypeBDADDR, /* Relevant for LE*/
|
||||||
///
|
///
|
||||||
/// Local Bluetooth discoverable state. Data structure is UINT8. (Page scan and/or Inquiry scan)
|
/// Local Bluetooth discoverable state. Data structure is UINT8. (Page scan and/or Inquiry scan)
|
||||||
///
|
///
|
||||||
EfiBluetoothConfigDataTypeDiscoverable,
|
EfiBluetoothConfigDataTypeDiscoverable, /* Relevant for LE*/
|
||||||
///
|
///
|
||||||
/// Local Bluetooth controller stored paired device list. Data structure is BLUETOOTH_ADDRESS[].
|
/// Local Bluetooth controller stored paired device list. Data structure is BLUETOOTH_ADDRESS[].
|
||||||
///
|
///
|
||||||
|
@ -90,6 +90,21 @@ typedef enum {
|
||||||
/// Local available device list. Data structure is BLUETOOTH_ADDRESS[].
|
/// Local available device list. Data structure is BLUETOOTH_ADDRESS[].
|
||||||
///
|
///
|
||||||
EfiBluetoothConfigDataTypeAvailableDeviceList,
|
EfiBluetoothConfigDataTypeAvailableDeviceList,
|
||||||
|
EfiBluetoothConfigDataTypeRandomAddress, /* Relevant for LE*/
|
||||||
|
EfiBluetoothConfigDataTypeRSSI, /* Relevant for LE*/
|
||||||
|
///
|
||||||
|
/// Advertisement report. Data structure is UNIT8[].
|
||||||
|
///
|
||||||
|
EfiBluetoothConfigDataTypeAdvertisementData, /* Relevant for LE*/
|
||||||
|
EfiBluetoothConfigDataTypeIoCapability, /* Relevant for LE*/
|
||||||
|
EfiBluetoothConfigDataTypeOOBDataFlag, /* Relevant for LE*/
|
||||||
|
///
|
||||||
|
/// KeyType of Authentication Requirements flag of local
|
||||||
|
/// device as UINT8, indicating requested security properties.
|
||||||
|
/// See Bluetooth specification 3.H.3.5.1. BIT0: MITM, BIT1:SC.
|
||||||
|
///
|
||||||
|
EfiBluetoothConfigDataTypeKeyType, /* Relevant for LE*/
|
||||||
|
EfiBluetoothConfigDataTypeEncKeySize, /* Relevant for LE*/
|
||||||
EfiBluetoothConfigDataTypeMax,
|
EfiBluetoothConfigDataTypeMax,
|
||||||
} EFI_BLUETOOTH_CONFIG_DATA_TYPE;
|
} EFI_BLUETOOTH_CONFIG_DATA_TYPE;
|
||||||
|
|
||||||
|
@ -324,7 +339,7 @@ EFI_STATUS
|
||||||
(EFIAPI *EFI_BLUETOOTH_CONFIG_GET_REMOTE_DATA)(
|
(EFIAPI *EFI_BLUETOOTH_CONFIG_GET_REMOTE_DATA)(
|
||||||
IN EFI_BLUETOOTH_CONFIG_PROTOCOL *This,
|
IN EFI_BLUETOOTH_CONFIG_PROTOCOL *This,
|
||||||
IN EFI_BLUETOOTH_CONFIG_DATA_TYPE DataType,
|
IN EFI_BLUETOOTH_CONFIG_DATA_TYPE DataType,
|
||||||
IN BLUETOOTH_ADDRESS BDAddr,
|
IN BLUETOOTH_ADDRESS *BDAddr,
|
||||||
IN OUT UINTN *DataSize,
|
IN OUT UINTN *DataSize,
|
||||||
IN OUT VOID *Data
|
IN OUT VOID *Data
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue