Commit a4783d23 authored by Khodr Saaifan's avatar Khodr Saaifan Committed by Thomas Schlichter

clean UE side

parent a373568a
...@@ -5799,8 +5799,7 @@ void prepare_dl_decoding_format2_2A(DCI_format_t dci_format, ...@@ -5799,8 +5799,7 @@ void prepare_dl_decoding_format2_2A(DCI_format_t dci_format,
if ((rv2 == 1) && (mcs2 == 0)) { if ((rv2 == 1) && (mcs2 == 0)) {
TB1_active=0; TB1_active=0;
} }
if((TB0_active==1)&&(TB1_active==0))//we are here
{
/*SFN: /*SFN:
* Case 1:eNB receives ACK (due to channel) for erroneous decoded data * Case 1:eNB receives ACK (due to channel) for erroneous decoded data
* Description: UE has a decoding error. Hence it increases round and send Nack to eNB * Description: UE has a decoding error. Hence it increases round and send Nack to eNB
...@@ -5895,9 +5894,7 @@ if((TB0_active==1)&&(TB1_active==0))//we are here ...@@ -5895,9 +5894,7 @@ if((TB0_active==1)&&(TB1_active==0))//we are here
dlsch0_harq, dlsch0_harq,
nb_rb_alloc, nb_rb_alloc,
subframe); subframe);
} else if((TB0_active==1)&&(TB1_active==1))//two active streams go here
{
}
} }
int generate_ue_dlsch_params_from_dci(int frame, int generate_ue_dlsch_params_from_dci(int frame,
...@@ -8348,7 +8345,7 @@ int generate_eNB_ulsch_params_from_dci(PHY_VARS_eNB *eNB, ...@@ -8348,7 +8345,7 @@ int generate_eNB_ulsch_params_from_dci(PHY_VARS_eNB *eNB,
* TODO: deal with TM 8&9 correctly when they are implemented. * TODO: deal with TM 8&9 correctly when they are implemented.
* TODO: deal with periodic reporting if we implement it. * TODO: deal with periodic reporting if we implement it.
*/ */
//SFN FIX:
// O_RI: 1 bit for RI // O_RI: 1 bit for RI
if (transmission_mode == 3 || transmission_mode == 4) if (transmission_mode == 3 || transmission_mode == 4)
ulsch->harq_processes[harq_pid]->O_RI = 1; //we only support 2 antenna ports, so this is always 1 according to 3GPP 36.213 Table ulsch->harq_processes[harq_pid]->O_RI = 1; //we only support 2 antenna ports, so this is always 1 according to 3GPP 36.213 Table
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment