X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Flkw.x;h=4a7a14db0af48347f779d5ab58cd82f483640940;hb=3330932565e15a749fd5dd5039cdea2862ca51cc;hp=8a03910c8c2f8eae51c130530422753dba6c0cb8;hpb=0a26c487f1b6bbb5217e47b15fa8273b2e749283;p=o-du%2Fl2.git diff --git a/src/cm/lkw.x b/src/cm/lkw.x index 8a03910c8..4a7a14db0 100755 --- a/src/cm/lkw.x +++ b/src/cm/lkw.x @@ -33,7 +33,7 @@ #define __LKW_X__ #ifdef __cplusplus -EXTERN "C" { +extern "C" { #endif /* __cplusplus */ @@ -43,17 +43,17 @@ typedef struct rlcGenCfg { Pst lmPst; /*!< Post structure for communicating with LM. */ - U32 maxUe; /*!< Maximum number of UEs supported + uint32_t maxUe; /*!< Maximum number of UEs supported by RLC. */ - U16 maxKwuSaps; /*!< Maximum KWU SAPs. */ + uint16_t maxKwuSaps; /*!< Maximum KWU SAPs. */ /* Supported by SPLIT Architecture */ - U16 maxUdxSaps; /*!< Maximum Udx SAPs. */ + uint16_t maxUdxSaps; /*!< Maximum Udx SAPs. */ /* Supported by SPLIT Architecture ends */ Ticks timeRes; /*!< Time resolution. */ /* Supported by SPLIT Architecture */ - U8 rlcMode; /*!< RLC_DL or RLC_UL */ + uint8_t rlcMode; /*!< RLC_DL or RLC_UL */ /* Supported by SPLIT Architecture ends */ - U16 maxRguSaps; /*!< Maximum RGU SAPs. */ + uint16_t maxRguSaps; /*!< Maximum RGU SAPs. */ }RlcGenCfg; /** @brief @@ -66,7 +66,7 @@ typedef struct rlcSapCfg Ent ent; /*!< Entity ID. */ Inst inst; /*!< Instance ID. */ SpId sapId; /*!< SAP ID. */ - U16 bndTmrIntvl; /*!< Bind timer interval. */ + uint16_t bndTmrIntvl; /*!< Bind timer interval. */ Priority priority; /*!< Priority. */ Route route; /*!< Route. */ }RlcSapCfg; @@ -173,7 +173,7 @@ typedef struct rlcSSta Trace Control Structure */ typedef struct rlcTrcCntrl { - U8 trcMask; /*!< Trace mask. */ + uint8_t trcMask; /*!< Trace mask. */ S16 trcLen; /*!< Trace length. */ }RlcTrcCntrl; @@ -181,7 +181,7 @@ typedef struct rlcTrcCntrl Debug Control Structure */ typedef struct rlcDbgCntrl { - U32 dbgMask; /*!< Debug mask. Assign non zero value to enable + uint32_t dbgMask; /*!< Debug mask. Assign non zero value to enable and zero to disable debug */ }RlcDbgCntrl; @@ -198,15 +198,15 @@ typedef struct rlcSapCntrl typedef struct rlcCntrl { DateTime dt; /*!< Date and Time structure. */ - U8 action; /*!< Action. */ - U8 subAction; /*!< Sub action. */ + uint8_t action; /*!< Action. */ + uint8_t subAction; /*!< Sub action. */ union { RlcTrcCntrl trcCntrl; /*!< Trace Control Structure. */ RlcDbgCntrl dbgCntrl; /*!< Debug Control Structure. */ RlcSapCntrl sapCntrl; /*!< SAP Control Structure. */ #ifdef SS_DIAG - U32 logMask; /*!< Logging Control Structure. */ + uint32_t logMask; /*!< Logging Control Structure. */ #endif }s; }RlcCntrl; @@ -218,10 +218,10 @@ typedef struct rlcUSta DateTime dt; /*!< Date and Time structure. */ CmAlarm alarm; /*!< Alarm. */ SuId suId; /*!< Service user ID. */ - U32 ueId; /*!< Urnti UE ID. */ + uint32_t ueId; /*!< Urnti UE ID. */ /* lkw_x_001.main_2, added support for L2 measurement */ #ifdef LTE_L2_MEAS - U8 qci; /*!< Qci value */ + uint8_t qci; /*!< Qci value */ #endif }RlcUSta; @@ -230,7 +230,7 @@ typedef struct rlcUSta typedef struct rlcTrc { DateTime dt; /*!< Date and Time structure. */ - U16 event; /*!< Event. Events defined in the differenct RLC + uint16_t event; /*!< Event. Events defined in the differenct RLC interfaces are pssible values here.*/ }RlcTrc; @@ -257,7 +257,7 @@ typedef struct rlcMngmt /** @brief Measurement Request Params Structure. */ typedef struct rlcL2MeasReqInfo { - U8 measType; /*!< Measurement type, bit 1 to 4 (LSB nibble) + uint8_t measType; /*!< Measurement type, bit 1 to 4 (LSB nibble) will be used for non IP Throughput and bit 5 and 6 will be used for DL and UL Ipthroughput respectively */ @@ -265,18 +265,18 @@ typedef struct rlcL2MeasReqInfo { struct { - U16 numSamples; /*!