Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix for prach ocassion at slot 8
[o-du/l2.git]
/
src
/
cm
/
mac_sch_interface.c
diff --git
a/src/cm/mac_sch_interface.c
b/src/cm/mac_sch_interface.c
index
c8d12a6
..
8f53295
100644
(file)
--- a/
src/cm/mac_sch_interface.c
+++ b/
src/cm/mac_sch_interface.c
@@
-57,21
+57,33
@@
int packMacSchSlotInd(Pst *pst, SlotIndInfo *slotInd)
RETVALUE(SPstTsk(pst,mBuf));
}
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
*
/**
* @brief function to pack DL Broadcast allocation message
* from MAC to SCH
*
* @details
*
- * Function : packSchMaccDl
Brdcst
Alloc
+ * Function : packSchMaccDlAlloc
*
*
* @param[in] Pst *pst, the post structure
*
*
* @param[in] Pst *pst, the post structure
- * @param[in]
*dlBrdcstAlloc, dlBroadcast
Alloc
+ * @param[in]
DlAlloc *dl
Alloc
* @return S16
* -# ROK
**/
* @return S16
* -# ROK
**/
-int packSchMacDl
BrdcstAlloc(Pst *pst, DlBrdcstAlloc *dlBrdcst
Alloc)
+int packSchMacDl
Alloc(Pst *pst, DlAlloc *dl
Alloc)
{
return ROK;
}
{
return ROK;
}