summaryrefslogtreecommitdiff
path: root/cesar/common/defs/homeplugAV.h
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/common/defs/homeplugAV.h')
-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.. */