From 80040c11654180f99ce1b924549eff523acbd528 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Mon, 2 May 2011 13:21:15 +0200 Subject: 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. --- cesar/mac/common/timings.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cesar/mac/common/timings.h') 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) -- cgit v1.2.3