X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Flwr_mac_upr_inf.c;fp=src%2F5gnrmac%2Flwr_mac_upr_inf.c;h=c6a1c5e9601716cccd2512d486eb836ad71dd528;hb=6b44407d464a5a4e060999255233a7cfe78bb0fa;hp=f250b51f5e24c2aa05cb52fc6bc49ac107bd5e2d;hpb=5831bf6b3454aa200a92cd3e84209650734e4863;p=o-du%2Fl2.git diff --git a/src/5gnrmac/lwr_mac_upr_inf.c b/src/5gnrmac/lwr_mac_upr_inf.c index f250b51f5..c6a1c5e96 100644 --- a/src/5gnrmac/lwr_mac_upr_inf.c +++ b/src/5gnrmac/lwr_mac_upr_inf.c @@ -179,6 +179,33 @@ uint8_t packStopInd(Pst *pst, uint16_t cellId) } } +/******************************************************************* + * + * @brief Packs and Sends UCI Ind to MAC + * + * @details + * + * Function : packMacUciInd + * + * Functionality: + * Packs and Sends Uci Ind to MAC + * + * @params[in] Post structure pointer + * @return ROK - success + * RFAILED - failure + * + * ****************************************************************/ +uint8_t packMacUciInd(Pst *pst, UciInd *uciInd) +{ + if((pst->selector == ODU_SELECTOR_LC) || (pst->selector == ODU_SELECTOR_LWLC)) + { + return ROK; + } + else + { + return RFAILED; + } +} /********************************************************************** End of file **********************************************************************/