X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fcm%2Fcommon_def.h;h=ab72caac6993cf2370e9319b0edb183eadd813d3;hb=refs%2Fchanges%2F24%2F8124%2F1;hp=aad5bfdae05d0754b837cc84f8ca7fad90edba37;hpb=dbd4e21a0ea25e4f7b6ff7b0eb8029a2d0382a35;p=o-du%2Fl2.git diff --git a/src/cm/common_def.h b/src/cm/common_def.h index aad5bfdae..ab72caac6 100644 --- a/src/cm/common_def.h +++ b/src/cm/common_def.h @@ -110,6 +110,14 @@ /*Spec 38.331 Sec 6.4: Maximum number of paging occasion per paging frame*/ #define MAX_PO_PER_PF 4 +#ifdef NR_TDD +#define MAX_SLOTS 20 +#else +#define MAX_SLOTS 10 +#endif + +#define MAX_SFN 1024 + /* Defining macros for common utility functions */ #define ODU_GET_MSG_BUF SGetMsg #define ODU_PUT_MSG_BUF SPutMsg @@ -204,20 +212,6 @@ _isLcidValid = ((_lcId >= SRB0_LCID && _lcId <= MAX_DRB_LCID) ? 1 : 0);\ } -#define GET_PAGING_CYCLE(enmValue, T) { \ - if (enmValue == 0) T = 32; \ - else if (enmValue == 1) T = 64; \ - else if (enmValue == 2) T = 128; \ - else if (enmValue == 3) T = 256; \ - else T = 0; \ -} - -#define GET_NUM_PAGING_OCC(enmValue, PO) { \ - if (enmValue == 0) PO = 4; \ - else if (enmValue == 1) PO = 2; \ - else if (enmValue == 2) PO = 1; \ - else PO = 0; \ -} typedef enum { UE_CFG_INACTIVE, @@ -290,6 +284,13 @@ typedef enum DIR_BOTH }Direction; +typedef enum +{ + SEARCH, + CREATE, + DELETE +}ActionTypeLL; + typedef struct slotTimingInfo { uint16_t cellId;