aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorArman Uguray <armansito@chromium.org>2015-03-23 18:57:10 -0400
committerMarcel Holtmann <marcel@holtmann.org>2015-03-23 20:53:45 -0400
commit4453b006538d02ada8294a195bb2dc2ada498436 (patch)
tree2d69d44cdfc840763d192b570faca60e75c5a921 /include/net/bluetooth
parent841a6664f213f76a9bc1bfd07a466d3dbe281a88 (diff)
Bluetooth: Introduce HCI_ADVERTISING_INSTANCE setting and add AD flags
This patch introduces the HCI_ADVERTISING_INSTANCE setting, which is set when an at least one advertising instance has been added using the "Add Advertising" mgmt command. This patch also adds a macro definition for the EIR_APPEARANCE field type. Signed-off-by: Arman Uguray <armansito@chromium.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/hci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index 06e7eee31ce4..3acecf35420b 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -227,6 +227,7 @@ enum {
227 HCI_LE_ENABLED, 227 HCI_LE_ENABLED,
228 HCI_ADVERTISING, 228 HCI_ADVERTISING,
229 HCI_ADVERTISING_CONNECTABLE, 229 HCI_ADVERTISING_CONNECTABLE,
230 HCI_ADVERTISING_INSTANCE,
230 HCI_CONNECTABLE, 231 HCI_CONNECTABLE,
231 HCI_DISCOVERABLE, 232 HCI_DISCOVERABLE,
232 HCI_LIMITED_DISCOVERABLE, 233 HCI_LIMITED_DISCOVERABLE,
@@ -465,6 +466,7 @@ enum {
465#define EIR_SSP_HASH_C 0x0E /* Simple Pairing Hash C */ 466#define EIR_SSP_HASH_C 0x0E /* Simple Pairing Hash C */
466#define EIR_SSP_RAND_R 0x0F /* Simple Pairing Randomizer R */ 467#define EIR_SSP_RAND_R 0x0F /* Simple Pairing Randomizer R */
467#define EIR_DEVICE_ID 0x10 /* device ID */ 468#define EIR_DEVICE_ID 0x10 /* device ID */
469#define EIR_APPEARANCE 0x19 /* Device appearance */
468#define EIR_LE_BDADDR 0x1B /* LE Bluetooth device address */ 470#define EIR_LE_BDADDR 0x1B /* LE Bluetooth device address */
469#define EIR_LE_ROLE 0x1C /* LE role */ 471#define EIR_LE_ROLE 0x1C /* LE role */
470#define EIR_LE_SC_CONFIRM 0x22 /* LE SC Confirmation Value */ 472#define EIR_LE_SC_CONFIRM 0x22 /* LE SC Confirmation Value */