Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "new review to be raise"
[o-du/l2.git]
/
src
/
cm
/
common_def.h
diff --git
a/src/cm/common_def.h
b/src/cm/common_def.h
index
34dfd20
..
60a8ac9
100644
(file)
--- a/
src/cm/common_def.h
+++ b/
src/cm/common_def.h
@@
-76,7
+76,7
@@
#define SRB2_LCID 2
#define SRB3_LCID 3
#define MIN_DRB_LCID 4
#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 FREQ_DOM_RSRC_SIZE 6 /* i.e. 6 bytes because Size of frequency domain resource is 45 bits */
@@
-103,6
+103,8
@@
#define ODU_SEGMENT_MSG SSegMsg
#define ODU_CAT_MSG SCatMsg
#define ODU_GET_PROCID SFndProcId
#define ODU_SEGMENT_MSG SSegMsg
#define ODU_CAT_MSG SCatMsg
#define ODU_GET_PROCID SFndProcId
+#define ODU_SET_THREAD_AFFINITY SSetAffinity
+#define ODU_CREATE_TASK SCreateSTsk
#define GET_UE_IDX( _crnti,_ueIdx) \
{ \
#define GET_UE_IDX( _crnti,_ueIdx) \
{ \
@@
-163,8
+165,24
@@
typedef struct PlmnIdentity
uint8_t mnc[3];
}Plmn;
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);
void oduCpyFixBufToMsg(uint8_t *fixBuf, Buffer *mBuf, uint16_t len);
+uint8_t buildPlmnId(Plmn plmn, uint8_t *buf);
#endif
#endif