FreeCalypso > hg > tcs211-l1-reconst
changeset 335:e57ad7d45ea4
l1p_sync.c: reconstruction complete, both XIP and intram objects perfect match
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 29 Oct 2017 18:30:00 +0000 |
parents | 30427cc02e46 |
children | 7ad882cbce4c |
files | chipsetsw/layer1/p_cfile/l1p_sync.c |
diffstat | 1 files changed, 11 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/chipsetsw/layer1/p_cfile/l1p_sync.c Sun Oct 29 09:12:34 2017 +0000 +++ b/chipsetsw/layer1/p_cfile/l1p_sync.c Sun Oct 29 18:30:00 2017 +0000 @@ -163,7 +163,7 @@ WORD8 i; UWORD8 min_synchro_ts = 7; BOOL new_tbf_installed = FALSE; - T_PACKET_TA *current_ta_config = NULL; + T_PACKET_TA *current_ta_config; // In packet transfer mode, we only detect STI at block boundaries in order to udpate the // ASET structure after the last Control of the previous TBF @@ -580,8 +580,6 @@ (l1pa_l1ps_com.transfer.aset->packet_ta.ta_tn != 255)) { // No action when the configuration is the same as the current one. - if(current_ta_config != NULL) - { if((l1pa_l1ps_com.transfer.aset->packet_ta.ta_index != current_ta_config->ta_index) || (l1pa_l1ps_com.transfer.aset->packet_ta.ta_tn != current_ta_config->ta_tn) || (l1a_l1s_com.l1s_en_task[PTCCH] == TASK_DISABLED)) @@ -595,7 +593,6 @@ // Enable PTCCH task. l1a_l1s_com.l1s_en_task[PTCCH] = TASK_ENABLED; } - } } else // PTCCH is not configured. @@ -642,7 +639,11 @@ default: { - if(l1a_l1s_com.l1s_en_task[PDTCH] == TASK_ENABLED) + /* + * FreeCalypso: removal of the following line is + * TCS211 reconstruction + */ + //if(l1a_l1s_com.l1s_en_task[PDTCH] == TASK_ENABLED) //In case of transition idle to transfer the Packet transfer mode is set when synchro is executed // Layer 1 internal mode is set to PACKET TRANSFER MODE. l1a_l1s_com.mode = PACKET_TRANSFER_MODE; @@ -988,7 +989,11 @@ if (l1pa_l1ps_com.transfer.aset->allocated_tbf == NO_TBF) { - l1ps.read_param.assignment_id = 0x01; /* default non initialised value for next tbf */ + /* + * FreeCalypso: removal of the following line is + * TCS211 reconstruction + */ + //l1ps.read_param.assignment_id = 0x01; /* default non initialised value for next tbf */ ((T_L1P_TBF_RELEASED *) msg->SigP)->released_all = TRUE;