[EPIC-ID: ODUHIGH-488][TASK-ID: ODUHIGH-494]SCH framework update to support different...
[o-du/l2.git] / src / cm / mac_sch_interface.c
index d1a6140..39a86f9 100644 (file)
@@ -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))
    {