Lines Matching refs:BEACON_INTERVAL

27 #define BEACON_INTERVAL 10 /*seconds*/  macro
167 k_sleep(K_SECONDS(BEACON_INTERVAL)); in tx_on_iv_update_test()
173 k_sleep(K_SECONDS(BEACON_INTERVAL)); in tx_on_iv_update_test()
179 k_sleep(K_SECONDS(BEACON_INTERVAL)); in tx_on_iv_update_test()
210 k_sleep(K_SECONDS(BEACON_INTERVAL)); in test_rx_on_iv_update()
216 k_sleep(K_SECONDS(BEACON_INTERVAL)); in test_rx_on_iv_update()
222 k_sleep(K_SECONDS(BEACON_INTERVAL)); in test_rx_on_iv_update()
250 k_sleep(K_SECONDS(BEACON_INTERVAL)); in tx_on_key_refresh_test()
259 k_sleep(K_SECONDS(BEACON_INTERVAL)); in tx_on_key_refresh_test()
268 k_sleep(K_SECONDS(BEACON_INTERVAL)); in tx_on_key_refresh_test()
304 k_sleep(K_SECONDS(BEACON_INTERVAL)); in test_rx_on_key_refresh()
310 k_sleep(K_SECONDS(BEACON_INTERVAL)); in test_rx_on_key_refresh()
316 k_sleep(K_SECONDS(BEACON_INTERVAL)); in test_rx_on_key_refresh()
479 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in corrupted_beacon_test()
480 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in corrupted_beacon_test()
496 ASSERT_FALSE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in corrupted_beacon_test()
497 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in corrupted_beacon_test()
545 k_sleep(K_SECONDS((BEACON_INTERVAL + 1) * 2)); in test_rx_invalid()
584 ASSERT_FALSE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_tx_kr_old_key()
585 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_tx_kr_old_key()
592 ASSERT_FALSE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_tx_kr_old_key()
593 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_tx_kr_old_key()
603 ASSERT_FALSE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_tx_kr_old_key()
604 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_tx_kr_old_key()
613 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_tx_kr_old_key()
614 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_tx_kr_old_key()
623 ASSERT_FALSE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_tx_kr_old_key()
624 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_tx_kr_old_key()
633 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_tx_kr_old_key()
634 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_tx_kr_old_key()
643 ASSERT_FALSE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_tx_kr_old_key()
644 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_tx_kr_old_key()
701 k_sleep(K_SECONDS((BEACON_INTERVAL + 1) * 2)); in test_rx_kr_old_key()
780 ASSERT_FALSE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, in test_tx_multiple_netkeys()
782 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, in test_tx_multiple_netkeys()
797 ASSERT_FALSE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, in test_tx_multiple_netkeys()
799 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, in test_tx_multiple_netkeys()
814 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, in test_tx_multiple_netkeys()
816 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, in test_tx_multiple_netkeys()
831 ASSERT_FALSE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, in test_tx_multiple_netkeys()
833 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, in test_tx_multiple_netkeys()
852 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, beacon_confirm_all_subnets, in test_tx_multiple_netkeys()
854 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, beacon_confirm_all_subnets, in test_tx_multiple_netkeys()
956 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_rx_secure_beacon_interval()
968 wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_rx_secure_beacon_interval()
971 wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_rx_secure_beacon_interval()
979 ASSERT_FALSE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_rx_secure_beacon_interval()
980 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_rx_secure_beacon_interval()
981 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_rx_secure_beacon_interval()
993 if (wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)) { in test_rx_secure_beacon_interval()
1167 k_sleep(K_SECONDS(6 * BEACON_INTERVAL)); in test_tx_priv_adv()
1176 k_sleep(K_SECONDS(6 * BEACON_INTERVAL)); in test_tx_priv_adv()
1185 k_sleep(K_SECONDS(6 * BEACON_INTERVAL)); in test_tx_priv_adv()
1217 wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, private_beacon_check, in test_rx_priv_adv()
1226 wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, private_beacon_check, in test_rx_priv_adv()
1230 k_sleep(K_SECONDS(BEACON_INTERVAL)); in test_rx_priv_adv()
1234 wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, private_beacon_check, in test_rx_priv_adv()
1330 k_sleep(K_SECONDS((BEACON_INTERVAL + 1) * 2)); in test_rx_priv_invalid()
1385 k_sleep(K_SECONDS(BEACON_INTERVAL + 5)); in test_tx_priv_interleave()
1397 k_sleep(K_SECONDS(BEACON_INTERVAL + 5)); in test_tx_priv_interleave()
1416 k_sleep(K_SECONDS(BEACON_INTERVAL + 7)); in test_tx_priv_interleave()
1442 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_rx_priv_interleave()
1445 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, private_beacon_check, in test_rx_priv_interleave()
1449 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, private_beacon_check, in test_rx_priv_interleave()
1457 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_rx_priv_interleave()
1462 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, NULL, NULL)); in test_rx_priv_interleave()
1470 ASSERT_TRUE(wait_for_beacon(beacon_scan_cb, BEACON_INTERVAL + 1, private_beacon_check, in test_rx_priv_interleave()