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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-- 
2.39.2





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux