diff mbox series

[v3,BlueZ,3/8] mgmt-tester: Fix Read Exp Feature tests

Message ID 20220506223245.3950871-3-luiz.dentz@gmail.com (mailing list archive)
State Superseded
Headers show
Series None | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success
tedd_an/checkpatch success Checkpatch PASS
tedd_an/gitlint success Gitlint PASS
tedd_an/setupell success Setup ELL PASS
tedd_an/buildprep success Build Prep PASS
tedd_an/build success Build Configuration PASS
tedd_an/makecheck fail Make Check FAIL: tools/isotest.c:38:10: fatal error: lib/iso.h: No such file or directory 38 | #include "lib/iso.h" | ^~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:7322: tools/isotest.o] Error 1 make: *** [Makefile:11328: check] Error 2
tedd_an/makecheckvalgrind fail Make FAIL: tools/isotest.c:38:10: fatal error: lib/iso.h: No such file or directory 38 | #include "lib/iso.h" | ^~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:7322: tools/isotest.o] Error 1 make: *** [Makefile:4341: all] Error 2
tedd_an/makedistcheck fail Make Distcheck Make FAIL: ../../tools/isotest.c:38:10: fatal error: lib/iso.h: No such file or directory 38 | #include "lib/iso.h" | ^~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:7322: tools/isotest.o] Error 1 make[1]: *** [Makefile:4341: all] Error 2 make: *** [Makefile:11249: distcheck] Error 1
tedd_an/build_extell success Build External ELL PASS
tedd_an/build_extell_make fail Build Make with External ELL FAIL: tools/isotest.c:38:10: fatal error: lib/iso.h: No such file or directory 38 | #include "lib/iso.h" | ^~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:7322: tools/isotest.o] Error 1 make: *** [Makefile:4341: all] Error 2

Commit Message

Luiz Augusto von Dentz May 6, 2022, 10:32 p.m. UTC
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This adds ISO Socket UUID as response to Read Exp Feature.
---
 tools/mgmt-tester.c | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c
index e5319d123..bfa5905e0 100644
--- a/tools/mgmt-tester.c
+++ b/tools/mgmt-tester.c
@@ -9798,7 +9798,7 @@  static const struct generic_data set_dev_flags_fail_3 = {
 };
 
 static const uint8_t read_exp_feat_param_success[] = {
-	0x03, 0x00,				/* Feature Count */
+	0x04, 0x00,				/* Feature Count */
 	0xd6, 0x49, 0xb0, 0xd1, 0x28, 0xeb,	/* UUID - Simultaneous */
 	0x27, 0x92, 0x96, 0x46, 0xc0, 0x42,	/* Central Peripheral */
 	0xb5, 0x10, 0x1b, 0x67,
@@ -9810,7 +9810,11 @@  static const uint8_t read_exp_feat_param_success[] = {
 	0xaf, 0x29, 0xc6, 0x66, 0xac, 0x5f,	/* UUID - Codec Offload */
 	0x1a, 0x88, 0xb9, 0x4f, 0x7f, 0xee,
 	0xce, 0x5a, 0x69, 0xa6,
-	0x00, 0x00, 0x00, 0x00			/* Flags */
+	0x00, 0x00, 0x00, 0x00,			/* Flags */
+	0x3e, 0xe0, 0xb4, 0xfd, 0xdd, 0xd6,	/* UUID - ISO Socket */
+	0x85, 0x98, 0x6a, 0x49, 0xe0, 0x05,
+	0x88, 0xf1, 0xba, 0x6f,
+	0x00, 0x00, 0x00, 0x00,			/* Flags */
 };
 
 static const struct generic_data read_exp_feat_success = {
@@ -9822,11 +9826,15 @@  static const struct generic_data read_exp_feat_success = {
 
 
 static const uint8_t read_exp_feat_param_success_index_none[] = {
-	0x01, 0x00,				/* Feature Count */
+	0x02, 0x00,				/* Feature Count */
 	0x1c, 0xda, 0x47, 0x1c, 0x48, 0x6c,	/* UUID - Debug */
 	0x01, 0xab, 0x9f, 0x46, 0xec, 0xb9,
 	0x30, 0x25, 0x99, 0xd4,
 	0x00, 0x00, 0x00, 0x00,			/* Flags */
+	0x3e, 0xe0, 0xb4, 0xfd, 0xdd, 0xd6,	/* UUID - ISO Socket */
+	0x85, 0x98, 0x6a, 0x49, 0xe0, 0x05,
+	0x88, 0xf1, 0xba, 0x6f,
+	0x00, 0x00, 0x00, 0x00,			/* Flags */
 };
 
 static const struct generic_data read_exp_feat_success_index_none = {