changeset 320:8710d35a990f

l1p_driv.c: l1pddsp_transfer_mslot_power() imperfect reconstruction
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 04 Oct 2017 05:50:02 +0000
parents 1ea4a6156f12
children 89e6a6edf033
files chipsetsw/layer1/p_cfile/l1p_driv.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/p_cfile/l1p_driv.c	Wed Oct 04 04:52:54 2017 +0000
+++ b/chipsetsw/layer1/p_cfile/l1p_driv.c	Wed Oct 04 05:50:02 2017 +0000
@@ -1391,7 +1391,11 @@
          // the last TX window and needed by the DSP
 
          // Is it the TS following a TX window ?
+#if 0	/* original LoCosto code */
          if((i == last_TX+1) && (i<8))
+#else	/* FreeCalypso TCS211 reconstruction */
+         if (i == last_TX+1)
+#endif
          {
            // program the interrupt
            l1ps_dsp_com.pdsp_db_w_ptr->a_ctrl_abb_gprs[i] = (1 << B_MS_RULE);
@@ -1403,7 +1407,9 @@
     if(cpt_TX > 1)
     {
        // Control bitmap: update RAMP, use RAMP[d_ramp_idx][..] for slot i and set the interrupt
+#if 0	/* FreeCalypso TCS211 reconstruction */
 	   if((last_TX+1) <= 7)
+#endif
        l1ps_dsp_com.pdsp_db_w_ptr->a_ctrl_abb_gprs[last_TX+1] = ((d_ramp_idx << B_RAMP_NB_GPRS) | (1 << B_RAMP_GPRS) | (1 << B_MS_RULE));
 
        // Store Ramp.