Commit c7b09f10 authored by Raymond Knopp's avatar Raymond Knopp

logging for sLSCH decoding error

parent 502d7438
...@@ -1466,8 +1466,10 @@ void slsch_decoding(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,int frame_rx,int subfra ...@@ -1466,8 +1466,10 @@ void slsch_decoding(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,int frame_rx,int subfra
} }
else if (ue->dlsch_rx_slsch->harq_processes[0]->rvidx == 1 && else if (ue->dlsch_rx_slsch->harq_processes[0]->rvidx == 1 &&
ret==ue->dlsch_rx_slsch->max_turbo_iterations) { ret==ue->dlsch_rx_slsch->max_turbo_iterations) {
LOG_I(PHY,"sLSCH received in error for group_id %d (L_CRBs %d, mcs %d)\n", LOG_I(PHY,"sLSCH received in error for group_id %d (L_CRBs %d, mcs %d) power (%d,%d)\n",
slsch->group_destination_id,slsch->L_CRBs,slsch->mcs); slsch->group_destination_id,slsch->L_CRBs,slsch->mcs,
dB_fixed(ue->pusch_slsch->ulsch_power[0]),
dB_fixed(ue->pusch_slsch->ulsch_power[1]));
ue->slsch_errors++; ue->slsch_errors++;
} }
else LOG_I(PHY,"sLSCH received in error for rvidx %d round %d (L_CRBs %d, mcs %d)\n", else LOG_I(PHY,"sLSCH received in error for rvidx %d round %d (L_CRBs %d, mcs %d)\n",
......
...@@ -3504,7 +3504,7 @@ SLSCH_t *ue_get_slsch(module_id_t module_idP,int CC_id,frame_t frameP,sub_frame_ ...@@ -3504,7 +3504,7 @@ SLSCH_t *ue_get_slsch(module_id_t module_idP,int CC_id,frame_t frameP,sub_frame_
} }
if (ue->sltx_active == 0) return((SLSCH_t*)NULL); if (ue->sltx_active == 0) return((SLSCH_t*)NULL);
slsch->ljmod10 = 0; slsch->ljmod10 = 10; // note this will cause ljmod10 to be reset for first transmission of SLSCH
slsch->rvidx = 1; slsch->rvidx = 1;
slsch->RB_start = RB_start; slsch->RB_start = RB_start;
slsch->L_CRBs = L_CRBs; slsch->L_CRBs = L_CRBs;
......
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