diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-04-05 02:13:02 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-04-07 19:47:08 +0300 |
commit | 16e3887f9c625dbcbc5d7cc939881dd4515141c5 (patch) | |
tree | 3711a1de31abb521721d79c83d4a3b3736765e54 /drivers/bluetooth/hci_uart.h | |
parent | fb2ce8d11f0399a1359e02fa2fcc5ad7e595544a (diff) | |
download | linux-16e3887f9c625dbcbc5d7cc939881dd4515141c5.tar.xz |
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 'drivers/bluetooth/hci_uart.h')
-rw-r--r-- | drivers/bluetooth/hci_uart.h | 7 |
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 |