X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fcm%2Fmac_sch_interface.c;h=47d49df81b0683aab7b4900ccc59803434a5d56a;hb=49856df248fd976b4a9882ca4e650fc0bc3e4ee3;hp=d1a61409a8e4f25e49623de08d8a67b859d78b2f;hpb=c4723faa976bb203b594b1ab97523a35441838ec;p=o-du%2Fl2.git diff --git a/src/cm/mac_sch_interface.c b/src/cm/mac_sch_interface.c index d1a61409a..47d49df81 100644 --- a/src/cm/mac_sch_interface.c +++ b/src/cm/mac_sch_interface.c @@ -29,33 +29,12 @@ uint8_t packMacSchSlotInd(Pst *pst, SlotTimingInfo *slotInd) } /* pack SFN and slot value */ - CMCHKPK(oduUnpackUInt16,slotInd->sfn, mBuf); - CMCHKPK(oduUnpackUInt16,slotInd->slot, mBuf); + CMCHKPK(oduPackUInt16,slotInd->sfn, mBuf); + CMCHKPK(oduPackUInt16,slotInd->slot, mBuf); return ODU_POST_TASK(pst,mBuf); } -/** - * @brief function to unpack Slot ind message from MAC - * to scheduler with loose coupling - * - * @details - * - * Function : unpackMacSchSlotInd - * - * - * @param[in] Pst *pst, the post structure - * @param[in] Buffer *mBuf, the message buffer - * @return S16 - * -# ROK - **/ -uint8_t unpackMacSchSlotInd(MacSchSlotIndFunc func, Pst *pst, Buffer *mBuf) -{ - /* TODO */ - return ROK; -} - - /******************************************************************* * * @brief Pack and Send Rach Ind from MAC to SCH @@ -233,7 +212,7 @@ uint8_t packSchCellCfgCfm(Pst *pst, SchCellCfgCfm *schCellCfgCfm) * RFAILED - failure * * ****************************************************************/ -uint8_t packMacSchAddUeConfigReq(Pst *pst, SchUeCfg *ueCfg) +uint8_t packMacSchAddUeConfigReq(Pst *pst, SchUeCfgReq *ueCfg) { if((pst->selector == ODU_SELECTOR_LC) || (pst->selector == ODU_SELECTOR_LC)) { @@ -268,6 +247,29 @@ uint8_t packSchUeCfgRsp(Pst *pst, SchUeCfgRsp *cfgRsp) { return ROK; } + +/******************************************************************* + * + * @brief Packs and send UE reconfig response + * + * @details + * + * Function : packSchUeRecfgRsp + * + * Functionality: + * Packs and send UE reconfig response + * + * @params[in] Post structure + * UE re-config response + * @return ROK - success + * RFAILED - failure + * + * ****************************************************************/ +uint8_t packSchUeRecfgRsp(Pst *pst, SchUeRecfgRsp *recfgRsp) +{ + return ROK; +} + /******************************************************************* * * @brief Pack and Send BSR from MAC to SCH @@ -372,7 +374,7 @@ uint8_t packMacSchDlHarqInd(Pst *pst, DlHarqInd *dlHarqInd) * RFAILED - failure * * ****************************************************************/ -uint8_t packMacSchModUeConfigReq(Pst *pst, SchUeCfg *ueCfg) +uint8_t packMacSchModUeConfigReq(Pst *pst, SchUeRecfgReq *ueRecfg) { if((pst->selector == ODU_SELECTOR_LC) || (pst->selector == ODU_SELECTOR_LC)) {