mbox series

[BlueZ,0/4] Add mgmt event for BIGInfo report

Message ID 20230824102407.25883-1-iulia.tanasescu@nxp.com
Headers show
Series Add mgmt event for BIGInfo report | expand

Message

Iulia Tanasescu Aug. 24, 2023, 10:24 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 it
can e retrieved via getsockopt, once PA sync is established.

This patch depends on the kernel updates introduced by
https://patchwork.kernel.org/project/bluetooth/cover/20230824101635.25662-1-iulia.tanasescu@nxp.com/

Iulia Tanasescu (4):
  lib/mgmt: Add mgmt event for BIGInfo report
  monitor: Add decoding support for BIGInfo mgmt event
  monitor: Fix decoding issue for hci BIGInfo report
  lib: Add sync_handle to bcast QoS

 lib/bluetooth.h   |  1 +
 lib/mgmt.h        | 18 ++++++++++++++++++
 monitor/control.c | 25 +++++++++++++++++++++++++
 monitor/packet.c  | 35 ++++++++++++++++++++++++++++++++++-
 4 files changed, 78 insertions(+), 1 deletion(-)


base-commit: 60731cab5891ad2be01f5fcdbf5908aff7df4fd1