]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_uart: Add support for vendor detection flag
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 4 Apr 2015 23:13:01 +0000 (16:13 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 7 Apr 2015 16:47:08 +0000 (18:47 +0200)
commitc0548439108257edb035feac14d506e44bc8d4f8
tree16ce28ed621ca03d222c0edaf633fc852f0e7052
parentec3a3afa1bed5e6da38b51374f7751c0e585e8f6
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>
drivers/bluetooth/hci_ldisc.c
drivers/bluetooth/hci_uart.h