mbox series

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

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

Message

Iulia Tanasescu Aug. 24, 2023, 10:16 a.m. 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               | 18 +++++++-----------
 net/bluetooth/mgmt.c              |  8 ++++++++
 7 files changed, 45 insertions(+), 16 deletions(-)


base-commit: feed554a67ab7a602cd26cf6a4c44093dd54d4b9