X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Fmac_sch_interface.c;h=8f53295be64bcc5bedd08dad1755e9cd9574b04e;hb=8b3c1a54b33c87e09512690649ed24775f7a5508;hp=a0a614772ac59014d093df19d4eedbfeff9fde54;hpb=5ea4c59cb4dd37164953218b0bd355284e11d22c;p=o-du%2Fl2.git diff --git a/src/cm/mac_sch_interface.c b/src/cm/mac_sch_interface.c index a0a614772..8f53295be 100644 --- a/src/cm/mac_sch_interface.c +++ b/src/cm/mac_sch_interface.c @@ -57,21 +57,52 @@ int packMacSchSlotInd(Pst *pst, SlotIndInfo *slotInd) RETVALUE(SPstTsk(pst,mBuf)); } +int packMacSchRachInd(Pst *pst, RachIndInfo *rachInd) +{ + if((pst->selector == MAC_SELECTOR_LC) || (pst->selector == MAC_SELECTOR_LWLC)) + { + /* TODO */ + } + else + { + return RFAILED; + } + return ROK; +} /** * @brief function to pack DL Broadcast allocation message * from MAC to SCH * * @details * - * Function : packSchMaccDlBrdcstAlloc + * Function : packSchMaccDlAlloc + * + * + * @param[in] Pst *pst, the post structure + * @param[in] DlAlloc *dlAlloc + * @return S16 + * -# ROK + **/ +int packSchMacDlAlloc(Pst *pst, DlAlloc *dlAlloc) +{ + return ROK; +} + +/** + * @brief function to pack UL Sch Info message + * from SCH to MAC + * + * @details + * + * Function : packSchMacUlSchInfo * * * @param[in] Pst *pst, the post structure - * @param[in] *dlBrdcstAlloc, dlBroadcastAlloc + * @param[in] *ulSchInfo, UlSchInfo * @return S16 * -# ROK **/ -int packSchMacDlBrdcstAlloc(Pst *pst, DlBrdcstAlloc *dlBrdcstAlloc) +int packSchMacUlSchInfo(Pst *pst, UlSchInfo *ulSchInfo) { return ROK; }