summaryrefslogtreecommitdiff
path: root/cesar/common
diff options
context:
space:
mode:
authorJérôme Jutteau2011-09-22 16:41:58 +0200
committerCyril Jourdan2013-01-18 11:27:19 +0100
commit427dad6c72553f741bd6f31c78b036da1af5132d (patch)
treebf265319f0c15fd6f2ab8ff26a83353ad363979b /cesar/common
parent68cb21802a6f3ee3c8ddba8133c41167189f2d32 (diff)
cesar/ce/rx/bl: use bsu_aclf for interval construction, refs #2366
Diffstat (limited to 'cesar/common')
-rw-r--r--cesar/common/defs/homeplugAV.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cesar/common/defs/homeplugAV.h b/cesar/common/defs/homeplugAV.h
index e55aba6a7b..5b33cb8262 100644
--- a/cesar/common/defs/homeplugAV.h
+++ b/cesar/common/defs/homeplugAV.h
@@ -101,6 +101,10 @@ typedef enum hpav_access_t hpav_access_t;
#define HPAV_BEACON_BTO_INVALID ((s16)0x8000)
/** Number of valid bits in BTO. */
#define HPAV_BEACON_BTO_VALID_BITS 15
+/** Max valid BTO value. */
+#define HPAV_BEACON_BTO_MAX_TCK BITS_ONES (HPAV_BEACON_BTO_VALID_BITS)
+/** Min valid BTO value. */
+#define HPAV_BEACON_BTO_MIN_TCK (- BITS_ONES (HPAV_BEACON_BTO_VALID_BITS))
/** Value of the permanent persistent schedule CSCD
* Only valid if operating in CSMA only mode.. */