diff options
| author | 2026-08-28 16:04:30 -0400 | |
|---|---|---|
| committer | 2026-10-14 13:29:26 -0400 | |
| commit | 5299db91df03894253e8fa08627cfb9ec1429e89 (patch) | |
| tree | e4a35236af27866aac8908534e07e2c9a240f736 /scripts/Makefile.thinlto | |
| parent | Bluetooth: L2CAP: refuse __l2cap_chan_add if chan already has conn (diff) | |
Bluetooth: Move H:4 reassembly into the Bluetooth core
h4_recv_buf() is currently implemented in hci_h4.c which is only built as
part of the hci_uart module, and only when CONFIG_BT_HCIUART_H4 is
enabled. That makes the H:4 reassembly logic unusable by drivers which do
not depend on hci_uart, e.g. btusb which needs it to implement Bulk
Serialization Mode.
Move the transport agnostic part into the Bluetooth core as
h4_recv_skb(), which takes a struct hci_dev instead of a struct hci_uart,
along with struct h4_recv_pkt and the H4_RECV_* helpers, and keep
h4_recv_buf() as a thin wrapper for the hci_uart protocols.
Since every Bluetooth driver already depends on the bluetooth module this
introduces no new module dependency and no new Kconfig symbol.
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
