X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Fmac.h;h=43d1e102ca1276e88a7b0a3832bee510bdd41cac;hb=18376996c17ece8306c1fe9539a00010bea607d5;hp=68e02a5d947e489053c57f15a80f59975eaf5e9d;hpb=cb47d1fdfaa5c7229e57282b39edd1603cbdb5c7;p=o-du%2Fl2.git diff --git a/src/5gnrmac/mac.h b/src/5gnrmac/mac.h index 68e02a5d9..43d1e102c 100644 --- a/src/5gnrmac/mac.h +++ b/src/5gnrmac/mac.h @@ -50,11 +50,12 @@ #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 @@ -65,6 +66,7 @@ typedef struct macUlSlot typedef struct macCellCb { uint16_t cellId; + RachIndInfo raCb; MacDlSlot dlSlot[MAX_SLOT_SUPPORTED]; MacUlSlot ulSlot[MAX_SLOT_SUPPORTED]; }MacCellCb; @@ -77,6 +79,8 @@ typedef struct macCb /* global variable */ EXTERN MacCb macCb; +void fillMacToSchPst(Pst *pst); +void fillRarPdu(RarInfo *rarInfo); #endif /**********************************************************************