X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Fmac_msg_hdl.c;h=8efe4006e25259fadbee0ce15a70af91abda0dea;hb=0bdd575f55257e64b4becb4cee0df0dab2bac3fa;hp=fa8b678b605eb43e40612b9ff2366ab1742bd15a;hpb=51bd2af5867794ba058365581a7ad3c2eba0d1c3;p=o-du%2Fl2.git diff --git a/src/5gnrmac/mac_msg_hdl.c b/src/5gnrmac/mac_msg_hdl.c index fa8b678b6..8efe4006e 100644 --- a/src/5gnrmac/mac_msg_hdl.c +++ b/src/5gnrmac/mac_msg_hdl.c @@ -428,6 +428,33 @@ uint16_t macSendUlCcchInd(uint8_t *rrcContainer, uint16_t cellId, uint16_t crnti return ret; } +/******************************************************************* + * + * @brief Handles Ue Create Request from DU APP + * + * @details + * + * Function : MacHdlUeCreateReq + * + * Functionality: + * Handles Ue create Request from DU APP + * + * @params[in] Post structure pointer + * MacUeCfg pointer + * @return ROK - success + * RFAILED - failure + * + * ****************************************************************/ +uint8_t MacHdlUeCreateReq(Pst *pst, MacUeCfg *ueCfg) +{ + /* TODO : Create MAC UE Context. + Copy Tx Pdu from raCb + Delete RaCb + Send MacUeContext to SCH */ + MAC_FREE_SHRABL_BUF(pst->region, pst->pool, ueCfg, sizeof(MacUeCfg)); + return ROK; +} + /********************************************************************** End of file **********************************************************************/