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
RARandSib1Transmission
[o-du/l2.git]
/
src
/
5gnrmac
/
mac.h
diff --git
a/src/5gnrmac/mac.h
b/src/5gnrmac/mac.h
index
f6b483f
..
43d1e10
100644
(file)
--- a/
src/5gnrmac/mac.h
+++ b/
src/5gnrmac/mac.h
@@
-48,26
+48,39
@@
#include "tfu.x" /* RGU Interface includes */
#include "lrg.x"
#include "tfu.x" /* RGU Interface includes */
#include "lrg.x"
-#define MAX_SLOT_SUPPORTED 50
+#define MAX_SLOT_SUPPORTED 10 /* numerology 0 15Khz */
+#define MAX_ZERO_CORR_CFG_IDX 16 /* max zero correlation config index */
+#define SI_RNTI 0xFFFF
+#define P_RNTI 0xFFFE
typedef struct macDlSlot
{
typedef struct macDlSlot
{
- DlBrdcstAlloc cellBroadcastInfo;
-
+ DlAlloc dlInfo;
}MacDlSlot;
}MacDlSlot;
+typedef struct macUlSlot
+{
+ UlSchInfo ulCellInfo;
+}MacUlSlot;
+
typedef struct macCellCb
{
typedef struct macCellCb
{
+ uint16_t cellId;
+ RachIndInfo raCb;
MacDlSlot dlSlot[MAX_SLOT_SUPPORTED];
MacDlSlot dlSlot[MAX_SLOT_SUPPORTED];
+ MacUlSlot ulSlot[MAX_SLOT_SUPPORTED];
}MacCellCb;
typedef struct macCb
{
}MacCellCb;
typedef struct macCb
{
+ Inst macInst;
MacCellCb *macCell;
}MacCb;
/* global variable */
MacCellCb *macCell;
}MacCb;
/* global variable */
-MacCb macCb;
+EXTERN MacCb macCb;
+void fillMacToSchPst(Pst *pst);
+void fillRarPdu(RarInfo *rarInfo);
#endif
/**********************************************************************
#endif
/**********************************************************************