diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-04-04 19:13:03 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-04-07 12:47:08 -0400 |
commit | e9a2dd261ac3d7bffbf55368a60401f5982dcc59 (patch) | |
tree | 2ea20c4ed4586accdb395fe2c55c6bf47eb350a7 /drivers/bluetooth/hci_uart.h | |
parent | 16e3887f9c625dbcbc5d7cc939881dd4515141c5 (diff) |
Bluetooth: hci_uart: Add support Broadcom address configuration
When using vendor detection, this adds support for the Broadcom
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 687aa7e9eb2e..4dc8ab3009a9 100644 --- a/drivers/bluetooth/hci_uart.h +++ b/drivers/bluetooth/hci_uart.h | |||
@@ -35,7 +35,7 @@ | |||
35 | #define HCIUARTGETFLAGS _IOR('U', 204, int) | 35 | #define HCIUARTGETFLAGS _IOR('U', 204, int) |
36 | 36 | ||
37 | /* UART protocols */ | 37 | /* UART protocols */ |
38 | #define HCI_UART_MAX_PROTO 7 | 38 | #define HCI_UART_MAX_PROTO 8 |
39 | 39 | ||
40 | #define HCI_UART_H4 0 | 40 | #define HCI_UART_H4 0 |
41 | #define HCI_UART_BCSP 1 | 41 | #define HCI_UART_BCSP 1 |
@@ -44,6 +44,7 @@ | |||
44 | #define HCI_UART_LL 4 | 44 | #define HCI_UART_LL 4 |
45 | #define HCI_UART_ATH3K 5 | 45 | #define HCI_UART_ATH3K 5 |
46 | #define HCI_UART_INTEL 6 | 46 | #define HCI_UART_INTEL 6 |
47 | #define HCI_UART_BCM 7 | ||
47 | 48 | ||
48 | #define HCI_UART_RAW_DEVICE 0 | 49 | #define HCI_UART_RAW_DEVICE 0 |
49 | #define HCI_UART_RESET_ON_INIT 1 | 50 | #define HCI_UART_RESET_ON_INIT 1 |
@@ -123,3 +124,7 @@ int h5_deinit(void); | |||
123 | #ifdef CONFIG_BT_HCIUART_INTEL | 124 | #ifdef CONFIG_BT_HCIUART_INTEL |
124 | int intel_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); | 125 | int intel_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); |
125 | #endif | 126 | #endif |
127 | |||
128 | #ifdef CONFIG_BT_HCIUART_BCM | ||
129 | int bcm_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); | ||
130 | #endif | ||