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
F1-U Data path changes
[o-du/l2.git]
/
src
/
du_app
/
du_cfg.h
diff --git
a/src/du_app/du_cfg.h
b/src/du_app/du_cfg.h
index
d99266c
..
d2dd80d
100644
(file)
--- a/
src/du_app/du_cfg.h
+++ b/
src/du_app/du_cfg.h
@@
-29,8
+29,10
@@
#define DU_ID 1
#define DU_IP_V4_ADDR "10.0.2.20"
#define CU_IP_V4_ADDR "10.0.2.25"
#define DU_ID 1
#define DU_IP_V4_ADDR "10.0.2.20"
#define CU_IP_V4_ADDR "10.0.2.25"
+#define RIC_IP_V4_ADDR "10.0.2.30"
#define DU_PORT 38472
#define CU_PORT 38472
#define DU_PORT 38472
#define CU_PORT 38472
+#define RIC_PORT 38482
#define DU_EGTP_PORT 39001
#define CU_EGTP_PORT 39002
#define NR_PCI 1
#define DU_EGTP_PORT 39001
#define CU_EGTP_PORT 39002
#define NR_PCI 1
@@
-81,6
+83,9
@@
#define DU_PROC 0
#define DU_INST 0
#define DU_POOL 1
#define DU_PROC 0
#define DU_INST 0
#define DU_POOL 1
+#define MAX_DU_PORT 2
+#define F1_INTERFACE 0
+#define E2_INTERFACE 1
#define SCTP_INST 0
#define EGTP_INST 0
#define SCTP_INST 0
#define EGTP_INST 0
@@
-128,6
+133,11
@@
#define DU_RANAC 1
#define CELL_IDENTITY 1
#define DU_RANAC 1
#define CELL_IDENTITY 1
+#ifdef EGTP_TEST
+#define UE_ID 1
+#define RB_ID 1
+#define LC_ID 1
+#endif
typedef enum
{
typedef enum
{
@@
-832,13
+842,15
@@
typedef struct f1Ipaddr
U32 ipV4Addr;
}F1IpAddr;
U32 ipV4Addr;
}F1IpAddr;
-typedef struct
f1S
ctpParams
+typedef struct
s
ctpParams
{
F1IpAddr duIpAddr;
{
F1IpAddr duIpAddr;
- U16 duPort;
+ U16 duPort
[MAX_DU_PORT]
;
F1IpAddr cuIpAddr;
U16 cuPort;
F1IpAddr cuIpAddr;
U16 cuPort;
-}F1SctpParams;
+ F1IpAddr ricIpAddr;
+ U16 ricPort;
+}SctpParams;
typedef struct f1EgtpParams
{
typedef struct f1EgtpParams
{
@@
-895,7
+907,7
@@
typedef struct sib1Params
typedef struct duCfgParams
{
typedef struct duCfgParams
{
-
F1SctpParams
sctpParams; /* SCTP Params */
+
SctpParams
sctpParams; /* SCTP Params */
F1EgtpParams egtpParams; /* EGTP Params */
U32 maxUe;
U32 duId;
F1EgtpParams egtpParams; /* EGTP Params */
U32 maxUe;
U32 duId;