X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Fmac_sch_interface.c;fp=src%2Fcm%2Fmac_sch_interface.c;h=9d1cd0e3f4002db85e5f6b063820bc000c917f8d;hb=2c0a8253f51c046ed8f291e14e13cde42a43a109;hp=ec64f2978dc716a409ad1010592e70973c96d141;hpb=e2417efa29f0d317a3ed1044ee20cc14df32e1d3;p=o-du%2Fl2.git diff --git a/src/cm/mac_sch_interface.c b/src/cm/mac_sch_interface.c index ec64f2978..9d1cd0e3f 100644 --- a/src/cm/mac_sch_interface.c +++ b/src/cm/mac_sch_interface.c @@ -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 **********************************************************************/