tools/mgmt-tester: Adds new test data with updated tx power
authorTedd Ho-Jeong An <hj.tedd.an@gmail.com>
Wed, 23 Dec 2020 00:26:33 +0000 (16:26 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:34 +0000 (19:08 +0530)
commit32a1fb4008ad604ee3ecbfbcb9183ccac0933d81
treec24a0040520a7e0c702f7d4990d9035c946f8bd7
parent72077ef3f25743d5d2807f46e13211bfc550af38
tools/mgmt-tester: Adds new test data with updated tx power

This patch adds new test data for the ext advertising test cases that
presets the advertising parameter and toggles the connectable flags.

When the adv instance is created, it updates the default tx power with
the value read from the controller. After toggling the connectable flag,
the host uses the tx_power stored in the adv list cache, which is the
value read from the controller, instead of the default tx power
value(127).

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