Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Bluetooth: hci_event: Set QoS encryption from BIGInfo report

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@nxp.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

authored by

Iulia Tanasescu and committed by
Luiz Augusto von Dentz
5a820b13 27489364

+2
+2
net/bluetooth/hci_event.c
··· 6988 6988 if (!pa_sync) 6989 6989 goto unlock; 6990 6990 6991 + pa_sync->iso_qos.bcast.encryption = ev->encryption; 6992 + 6991 6993 /* Notify iso layer */ 6992 6994 hci_connect_cfm(pa_sync, 0); 6993 6995