Commit 6b3b0b0b authored by Robert Schmidt's avatar Robert Schmidt

Final CCE allocation check: print message on fail

parent 88d15647
...@@ -982,7 +982,9 @@ eNB_dlsch_ulsch_scheduler(module_id_t module_idP, ...@@ -982,7 +982,9 @@ eNB_dlsch_ulsch_scheduler(module_id_t module_idP,
/* Allocate CCEs for good after scheduling is done */ /* Allocate CCEs for good after scheduling is done */
for (CC_id = 0; CC_id < MAX_NUM_CCs; CC_id++) { for (CC_id = 0; CC_id < MAX_NUM_CCs; CC_id++) {
if (cc[CC_id].tdd_Config == NULL || !(is_UL_sf(&cc[CC_id],subframeP))) { if (cc[CC_id].tdd_Config == NULL || !(is_UL_sf(&cc[CC_id],subframeP))) {
allocate_CCEs(module_idP, CC_id, frameP, subframeP, 2); int rc = allocate_CCEs(module_idP, CC_id, frameP, subframeP, 2);
if (rc < 0)
LOG_E(MAC, "%s() %4d.%d ERROR ALLOCATING CCEs\n", __func__, frameP, subframeP);
} }
} }
......
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