X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Fmac_upr_inf_api.c;h=4b1f776371c0f507584a2bf095e33c800c5d34bb;hb=5bca27d3d33c085718de6e894b875c845d7456d2;hp=6e6b962afce2fbbe71e3ca97234834c82f6b26d0;hpb=6ffefa70d25f1f2e9a5879d4eb8f3af6379b54a9;p=o-du%2Fl2.git diff --git a/src/5gnrmac/mac_upr_inf_api.c b/src/5gnrmac/mac_upr_inf_api.c index 6e6b962af..4b1f77637 100644 --- a/src/5gnrmac/mac_upr_inf_api.c +++ b/src/5gnrmac/mac_upr_inf_api.c @@ -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