Bluetooth: hci_uart: Provide generic H:4 receive framework
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 6 Apr 2015 06:44:59 +0000 (23:44 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 7 Apr 2015 16:48:21 +0000 (18:48 +0200)
Future H:4 based UART drivers require custom packet types and custom
receive functions. To support this, extended the h4_recv_buf function
with a packet definition table.

For the default H:4 packets types of ACL data, SCO data and events,
provide helpers to reduce the amount of code duplication.

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

Simple merge
Simple merge
Simple merge
Simple merge