• Marcel Holtmann's avatar
    Bluetooth: Introduce user channel flag for HCI devices · 0736cfa8
    Marcel Holtmann authored
    This patch introduces a new user channel flag that allows to give full
    control of a HCI device to a user application. The kernel will stay away
    from the device and does not allow any further modifications of the
    device states.
    
    The existing raw flag is not used since it has a bit of unclear meaning
    due to its legacy. Using a new flag makes the code clearer.
    
    A device with the user channel flag set can still be enumerate using the
    legacy API, but it does not longer enumerate using the new management
    interface used by BlueZ 5 and beyond. This is intentional to not confuse
    users of modern systems.
    Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
    0736cfa8
hci.h 36.6 KB