X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Fmac_demux.c;h=bcb3cef805c5c014a6e3ff46a98ea5f4cad3e81c;hb=bda786455110d7444fc56a308a387968f14eb382;hp=e960c8b3aa881a9ac92918a0d96be82b80e8b752;hpb=ee769160fe5360f0d3ea043deaede2902ae13073;p=o-du%2Fl2.git diff --git a/src/5gnrmac/mac_demux.c b/src/5gnrmac/mac_demux.c index e960c8b3a..bcb3cef80 100644 --- a/src/5gnrmac/mac_demux.c +++ b/src/5gnrmac/mac_demux.c @@ -78,7 +78,7 @@ * RFAILED * * ****************************************************************/ -int unpackRxData(SlotIndInfo timingInfo, RxDataIndPdu *rxDataIndPdu) +int unpackRxData(RxDataIndPdu *rxDataIndPdu) { uint8_t lcId; uint8_t idx = 0; @@ -116,9 +116,11 @@ int unpackRxData(SlotIndInfo timingInfo, RxDataIndPdu *rxDataIndPdu) pduLen -= length; idx = idx + length; - /* TODO: - * Fill and send UL-CCCH Indication to DU APP - */ + /* store msg3 pdu in macRaCb for CRI value */ + memcpy(macCb.macCell->macRaCb[0].msg3Pdu, pdu, length); + + /* Send UL-CCCH Indication to DU APP */ + macSendUlCcchInd(pdu, macCb.macCell->cellId, rxDataIndPdu->rnti); break; }