tools/mgmt-tester: Update sample data for adv features
authorTedd Ho-Jeong An <hj.tedd.an@gmail.com>
Wed, 23 Dec 2020 00:26:31 +0000 (16:26 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:34 +0000 (19:08 +0530)
This patch updates the expected sample data for advertising feature to
include the changes for tx power.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
tools/mgmt-tester.c

index 88f5827..102dc52 100755 (executable)
@@ -4162,7 +4162,7 @@ static const struct generic_data read_adv_features_invalid_index_test = {
 };
 
 static const uint8_t read_adv_features_rsp_1[] =  {
-       0x7f, 0x00, 0x00, 0x00, /* supported flags */
+       0x7f, 0xf0, 0x00, 0x00, /* supported flags */
        0x1f,                   /* max_adv_data_len */
        0x1f,                   /* max_scan_rsp_len */
        0x05,                   /* max_instances */
@@ -4177,7 +4177,7 @@ static const struct generic_data read_adv_features_success_1 = {
 };
 
 static const uint8_t read_adv_features_rsp_2[] =  {
-       0x7f, 0x00, 0x00, 0x00, /* supported flags */
+       0x7f, 0xf0, 0x00, 0x00, /* supported flags */
        0x1f,                   /* max_adv_data_len */
        0x1f,                   /* max_scan_rsp_len */
        0x05,                   /* max_instances */
@@ -7137,7 +7137,7 @@ static const struct generic_data set_appearance_success = {
 };
 
 static const uint8_t read_adv_features_rsp_3[] =  {
-       0xff, 0x0f, 0x00, 0x00, /* supported flags */
+       0xff, 0xff, 0x00, 0x00, /* supported flags */
        0x1f,                   /* max_adv_data_len */
        0x1f,                   /* max_scan_rsp_len */
        0x01,                   /* max_instances */