changeset 339:3c3b9bdd206b

macs.c passes compilation
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 29 Oct 2017 19:06:19 +0000
parents a4a1c5bb4be6
children 9f3ff430307a
files chipsetsw/layer1/cmacs/macs.c
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/cmacs/macs.c	Sun Oct 29 18:54:50 2017 +0000
+++ b/chipsetsw/layer1/cmacs/macs.c	Sun Oct 29 19:06:19 2017 +0000
@@ -54,8 +54,6 @@
 #include "l1p_vare.h"
 #include "l1p_sign.h"
 
-#include "l1tm_proto.h"
-
 #include "macs_def.h"
 #include "macs_cst.h"
 #include "macs_var.h"
@@ -2065,14 +2063,14 @@
         // Timeslot number (relative to the network) on which the block was received is
         // stored in the downlink block buffer header
 
-        NDB_PTR->a_dd_gprs[macs.rx_no][1] = ts + l1ps.read_param.dl_tn;
+        NDB_PTR->a_dd_gprs[macs.rx_no][1] = ts + l1a_l1s_com.dl_tn;
 
         #if (TRACE_TYPE == 1) || (TRACE_TYPE == 4)
           RTTL1_FILL_DL_PDTCH((UWORD8) (NDB_PTR->a_dd_gprs[macs.rx_no][4]),    \
                               tfi_result,                                      \
                               NDB_PTR->a_dd_gprs[macs.rx_no][0] & 0x0100 >> 8, \
                               NDB_PTR->a_dd_gprs[macs.rx_no][0] & 0x000f,      \
-                              ts + l1ps.read_param.dl_tn)
+                              ts + l1a_l1s_com.dl_tn)
         #endif
 
         macs.rx_no ++;
@@ -2845,7 +2843,8 @@
     }
   #endif
 
-      #if TESTMODE
+      /* FreeCalypso TCS211 reconstruction */
+      #if 0 //TESTMODE
           if (l1_config.TestMode)
           {
             BOOL    crc_error_bler; //Local var used for accumulating BLER