Commit 680a4b3c authored by Melissa Elkadi's avatar Melissa Elkadi

Only filtering DCIs in MAC layer after RA is complete.

parent 5ee40b58
......@@ -599,9 +599,10 @@ int nr_ue_process_dci_indication_pdu(module_id_t module_id,int cc_id, int gNB_in
NR_UE_MAC_INST_t *mac = get_mac_inst(module_id);
dci_pdu_rel15_t *def_dci_pdu_rel15 = &mac->def_dci_pdu_rel15[dci->dci_format];
if ((dci->rnti != mac->crnti) && (dci->rnti != mac->ra.ra_rnti) && (dci->rnti != 0xffff)) {
LOG_D(MAC,"We skip for the received dci indication rnti %4x != mac->crnti %4x frame slot %4d.%2d RA state %d\n",
dci->rnti, mac->crnti, frame, slot, mac->ra.ra_state);
if ((mac->ra.ra_state == RA_SUCCEEDED) && (dci->rnti != mac->crnti)) {
LOG_D(MAC,"[%d %d] Discarding the received dci indication because rnti %4x "
"!= mac->crnti %4x after RA procedure is complete: (RA state %d)\n",
frame, slot, dci->rnti, mac->crnti, mac->ra.ra_state);
return 0;
}
......
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