Multi-UE support upto MSG4 handling [Issue-ID: ODUHIGH-387]
[o-du/l2.git] / src / cm / common_def.h
index a244ee1..c5cd256 100644 (file)
@@ -57,9 +57,9 @@
 /* MAX values */
 #define MAX_NUM_CELL 1
 #define MAX_NUM_MU   4
-#define MAX_NUM_UE   2
+#define MAX_NUM_UE   3
 #define MAX_NUM_UE_PER_TTI 1
-#define MAX_NUM_LC   32   /*Spec 38.331: Sec 6.4: maxLC-ID Keyword*/
+#define MAX_NUM_LC   MAX_DRB_LCID + 1   /*Spec 38.331: Sec 6.4: maxLC-ID Keyword*/
 #define MAX_NUM_SRB  3    /* Max. no of Srbs */
 #define MAX_NUM_DRB  29   /* spec 38.331, maxDRB */
 
   _isCrntiValid = ((_crnti >= ODU_START_CRNTI && _crnti <= ODU_END_CRNTI ) ? 1 : 0); \
 }
 
+#define CHECK_LCID(_lcId, _isLcidValid)      \
+{\
+   _isLcidValid = ((_lcId >= SRB0_LCID && _lcId <= MAX_DRB_LCID) ? 1 : 0);\
+}
+
 typedef enum
 {
    UE_CFG_INACTIVE,