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
Added new parameter in FAPI Config request
[o-du/l2.git]
/
src
/
5gnrmac
/
mac_rach.c
diff --git
a/src/5gnrmac/mac_rach.c
b/src/5gnrmac/mac_rach.c
index
4520aab
..
13c85ed
100644
(file)
--- a/
src/5gnrmac/mac_rach.c
+++ b/
src/5gnrmac/mac_rach.c
@@
-16,6
+16,7
@@
################################################################################
*******************************************************************************/
/* header include files (.h) */
################################################################################
*******************************************************************************/
/* header include files (.h) */
+#include <stdbool.h>
#include "envopt.h" /* environment options */
#include "envdep.h" /* environment dependent */
#include "envind.h" /* environment independent */
#include "envopt.h" /* environment options */
#include "envdep.h" /* environment dependent */
#include "envind.h" /* environment independent */
@@
-129,13
+130,13
@@
uint16_t fapiMacRachInd(Pst *pst, RachInd *rachInd)
uint8_t UnrestrictedSetNcsTable[MAX_ZERO_CORR_CFG_IDX] =
{0, 2, 4, 6, 8, 10, 12, 13, 15, 17, 19, 23, 27, 34, 46, 69};
uint8_t UnrestrictedSetNcsTable[MAX_ZERO_CORR_CFG_IDX] =
{0, 2, 4, 6, 8, 10, 12, 13, 15, 17, 19, 23, 27, 34, 46, 69};
-int MacProcUlSchInfo(Pst *pst, UlSch
Info *ulSch
Info)
+int MacProcUlSchInfo(Pst *pst, UlSch
edInfo *ulSched
Info)
{
{
- if(ulSchInfo != NULLP)
+ if(ulSch
ed
Info != NULLP)
{
MacUlSlot *currUlSlot =
{
MacUlSlot *currUlSlot =
- &macCb.macCell->ulSlot[ulSchInfo->slotIndInfo.slot % MAX_SLOT_SUPPORTED];
- memcpy(&currUlSlot->ul
CellInfo, ulSchInfo, sizeof(UlSch
Info));
+ &macCb.macCell->ulSlot[ulSch
ed
Info->slotIndInfo.slot % MAX_SLOT_SUPPORTED];
+ memcpy(&currUlSlot->ul
Info, ulSchedInfo, sizeof(UlSched
Info));
}
return ROK;
}
}
return ROK;
}