mbox series

[0/1] Bluetooth: ISO: Match QoS adv handle with BIG handle

Message ID 20230929153727.3728-1-iulia.tanasescu@nxp.com
Headers show
Series Bluetooth: ISO: Match QoS adv handle with BIG handle | expand

Message

Iulia Tanasescu Sept. 29, 2023, 3:37 p.m. UTC
Currently, if the user wants to bind multiple broadcast sockets to the
same BIG handle, the BIG and BIS fields of the QoS structs must be
identical for all sockets.

It means that the user must remember both the desired BIG handle and
the associated advertising handle that the BIG will be opened for.
This information is redundant, since one BIG handle may only be
associated with an unique adv handle.

This patch makes it possible for the user to only provide a desired
BIG handle and leave the advertising handle as unset - in this case,
the kernel should allocate an unused adv handle for the first opened
socket and then be able to match it for all other sockets that will
be later bound for the same BIG.

Iulia Tanasescu (1):
  Bluetooth: ISO: Match QoS adv handle with BIG handle

 net/bluetooth/hci_conn.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)


base-commit: 091e25d6b54992d1d702ae91cbac139d4c243251