X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Fmac.h;h=617212b032833720b46e15eb079749f9ace6e013;hb=8d9ebf64c8a64bf1346685833fe79970c4ef3d14;hp=6894c76a47a88870d9ddc9c43f0ac0ca171095b8;hpb=a42c1300602c311dd44fd1e5595dcf6f9f9e1e5d;p=o-du%2Fl2.git diff --git a/src/5gnrmac/mac.h b/src/5gnrmac/mac.h index 6894c76a4..617212b03 100644 --- a/src/5gnrmac/mac.h +++ b/src/5gnrmac/mac.h @@ -48,18 +48,28 @@ #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 { - 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 @@ -70,6 +80,7 @@ typedef struct macCb /* global variable */ EXTERN MacCb macCb; +void fillMacToSchPst(Pst *pst); #endif /**********************************************************************