X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Frlc_upr_inf_api.c;fp=src%2F5gnrrlc%2Frlc_upr_inf_api.c;h=bc00bf35e7826f10311cf0ba1924e9bcf12ed1cf;hb=40d79285fedc8551f3f0e43ba01123d367c09248;hp=547f741e59b68fbdf00614bba7499e10147334c6;hpb=8144a551b3efaa006e48c00e6a2838ff662e2650;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..bc00bf35e 100644 --- a/src/5gnrrlc/rlc_upr_inf_api.c +++ b/src/5gnrrlc/rlc_upr_inf_api.c @@ -62,6 +62,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 @@ -186,6 +194,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 **********************************************************************/