1 /******************************************************************************
2 ###############################################################################
3 # Copyright (c) [2017-2020] [ICT/CAS] #
4 # Licensed under the ORAN Software License v1.0 (License) #
5 ###############################################################################
6 ******************************************************************************/
14 #include <netinet/in.h>
15 #include "gnbCommon.h"
17 #define MAX_CU_NAME_LEN 256
18 #define MAX_CUCP_NAME_LEN 256
19 #define MAX_CUUP_NAME_LEN 256
21 #define MAX_OM_MSG_BUF_LEN 64
23 /****************************************oam active message code****************************************/
24 #define OAM_CU_ACTIVE_BASE 0x7000
25 #define OAM_CUUP_NET_ELEMENT_ACTIVE_REQ OAM_CU_ACTIVE_BASE + 1
26 #define OAM_CUCP_NET_ELEMENT_ACTIVE_REQ OAM_CU_ACTIVE_BASE + 2
27 #define CUCP_OAM_CELL_ACTIVE_RSP OAM_CU_ACTIVE_BASE + 3
28 #define CUUP_OAM_CELL_ACTIVE_RSP OAM_CU_ACTIVE_BASE + 3
52 typedef enum CuCpVosTask
65 typedef enum CuUpVosTask
95 CUCP_END_USER_TASK = 100
100 CUUP_BEGIN_USER_TASK=200,
118 CUUP_PDCPU_USER_TASK,
123 CUUP_END_USER_TASK=400,
129 UINT8 cuName[MAX_CU_NAME_LEN]; /* CU Name */
131 IpAddress_t cuIpAddr;
132 IpAddress_t omIpAddr;
134 IpAddress_t amfIpAddr;
135 IpAddress_t umfIpAddr;
137 IpAddress_t cucpF1SctpIpAddr;
138 IpAddress_t cuupF1GtpuIpAddr;
140 IpAddress_t duF1SctpIpAddr;
141 IpAddress_t duF1GtpuIpAddr;
143 IpAddress_t cucpE1SctpIpAddr;
144 IpAddress_t cuupE1SctpIpAddr;
146 IpAddress_t cucpNgSctpIpAddr;
147 IpAddress_t cuupNgGtpuIpAddr;
149 IpAddress_t cuXnSctpIpAddr;
154 UINT8 NodeBName[MAX_CU_NAME_LEN];
156 UserTaskInfo_t userTaskInfo[MAX_TASK_NUM];
170 NrCellId_t CellId[MAX_CELL_NUM];
173 typedef struct oamCuUpNetElementActReq
176 CellIdList_t cellIdList;
177 } OamCuUpNetElementActReq_t;
179 typedef struct oamCuUpCellActRsp
181 UINT8 successCellNum;
183 NrCellId_t failCellId[MAX_CELL_NUM];
184 } OamCuUpCellActRsp_t;
186 typedef struct oamCuCpNetElementActReq
188 UINT8 cuCpNetElementAct[MAX_CELL_NUM];
189 } OamCuCpNetElementActReq_t;
191 typedef struct oamCuCpCellActRsp
193 UINT8 cuCpCellActFlag[MAX_CELL_NUM];
194 } OamCuCpCellActRsp_t;
213 #endif /* _CU_COMMON_H_*/