summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_uart.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-04-04 16:13:01 -0700
committerMarcel Holtmann <marcel@holtmann.org>2015-04-07 18:47:08 +0200
commitfb2ce8d11f0399a1359e02fa2fcc5ad7e595544a (patch)
tree16ce28ed621ca03d222c0edaf633fc852f0e7052 /drivers/bluetooth/hci_uart.h
parent7abccdba25be45630eede85053496f1f48d36ec8 (diff)
downloadop-kernel-dev-fb2ce8d11f0399a1359e02fa2fcc5ad7e595544a.zip
op-kernel-dev-fb2ce8d11f0399a1359e02fa2fcc5ad7e595544a.tar.gz
Bluetooth: hci_uart: Add support for vendor detection flag
This adds a new HCI_UART_VND_DETECT flag to allow automatic vendor detection. This allows to enable known vendor commands (for example for setting the public device address) when using a standard H:4 UART protocol or when running in virtual machines. When this new flag is configured and no vendor specific setup routine is provided, then the local version information are read and the provided manufacturer information can be evaluated to configure extra vendor callbacks. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'drivers/bluetooth/hci_uart.h')
-rw-r--r--drivers/bluetooth/hci_uart.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/hci_uart.h b/drivers/bluetooth/hci_uart.h
index 074ed29..22a5f7c 100644
--- a/drivers/bluetooth/hci_uart.h
+++ b/drivers/bluetooth/hci_uart.h
@@ -49,6 +49,7 @@
#define HCI_UART_CREATE_AMP 2
#define HCI_UART_INIT_PENDING 3
#define HCI_UART_EXT_CONFIG 4
+#define HCI_UART_VND_DETECT 5
struct hci_uart;
OpenPOWER on IntegriCloud