X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2F5gnrrlc%2Frlc_upr_inf_api.c;h=547f741e59b68fbdf00614bba7499e10147334c6;hb=bd2905b5f651349abafb7934a952414d7c24e291;hp=32ddf362848cbf1a346b12d6aaaf131a54f29b82;hpb=2dc9d6735bc5ff973a761b7d6b3f71f97e95d60e;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/rlc_upr_inf_api.c b/src/5gnrrlc/rlc_upr_inf_api.c index 32ddf3628..547f741e5 100644 --- a/src/5gnrrlc/rlc_upr_inf_api.c +++ b/src/5gnrrlc/rlc_upr_inf_api.c @@ -56,6 +56,12 @@ RlcDuUeDeleteRsp rlcUeDeleteRspOpts[] = packRlcDuUeDeleteRsp /* 2 - LWLC loosely coupled */ }; +RlcSlicePmToDuFunc rlcSlicePmOpts[] = +{ + packRlcDuSlicePm, /* 0 - loosely coupled */ + DuProcRlcSliceMetrics, /* 1 - tightly coupled */ + packRlcDuSlicePm /* 2 - LWLC loosely coupled */ +}; /******************************************************************* * * @brief Sends UL RRC Message Info to DU APP @@ -160,6 +166,26 @@ 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); +} /********************************************************************** End of file **********************************************************************/