Merge "O-DU High Architecture updated"
[o-du/l2.git] / src / cm / common_def.h
index 34dfd20..a39917e 100644 (file)
@@ -76,7 +76,7 @@
 #define SRB2_LCID  2
 #define SRB3_LCID  3
 #define MIN_DRB_LCID 4
-#define MAX_DRB_LCID 10
+#define MAX_DRB_LCID 32
 
 #define FREQ_DOM_RSRC_SIZE  6      /* i.e. 6 bytes because Size of frequency domain resource is 45 bits */
 
 #define ODU_SEGMENT_MSG SSegMsg
 #define ODU_CAT_MSG SCatMsg
 #define ODU_GET_PROCID SFndProcId
+#define ODU_SET_THREAD_AFFINITY SSetAffinity
 
 #define GET_UE_IDX( _crnti,_ueIdx)         \
 {                                          \
@@ -163,8 +164,24 @@ typedef struct PlmnIdentity
    uint8_t mnc[3];
 }Plmn;
 
-void schAllocFreqDomRscType0(uint16_t startPrb, uint16_t prbSize, uint8_t *freqDomain);
+typedef enum
+{
+   UE_CFG_INACTIVE,
+   UE_CREATE_COMPLETE,
+   UE_RECFG_COMPLETE
+}UeCfgState;
+
+typedef enum
+{
+   CONFIG_UNKNOWN,
+   CONFIG_ADD,
+   CONFIG_MOD,
+   CONFIG_DEL
+}ConfigType;
+
+void freqDomRscAllocType0(uint16_t startPrb, uint16_t prbSize, uint8_t *freqDomain);
 void oduCpyFixBufToMsg(uint8_t *fixBuf, Buffer *mBuf, uint16_t len);
+uint8_t buildPlmnId(Plmn plmn, uint8_t *buf);
 
 #endif