Commit 37886d72 authored by Cedric Roux's avatar Cedric Roux

change size of DCI format1 only on the primary CC

The DCI format1 changes its size only if the UE has an uplink
on the CC. This commit is to there to keep that in mind.
parent 39e6470f
......@@ -2298,7 +2298,12 @@ fill_DLSCH_dci(
((DCI1_5MHz_FDD_t*)DLSCH_dci)->rah = 0;
size_bytes=sizeof(DCI1_5MHz_FDD_t);
size_bits=sizeof_DCI1_5MHz_FDD_t;
if (UE_list->scell_config[UE_id].scell_count) size_bits++;
/* size does not change on a CC without uplink */
/* for the moment, the UE starts to connect on CC 0, so we test CC_id == 0
* in the future (if things stay here) we have to compare with UE primary CC
* or even better check if the CC has an uplink configured for the UE or not
*/
if (CC_id == 0 && UE_list->scell_config[UE_id].scell_count) size_bits++;
printf("!!!!!!!!!!!!!!!!!!!! %s\n", __FILE__);
break;
......
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