]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_bcm: Enable parsing of LM_DIAG messages
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 7 Oct 2015 17:12:54 +0000 (19:12 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 8 Oct 2015 06:53:16 +0000 (09:53 +0300)
commitf6e14670d6ebea1fe0d1524f3783ba70601d2ab5
treea241a978571b3796e30d679f62e791196cc41673
parent089d516cbfa3c0159c9750210457e608569172bd
Bluetooth: hci_bcm: Enable parsing of LM_DIAG messages

The Broadcom UART based controllers can send LM_DIAG messages with the
identifier 0x07 inside the HCI stream. These messages are 63 octets in
size and have no variable payload or length indicator.

This patch adds correct parsing information for the h4_recv_buf handler
and in case these packets are received, they are forwarded to the
Bluetooth core via hci_recv_diag interface.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
drivers/bluetooth/hci_bcm.c