comparison 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
comparison
equal deleted inserted replaced
68:838717193e09 69:50a15a54801e
150 150
151 #define A_D_BLEN 456 // SACCH/SDCCH data block length (GSM 5.01 $7) 151 #define A_D_BLEN 456 // SACCH/SDCCH data block length (GSM 5.01 $7)
152 #define TCH_FS_BLEN 378 // TCH FULL SPEECH block length 152 #define TCH_FS_BLEN 378 // TCH FULL SPEECH block length
153 #define TCH_HS_BLEN 211 // TCH HALF SPEECH block length 153 #define TCH_HS_BLEN 211 // TCH HALF SPEECH block length
154 #define TCH_F_D_BLEN 456 // FACCH, TCH_DATA block length 154 #define TCH_F_D_BLEN 456 // FACCH, TCH_DATA block length
155
156 /*
157 * FreeCalypso Frankenstein: the following definition was not present in
158 * our TCS211 version and we had to pull it from the LoCosto version for
159 * l1_cmplx.c to compile. However, the comment in the place where it is
160 * used says that it "valuable for code running on target with DSP 3606."
161 */
162 #define MIN_ACCEPTABLE_SNR_FOR_SB 200 // threshold under which a SB shall be considered as not found
155 163
156 // Define max PM/TDMA according to DSP code and TPU RAM size 164 // Define max PM/TDMA according to DSP code and TPU RAM size
157 //---------------------------------------------------------- 165 //----------------------------------------------------------
158 166
159 // NOTE: we should use a global variable initialized at L1 start and function of rx synth setup time. 167 // NOTE: we should use a global variable initialized at L1 start and function of rx synth setup time.
1275 // "d_ctrl_system" bits positions. 1283 // "d_ctrl_system" bits positions.
1276 #define B_TSQ 0 1284 #define B_TSQ 0
1277 #define B_BCCH_FREQ_IND 3 1285 #define B_BCCH_FREQ_IND 3
1278 #define B_TASK_ABORT 15 // Abort RF tasks for DSP. 1286 #define B_TASK_ABORT 15 // Abort RF tasks for DSP.
1279 1287
1288 /*
1289 * FreeCalypso Frankenstein: the following definition has been
1290 * imported from LoCosto version of l1_const.h; it is needed for
1291 * the LoCosto-based C code to compile.
1292 */
1293 #define C_BA_PM_MEAS (2)
1294
1280 // **************************************************************** 1295 // ****************************************************************
1281 // POLESTAR EVABOARD 3 REGISTERS & ADRESSES DEFINITIONS 1296 // POLESTAR EVABOARD 3 REGISTERS & ADRESSES DEFINITIONS
1282 // **************************************************************** 1297 // ****************************************************************
1283 1298
1284 1299