mgmt-tester: Update expected advertisement flags
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 11 Nov 2020 02:16:54 +0000 (18:16 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:33 +0000 (19:08 +0530)
This updates the expected advertisement flags which now includes
MGMT_ADV_FLAG_CAN_SET_TX_POWER and MGMT_ADV_FLAG_HW_OFFLOAD.

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

index bb8eb57..0540efa 100755 (executable)
@@ -6867,10 +6867,10 @@ static const struct generic_data set_appearance_success = {
 };
 
 static const uint8_t read_adv_features_rsp_3[] =  {
-       0xff, 0x03, 0x00, 0x00, /* supported flags */
+       0xff, 0x0f, 0x00, 0x00, /* supported flags */
        0x1f,                   /* max_adv_data_len */
        0x1f,                   /* max_scan_rsp_len */
-       0x05,                   /* max_instances */
+       0x01,                   /* max_instances */
        0x00,                   /* num_instances */
 };