X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Fmac_demux.c;h=bcb3cef805c5c014a6e3ff46a98ea5f4cad3e81c;hb=51bd2af5867794ba058365581a7ad3c2eba0d1c3;hp=562afaefc5c8ff62c55eee4eff8155a83e6af043;hpb=b8044fce6d8a277254f235d128c8729ed0b5e7b0;p=o-du%2Fl2.git diff --git a/src/5gnrmac/mac_demux.c b/src/5gnrmac/mac_demux.c index 562afaefc..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; @@ -117,11 +117,10 @@ int unpackRxData(SlotIndInfo timingInfo, RxDataIndPdu *rxDataIndPdu) idx = idx + length; /* store msg3 pdu in macRaCb for CRI value */ - memcpy(&macCb.macCell->macRaCb[0].msg3Pdu, pdu, length); + memcpy(macCb.macCell->macRaCb[0].msg3Pdu, pdu, length); - /* TODO: - * Fill and send UL-CCCH Indication to DU APP - */ + /* Send UL-CCCH Indication to DU APP */ + macSendUlCcchInd(pdu, macCb.macCell->cellId, rxDataIndPdu->rnti); break; }