[Epic-ID: ODUHIGH-516][Task-ID: ODUHIGH-532] RIC Subscription Delete Request
[o-du/l2.git] / src / 5gnrmac / mac_upr_inf_api.c
index 6e6b962..72f816d 100644 (file)
@@ -30,6 +30,14 @@ DuMacCellUpInd packMacCellUpIndOpts[] =
    duHandleCellUpInd,
    packMacCellUpInd
 };
+
+DuMacSlotInd packMacSlotIndOpts[] = 
+{
+   packMacSlotInd,
+   duHandleSlotInd,
+   packMacSlotInd
+};
+
 /* Funtion pointer options for stop indication */
 DuMacStopInd packMacStopIndOpts[] =
 {
@@ -86,6 +94,26 @@ uint8_t MacDuAppCellUpInd(Pst *pst, OduCellId *cellId)
    return (*packMacCellUpIndOpts[pst->selector])(pst, cellId);
 }
 
+/*******************************************************************
+ *
+ * @brief Send slot indication to DU APP
+ *
+ * @details
+ *
+ *    Function : MacDuAppSlotInd
+ *
+ *    Functionality:
+ *       send slot indication to DU APP
+ *
+ * @params[in]  Post structure pointer, SlotTimingInfo *slotIndInfo
+ * @return ROK     - success
+ *         RFAILED - failure
+ *
+ * ****************************************************************/
+uint8_t MacDuAppSlotInd(Pst *pst, SlotTimingInfo *slotIndInfo)
+{
+   return (*packMacSlotIndOpts[pst->selector])(pst, slotIndInfo);
+}
 /*******************************************************************
  *
  * @brief Send stop indication to MAC
@@ -145,7 +173,7 @@ uint8_t MacDuAppUlCcchInd(Pst *pst, UlCcchIndInfo *ulCcchIndInfo)
  *         RFAILED - failure
  *
  * ****************************************************************/
-uint8_t MacSendUlDataToRlc(Pst *pst, RlcData *ulData)
+uint8_t MacSendUlDataToRlc(Pst *pst, RlcUlData *ulData)
 {
    return (*rlcMacSendUlDataOpts[pst->selector])(pst, ulData);
 }