• Iulia Tanasescu's avatar
    Bluetooth: ISO: Reassociate a socket with an active BIS · fa224d0c
    Iulia Tanasescu authored
    For ISO Broadcast, all BISes from a BIG have the same lifespan - they
    cannot be created or terminated independently from each other.
    
    This links together all BIS hcons that are part of the same BIG, so all
    hcons are 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.
    Signed-off-by: default avatarIulia Tanasescu <iulia.tanasescu@nxp.com>
    Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
    fa224d0c
hci_conn.c 74.1 KB