Merge "[Epic-ID: ODUHIGH-402][Task-ID: ODUHIGH-418] Harq feature changes"
[o-du/l2.git] / src / cm / mac_sch_interface.c
index ec64f29..9d1cd0e 100644 (file)
@@ -326,6 +326,36 @@ uint8_t packMacSchSrUciInd(Pst *pst, SrUciIndInfo *uciInd)
    return ROK;
 }
 
+/*******************************************************************
+ *
+ * @brief Pack and Send HARQ UCI Ind from MAC to SCH
+ *
+ * @details
+ *
+ *    Function : packMacHarqSchUciInd
+ *
+ *    Functionality:
+ *       Pack and Send HARQ UCI Ind from MAC to SCH
+ *
+ * @params[in]
+ * @return ROK     - success
+ *         RFAILED - failure
+ *
+ * ****************************************************************/
+uint8_t packMacSchHarqUciInd(Pst *pst, HarqUciIndInfo *uciInd)
+{
+   if((pst->selector == ODU_SELECTOR_LC) || (pst->selector == ODU_SELECTOR_LWLC))
+   {
+      /* TODO */
+   }
+   else
+   {
+      return RFAILED;
+   }
+   return ROK;
+}
+
+
 /*******************************************************************
  *
  * @brief Pack and Send Modify UE Config Request from MAC to SCH
@@ -685,6 +715,26 @@ uint8_t packSchMacDlPageAlloc(Pst *pst, DlPageAlloc *dlPageAlloc)
 {
    return ROK;
 }
+
+/**
+ * @brief function to pack Harq process release message 
+ *        from SCH to MAC
+ *
+ * @details
+ *
+ *     Function : packSchMacDlReleaseHarq 
+ *     
+ *     
+ *  @param[in]  Pst *pst, the post structure     
+ *  @param[in]  SchRlsHqInfo *rlsHqInfo
+ *  @return  S16
+ *      -# ROK
+ **/
+uint8_t packSchMacDlReleaseHarq(Pst *pst, SchRlsHqInfo *rlsHqInfo)
+{
+   return ROK;
+}
+
 /**********************************************************************
   End of file
  **********************************************************************/