comparison chipsetsw/layer1/p_cfile/l1p_driv.c @ 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
comparison
equal deleted inserted replaced
319:1ea4a6156f12 320:8710d35a990f
1389 { 1389 {
1390 // program an interrupt in the TS following 1390 // program an interrupt in the TS following
1391 // the last TX window and needed by the DSP 1391 // the last TX window and needed by the DSP
1392 1392
1393 // Is it the TS following a TX window ? 1393 // Is it the TS following a TX window ?
1394 #if 0 /* original LoCosto code */
1394 if((i == last_TX+1) && (i<8)) 1395 if((i == last_TX+1) && (i<8))
1396 #else /* FreeCalypso TCS211 reconstruction */
1397 if (i == last_TX+1)
1398 #endif
1395 { 1399 {
1396 // program the interrupt 1400 // program the interrupt
1397 l1ps_dsp_com.pdsp_db_w_ptr->a_ctrl_abb_gprs[i] = (1 << B_MS_RULE); 1401 l1ps_dsp_com.pdsp_db_w_ptr->a_ctrl_abb_gprs[i] = (1 << B_MS_RULE);
1398 } 1402 }
1399 } 1403 }
1401 1405
1402 // in a multi-TX case an additionnal ramp down must be set 1406 // in a multi-TX case an additionnal ramp down must be set
1403 if(cpt_TX > 1) 1407 if(cpt_TX > 1)
1404 { 1408 {
1405 // Control bitmap: update RAMP, use RAMP[d_ramp_idx][..] for slot i and set the interrupt 1409 // Control bitmap: update RAMP, use RAMP[d_ramp_idx][..] for slot i and set the interrupt
1410 #if 0 /* FreeCalypso TCS211 reconstruction */
1406 if((last_TX+1) <= 7) 1411 if((last_TX+1) <= 7)
1412 #endif
1407 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)); 1413 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));
1408 1414
1409 // Store Ramp. 1415 // Store Ramp.
1410 // ========== 1416 // ==========
1411 txpwr_ramp_up = txpwr[last_TX+ts_conv]; // this ramp up is unused (default: set to last_TX) 1417 txpwr_ramp_up = txpwr[last_TX+ts_conv]; // this ramp up is unused (default: set to last_TX)