summaryrefslogtreecommitdiff
path: root/cesar/bsu/test/utest/src/schedules.c
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/bsu/test/utest/src/schedules.c')
-rw-r--r--cesar/bsu/test/utest/src/schedules.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/cesar/bsu/test/utest/src/schedules.c b/cesar/bsu/test/utest/src/schedules.c
index 38540df6c8..fdd0aec45b 100644
--- a/cesar/bsu/test/utest/src/schedules.c
+++ b/cesar/bsu/test/utest/src/schedules.c
@@ -291,8 +291,8 @@ test_case_track_new (test_t t)
{
bsu_test_init (&ctx);
*((uint*) &ctx.bsu->aclf->beacon_period_theo_tck) =
- BSU_ACLF_BP_50HZ_TCK;
- ctx.bsu->aclf->beacon_period_tck = BSU_ACLF_BP_50HZ_TCK;
+ ctx.bsu->aclf->beacon_period_tck;
+ ctx.bsu->aclf->beacon_period_tck = ctx.bsu->aclf->beacon_period_tck;
for (i = 0; i < COUNT (ctx.bsu->aclf->bpsd); i++)
ctx.bsu->aclf->bpsd[i] = i * ctx.bsu->aclf->beacon_period_tck;
ctx.bsu->activate = true;
@@ -335,8 +335,8 @@ test_case_track_new (test_t t)
{
bsu_test_init (&ctx);
*((uint*) &ctx.bsu->aclf->beacon_period_theo_tck) =
- BSU_ACLF_BP_50HZ_TCK;
- ctx.bsu->aclf->beacon_period_tck = BSU_ACLF_BP_50HZ_TCK;
+ ctx.bsu->aclf->beacon_period_tck;
+ ctx.bsu->aclf->beacon_period_tck = ctx.bsu->aclf->beacon_period_tck;
for (i = 0; i < COUNT (ctx.bsu->aclf->bpsd); i++)
ctx.bsu->aclf->bpsd[i] = i * ctx.bsu->aclf->beacon_period_tck;
ctx.bsu->activate = true;
@@ -380,7 +380,7 @@ test_case_track_new (test_t t)
test_begin (t, "Track new after timer second beacon not received.")
{
bsu_test_init (&ctx);
- ctx.bsu->aclf->beacon_period_tck = BSU_ACLF_BP_50HZ_TCK;
+ ctx.bsu->aclf->beacon_period_tck = ctx.bsu->aclf->beacon_period_tck;
for (i = 0; i < COUNT (ctx.bsu->aclf->bpsd); i++)
ctx.bsu->aclf->bpsd[i] = i * ctx.bsu->aclf->beacon_period_tck;
ctx.bsu->activate = true;
@@ -415,7 +415,7 @@ test_case_track_new (test_t t)
test_begin (t, "Track new for CCo")
{
bsu_test_init (&ctx);
- ctx.bsu->aclf->beacon_period_tck = BSU_ACLF_BP_50HZ_TCK;
+ ctx.bsu->aclf->beacon_period_tck = ctx.bsu->aclf->beacon_period_tck;
for (i = 0; i < COUNT (ctx.bsu->aclf->bpsd); i++)
ctx.bsu->aclf->bpsd[i] = i * ctx.bsu->aclf->beacon_period_tck;
ctx.bsu->activate = true;
@@ -463,7 +463,7 @@ test_case_track_new (test_t t)
{
mac_t mac_track = 0x0013d7000001ull;
bsu_test_init (&ctx);
- ctx.bsu->aclf->beacon_period_tck = BSU_ACLF_BP_50HZ_TCK;
+ ctx.bsu->aclf->beacon_period_tck = ctx.bsu->aclf->beacon_period_tck;
for (i = 0; i < COUNT (ctx.bsu->aclf->bpsd); i++)
ctx.bsu->aclf->bpsd[i] = i * ctx.bsu->aclf->beacon_period_tck;
ctx.bsu->activate = true;