copying retInfo to sched_pusch in the right place
This commit is contained in:
@@ -846,9 +846,6 @@ bool allocate_ul_retransmission(module_id_t module_id,
|
|||||||
retInfo->frame = sched_ctrl->sched_pusch.frame;
|
retInfo->frame = sched_ctrl->sched_pusch.frame;
|
||||||
retInfo->slot = sched_ctrl->sched_pusch.slot;
|
retInfo->slot = sched_ctrl->sched_pusch.slot;
|
||||||
|
|
||||||
// Get previous PUSCH filed info
|
|
||||||
sched_ctrl->sched_pusch = *retInfo;
|
|
||||||
|
|
||||||
NR_BWP_t *genericParameters = sched_ctrl->active_ubwp ? &sched_ctrl->active_ubwp->bwp_Common->genericParameters : &scc->uplinkConfigCommon->initialUplinkBWP->genericParameters;
|
NR_BWP_t *genericParameters = sched_ctrl->active_ubwp ? &sched_ctrl->active_ubwp->bwp_Common->genericParameters : &scc->uplinkConfigCommon->initialUplinkBWP->genericParameters;
|
||||||
int rbStart = sched_ctrl->active_ubwp ? NRRIV2PRBOFFSET(genericParameters->locationAndBandwidth, MAX_BWP_SIZE) : 0;
|
int rbStart = sched_ctrl->active_ubwp ? NRRIV2PRBOFFSET(genericParameters->locationAndBandwidth, MAX_BWP_SIZE) : 0;
|
||||||
const uint16_t bwpSize = NRRIV2BW(genericParameters->locationAndBandwidth, MAX_BWP_SIZE);
|
const uint16_t bwpSize = NRRIV2BW(genericParameters->locationAndBandwidth, MAX_BWP_SIZE);
|
||||||
@@ -907,6 +904,9 @@ bool allocate_ul_retransmission(module_id_t module_id,
|
|||||||
retInfo->rbSize = new_rbSize;
|
retInfo->rbSize = new_rbSize;
|
||||||
retInfo->time_domain_allocation = tda;
|
retInfo->time_domain_allocation = tda;
|
||||||
sched_ctrl->pusch_semi_static = temp_ps;
|
sched_ctrl->pusch_semi_static = temp_ps;
|
||||||
|
|
||||||
|
// Get previous PUSCH filed info
|
||||||
|
sched_ctrl->sched_pusch = *retInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Find free CCE */
|
/* Find free CCE */
|
||||||
@@ -1572,7 +1572,7 @@ void nr_schedule_ulsch(module_id_t module_id, frame_t frame, sub_frame_t slot)
|
|||||||
n_ubwp = CellGroup->spCellConfig->spCellConfigDedicated->uplinkConfig->uplinkBWP_ToAddModList->list.count;
|
n_ubwp = CellGroup->spCellConfig->spCellConfigDedicated->uplinkConfig->uplinkBWP_ToAddModList->list.count;
|
||||||
|
|
||||||
config_uldci(sched_ctrl->active_ubwp,
|
config_uldci(sched_ctrl->active_ubwp,
|
||||||
scc,
|
scc,
|
||||||
pusch_pdu,
|
pusch_pdu,
|
||||||
&uldci_payload,
|
&uldci_payload,
|
||||||
ps->dci_format,
|
ps->dci_format,
|
||||||
|
|||||||
Reference in New Issue
Block a user