diff src/cs/layer1/include/l1_const.h @ 69:50a15a54801e

src/cs/layer1: import from tcs211-l1-reconst project
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 01 Oct 2016 23:45:38 +0000
parents 945cf7f506b2
children b24d42baa30d
line wrap: on
line diff
--- a/src/cs/layer1/include/l1_const.h	Sat Oct 01 21:54:10 2016 +0000
+++ b/src/cs/layer1/include/l1_const.h	Sat Oct 01 23:45:38 2016 +0000
@@ -153,6 +153,14 @@
 #define TCH_HS_BLEN           211                           // TCH HALF SPEECH block length
 #define TCH_F_D_BLEN          456                           // FACCH, TCH_DATA block length
 
+/*
+ * FreeCalypso Frankenstein: the following definition was not present in
+ * our TCS211 version and we had to pull it from the LoCosto version for
+ * l1_cmplx.c to compile.  However, the comment in the place where it is
+ * used says that it "valuable for code running on target with DSP 3606."
+ */
+#define MIN_ACCEPTABLE_SNR_FOR_SB 200  // threshold under which a SB shall be considered as not found
+
 // Define max PM/TDMA according to DSP code and TPU RAM size
 //----------------------------------------------------------
 
@@ -1277,6 +1285,13 @@
 #define B_BCCH_FREQ_IND          3
 #define B_TASK_ABORT            15  // Abort RF tasks for DSP.
 
+/*
+ * FreeCalypso Frankenstein: the following definition has been
+ * imported from LoCosto version of l1_const.h; it is needed for
+ * the LoCosto-based C code to compile.
+ */
+#define C_BA_PM_MEAS (2)
+
 // ****************************************************************
 // POLESTAR EVABOARD 3 REGISTERS & ADRESSES  DEFINITIONS
 // ****************************************************************