commit | 79b8df9362e8bd1951e1fddbd65ca87af8df52c8 | [log] [tgz] |
---|---|---|
author | Marcel Holtmann <marcel@holtmann.org> | Sun Apr 05 23:44:59 2015 -0700 |
committer | Marcel Holtmann <marcel@holtmann.org> | Tue Apr 07 18:48:21 2015 +0200 |
tree | b34a614b874924bbdb49dddfacb5fe2636d3a484 | |
parent | 9a0bb57d2d08f1923aeef3af1877ec0b6f3209ba [diff] |
Bluetooth: hci_uart: Provide generic H:4 receive framework 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>