mbox series

[0/1] Bluetooth: ISO: Use defer setup to separate PA sync and BIG sync

Message ID 20230802143638.59945-1-iulia.tanasescu@nxp.com
Headers show
Series Bluetooth: ISO: Use defer setup to separate PA sync and BIG sync | expand

Message

Iulia Tanasescu Aug. 2, 2023, 2:36 p.m. UTC
Some scenarios require a Broadcast Sink to complete the PA sync and
BIG sync procedures separately.

For example, a Broadcast Sink might synchronize to the periodic
advertising transmitted by a Broadcast Source and it might detect
that the BIG is encrypted, by looking at the BIGInfo advertising
reports. If the Broadcast Sink doesn't know which Broadcast Code
to pass as parameter to the BIG Create Sync command, it might learn
it from a BASS Client through the Set Broadcast Code operation.
Only then will it be able to successfully sync to the BIG.

This patch implements defer setup support for the Broadcast Sink
scenario: By setting defer setup on a broadcast socket before calling
listen, the user is able to trigger the PA sync and BIG sync procedures
separately.

Iulia Tanasescu (1):
  Bluetooth: ISO: Use defer setup to separate PA sync and BIG sync

 include/net/bluetooth/hci_core.h |  30 +++++-
 net/bluetooth/hci_conn.c         |  13 ++-
 net/bluetooth/hci_event.c        |  41 +++++++-
 net/bluetooth/hci_sync.c         |  16 +++-
 net/bluetooth/iso.c              | 160 ++++++++++++++++++++++++-------
 5 files changed, 215 insertions(+), 45 deletions(-)


base-commit: f0eecb651f964da87235836157df953fc5318b9a