summaryrefslogtreecommitdiff
path: root/cesar/mac/common
diff options
context:
space:
mode:
authorNicolas Schodet2010-06-18 11:10:21 +0200
committerNicolas Schodet2011-01-14 11:42:14 +0100
commitd685eb6c89ebe7fcad07d14290a9aae46ab499ba (patch)
treea0873ad2f5f0a721512ecbaba3334100b4423394 /cesar/mac/common
parent37bab195dc8b75e77dede1b8ea58741fbc256408 (diff)
cesar/mac/pbproc: handle HP1.0 RX synchronisation, refs #1437
Diffstat (limited to 'cesar/mac/common')
-rw-r--r--cesar/mac/common/timings.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/cesar/mac/common/timings.h b/cesar/mac/common/timings.h
index 7bc535d81f..250a05e7a9 100644
--- a/cesar/mac/common/timings.h
+++ b/cesar/mac/common/timings.h
@@ -164,5 +164,25 @@
/** Tonemap tolerance (ticks). */
#define MAC_TM_TOLERANCE_TCK MAC_US_TO_TCK (150)
+/** HP 1.0 preamble synchronisation position difference. AV hybrid preamble
+ * is longer than the 1.0 preamble, there is extra symbols in front of
+ * preamble. This delta is needed because synchronisation is done on the
+ * SYNCP/SYNCM transition. */
+#define MAC_HP10_PREAMBLE_DELTA_TCK ((384 / 2 + 384) / 3)
+
+/** HP 1.0 symbol (ticks). */
+#define MAC_HP10_SYMBOL_TCK (420 / 2)
+
+/** HP 1.0 delimiter (ticks). */
+#define MAC_HP10_DELIMITER_TCK ((7 * 256 + 124) / 2 + 4 * MAC_HP10_SYMBOL_TCK)
+
+/** HP 1.0 EOF gap (ticks). */
+#define MAC_HP10_EFG_TCK 37
+
+/** HP 1.0 CIFS (ticks). */
+#define MAC_HP10_CIFS_TCK 896
+
+/** HP 1.0 RIFS (ticks). */
+#define MAC_HP10_RIFS_TCK 650
#endif /* mac_common_timings_h */