X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Fmac_demux.c;h=16725f1424c94326ace5bb27f0130d5bd48be450;hb=180692ac45aac62b3207635a7cb36773e74e499f;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..16725f142 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; }