Bluetooth: ISO: Reassemble PA data for bcast sink
authorIulia Tanasescu <iulia.tanasescu@nxp.com>
Fri, 23 Feb 2024 13:14:42 +0000 (15:14 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 6 Mar 2024 22:26:19 +0000 (17:26 -0500)
commit168d9bf9c7f01df71e6404cfff66d9c2a8e968fb
tree84829e573ec72e262873d89beb4cc96b6a1cb707
parent02171da6e86a73e1b343b36722f5d9d5c04b3539
Bluetooth: ISO: Reassemble PA data for bcast sink

This adds support to reassemble PA data for a Broadcast Sink
listening socket. This is needed in case the BASE is received
fragmented in multiple PA reports.

PA data is first reassembled inside the hcon, before the BASE
is extracted and stored inside the socket. The length of the
le_per_adv_data hcon array has been raised to 1650, to accommodate
the maximum PA data length that can come fragmented, according to
spec.

Signed-off-by: Iulia Tanasescu <iulia.tanasescu@nxp.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
include/net/bluetooth/hci.h
include/net/bluetooth/hci_core.h
net/bluetooth/iso.c