X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Frlc_upr_inf_api.c;h=ae28ef62d88cfe27c79ba7127370414a046adf1a;hb=959944c4b572d2027bceb7bb474a8fc40f85ec1c;hp=547f741e59b68fbdf00614bba7499e10147334c6;hpb=af8f9c8f6f7cd5e0a89e5dfa7a566fa5811e110c;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/rlc_upr_inf_api.c b/src/5gnrrlc/rlc_upr_inf_api.c index 547f741e5..ae28ef62d 100644 --- a/src/5gnrrlc/rlc_upr_inf_api.c +++ b/src/5gnrrlc/rlc_upr_inf_api.c @@ -26,6 +26,13 @@ RlcUlRrcMsgToDuFunc rlcSendUlRrcMsgToDuOpts[] = packRlcUlRrcMsgToDu /* 2 - Light weight loosely coupled */ }; +RlcDuMaxRetransInd rlcMaxRetransIndOpts[] = +{ + packRlcDuMaxRetransInd, /* 0 - loosely coupled */ + DuProcRlcMaxRetransInd, /* 1 - tightly coupled */ + packRlcDuMaxRetransInd /* 2 - LWLC loosely coupled */ +}; + RlcRrcDeliveryReportToDuFunc rlcSendRrcDeliveryReportToDuOpts[]= { packRrcDeliveryReportToDu, /* 0 - Loosely coupled */ @@ -62,6 +69,14 @@ RlcSlicePmToDuFunc rlcSlicePmOpts[] = 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 @@ -83,6 +98,27 @@ uint8_t rlcSendUlRrcMsgToDu(Pst *pst, RlcUlRrcMsgInfo *ulRrcMsgInfo) return (*rlcSendUlRrcMsgToDuOpts[pst->selector])(pst, ulRrcMsgInfo); } +/******************************************************************* +* +* @brief Sends max retransmission reached Info to DU APP +* +* @details +* +* Function : rlcSendMaxRetransIndToDu +* +* Functionality: Sends max retransmission reached Info to DU APP +* +* @params[in] Pst structure +* max retransmission reached Info +* @return ROK - success +* RFAILED - failure +* +* ****************************************************************/ +uint8_t rlcSendMaxRetransIndToDu(Pst *pst, RlcMaxRetransInfo *maxRetransInfo) +{ + return (*rlcMaxRetransIndOpts[pst->selector])(pst, maxRetransInfo); +} + /******************************************************************* * * @brief Sends RRC delivery Message Info to DU APP @@ -186,6 +222,28 @@ 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 **********************************************************************/