X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Fcommon_def.h;h=a144678d030791ef6ac14f45117d32d06b7bae48;hb=4e803fe4bcf3a446b7082675d25d35ad102f16f6;hp=534cdfc2ffdc203fe2d410768f3057ef21139950;hpb=eb178a8cc45a9cebc65df73f128f88b3a3dfefbb;p=o-du%2Fl2.git diff --git a/src/cm/common_def.h b/src/cm/common_def.h index 534cdfc2f..a144678d0 100644 --- a/src/cm/common_def.h +++ b/src/cm/common_def.h @@ -58,3 +58,19 @@ #define ODU_SELECTOR_TC 1 #define ODU_SELECTOR_LWLC 2 +#define CRNTI_START_RANGE 100 +#define CRNTI_END_RANGE 500 + +#define GET_UE_IDX( _crnti,_ueIdx) \ +{ \ + _ueIdx = _crnti - CRNTI_START_RANGE; \ +} + +#define GET_CRNTI( _crnti,_ueIdx) \ +{ \ + _crnti = _ueIdx + CRNTI_START_RANGE; \ +} + +/********************************************************************** + End of file +**********************************************************************/