UE CB creation at MAC and SCH [Issue-ID: ODUHIGH-177]
[o-du/l2.git] / src / cm / common_def.h
index 534cdfc..a144678 100644 (file)
 #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
+**********************************************************************/