From 907f71b7161e412e5b74623664251eb4a6c262dd Mon Sep 17 00:00:00 2001 From: NĂ©lio Laranjeiro Date: Wed, 19 Jan 2011 17:06:47 +0100 Subject: 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]. --- cesar/common/defs/homeplugAV.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cesar/common/defs/homeplugAV.h') diff --git a/cesar/common/defs/homeplugAV.h b/cesar/common/defs/homeplugAV.h index fb3650c0a8..39da6f293e 100644 --- a/cesar/common/defs/homeplugAV.h +++ b/cesar/common/defs/homeplugAV.h @@ -84,6 +84,8 @@ typedef enum hpav_access_t hpav_access_t; /** Invalid value for the BTO.*/ #define HPAV_BEACON_BTO_INVALID ((s16)0x8000) +/** Number of valid bits in BTO. */ +#define HPAV_BEACON_BTO_VALID_BITS 15 /** Value of the permanent persistent schedule CSCD * Only valid if operating in CSMA only mode.. */ -- cgit v1.2.3