adding an addition error check on harq_pid as it is sometimes not in range. root cause still to be identified

This commit is contained in:
Massive
2018-01-22 12:52:37 +01:00
parent f0376d1b4f
commit 5d199f4500
+4 -2
View File
@@ -518,7 +518,7 @@ void phy_procedures_eNB_TX(PHY_VARS_eNB *eNB,
// get harq_pid
harq_pid = dlsch0->harq_ids[subframe];
AssertFatal(harq_pid>=0,"harq_pid is negative\n");
if ((harq_pid>=0) && (harq_pid<8)) {
// generate pdsch
pdsch_procedures(eNB,
proc,
@@ -527,7 +527,9 @@ void phy_procedures_eNB_TX(PHY_VARS_eNB *eNB,
dlsch1,
&eNB->UE_stats[(uint32_t)UE_id],
0);
} else {
LOG_E(PHY,"harq_pid %d is not valid, not generating PDSCH\n",harq_pid);
}
}