X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Fmac.h;h=68e02a5d947e489053c57f15a80f59975eaf5e9d;hb=cb47d1fdfaa5c7229e57282b39edd1603cbdb5c7;hp=f2b60ed74957922cbd67c30619d1cd25623a105e;hpb=694d8fa8539d4b69710b61d01d5a0535bb98716e;p=o-du%2Fl2.git diff --git a/src/5gnrmac/mac.h b/src/5gnrmac/mac.h index f2b60ed74..68e02a5d9 100644 --- a/src/5gnrmac/mac.h +++ b/src/5gnrmac/mac.h @@ -48,7 +48,8 @@ #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 */ typedef struct macDlSlot { @@ -56,18 +57,26 @@ typedef struct macDlSlot }MacDlSlot; +typedef struct macUlSlot +{ + UlSchInfo ulCellInfo; +}MacUlSlot; + typedef struct macCellCb { + uint16_t cellId; MacDlSlot dlSlot[MAX_SLOT_SUPPORTED]; + MacUlSlot ulSlot[MAX_SLOT_SUPPORTED]; }MacCellCb; typedef struct macCb { + Inst macInst; MacCellCb *macCell; }MacCb; /* global variable */ -MacCb macCb; +EXTERN MacCb macCb; #endif /**********************************************************************