]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/BluetoothConfig.h
MdePkg/BluetoothConfig: Add new EFI_BLUETOOTH_CONFIG_DATA_TYPE types
[mirror_edk2.git] / MdePkg / Include / Protocol / BluetoothConfig.h
index b1b3f551263e01ef937ab11f80f38a1577b52239..4240ef0a140a064eb42c7f60603dbff9bf837058 100644 (file)
@@ -2,7 +2,7 @@
   EFI Bluetooth Configuration Protocol as defined in UEFI 2.5.\r
   This protocol abstracts user interface configuration for Bluetooth device.\r
 \r
-  Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials are licensed and made available under \r
   the terms and conditions of the BSD License that accompanies this distribution.  \r
   The full text of the license may be found at\r
@@ -69,7 +69,7 @@ typedef enum {
   ///\r
   /// Remote Bluetooth device state. Data structure is EFI_BLUETOOTH_CONFIG_REMOTE_DEVICE_STATE_TYPE.\r
   ///\r
-  EfiBluetoothConfigDataTypeRemoteDeviceState,\r
+  EfiBluetoothConfigDataTypeRemoteDeviceState, /* Relevant for LE*/\r
   ///\r
   /// Local/Remote Bluetooth device SDP information. Data structure is UINT8[].\r
   ///\r
@@ -77,11 +77,11 @@ typedef enum {
   ///\r
   /// Local Bluetooth device address. Data structure is BLUETOOTH_ADDRESS.\r
   ///\r
-  EfiBluetoothConfigDataTypeBDADDR,\r
+  EfiBluetoothConfigDataTypeBDADDR, /* Relevant for LE*/\r
   ///\r
   /// Local Bluetooth discoverable state. Data structure is UINT8. (Page scan and/or Inquiry scan)\r
   ///\r
-  EfiBluetoothConfigDataTypeDiscoverable,\r
+  EfiBluetoothConfigDataTypeDiscoverable, /* Relevant for LE*/\r
   ///\r
   /// Local Bluetooth controller stored paired device list. Data structure is BLUETOOTH_ADDRESS[].\r
   ///\r
@@ -90,6 +90,21 @@ typedef enum {
   /// Local available device list. Data structure is BLUETOOTH_ADDRESS[].\r
   ///\r
   EfiBluetoothConfigDataTypeAvailableDeviceList,\r
+  EfiBluetoothConfigDataTypeRandomAddress, /* Relevant for LE*/\r
+  EfiBluetoothConfigDataTypeRSSI, /* Relevant for LE*/\r
+  ///\r
+  /// Advertisement report. Data structure is UNIT8[].\r
+  ///\r
+  EfiBluetoothConfigDataTypeAdvertisementData, /* Relevant for LE*/\r
+  EfiBluetoothConfigDataTypeIoCapability, /* Relevant for LE*/\r
+  EfiBluetoothConfigDataTypeOOBDataFlag, /* Relevant for LE*/\r
+  ///\r
+  /// KeyType of Authentication Requirements flag of local\r
+  /// device as UINT8, indicating requested security properties.\r
+  /// See Bluetooth specification 3.H.3.5.1. BIT0: MITM, BIT1:SC.\r
+  ///\r
+  EfiBluetoothConfigDataTypeKeyType, /* Relevant for LE*/\r
+  EfiBluetoothConfigDataTypeEncKeySize, /* Relevant for LE*/\r
   EfiBluetoothConfigDataTypeMax,\r
 } EFI_BLUETOOTH_CONFIG_DATA_TYPE;\r
 \r
@@ -324,7 +339,7 @@ EFI_STATUS
 (EFIAPI *EFI_BLUETOOTH_CONFIG_GET_REMOTE_DATA)(\r
   IN EFI_BLUETOOTH_CONFIG_PROTOCOL                  *This,\r
   IN EFI_BLUETOOTH_CONFIG_DATA_TYPE                 DataType,\r
-  IN BLUETOOTH_ADDRESS                              BDAddr,\r
+  IN BLUETOOTH_ADDRESS                              *BDAddr,\r
   IN OUT UINTN                                      *DataSize,\r
   IN OUT VOID                                       *Data\r
   );\r