mbox series

[0/2] Add support for handling encrypted BIGs based on BIGInfo reports

Message ID 20230821120014.28654-1-iulia.tanasescu@nxp.com
Headers show
Series Add support for handling encrypted BIGs based on BIGInfo reports | expand

Message

Iulia Tanasescu Aug. 21, 2023, noon UTC
This patch introduces MGMT events for BIGInfo advertising reports, so
that the event can be passed from kernel to userspace.

This patch also adds the sync_handle field to the bt_iso_bcast_qos
structure.

These changes are needed in order to implement the BASS Set Broadcast
Code operation - a BASS Server is required to inspect BIGInfo
advertising reports received from a Broadcast Source, to determine if
the BIG is encrypted or not. The Server is only able to associate a
Broadcast Source with a received BIGInfo report by looking at the
sync_handle field. This is why the sync_handle needs to be available
in the QoS structure, so that it can e retrieved via getsockopt, once
PA sync is established.

Iulia Tanasescu (2):
  Bluetooth: ISO: Add MGMT event for BIGInfo adv report
  Bluetooth: ISO: Pass sync_handle through iso qos

 include/net/bluetooth/bluetooth.h |  1 +
 include/net/bluetooth/hci_core.h  |  4 +++-
 include/net/bluetooth/mgmt.h      | 18 ++++++++++++++++++
 net/bluetooth/hci_conn.c          |  5 ++---
 net/bluetooth/hci_event.c         |  7 ++++++-
 net/bluetooth/iso.c               | 14 +++++---------
 net/bluetooth/mgmt.c              |  8 ++++++++
 7 files changed, 43 insertions(+), 14 deletions(-)


base-commit: f0835e7404b7f6fd825fc1ad7a174253a54234cf