X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Include%2FomCuupApi.h;fp=Include%2FomCuupApi.h;h=db191998c51255a234a6dfc252c74b65da35e97f;hb=1f71b9a76eacf92b39c1ce6f782f8404a34f60a9;hp=0000000000000000000000000000000000000000;hpb=254694245736881ecfff4eb0d1503bf3f49a21be;p=scp%2Focu%2F5gnr.git diff --git a/Include/omCuupApi.h b/Include/omCuupApi.h new file mode 100644 index 0000000..db19199 --- /dev/null +++ b/Include/omCuupApi.h @@ -0,0 +1,67 @@ +/****************************************************************************** +############################################################################### +# Copyright (c) [2017-2020] [ICT/CAS] # +# Licensed under the ORAN Software License v1.0 (License) # +############################################################################### +******************************************************************************/ + + +#ifndef __OMCUUPAPI_H__ +#define __OMCUUPAPI_H__ + +#include "cuupProtocolPara.h" + + + +#define MAC_CUUP_CELL_NUM 10 + +#define CUUP_SHM_FILE "cuup_shm" + +/*结构体id*/ +typedef enum{ + id_cuupBasicInfoCf = 1, + id_cuupIpInfoList, + id_cuupPlmnInfo, + id_qosSupportList, + id_sliceSupportList, + id_cellIdSupportList, +}OM_CuUp_para_struct_id; + + +/////CPUP配置信息 +#pragma pack(1) + + +typedef struct CuUpCfg_s +{ + cuupBasicInfoCfg_t cuupBasicInfoCfg; + cuupIpInfoList_t cuupIpInfoList; + cuupPlmnIdInfo_t plmnInfo; + ngranQosSupportList_t qosSupportList; + sliceSupportList_t sliceSupportList; + cellIdSupportList_t cellIdSupportList; +}cuUpCfg_t; + + +/////小区配置信息 +/*typedef struct CuUpCellInfoCfg_s +{ + UINT32 cellId; + e1setupRequestInfo_t e1setupRequestInfo; + sliceSupportList_t sliceSupportList; + +}cuUpCellInfoCfg_t; +*/ + + +typedef struct CuUp_shm_table_s +{ + //UINT8 cell_num; + cuUpCfg_t shm_cuupCfg; +}CuUp_shm_table_t; + +#pragma pack() + + +#endif +