warning set 4
[o-du/l2.git] / src / 5gnrmac / mac.h
index a8a0a86..b5dd425 100644 (file)
 
 #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
 {
-   DlBrdcstAlloc cellBroadcastInfo;
+   DlAlloc dlInfo;
 
 }MacDlSlot;
 
+typedef struct macUlSlot
+{
+   UlSchInfo    ulCellInfo;
+}MacUlSlot;
+
 typedef struct macCellCb
 {
    uint16_t   cellId;
+   RachIndInfo raCb;
    MacDlSlot  dlSlot[MAX_SLOT_SUPPORTED];
+   MacUlSlot  ulSlot[MAX_SLOT_SUPPORTED];
 }MacCellCb;
 
 typedef struct macCb
@@ -71,6 +80,7 @@ typedef struct macCb
 
 /* global variable */
 EXTERN MacCb macCb;
+void fillMacToSchPst(Pst *pst);
 
 #endif
 /**********************************************************************