Modify licenses
[scp/ocu/5gnr.git] / Include / omCuupApi.h
1 /******************************************************************************
2 *
3 *   Copyright (c) 2020 ICT/CAS.
4 *
5 *   Licensed under the O-RAN Software License, Version 1.0 (the "Software License");
6 *   you may not use this file except in compliance with the License.
7 *   You may obtain a copy of the License at
8 *
9 *       https://www.o-ran.org/software
10 *
11 *   Unless required by applicable law or agreed to in writing, software
12 *   distributed under the License is distributed on an "AS IS" BASIS,
13 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 *   See the License for the specific language governing permissions and
15 *   limitations under the License.
16 *
17 *******************************************************************************/
18
19
20
21 #ifndef __OMCUUPAPI_H__
22 #define __OMCUUPAPI_H__
23
24 #include        "cuupProtocolPara.h"
25
26
27
28 #define MAC_CUUP_CELL_NUM       10
29
30 #define CUUP_SHM_FILE   "cuup_shm"
31
32 /*结构体id*/
33 typedef enum{
34     id_cuupBasicInfoCf = 1,
35     id_cuupIpInfoList,
36     id_cuupPlmnInfo,
37         id_qosSupportList,
38         id_sliceSupportList,
39         id_cellIdSupportList,
40 }OM_CuUp_para_struct_id;
41
42
43 /////CPUP配置信息
44 #pragma pack(1)
45
46
47 typedef struct CuUpCfg_s
48 {
49         cuupBasicInfoCfg_t      cuupBasicInfoCfg;
50         cuupIpInfoList_t        cuupIpInfoList;
51         cuupPlmnIdInfo_t        plmnInfo;
52         ngranQosSupportList_t   qosSupportList;
53         sliceSupportList_t      sliceSupportList;
54         cellIdSupportList_t     cellIdSupportList;
55 }cuUpCfg_t;
56
57
58 /////小区配置信息
59 /*typedef struct CuUpCellInfoCfg_s
60 {
61         UINT32  cellId;
62         e1setupRequestInfo_t    e1setupRequestInfo;
63         sliceSupportList_t              sliceSupportList;
64
65 }cuUpCellInfoCfg_t;
66 */
67
68
69 typedef struct CuUp_shm_table_s
70 {
71         //UINT8 cell_num;
72         cuUpCfg_t       shm_cuupCfg;
73 }CuUp_shm_table_t;
74
75 #pragma pack()
76
77
78 #endif