Cu ASN changes for DlRrcMessageTransfer
[o-du/l2.git] / src / 5gnrmac / mac_demux.c
index 562afae..bcb3cef 100644 (file)
@@ -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;
          }