public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ] iso-test: Add ISO 48_2_1 Defer Send
@ 2022-07-28 21:06 Luiz Augusto von Dentz
  2022-07-28 22:00 ` [BlueZ] " bluez.test.bot
  2022-08-01 22:10 ` [PATCH BlueZ] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2022-07-28 21:06 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This adds ISO 48_2_1 Defer Send test which enables just output instead
of both.
---
 tools/iso-tester.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/tools/iso-tester.c b/tools/iso-tester.c
index 8010c0a36..cae5fb4b7 100644
--- a/tools/iso-tester.c
+++ b/tools/iso-tester.c
@@ -567,6 +567,13 @@ static const struct iso_client_data connect_16_2_1_defer_send = {
 	.defer = true,
 };
 
+static const struct iso_client_data connect_48_2_1_defer_send = {
+	.qos = QOS_48_2_1,
+	.expect_err = 0,
+	.send = &send_16_2_1,
+	.defer = true,
+};
+
 static const struct iso_client_data listen_16_2_1_defer_recv = {
 	.qos = QOS_16_2_1,
 	.expect_err = 0,
@@ -1674,6 +1681,10 @@ int main(int argc, char *argv[])
 							setup_powered,
 							test_connect);
 
+	test_iso("ISO 48_2_1 Defer Send - Success", &connect_48_2_1_defer_send,
+							setup_powered,
+							test_connect);
+
 	test_iso("ISO Defer Receive - Success", &listen_16_2_1_defer_recv,
 						setup_powered, test_listen);
 
-- 
2.37.1


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

end of thread, other threads:[~2022-08-01 22:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-28 21:06 [PATCH BlueZ] iso-test: Add ISO 48_2_1 Defer Send Luiz Augusto von Dentz
2022-07-28 22:00 ` [BlueZ] " bluez.test.bot
2022-08-01 22:10 ` [PATCH BlueZ] " patchwork-bot+bluetooth

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