X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Fmac_sch_interface.c;h=39a86f922daf9ee6406603024c404f2ce58aa5c9;hb=d84801d796815c8d5ad3be643687b470511af945;hp=d1a61409a8e4f25e49623de08d8a67b859d78b2f;hpb=cf67fe66c4ec86a0312a41437c0cd225350e5b0b;p=o-du%2Fl2.git diff --git a/src/cm/mac_sch_interface.c b/src/cm/mac_sch_interface.c index d1a61409a..39a86f922 100644 --- a/src/cm/mac_sch_interface.c +++ b/src/cm/mac_sch_interface.c @@ -35,27 +35,6 @@ uint8_t packMacSchSlotInd(Pst *pst, SlotTimingInfo *slotInd) 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)) {