[Epic-ID: ODUHIGH-488][Task-ID: ODUHIGH-501] WG8 Alignment | UE RLC Re-establishment...
[o-du/l2.git] / src / 5gnrrlc / rlc_upr_inf_api.c
index 32ddf36..bc00bf3 100644 (file)
@@ -56,6 +56,20 @@ RlcDuUeDeleteRsp rlcUeDeleteRspOpts[] =
    packRlcDuUeDeleteRsp     /* 2 - LWLC loosely coupled */
 };
 
+RlcSlicePmToDuFunc rlcSlicePmOpts[] =
+{
+   packRlcDuSlicePm,          /* 0 - loosely coupled */
+   DuProcRlcSliceMetrics,     /* 1 - tightly coupled */
+   packRlcDuSlicePm           /* 2 - LWLC loosely coupled */
+};
+
+RlcDuUeReestablishRsp rlcUeReestablishRspOpts[] =
+{
+   packRlcDuUeReestablishRsp,     /* 0 - loosely coupled */
+   DuProcRlcUeReestablishRsp,     /* 1 - tightly coupled */
+   packRlcDuUeReestablishRsp     /* 2 - LWLC loosely coupled */
+};
+
 /*******************************************************************
  *
  * @brief Sends UL RRC Message Info to DU APP
@@ -160,6 +174,48 @@ uint8_t rlcSendUeDeleteRspToDu(Pst *pst, RlcUeDeleteRsp *ueDeleteRsp)
     return (*rlcUeDeleteRspOpts[pst->selector])(pst, ueDeleteRsp);
 }
 
+/*******************************************************************
+ *
+ * @brief Sends Slice Performance Metrics to DU APP
+ *
+ * @details
+ *
+ *    Function : rlcSendSlicePmToDu 
+ *
+ *    Functionality:  Sends Performace Metrics per slice together to DU APP
+ *
+ * @params[in] Pst *pst, SlicePmList *sliceStats 
+ *             
+ * @return ROK     - success
+ *         RFAILED - failure
+ *
+ * ****************************************************************/
+uint8_t rlcSendSlicePmToDu(Pst *pst, SlicePmList *sliceStats)
+{
+    return (*rlcSlicePmOpts[pst->selector])(pst, sliceStats);
+}
+
+/*******************************************************************
+ *
+ * @brief Sends Ue Reestablishment Rsp to DU APP
+ *
+ * @details
+ *
+ *    Function : rlcSendUeReestablishRspToDu 
+ *
+ *    Functionality:  Sends Ue Reestablishment Rsp to DU APP
+ *
+ * @params[in] Pst *pst, RlcUeReestablishRsp *ueReestablishRsp 
+ *             
+ * @return ROK     - success
+ *         RFAILED - failure
+ *
+ * ****************************************************************/
+uint8_t rlcSendUeReestablishRspToDu(Pst *pst, RlcUeReestablishRsp *ueReestablishRsp)
+{
+    return (*rlcUeReestablishRspOpts[pst->selector])(pst, ueReestablishRsp);
+}
+
 /**********************************************************************
          End of file
 **********************************************************************/