summaryrefslogtreecommitdiff
path: root/cesar/mac/common
diff options
context:
space:
mode:
authorNicolas Schodet2011-05-02 13:21:15 +0200
committerNicolas Schodet2011-05-03 15:58:19 +0200
commit80040c11654180f99ce1b924549eff523acbd528 (patch)
treedae2a42ee9818c32a61998624df1734906132e57 /cesar/mac/common
parent369157ac73794765c9d16982ad61123f416592c2 (diff)
cesar/{hal/phy,mac/common}: TX PRP earlier, closes #2406
PRS is not supposed to be aligned with slot time (HPAV section 3.6.5) in order to improve preamble detection. This is good news for us as this workaround the slot 0 bug #1276.
Diffstat (limited to 'cesar/mac/common')
-rw-r--r--cesar/mac/common/timings.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cesar/mac/common/timings.h b/cesar/mac/common/timings.h
index 250a05e7a9..09b9efb447 100644
--- a/cesar/mac/common/timings.h
+++ b/cesar/mac/common/timings.h
@@ -126,6 +126,9 @@
/** Maximum value of maximum frame length (fl). */
#define MAC_MAX_FL_MAX_FL 0xfff
+/** PRP shift to enhance preamble detection (ticks). */
+#define MAC_PRP_SHIFT_TCK 64
+
/** Preamble (ticks). */
#define MAC_PREAMBLE_TCK (3840/3)