changeset 222:a4899cf67fd1

l1tm_async.c: reconstruction complete, exact match to TCS211 binary object
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 14 Jan 2017 22:28:31 +0000
parents 5aeabd5e6ded
children f3a01488b437
files chipsetsw/layer1/tm_cfile/l1tm_async.c
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/tm_cfile/l1tm_async.c	Sat Jan 14 22:17:37 2017 +0000
+++ b/chipsetsw/layer1/tm_cfile/l1tm_async.c	Sat Jan 14 22:28:31 2017 +0000
@@ -2120,15 +2120,16 @@
               free_set->freq_param.chan_sel.rf_channel.single_rf.radio_freq = l1_config.tmode.rf_params.pdtch_arfcn;
               free_set->mac_mode           = FIX_ALLOC_NO_HALF; // fixed allocation
               free_set->tbf_sti.present    = TRUE; // STI present
-			  #if (CODE_VERSION == NOT_SIMULATION)
+            // FreeCalypso TCS211 reconstruction: LoCosto change backed out
+            #if 0 //(CODE_VERSION == NOT_SIMULATION)
               // In order to reduce the latency for the ETM command "rfe 4", make absolute_fn as
               // next_time.fn+1. This was originally +100 because of which we had to wait for some
               // time before L1 actually starts the TBF.
               free_set->tbf_sti.absolute_fn= l1s.next_time.fn + 1;
-			  #else
-			// In PC simulation, keep the old +100 to keep output logs same as reference
-			  free_set->tbf_sti.absolute_fn= l1s.next_time.fn + 100; // force to current FN+100
-			  #endif
+            #else
+            // In PC simulation, keep the old +100 to keep output logs same as reference
+              free_set->tbf_sti.absolute_fn= l1s.next_time.fn + 100; // force to current FN+100
+            #endif
 
               free_set->interf_meas_enable = FALSE; // Interference measurements disabled
               free_set->pc_meas_chan       = TRUE;  // No measurement on the beacon (6 per MF52)