summaryrefslogtreecommitdiff
path: root/cesar/bsu/test/utest/src/schedules.c
diff options
context:
space:
mode:
authorNélio Laranjeiro2012-10-16 16:18:31 +0200
committerNélio Laranjeiro2012-12-12 15:05:05 +0100
commit78d7fe31f9db8ffd186cdfe61acddf12f69d97aa (patch)
treed69c83d6cf88c3d6745b4c2a49f456c2af03b8bb /cesar/bsu/test/utest/src/schedules.c
parentedbc229e19ed30493100312c5cf52ca3c2b64b3b (diff)
cesar/bsu/test: add cable mode test, refs #3341
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;