Skip to content

Bluetooth: ISO: Handle PA sync when no BIGInfo reports are generated

Iulia Tanasescu linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review 1 of 2 applied

Patches in v1 1 of 2 applied

#Subject and filesSizeRepliesApplied
1/2Bluetooth: ISO: Make iso_get_sock_listen genericnet/bluetooth/iso.c+42 -332 replies
2/2Bluetooth: ISO: Handle PA sync when no BIGInfo reports are generatedinclude/net/bluetooth/hci_core.h net/bluetooth/hci_event.c net/bluetooth/iso.c+74 -810 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Bluetooth: ISO: Handle PA sync when no BIGInfo reports are generated

In case of a Broadcast Source that has PA enabled but no active BIG, a Broadcast Sink needs to establish PA sync and parse BASE from PA reports.

This commit moves the allocation of a PA sync hcon from the BIGInfo advertising report event to the PA sync established event. After the first complete PA report, the hcon is notified to the ISO layer. A child socket is allocated and enqueued in the parent's accept queue.

BIGInfo reports also need to be processed, to extract the encryption field and inform userspace. After the first BIGInfo report is received, the PA sync hcon is notified again to the ISO layer. Since a socket will be found this time, the socket state will transition to BT_CONNECTED and the userspace will be woken up using sk_state_change.

Iulia Tanasescu (2):
Bluetooth: ISO: Make iso_get_sock_listen generic
Bluetooth: ISO: Handle PA sync when no BIGInfo reports are generated

 include/net/bluetooth/hci_core.h |   3 +-
 net/bluetooth/hci_event.c        |  58 ++++++------
 net/bluetooth/iso.c              | 149 +++++++++++++++----------------
 3 files changed, 106 insertions(+), 104 deletions(-)

base-commit: 2216e1eabc7ca013eb1e8007846253dee72dcb76

Signature · 1 line
2.39.2