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
6894c76
..
43d1e10
100644
(file)
--- a/
src/5gnrmac/mac.h
+++ b/
src/5gnrmac/mac.h
@@
-48,18
+48,27
@@
#include "tfu.x" /* RGU Interface includes */
#include "lrg.x"
#include "tfu.x" /* RGU Interface includes */
#include "lrg.x"
-#define MAX_SLOT_SUPPORTED 10 /* numerology 0 15Khz */
+#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
{
uint16_t cellId;
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
@@
-70,6
+79,8
@@
typedef struct macCb
/* global variable */
EXTERN MacCb macCb;
/* global variable */
EXTERN MacCb macCb;
+void fillMacToSchPst(Pst *pst);
+void fillRarPdu(RarInfo *rarInfo);
#endif
/**********************************************************************
#endif
/**********************************************************************