X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Fmac_sch_interface.c;h=a02172406c1f38c6f6bfbdc5b8e68f3b864262b0;hb=5cc86eb25cc33a2cc1472325cffc5634a6c203c6;hp=61792a33e1fa6a21d32b7100fd3d17e4bf0c4423;hpb=4d45b914f9e94203603d3b9fdbcb1aad361301dd;p=o-du%2Fl2.git diff --git a/src/cm/mac_sch_interface.c b/src/cm/mac_sch_interface.c index 61792a33e..a02172406 100644 --- a/src/cm/mac_sch_interface.c +++ b/src/cm/mac_sch_interface.c @@ -23,7 +23,7 @@ uint8_t packMacSchSlotInd(Pst *pst, SlotIndInfo *slotInd) { Buffer *mBuf = NULLP; - if (ODU_GET_MSG(pst->region, pst->pool, &mBuf) != ROK) + if (ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK) { return RFAILED; } @@ -130,7 +130,7 @@ uint8_t packMacSchCrcInd(Pst *pst, CrcIndInfo *crcInd) * RFAILED - failure * * ****************************************************************/ -uint8_t packMacSchDlRlcBoInfo(Pst *pst, DlRlcBOInfo *dlBoInfo) +uint8_t packMacSchDlRlcBoInfo(Pst *pst, DlRlcBoInfo *dlBoInfo) { if((pst->selector == ODU_SELECTOR_LC) || (pst->selector == ODU_SELECTOR_LWLC)) { @@ -219,11 +219,11 @@ uint8_t packSchCellCfgCfm(Pst *pst, SchCellCfgCfm *schCellCfgCfm) /******************************************************************* * - * @brief Pack and Send UE Create Request from MAC to SCH + * @brief Pack and Send UE Config Request from MAC to SCH * * @details * - * Function : packMacSchUeCreateReq + * Function : packMacSchAddUeConfigReq * * Functionality: * Pack and Send UE Create Request from MAC to SCH @@ -233,7 +233,7 @@ uint8_t packSchCellCfgCfm(Pst *pst, SchCellCfgCfm *schCellCfgCfm) * RFAILED - failure * * ****************************************************************/ -uint8_t packMacSchUeCreateReq(Pst *pst, SchUeCfg *ueCfg) +uint8_t packMacSchAddUeConfigReq(Pst *pst, SchUeCfg *ueCfg) { if((pst->selector == ODU_SELECTOR_LC) || (pst->selector == ODU_SELECTOR_LC)) { @@ -327,7 +327,34 @@ uint8_t packMacSchSrUciInd(Pst *pst, SrUciIndInfo *uciInd) return ROK; } - +/******************************************************************* + * + * @brief Pack and Send Modify UE Config Request from MAC to SCH + * + * @details + * + * Function : packMacSchModUeConfigReq + * + * Functionality: + * Pack and Send Modify UE Config Request from MAC to SCH + * + * @params[in] + * @return ROK - success + * RFAILED - failure + * + * ****************************************************************/ +uint8_t packMacSchModUeConfigReq(Pst *pst, SchUeCfg *ueCfg) +{ + if((pst->selector == ODU_SELECTOR_LC) || (pst->selector == ODU_SELECTOR_LC)) + { + /* TODO */ + } + else + { + return RFAILED; + } + return ROK; +} /********************************************************************** End of file