summaryrefslogtreecommitdiff
path: root/tools/btiotest.c
diff options
context:
space:
mode:
authorIulia Tanasescu <iulia.tanasescu@nxp.com>2023-03-31 18:39:27 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2023-03-31 14:33:28 -0700
commitc4d9b99db5a6b8efb7b710818a5261634086824b (patch)
treeba8278bc514e5a02e2e8fbe7ac035d8a9a08da18 /tools/btiotest.c
parentf54299a850676d92c3dafd83e9174fcfe420ccc9 (diff)
downloadbluez-c4d9b99db5a6b8efb7b710818a5261634086824b.tar.gz
Split bt_iso_qos into dedicated structures
Split bt_iso_qos into dedicated unicast and broadcast structures and add additional broadcast parameters.
Diffstat (limited to 'tools/btiotest.c')
-rw-r--r--tools/btiotest.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/tools/btiotest.c b/tools/btiotest.c
index 193e1395b..75af90543 100644
--- a/tools/btiotest.c
+++ b/tools/btiotest.c
@@ -5,6 +5,7 @@
*
* Copyright (C) 2009-2010 Marcel Holtmann <marcel@holtmann.org>
* Copyright (C) 2009-2010 Nokia Corporation
+ * Copyright 2023 NXP
*
*
*/
@@ -39,13 +40,15 @@ static int opt_update_sec = 0;
}
struct bt_iso_qos qos = {
- .cig = BT_ISO_QOS_CIG_UNSET,
- .cis = BT_ISO_QOS_CIG_UNSET,
- .sca = 0x07,
- .packing = 0x00,
- .framing = 0x00,
- .in = DEFAULT_IO_QOS,
- .out = DEFAULT_IO_QOS,
+ .ucast = {
+ .cig = BT_ISO_QOS_CIG_UNSET,
+ .cis = BT_ISO_QOS_CIG_UNSET,
+ .sca = 0x07,
+ .packing = 0x00,
+ .framing = 0x00,
+ .in = DEFAULT_IO_QOS,
+ .out = DEFAULT_IO_QOS,
+ },
};
struct io_data {