mgmt-tester: Fix Read Exp Feature tests
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 6 May 2022 22:27:49 +0000 (15:27 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000 (14:55 +0530)
This adds ISO Socket UUID as response to Read Exp Feature.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
tools/mgmt-tester.c

index 6018327..02ddfd8 100755 (executable)
@@ -9858,7 +9858,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,
@@ -9870,7 +9870,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 = {
@@ -9882,11 +9886,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 = {