X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Fmac.h;h=b5dd42570622705af76753f85b66a7d4d404573c;hb=8340c342ebcfc82193c3f66e7f15047c1e37399b;hp=a8a0a86830cee6d041a3195ec96addda356e2126;hpb=9fc4986e02c1ab2be2a9276cdfbf049c55af88e6;p=o-du%2Fl2.git diff --git a/src/5gnrmac/mac.h b/src/5gnrmac/mac.h index a8a0a8683..b5dd42570 100644 --- a/src/5gnrmac/mac.h +++ b/src/5gnrmac/mac.h @@ -50,17 +50,26 @@ #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 /**********************************************************************