summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_uart.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-04-05 01:13:02 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-04-07 18:47:08 +0200
commit16e3887f9c625dbcbc5d7cc939881dd4515141c5 (patch)
tree3711a1de31abb521721d79c83d4a3b3736765e54 /drivers/bluetooth/hci_uart.h
parentBluetooth: hci_uart: Add support for vendor detection flag (diff)
downloadlinux-16e3887f9c625dbcbc5d7cc939881dd4515141c5.tar.xz
linux-16e3887f9c625dbcbc5d7cc939881dd4515141c5.zip
Bluetooth: hci_uart: Add support Intel address configuration
When using vendor detection, this adds support for the Intel specific address configuration command. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to '')
-rw-r--r--drivers/bluetooth/hci_uart.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/bluetooth/hci_uart.h b/drivers/bluetooth/hci_uart.h
index 22a5f7c74266..687aa7e9eb2e 100644
--- a/drivers/bluetooth/hci_uart.h
+++ b/drivers/bluetooth/hci_uart.h
@@ -35,7 +35,7 @@
#define HCIUARTGETFLAGS _IOR('U', 204, int)
/* UART protocols */
-#define HCI_UART_MAX_PROTO 6
+#define HCI_UART_MAX_PROTO 7
#define HCI_UART_H4 0
#define HCI_UART_BCSP 1
@@ -43,6 +43,7 @@
#define HCI_UART_H4DS 3
#define HCI_UART_LL 4
#define HCI_UART_ATH3K 5
+#define HCI_UART_INTEL 6
#define HCI_UART_RAW_DEVICE 0
#define HCI_UART_RESET_ON_INIT 1
@@ -118,3 +119,7 @@ int ath_deinit(void);
int h5_init(void);
int h5_deinit(void);
#endif
+
+#ifdef CONFIG_BT_HCIUART_INTEL
+int intel_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr);
+#endif