Skip to content
Snippets Groups Projects
Commit 80f47817 authored by Cédric Roux's avatar Cédric Roux
Browse files

fix: warn if no PDSCH active

I doubt the case should happen. If it does, let's print an
error, will ease debugging.
parent a75cfd90
No related branches found
No related tags found
No related merge requests found
...@@ -163,6 +163,10 @@ int rx_pdsch(PHY_VARS_UE *ue, ...@@ -163,6 +163,10 @@ int rx_pdsch(PHY_VARS_UE *ue,
dlsch1_harq = NULL; dlsch1_harq = NULL;
codeword_TB0 = -1; codeword_TB0 = -1;
} }
else {
LOG_E(PHY,"[UE][FATAL] Frame %d subframe %d: no active DLSCH\n",ue->proc.proc_rxtx[0].frame_rx,subframe);
return(-1);
}
beamforming_mode = ue->transmission_mode[eNB_id]<7?0:ue->transmission_mode[eNB_id]; beamforming_mode = ue->transmission_mode[eNB_id]<7?0:ue->transmission_mode[eNB_id];
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment