tests: bsim: bluetooth: mesh: Run low latency adv tests with PSA
This is a preparation commit for switching all bsim tests to PSA as TinyCrypt will be removed soon. Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
This commit is contained in:
parent
76e770de4b
commit
b965128f0f
@ -21,8 +21,11 @@ app=tests/bsim/bluetooth/mesh conf_overlay=overlay_multi_adv_sets.conf compile
|
||||
app=tests/bsim/bluetooth/mesh conf_overlay=overlay_lpn_scan_on.conf compile
|
||||
app=tests/bsim/bluetooth/mesh \
|
||||
conf_overlay="overlay_pst.conf;overlay_ss.conf;overlay_psa.conf" compile
|
||||
app=tests/bsim/bluetooth/mesh conf_overlay="overlay_psa.conf;overlay_low_lat.conf" compile
|
||||
app=tests/bsim/bluetooth/mesh conf_overlay="overlay_gatt.conf;overlay_psa.conf" compile
|
||||
app=tests/bsim/bluetooth/mesh conf_overlay="overlay_gatt.conf;overlay_workq_sys.conf" compile
|
||||
app=tests/bsim/bluetooth/mesh \
|
||||
conf_overlay="overlay_gatt.conf;overlay_psa.conf;overlay_low_lat.conf" compile
|
||||
app=tests/bsim/bluetooth/mesh conf_overlay="overlay_low_lat.conf;overlay_psa.conf" compile
|
||||
app=tests/bsim/bluetooth/mesh conf_overlay="overlay_gatt.conf;overlay_low_lat.conf" compile
|
||||
app=tests/bsim/bluetooth/mesh conf_overlay="overlay_pst.conf;overlay_gatt.conf" compile
|
||||
|
||||
@ -194,7 +194,7 @@ extern const struct bt_mesh_comp comp;
|
||||
* with a 100ms interval.
|
||||
*/
|
||||
static struct bt_mesh_test_gatt gatt_param = {
|
||||
#if defined(CONFIG_BT_EXT_ADV)
|
||||
#if !defined(CONFIG_BT_CTLR_LOW_LAT)
|
||||
/* (total transmit duration) / (transmit interval) */
|
||||
.transmits = 1500 / 100,
|
||||
.interval = 100,
|
||||
@ -449,6 +449,11 @@ static void test_tester_gatt(void)
|
||||
gatt_param.service = MESH_SERVICE_PROXY;
|
||||
ASSERT_OK(bt_mesh_test_wait_for_packet(gatt_scan_cb, &publish_sem, 10));
|
||||
|
||||
/* Delay for low latency feature */
|
||||
#if defined(CONFIG_BT_CTLR_LOW_LAT)
|
||||
k_sleep(K_MSEC(100));
|
||||
#endif
|
||||
|
||||
/* Allow DUT to suspend before scanning for gatt proxy beacons */
|
||||
ASSERT_OK(bt_mesh_test_wait_for_packet(suspend_state_change_cb, &publish_sem, 20));
|
||||
ASSERT_EQUAL(dut_status, DUT_SUSPENDED);
|
||||
|
||||
@ -29,3 +29,7 @@ RunTest mesh_gatt_suspend_disable_resume_low_lat \
|
||||
overlay="overlay_gatt_conf_overlay_psa_conf"
|
||||
RunTest mesh_gatt_suspend_disable_resume_psa \
|
||||
suspend_dut_gatt_suspend_disable_resume suspend_tester_gatt
|
||||
|
||||
overlay="overlay_gatt_conf_overlay_psa_conf_overlay_low_lat_conf"
|
||||
RunTest mesh_gatt_suspend_disable_resume_psa_low_lat \
|
||||
suspend_dut_gatt_suspend_disable_resume suspend_tester_gatt
|
||||
|
||||
@ -29,3 +29,7 @@ RunTest mesh_gatt_suspend_resume_low_lat \
|
||||
overlay="overlay_gatt_conf_overlay_psa_conf"
|
||||
RunTest mesh_gatt_suspend_resume_psa \
|
||||
suspend_dut_gatt_suspend_resume suspend_tester_gatt
|
||||
|
||||
overlay="overlay_gatt_conf_overlay_psa_conf_overlay_low_lat_conf"
|
||||
RunTest mesh_gatt_suspend_resume_psa_low_lat \
|
||||
suspend_dut_gatt_suspend_resume suspend_tester_gatt
|
||||
|
||||
@ -26,3 +26,7 @@ RunTest mesh_suspend_disable_resume_low_lat \
|
||||
overlay=overlay_psa_conf
|
||||
RunTest mesh_suspend_disable_resume_psa \
|
||||
suspend_dut_suspend_disable_resume suspend_tester_pub
|
||||
|
||||
overlay=overlay_psa_conf_overlay_low_lat_conf
|
||||
RunTest mesh_suspend_disable_resume_psa_low_lat \
|
||||
suspend_dut_suspend_disable_resume suspend_tester_pub
|
||||
|
||||
@ -25,3 +25,7 @@ RunTest mesh_suspend_resume_low_lat \
|
||||
overlay=overlay_psa_conf
|
||||
RunTest mesh_suspend_resume_psa \
|
||||
suspend_dut_suspend_resume suspend_tester_pub
|
||||
|
||||
overlay="overlay_psa_conf_overlay_low_lat_conf"
|
||||
RunTest mesh_suspend_resume_psa_low_lat \
|
||||
suspend_dut_suspend_resume suspend_tester_pub
|
||||
|
||||
Loading…
Reference in New Issue
Block a user