mbox series

[v2,0/1] Bluetooth: ISO: Reassociate a socket with an active BIS

Message ID 20231113153800.3771-1-iulia.tanasescu@nxp.com
Headers show
Series Bluetooth: ISO: Reassociate a socket with an active BIS | expand

Message

Iulia Tanasescu Nov. 13, 2023, 3:37 p.m. UTC
This patch implements a kernel improvement, to be able to reopen a BIS
socket from userspace and reassociate it with an active BIS connection.

This is useful for a Broadcast Source with multiple BISes - since a BIS
cannot be terminated independently from other BISes in the BIG, all BIS
hcons should be linked and kept alive as long as the BIG is active.

If multiple BIS sockets are opened for a BIG handle, and only part of
them are closed at some point, the associated hcons will be marked as
open. If new sockets will later be opened for the same BIG, they will
be reassociated with the open BIS hcons.

All BIS hcons will be cleaned up and the BIG will be terminated when the
last BIS socket is closed from userspace.

This patch version fixes review findings.

Iulia Tanasescu (1):
  Bluetooth: ISO: Reassociate a socket with an active BIS

 include/net/bluetooth/hci_core.h | 24 ++++++++++
 net/bluetooth/hci_conn.c         | 32 ++++++++++++-
 net/bluetooth/iso.c              | 79 +++++++++++++++++++++++++++++++-
 3 files changed, 131 insertions(+), 4 deletions(-)


base-commit: 0783375f2c56ca17719d5ec670e498dc661ea5c3

Comments

patchwork-bot+bluetooth@kernel.org Nov. 17, 2023, 4:20 p.m. UTC | #1
Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Mon, 13 Nov 2023 17:37:59 +0200 you wrote:
> This patch implements a kernel improvement, to be able to reopen a BIS
> socket from userspace and reassociate it with an active BIS connection.
> 
> This is useful for a Broadcast Source with multiple BISes - since a BIS
> cannot be terminated independently from other BISes in the BIG, all BIS
> hcons should be linked and kept alive as long as the BIG is active.
> 
> [...]

Here is the summary with links:
  - [v2,1/1] Bluetooth: ISO: Reassociate a socket with an active BIS
    https://git.kernel.org/bluetooth/bluetooth-next/c/498de6c85fe0

You are awesome, thank you!