Patch "Bluetooth: hci_event: Set QoS encryption from BIGInfo report" has been added to the 6.10-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    Bluetooth: hci_event: Set QoS encryption from BIGInfo report

to the 6.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     bluetooth-hci_event-set-qos-encryption-from-biginfo-.patch
and it can be found in the queue-6.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 3897fb58474a9f132928f4af294942a04036c4ec
Author: Iulia Tanasescu <iulia.tanasescu@xxxxxxx>
Date:   Mon Jun 17 11:52:06 2024 +0300

    Bluetooth: hci_event: Set QoS encryption from BIGInfo report
    
    [ Upstream commit 5a820b13db3988122080f8de2920721f770c37a0 ]
    
    On a Broadcast Sink, after synchronizing to the PA transimitted by a
    Broadcast Source, the BIGInfo advertising reports emitted by the
    Controller hold the encryption field, which indicates whether the
    Broadcast Source is transmitting encrypted streams.
    
    This updates the PA sync hcon QoS with the encryption value reported
    in the BIGInfo report, so that this information is accurate if the
    userspace tries to access the QoS struct via getsockopt.
    
    Fixes: 1d11d70d1f6b ("Bluetooth: ISO: Pass BIG encryption info through QoS")
    Signed-off-by: Iulia Tanasescu <iulia.tanasescu@xxxxxxx>
    Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
index 93f7ac905cece..4611a67d7dcc3 100644
--- a/net/bluetooth/hci_event.c
+++ b/net/bluetooth/hci_event.c
@@ -6988,6 +6988,8 @@ static void hci_le_big_info_adv_report_evt(struct hci_dev *hdev, void *data,
 	if (!pa_sync)
 		goto unlock;
 
+	pa_sync->iso_qos.bcast.encryption = ev->encryption;
+
 	/* Notify iso layer */
 	hci_connect_cfm(pa_sync, 0);
 




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux