• Iulia Tanasescu's avatar
    Bluetooth: ISO: Pass BIG encryption info through QoS · 1d11d70d
    Iulia Tanasescu authored
    This enables a broadcast sink to be informed if the PA
    it has synced with is associated with an encrypted BIG,
    by retrieving the socket QoS and checking the encryption
    field.
    
    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.
    Signed-off-by: default avatarIulia Tanasescu <iulia.tanasescu@nxp.com>
    Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
    1d11d70d
hci_event.c 197 KB