Correctly format nr_ue_process_dci_dl_11()
This commit is contained in:
@@ -1081,16 +1081,17 @@ static int nr_ue_process_dci_dl_11(module_id_t module_id,
|
|||||||
// otherwise 3 bits as defined in Subclause 5.1.5 of [6, TS38.214]
|
// otherwise 3 bits as defined in Subclause 5.1.5 of [6, TS38.214]
|
||||||
dlsch_pdu->tci_state = dci->transmission_configuration_indication.val;
|
dlsch_pdu->tci_state = dci->transmission_configuration_indication.val;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SRS_REQUEST */
|
/* SRS_REQUEST */
|
||||||
AssertFatal(dci->srs_request.nbits == 2, "If SUL is supported in the cell, there is an additional bit in SRS request field\n");
|
AssertFatal(dci->srs_request.nbits == 2, "If SUL is supported in the cell, there is an additional bit in SRS request field\n");
|
||||||
if(dci->srs_request.val > 0 )
|
if (dci->srs_request.val > 0)
|
||||||
nr_ue_aperiodic_srs_scheduling(mac, dci->srs_request.val, frame, slot);
|
nr_ue_aperiodic_srs_scheduling(mac, dci->srs_request.val, frame, slot);
|
||||||
/* CBGTI */
|
/* CBGTI */
|
||||||
dlsch_pdu->cbgti = dci->cbgti.val;
|
dlsch_pdu->cbgti = dci->cbgti.val;
|
||||||
/* CBGFI */
|
/* CBGFI */
|
||||||
dlsch_pdu->codeBlockGroupFlushIndicator = dci->cbgfi.val;
|
dlsch_pdu->codeBlockGroupFlushIndicator = dci->cbgfi.val;
|
||||||
/* DMRS_SEQ_INI */
|
/* DMRS_SEQ_INI */
|
||||||
//FIXME!!!
|
// FIXME!!!
|
||||||
|
|
||||||
/* PDSCH_TO_HARQ_FEEDBACK_TIME_IND */
|
/* PDSCH_TO_HARQ_FEEDBACK_TIME_IND */
|
||||||
// according to TS 38.213 Table 9.2.3-1
|
// according to TS 38.213 Table 9.2.3-1
|
||||||
@@ -1156,7 +1157,7 @@ static int nr_ue_process_dci_dl_11(module_id_t module_id,
|
|||||||
dlsch_pdu->tbslbrm = nr_compute_tbslbrm(dlsch_pdu->mcs_table, bw_tbslbrm, nl_tbslbrm);
|
dlsch_pdu->tbslbrm = nr_compute_tbslbrm(dlsch_pdu->mcs_table, bw_tbslbrm, nl_tbslbrm);
|
||||||
/*PTRS configuration */
|
/*PTRS configuration */
|
||||||
dlsch_pdu->pduBitmap = 0;
|
dlsch_pdu->pduBitmap = 0;
|
||||||
if(pdsch_Config->dmrs_DownlinkForPDSCH_MappingTypeA->choice.setup->phaseTrackingRS != NULL) {
|
if (pdsch_Config->dmrs_DownlinkForPDSCH_MappingTypeA->choice.setup->phaseTrackingRS != NULL) {
|
||||||
bool valid_ptrs_setup =
|
bool valid_ptrs_setup =
|
||||||
set_dl_ptrs_values(pdsch_Config->dmrs_DownlinkForPDSCH_MappingTypeA->choice.setup->phaseTrackingRS->choice.setup,
|
set_dl_ptrs_values(pdsch_Config->dmrs_DownlinkForPDSCH_MappingTypeA->choice.setup->phaseTrackingRS->choice.setup,
|
||||||
dlsch_pdu->number_rbs,
|
dlsch_pdu->number_rbs,
|
||||||
@@ -1168,7 +1169,7 @@ static int nr_ue_process_dci_dl_11(module_id_t module_id,
|
|||||||
&dlsch_pdu->nEpreRatioOfPDSCHToPTRS,
|
&dlsch_pdu->nEpreRatioOfPDSCHToPTRS,
|
||||||
&dlsch_pdu->PTRSReOffset,
|
&dlsch_pdu->PTRSReOffset,
|
||||||
dlsch_pdu->number_symbols);
|
dlsch_pdu->number_symbols);
|
||||||
if(valid_ptrs_setup==true) {
|
if (valid_ptrs_setup == true) {
|
||||||
dlsch_pdu->pduBitmap |= 0x1;
|
dlsch_pdu->pduBitmap |= 0x1;
|
||||||
LOG_D(MAC, "DL PTRS values: PTRS time den: %d, PTRS freq den: %d\n", dlsch_pdu->PTRSTimeDensity, dlsch_pdu->PTRSFreqDensity);
|
LOG_D(MAC, "DL PTRS values: PTRS time den: %d, PTRS freq den: %d\n", dlsch_pdu->PTRSTimeDensity, dlsch_pdu->PTRSFreqDensity);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user