O-CU-UP
[scp/ocu/5gnr.git] / Include / omCuupApi.h
1 /******************************************************************************
2 ###############################################################################
3 #   Copyright (c) [2017-2020] [ICT/CAS]                                        #
4 #   Licensed under the ORAN Software License v1.0 (License)             #
5 ###############################################################################
6 ******************************************************************************/
7
8
9 #ifndef __OMCUUPAPI_H__
10 #define __OMCUUPAPI_H__
11
12 #include        "cuupProtocolPara.h"
13
14
15
16 #define MAC_CUUP_CELL_NUM       10
17
18 #define CUUP_SHM_FILE   "cuup_shm"
19
20 /*结构体id*/
21 typedef enum{
22     id_cuupBasicInfoCf = 1,  
23     id_cuupIpInfoList,
24     id_cuupPlmnInfo,
25         id_qosSupportList,
26         id_sliceSupportList,
27         id_cellIdSupportList,
28 }OM_CuUp_para_struct_id;
29         
30
31 /////CPUP配置信息
32 #pragma pack(1)
33
34
35 typedef struct CuUpCfg_s
36 {
37         cuupBasicInfoCfg_t      cuupBasicInfoCfg;
38         cuupIpInfoList_t        cuupIpInfoList;
39         cuupPlmnIdInfo_t        plmnInfo;
40         ngranQosSupportList_t   qosSupportList;
41         sliceSupportList_t      sliceSupportList;
42         cellIdSupportList_t     cellIdSupportList;
43 }cuUpCfg_t;
44
45
46 /////小区配置信息
47 /*typedef struct CuUpCellInfoCfg_s
48 {
49         UINT32  cellId;
50         e1setupRequestInfo_t    e1setupRequestInfo;
51         sliceSupportList_t              sliceSupportList;
52
53 }cuUpCellInfoCfg_t;
54 */
55
56
57 typedef struct CuUp_shm_table_s
58 {
59         //UINT8 cell_num;
60         cuUpCfg_t       shm_cuupCfg;
61 }CuUp_shm_table_t;
62
63 #pragma pack()
64
65
66 #endif
67