summaryrefslogtreecommitdiff
path: root/cesar/bsu/test/utest/src/bsut.c
diff options
context:
space:
mode:
authorNélio Laranjeiro2011-01-19 17:06:47 +0100
committerNélio Laranjeiro2011-02-01 13:38:30 +0100
commit907f71b7161e412e5b74623664251eb4a6c262dd (patch)
tree94690d766fb368c2a000c5633b9dd688f8a46df8 /cesar/bsu/test/utest/src/bsut.c
parentd69425fccc2c4e4c978b8f5c0acd347d002d6cf7 (diff)
bsu/aclf: better synchronization between the STA and the CCo, closes #2256
Supported frequencies: - 48.42Hz to 51.68Hz for 50Hz PowerLine (1000000 +/- BTO_MAX ticks). - 57.74Hz to 62.44Hz for 60Hz PowerLine (833333 +/- BTO_MAX ticks). Modifications: - BSU_ACLF_SET_FREQUENCY: - does not set the beacon period value. - set the maximum/minimum beacon period tick corresponding to the frequency found. - 6th beacon_period computed by the STA i.e. bpsd[6] += bpsd[5] - bpsd[4].
Diffstat (limited to 'cesar/bsu/test/utest/src/bsut.c')
-rw-r--r--cesar/bsu/test/utest/src/bsut.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cesar/bsu/test/utest/src/bsut.c b/cesar/bsu/test/utest/src/bsut.c
index 948c1d699d..e6b1fddbfe 100644
--- a/cesar/bsu/test/utest/src/bsut.c
+++ b/cesar/bsu/test/utest/src/bsut.c
@@ -613,6 +613,7 @@ test_case_bsu_persistent_schedules_update__cscma_cscd_permanent (
bsu_beacon_t beacon;
test_within (test);
bsu_test_init (&t);
+ bsu_aclf_activate (t.bsu->aclf, true);
memset (&t.bsu->sta_avln->beacon, 0, sizeof (bsu_beacon_t));
t.bsu->sta_avln->beacon.vf.nm = BSU_BEACON_NM_CSMA_ONLY;
bsu_test_create_beacon (&t, &beacon);
@@ -641,6 +642,7 @@ test_case_bsu_persistent_schedules_update__cscma_cscd_non_permanent (
bsu_beacon_t beacon;
test_within (test);
bsu_test_init (&t);
+ bsu_aclf_activate (t.bsu->aclf, true);
memset (&t.bsu->sta_avln->beacon, 0, sizeof (bsu_beacon_t));
t.bsu->sta_avln->beacon.vf.nm = BSU_BEACON_NM_CSMA_ONLY;
bsu_test_create_beacon (&t, &beacon);