All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ v2 0/4] Update bcast ep register and config props
@ 2024-01-30 15:44 Iulia Tanasescu
  2024-01-30 15:44 ` [PATCH BlueZ v2 1/4] bap: Parse BIG handle at endpoint config Iulia Tanasescu
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Iulia Tanasescu @ 2024-01-30 15:44 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: claudia.rosu, mihai-octavian.urzica, silviu.barbulescu,
	vlad.pruteanu, andrei.istodorescu, luiz.dentz, Iulia Tanasescu

This patch removes unnecessary input prompts from broadcast ep register.
It also adds support to provide stream config options at broadcast
source endpoint config.

This is useful for a broadcast source supporting multiple streams,
since each stream could require a different config.

In client/player, the input prompts have been updated for broadcast
endpoint register and config: At broadcast ep register, the user will
enter the locally supported stream locations and context types.

At broacast source ep config, the user will provide the BIG that the
new stream will be part of, the stream Channel Allocation, and the
metadata of the subgroup to include the stream. These options will be
used to configure the BASE and the BIG.

Iulia Tanasescu (4):
  bap: Parse BIG handle at endpoint config
  shared/bap: Set bcast stream metadata
  shared/lc3: Add macro for Channel Allocation LTV len
  client/player: Update bcast endpoint input prompts

 client/player.c      | 238 ++++++++++++++++++++++++++++++++++---------
 profiles/audio/bap.c |   7 +-
 src/shared/bap.c     |  20 ++--
 src/shared/lc3.h     |   4 +-
 4 files changed, 213 insertions(+), 56 deletions(-)


base-commit: f59f4902bc4ea0bf5f1fed2b1e5e2f4ed52f0cb5
-- 
2.39.2


^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATCH BlueZ 1/3] bap: Parse BIG handle at endpoint config
@ 2024-01-29 15:29 Iulia Tanasescu
  2024-01-29 16:52 ` Update bcast ep register and config props bluez.test.bot
  0 siblings, 1 reply; 8+ messages in thread
From: Iulia Tanasescu @ 2024-01-29 15:29 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: claudia.rosu, mihai-octavian.urzica, silviu.barbulescu,
	vlad.pruteanu, andrei.istodorescu, luiz.dentz, Iulia Tanasescu

This adds support to parse the "BIG" key in bcast qos parser, at
endpoint configuration.
---
 profiles/audio/bap.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/profiles/audio/bap.c b/profiles/audio/bap.c
index 007e19f21..7faa6be7f 100644
--- a/profiles/audio/bap.c
+++ b/profiles/audio/bap.c
@@ -4,7 +4,7 @@
  *  BlueZ - Bluetooth protocol stack for Linux
  *
  *  Copyright (C) 2022  Intel Corporation. All rights reserved.
- *  Copyright 2023 NXP
+ *  Copyright 2023-2024 NXP
  *
  *
  */
@@ -610,6 +610,11 @@ static int setup_parse_bcast_qos(struct bap_setup *setup, const char *key,
 			return -EINVAL;
 
 		dbus_message_iter_get_basic(iter, &qos->bcast.encryption);
+	} else if (!strcasecmp(key, "BIG")) {
+		if (var != DBUS_TYPE_BYTE)
+			return -EINVAL;
+
+		dbus_message_iter_get_basic(iter, &qos->bcast.big);
 	} else if (!strcasecmp(key, "Options")) {
 		if (var != DBUS_TYPE_BYTE)
 			return -EINVAL;
-- 
2.39.2


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

end of thread, other threads:[~2024-01-30 18:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-30 15:44 [PATCH BlueZ v2 0/4] Update bcast ep register and config props Iulia Tanasescu
2024-01-30 15:44 ` [PATCH BlueZ v2 1/4] bap: Parse BIG handle at endpoint config Iulia Tanasescu
2024-01-30 17:48   ` Update bcast ep register and config props bluez.test.bot
2024-01-30 15:44 ` [PATCH BlueZ v2 2/4] shared/bap: Set bcast stream metadata Iulia Tanasescu
2024-01-30 15:44 ` [PATCH BlueZ v2 3/4] shared/lc3: Add macro for Channel Allocation LTV len Iulia Tanasescu
2024-01-30 15:44 ` [PATCH BlueZ v2 4/4] client/player: Update bcast endpoint input prompts Iulia Tanasescu
2024-01-30 18:40 ` [PATCH BlueZ v2 0/4] Update bcast ep register and config props patchwork-bot+bluetooth
  -- strict thread matches above, loose matches on Subject: below --
2024-01-29 15:29 [PATCH BlueZ 1/3] bap: Parse BIG handle at endpoint config Iulia Tanasescu
2024-01-29 16:52 ` Update bcast ep register and config props bluez.test.bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.