diff mbox series

[BlueZ,1/3] bap: Parse BIG handle at endpoint config

Message ID 20240129152928.3904-2-iulia.tanasescu@nxp.com
State Superseded
Headers show
Series Update bcast ep register and config props | expand

Commit Message

Iulia Tanasescu Jan. 29, 2024, 3:29 p.m. UTC
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(-)

Comments

bluez.test.bot@gmail.com Jan. 29, 2024, 4:52 p.m. UTC | #1
This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=820948

---Test result---

Test Summary:
CheckPatch                    PASS      1.03 seconds
GitLint                       PASS      0.68 seconds
BuildEll                      PASS      24.02 seconds
BluezMake                     PASS      709.31 seconds
MakeCheck                     PASS      15.43 seconds
MakeDistcheck                 PASS      163.99 seconds
CheckValgrind                 PASS      226.10 seconds
CheckSmatch                   PASS      327.51 seconds
bluezmakeextell               PASS      107.31 seconds
IncrementalBuild              PASS      2007.50 seconds
ScanBuild                     PASS      944.40 seconds



---
Regards,
Linux Bluetooth
diff mbox series

Patch

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;