X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fcm%2Fcm_lte.x;h=8788e11e03e334aa13360f45fb5f63812ec5575e;hb=refs%2Fchanges%2F52%2F12952%2F4;hp=7505afd0acf590311afc1517a33eb4a670f82aaf;hpb=def50dc175cebc67238db5f1acd5ff322a2279bd;p=o-du%2Fl2.git diff --git a/src/cm/cm_lte.x b/src/cm/cm_lte.x index 7505afd0a..8788e11e0 100755 --- a/src/cm/cm_lte.x +++ b/src/cm/cm_lte.x @@ -37,22 +37,22 @@ #include /* Packing Defines */ -#define cmPkLteRbId oduUnpackUInt8 -#define cmPkLteRnti oduUnpackUInt16 -#define cmPkLteCellId oduUnpackUInt16 -#define cmPkLteRlcMode oduUnpackUInt8 -#define cmPkLteLcId oduUnpackUInt8 -#define cmPkLteLcType oduUnpackUInt8 -#define cmPkLteAggrLvl oduUnpackUInt32 +#define cmPkLteRbId oduPackUInt8 +#define cmPkLteRnti oduPackUInt16 +#define cmPkLteCellId oduPackUInt16 +#define cmPkLteRlcMode oduPackUInt8 +#define cmPkLteLcId oduPackUInt8 +#define cmPkLteLcType oduPackUInt8 +#define cmPkLteAggrLvl oduPackUInt32 /* Unpacking Defines */ -#define cmUnpkLteRbId oduPackUInt8 -#define cmUnpkLteRnti oduPackUInt16 -#define cmUnpkLteCellId oduPackUInt16 -#define cmUnpkLteRlcMode oduPackUInt8 -#define cmUnpkLteLcId oduPackUInt8 -#define cmUnpkLteLcType oduPackUInt8 -#define cmUnpkLteAggrLvl oduPackUInt32 +#define cmUnpkLteRbId oduUnpackUInt8 +#define cmUnpkLteRnti oduUnpackUInt16 +#define cmUnpkLteCellId oduUnpackUInt16 +#define cmUnpkLteRlcMode oduUnpackUInt8 +#define cmUnpkLteLcId oduUnpackUInt8 +#define cmUnpkLteLcType oduUnpackUInt8 +#define cmUnpkLteAggrLvl oduUnpackUInt32 #define MAX_POOL_SIZE 6 /*!< Maximum pool size */ #define MAX_REGION_SIZE 5 /*!< Maximum Region size */ @@ -66,7 +66,7 @@ #ifdef __cplusplus -EXTERN "C" { +extern "C" { #endif /*__cplusplus*/ /** @file cm_lte.x @@ -212,48 +212,48 @@ typedef enum cmLteUeCategory * PACK/UNPACK Functions ***************************************************************************/ -EXTERN S16 cmUpdateSsiMemInfo(CmLteMemInfo *mInfo); +S16 cmUpdateSsiMemInfo(CmLteMemInfo *mInfo); -EXTERN S16 cmFillMemUtilizationMeas(CmLteMemInfo *memoryInfo,CmLteMemInfo *memInfo); +S16 cmFillMemUtilizationMeas(CmLteMemInfo *memoryInfo,CmLteMemInfo *memInfo); -EXTERN S16 cmClearMemUtilizationCounter(CmLteMemInfo *memInfo); -EXTERN S16 UpdateSocMemInfo(uint8_t area , CmLteMemInfo *mInfo); +S16 cmClearMemUtilizationCounter(CmLteMemInfo *memInfo); +S16 UpdateSocMemInfo(uint8_t area , CmLteMemInfo *mInfo); -EXTERN S16 cmFillCpuUtilizationMeas(CmLteCpuInfo *cpuMeasInfo,CmCpuStatsInfo *cpuInfo); +S16 cmFillCpuUtilizationMeas(CmLteCpuInfo *cpuMeasInfo,CmCpuStatsInfo *cpuInfo); -EXTERN S16 cmClearCpuUtilizationCounter(CmCpuStatsInfo *cpuInfo); -EXTERN Void UpdateSocCpuInfo(CmCpuStatsInfo *cpuInfo,uint8_t Idx); +S16 cmClearCpuUtilizationCounter(CmCpuStatsInfo *cpuInfo); +Void UpdateSocCpuInfo(CmCpuStatsInfo *cpuInfo,uint8_t Idx); -EXTERN S16 SGetRegPoolInfo(uint8_t* numRegion, uint8_t* numPool); +S16 SGetRegPoolInfo(uint8_t* numRegion, uint8_t* numPool); /* Packing Functions */ -EXTERN S16 cmPkLteRlcId ARGS (( +S16 cmPkLteRlcId ARGS (( CmLteRlcId *param, Buffer *mBuf )); -EXTERN S16 cmPkLteTimingInfo ARGS (( +S16 cmPkLteTimingInfo ARGS (( CmLteTimingInfo *param, Buffer *mBuf )); -EXTERN S16 cmPkLtePdcpId ARGS (( +S16 cmPkLtePdcpId ARGS (( CmLtePdcpId *param, Buffer *mBuf )); /* Unpack Function */ -EXTERN S16 cmUnpkLteRlcId ARGS (( +S16 cmUnpkLteRlcId ARGS (( CmLteRlcId *param, Buffer *mBuf )); -EXTERN S16 cmUnpkLteTimingInfo ARGS (( +S16 cmUnpkLteTimingInfo ARGS (( CmLteTimingInfo *param, Buffer *mBuf )); -EXTERN S16 cmUnpkLtePdcpId ARGS (( +S16 cmUnpkLtePdcpId ARGS (( CmLtePdcpId *param, Buffer *mBuf )); @@ -271,10 +271,10 @@ typedef struct cmTtiProc uint32_t phyReptTtiStretchCount; }CmTtiProc; -EXTERN CmTtiProc ttiProc; +extern CmTtiProc ttiProc; -EXTERN Void cmUpdateTtiCounters(uint32_t ttiProcessingTime); -EXTERN Void cmResetTtiCounters(Void); +Void cmUpdateTtiCounters(uint32_t ttiProcessingTime); +Void cmResetTtiCounters(Void); #endif #ifdef __cplusplus