Skip to content

Bluetooth: ISO: Pass BIG encryption info through QoS

Iulia Tanasescu linux-bluetooth 1 version Applied

Status from this message: This patch was applied to bluetooth/bluetooth-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyApplied 1/1

Patches in v1 All 1 applied

#Subject and filesSizeRepliesApplied
1/1Bluetooth: ISO: Pass BIG encryption info through QoSinclude/net/bluetooth/hci.h include/net/bluetooth/hci_core.h net/bluetooth/hci_conn.c +2 more+82 -201 replyApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] Bluetooth: ISO: Pass BIG encryption info through QoS

This patch enables the ISO layer to set the encryption field of the broadcast QoS struct, according to a BIGInfo advertising report received after PA sync establishment.

This is useful for the broadcast sink scenario: the userspace opens a socket and starts listening for a PA sync connection. If the PA is associated with an encrypted BIG, the userspace needs to be informed.

After PA sync has been successfully established and the first BIGInfo advertising report is received, a new hcon is added and notified to the ISO layer. The ISO layer sets the encryption field of the socket and hcon QoS according to the encryption parameter of the BIGInfo advertising report event.

After that, the userspace is woken up, and the QoS of the new PA sync socket can be read, to inspect the encryption field and follow up accordingly.

Iulia Tanasescu (1):
Bluetooth: ISO: Pass BIG encryption info through QoS

 include/net/bluetooth/hci.h      |  3 ++
 include/net/bluetooth/hci_core.h | 25 ++++++++++++++-
 net/bluetooth/hci_conn.c         |  1 +
 net/bluetooth/hci_event.c        | 54 +++++++++++++++++++++++---------
 net/bluetooth/iso.c              | 19 ++++++++---
 5 files changed, 82 insertions(+), 20 deletions(-)

base-commit: 75d095daab9fa1d299fa79ebc7ab5dfbead877ca

Signature · 1 line
2.34.1