comparison 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
comparison
equal deleted inserted replaced
68:838717193e09 69:50a15a54801e
15 #define C_GEW 1 // Weighting factor. Default : 1/2 15 #define C_GEW 1 // Weighting factor. Default : 1/2
16 16
17 #define C_SNRGR 2560 // 2.5 F6.10 17 #define C_SNRGR 2560 // 2.5 F6.10
18 #define C_SNR_THR 8192 // 8 F6.10 18 #define C_SNR_THR 8192 // 8 F6.10
19 #define TOA_HISTO_LEN 11 // Histogram length 19 #define TOA_HISTO_LEN 11 // Histogram length
20
21 /*
22 * FreeCalypso Frankenstein: the following definition has been added
23 * from LoCosto version of this file, as it is used by l1_cmplx.c
24 * fairly extensively.
25 *
26 * Disassembly-matching reconstruction has revealed that the constant
27 * in question was originally 210 in the TCS211 version, and then
28 * increased to 220 in the LoCosto source. We currently seek to match
29 * TCS211 without any changes, hence we are setting it back to 210.
30 */
31 #define IL_FOR_RXLEV_SNR 210 // RX POWER LEVEL
20 32
21 /************************************/ 33 /************************************/
22 /* Automatic Gain Control (AGC) */ 34 /* Automatic Gain Control (AGC) */
23 /************************************/ 35 /************************************/
24 36