diff options
author | Frederic Danis <frederic.danis@linux.intel.com> | 2015-06-09 16:15:37 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-06-09 23:27:35 +0200 |
commit | 61b2fc2bb53f162121f4267f10d2a662911f3e86 (patch) | |
tree | 4cfde9a55db67caa61ed59dd376341b664bea68d /drivers/bluetooth/btbcm.h | |
parent | c9d442038ef729549e1fd14ff1d61d0d3a7f0560 (diff) | |
download | op-kernel-dev-61b2fc2bb53f162121f4267f10d2a662911f3e86.zip op-kernel-dev-61b2fc2bb53f162121f4267f10d2a662911f3e86.tar.gz |
Bluetooth: hci_uart: Add bcm_set_baudrate()
Add vendor specific command to change controller device speed.
Signed-off-by: Frederic Danis <frederic.danis@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btbcm.h')
-rw-r--r-- | drivers/bluetooth/btbcm.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/bluetooth/btbcm.h b/drivers/bluetooth/btbcm.h index f405f84..02f5f96 100644 --- a/drivers/bluetooth/btbcm.h +++ b/drivers/bluetooth/btbcm.h @@ -21,6 +21,18 @@ * */ +#define BCM_UART_CLOCK_48MHZ 0x01 +#define BCM_UART_CLOCK_24MHZ 0x02 + +struct bcm_update_uart_baud_rate { + __le16 zero; + __le32 baud_rate; +} __packed; + +struct bcm_write_uart_clock_setting { + __u8 type; +} __packed; + #if IS_ENABLED(CONFIG_BT_BCM) int btbcm_check_bdaddr(struct hci_dev *hdev); |