Adjusted code format to increase code readability.
This commit is contained in:
@@ -512,8 +512,10 @@ int nr_ue_process_dci_indication_pdu(module_id_t module_id,int cc_id, int gNB_in
|
|||||||
dci->rnti,dci->dci_format,dci->n_CCE,dci->payloadSize,*(unsigned long long*)dci->payloadBits);
|
dci->rnti,dci->dci_format,dci->n_CCE,dci->payloadSize,*(unsigned long long*)dci->payloadBits);
|
||||||
if ((dci->rnti == mac->crnti) || (dci->rnti == mac->ra.ra_rnti)) {
|
if ((dci->rnti == mac->crnti) || (dci->rnti == mac->ra.ra_rnti)) {
|
||||||
int8_t ret = nr_extract_dci_info(mac, dci->dci_format, dci->payloadSize, dci->rnti, (uint64_t *)dci->payloadBits, def_dci_pdu_rel15);
|
int8_t ret = nr_extract_dci_info(mac, dci->dci_format, dci->payloadSize, dci->rnti, (uint64_t *)dci->payloadBits, def_dci_pdu_rel15);
|
||||||
if ((ret&1) == 1) return -1;
|
if ((ret&1) == 1)
|
||||||
else if (ret == 2) dci->dci_format = NR_UL_DCI_FORMAT_0_0;
|
return -1;
|
||||||
|
else if (ret == 2)
|
||||||
|
dci->dci_format = NR_UL_DCI_FORMAT_0_0;
|
||||||
return (nr_ue_process_dci(module_id, cc_id, gNB_index, frame, slot, def_dci_pdu_rel15, dci));
|
return (nr_ue_process_dci(module_id, cc_id, gNB_index, frame, slot, def_dci_pdu_rel15, dci));
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user