diff src/cs/layer1/include/l1_ctl.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
line wrap: on
line diff
--- a/src/cs/layer1/include/l1_ctl.h	Sat Oct 01 21:54:10 2016 +0000
+++ b/src/cs/layer1/include/l1_ctl.h	Sat Oct 01 23:45:38 2016 +0000
@@ -18,6 +18,18 @@
 #define  C_SNR_THR       8192   // 8   F6.10
 #define  TOA_HISTO_LEN   11     // Histogram length          
 
+/*
+ * FreeCalypso Frankenstein: the following definition has been added
+ * from LoCosto version of this file, as it is used by l1_cmplx.c
+ * fairly extensively.
+ *
+ * Disassembly-matching reconstruction has revealed that the constant
+ * in question was originally 210 in the TCS211 version, and then
+ * increased to 220 in the LoCosto source.  We currently seek to match
+ * TCS211 without any changes, hence we are setting it back to 210.
+ */
+#define   IL_FOR_RXLEV_SNR      210 // RX POWER LEVEL
+
 /************************************/
 /* Automatic Gain Control (AGC)     */
 /************************************/