X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Flwr_mac_upr_inf.c;h=0c91610ce8f28dd3e87d9696bbe0f99642c855a3;hb=fa4911bd05674f9f528287d4e1b606a4c338b280;hp=b17ca9579519d1bff0246fcc3b3d0de0deaa5919;hpb=db0a2ee4edd328449d01ab184d253327fca950d6;p=o-du%2Fl2.git diff --git a/src/5gnrmac/lwr_mac_upr_inf.c b/src/5gnrmac/lwr_mac_upr_inf.c index b17ca9579..0c91610ce 100644 --- a/src/5gnrmac/lwr_mac_upr_inf.c +++ b/src/5gnrmac/lwr_mac_upr_inf.c @@ -160,6 +160,34 @@ S16 packLwlcSlotInd (Pst *pst, SlotIndInfo *slotInd) return ROK; } +/******************************************************************* + * + * @brief Packs and Sends Stop Ind to MAC + * + * @details + * + * Function : packStopInd + * + * Functionality: + * Packs and Sends Stop Ind to MAC + * + * @params[in] Post structure pointer + * @return ROK - success + * RFAILED - failure + * + * ****************************************************************/ +uint16_t packStopInd(Pst *pst) +{ + if((pst->selector == MAC_SELECTOR_LC) || (pst->selector == MAC_SELECTOR_LWLC)) + { + return ROK; + } + else + { + return RFAILED; + } +} + /********************************************************************** End of file **********************************************************************/