public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/8] Add support for setting bcode on bcast sink
@ 2024-08-20 10:39 Vlad Pruteanu
  2024-08-20 10:39 ` [PATCH BlueZ 1/8] doc/media: Add Encryption and BCode fields to QoS property Vlad Pruteanu
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Vlad Pruteanu @ 2024-08-20 10:39 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: mihai-octavian.urzica, iulia.tanasescu, andrei.istodorescu,
	luiz.dentz, Vlad Pruteanu

This series allows the user to set the broadcast code before syncing
to a broadcast source. Upon calling transport.select if the source is
encrypted the user will be prompted to enter the broadcast code. Then,
the code is set in the associated stream's QoS. From here it can be
accessed by iso_do_big_sync, which will pass it to the kernel.

Vlad Pruteanu (8):
  doc/media: Add Encryption and BCode fields to QoS property
  transport: Make get_bcast_qos return the encryption flag
  gdbus: Add g_dbus_proxy_set_property_dict
  doc/media: Make QoS property readwrite
  transport: Add set_bcast_qos method
  shared/bap: Enable set qos method for BT_BAP_BCAST_SINK stream
  client/player: Prompt the user to enter the bcode
  bap: Refresh qos stored in setup before doing BIG sync

 client/player.c                  | 57 +++++++++++++++++++++
 doc/org.bluez.MediaTransport.rst | 12 ++++-
 gdbus/client.c                   | 86 ++++++++++++++++++++++++++++++++
 gdbus/gdbus.h                    |  6 +++
 profiles/audio/bap.c             |  2 +
 profiles/audio/transport.c       | 35 ++++++++++++-
 src/shared/bap.c                 |  2 +-
 7 files changed, 195 insertions(+), 5 deletions(-)

-- 
2.40.1


^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH BlueZ v2 1/8] doc/media: Add Encryption and BCode fields to QoS property
@ 2024-08-22 13:12 Vlad Pruteanu
  2024-08-22 18:10 ` Add support for setting bcode on bcast sink bluez.test.bot
  0 siblings, 1 reply; 13+ messages in thread
From: Vlad Pruteanu @ 2024-08-22 13:12 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: mihai-octavian.urzica, iulia.tanasescu, andrei.istodorescu,
	luiz.dentz, Vlad Pruteanu

This adds the missing QoS fields, Encryption and BCode.
---
 doc/org.bluez.MediaTransport.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/doc/org.bluez.MediaTransport.rst b/doc/org.bluez.MediaTransport.rst
index eb3e04ae2..b53c0cd26 100644
--- a/doc/org.bluez.MediaTransport.rst
+++ b/doc/org.bluez.MediaTransport.rst
@@ -242,6 +242,14 @@ dict QoS [readonly, optional, ISO only, experimental]
 
 		Indicates configured framing.
 
+	:array{byte} BCode:
+
+		Indicates the string used for encryption/decryption.
+
+	:byte encryption:
+
+		Indicates if the stream is encrypted.
+
 	:byte Options:
 
 		Indicates configured broadcast options.
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 13+ messages in thread
* [PATCH BlueZ v2 1/8] doc/media: Add Encryption and BCode fields to QoS property
@ 2024-08-29  9:51 Vlad Pruteanu
  2024-08-29 14:56 ` Add support for setting bcode on bcast sink bluez.test.bot
  0 siblings, 1 reply; 13+ messages in thread
From: Vlad Pruteanu @ 2024-08-29  9:51 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: mihai-octavian.urzica, iulia.tanasescu, andrei.istodorescu,
	luiz.dentz, Vlad Pruteanu

This adds the missing QoS fields, Encryption and BCode.
---
 doc/org.bluez.MediaTransport.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/doc/org.bluez.MediaTransport.rst b/doc/org.bluez.MediaTransport.rst
index eb3e04ae2..b53c0cd26 100644
--- a/doc/org.bluez.MediaTransport.rst
+++ b/doc/org.bluez.MediaTransport.rst
@@ -242,6 +242,14 @@ dict QoS [readonly, optional, ISO only, experimental]
 
 		Indicates configured framing.
 
+	:array{byte} BCode:
+
+		Indicates the string used for encryption/decryption.
+
+	:byte encryption:
+
+		Indicates if the stream is encrypted.
+
 	:byte Options:
 
 		Indicates configured broadcast options.
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-08-29 14:56 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-20 10:39 [PATCH BlueZ 0/8] Add support for setting bcode on bcast sink Vlad Pruteanu
2024-08-20 10:39 ` [PATCH BlueZ 1/8] doc/media: Add Encryption and BCode fields to QoS property Vlad Pruteanu
2024-08-20 15:54   ` Add support for setting bcode on bcast sink bluez.test.bot
2024-08-20 10:39 ` [PATCH BlueZ 2/8] transport: Make get_bcast_qos return the encryption flag Vlad Pruteanu
2024-08-20 10:39 ` [PATCH BlueZ 3/8] gdbus: Add g_dbus_proxy_set_property_dict Vlad Pruteanu
2024-08-20 10:39 ` [PATCH BlueZ 4/8] doc/media: Make QoS property readwrite Vlad Pruteanu
2024-08-20 10:39 ` [PATCH BlueZ 5/8] transport: Add set_bcast_qos method Vlad Pruteanu
2024-08-20 14:44   ` Luiz Augusto von Dentz
2024-08-20 10:39 ` [PATCH BlueZ 6/8] shared/bap: Enable set qos method for BT_BAP_BCAST_SINK stream Vlad Pruteanu
2024-08-20 10:39 ` [PATCH BlueZ 7/8] client/player: Prompt the user to enter the bcode Vlad Pruteanu
2024-08-20 10:39 ` [PATCH BlueZ 8/8] bap: Refresh qos stored in setup before doing BIG sync Vlad Pruteanu
  -- strict thread matches above, loose matches on Subject: below --
2024-08-22 13:12 [PATCH BlueZ v2 1/8] doc/media: Add Encryption and BCode fields to QoS property Vlad Pruteanu
2024-08-22 18:10 ` Add support for setting bcode on bcast sink bluez.test.bot
2024-08-29  9:51 [PATCH BlueZ v2 1/8] doc/media: Add Encryption and BCode fields to QoS property Vlad Pruteanu
2024-08-29 14:56 ` Add support for setting bcode on bcast sink bluez.test.bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox