X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Fmac_upr_inf_api.c;h=b37b6ab13bc944bf1cec4d2a4291896193a6e096;hb=0fccb83e55b237d60cf451bab71a0c7242cc6e66;hp=fb212da641c528c4256265136f6d3d443a0921bb;hpb=80a4fa9d0aede180472530cab6efa6acc925424b;p=o-du%2Fl2.git diff --git a/src/5gnrmac/mac_upr_inf_api.c b/src/5gnrmac/mac_upr_inf_api.c index fb212da64..b37b6ab13 100644 --- a/src/5gnrmac/mac_upr_inf_api.c +++ b/src/5gnrmac/mac_upr_inf_api.c @@ -28,6 +28,13 @@ DuMacSlotInd packMacSlotIndOpts[] = duHandleSlotInd, packMacSlotInd }; +/* Funtion pointer options for stop indication */ +DuMacStopInd packMacStopIndOpts[] = +{ + packMacStopInd, + duHandleStopInd, + packMacStopInd +}; /******************************************************************* * @@ -52,6 +59,27 @@ uint16_t MacDuAppSlotInd(Pst *pst, SlotInfo *slotInfo) return (*packMacSlotIndOpts[pst->selector])(pst, slotInfo); } +/******************************************************************* + * + * @brief Send stop indication to MAC + * + * @details + * + * Function : MacDuAppStopInd + * + * Functionality: + * Sends Stop Indication to MAC + * + * @params[in] Post structure pointer + * @return ROK - success + * RFAILED - failure + * + * ****************************************************************/ +uint16_t MacDuAppStopInd(Pst *pst, MacCellStopInfo *cellStopId) +{ + return (*packMacStopIndOpts[pst->selector])(pst, cellStopId); +} + /********************************************************************** End of file **********************************************************************/