@brief Transaction ID between MAC and RRC. */
typedef struct crgCfgTransId
{
- U8 trans[CRG_CFG_TRANSID_SIZE]; /*!< RRC transaction ID */
+ uint8_t trans[CRG_CFG_TRANSID_SIZE]; /*!< RRC transaction ID */
} CrgCfgTransId;
/**
@brief Bandwidth configuration per cell. */
typedef struct crgBwCfg
{
- U8 dlTotalBw; /*!< Total Dowlink Bandwidth */
- U8 ulTotalBw; /*!< Total Uplink Bandwidth */
+ uint8_t dlTotalBw; /*!< Total Dowlink Bandwidth */
+ uint8_t ulTotalBw; /*!< Total Uplink Bandwidth */
} CrgBwCfg;
/**
@brief RACH configuration per cell. */
typedef struct crgRachCfg
{
- U8 maxMsg3Tx; /*!< Maximum number of message 3 transmissions */
+ uint8_t maxMsg3Tx; /*!< Maximum number of message 3 transmissions */
} CrgRachCfg;
#ifdef LTE_ADV
/** @brief UE secondary cell config params to MAC*/
typedef struct crgUeSCellInfo
{
- U16 sCellId; /*!< This will be secondary cellId */
+ uint16_t sCellId; /*!< This will be secondary cellId */
Inst macInst; /*!< MAC instance for SCell */
SuId rguUlSapId; /*!< MAC-RLC UL Sap ID */
SuId rguDlSapId; /*!< MAC-RLC DL SAP ID */
{
Bool isSCellCfgPres; /*!< Bool indicates whether configuration
is present */
- U8 numSCells; /*!< Number of SCells
+ uint8_t numSCells; /*!< Number of SCells
*/
CrgUeSCellInfo ueSCellCfg[CRG_MAX_SCELL_PER_UE]; /*!< Secondary cell
configuration per UE */
SpId rguDlSapId; /*!< RLC DL SAP Id for common channels */
#endif
#ifdef EMTC_ENABLE
- U8 emtcEnable;
+ uint8_t emtcEnable;
#endif
} CrgCellCfg;
@brief Uplink HARQ configuration per UE. */
typedef struct crgUeUlHqCfg
{
- U8 maxUlHqTx; /*!< Maximum number of UL HARQ transmissions */
+ uint8_t maxUlHqTx; /*!< Maximum number of UL HARQ transmissions */
} CrgUeUlHqCfg;
/* crg_x_001.main_3 - Changes for MIMO feature addition */
@brief Logical channel configuration information for downlink logical channels. */
typedef struct crgDlLchCfg
{
- U8 dlTrchType; /*!< Indicates type of DL transport channel:
+ uint8_t dlTrchType; /*!< Indicates type of DL transport channel:
Validated only for BCCH at MAC. DL Transport
channel type can take following values:<br>
CM_LTE_TRCH_BCH<br>
@brief Logical channel configuration information for uplink logical channels. */
typedef struct crgUlLchCfg
{
- U8 ulTrchType; /*!< Indicates type of UL transport channel:
+ uint8_t ulTrchType; /*!< Indicates type of UL transport channel:
Validated only for BCCH at MAC.
UL Transport channel type can take following values:<br>
CM_LTE_TRCH_RACH<br>
CM_LTE_TRCH_UL_SCH */
- U8 lcgId; /*!< Logical channel group ID */
+ uint8_t lcgId; /*!< Logical channel group ID */
} CrgUlLchCfg;
/* crg_x_001.main_2: Documentation update */
CM_LTE_LCH_DCCH<br>
CM_LTE_LCH_DTCH */
- U8 dir; /*!< Indicates Direction. Direction can take following
+ uint8_t dir; /*!< Indicates Direction. Direction can take following
values:<br>
CRG_DIR_TX<br>
CRG_DIR_RX<br>
CrgUlLchCfg ulInfo; /*!< Uplink logical channel configuration info */
/* crg_x_001.main_5 - ADD - Members corresponding to LTE_L2_MEAS */
#ifdef LTE_L2_MEAS
- U8 qci; /*!< QCI for the logical channel.
+ uint8_t qci; /*!< QCI for the logical channel.
Valid Range:[0-255] (Actual QCI - 1). */
#endif /* LTE_L2_MEAS */
@brief Basic configuration information for MAC. */
typedef struct crgCfg
{
- U8 cfgType; /*!< Indicates configuration type */
+ uint8_t cfgType; /*!< Indicates configuration type */
union crgCfgU
{
CrgCellCfg cellCfg; /*!< Cell configuration */
struct ulRecfgS
{
- U8 lcgId; /*!< Logical channel group ID */
+ uint8_t lcgId; /*!< Logical channel group ID */
} ulRecfg; /*!< Uplink logical channel reconfiguration information */
} CrgLchRecfg;
@brief Basic reconfiguration information for MAC. */
typedef struct crgRecfg
{
- U8 recfgType; /*!< Indicates reconfiguration type */
+ uint8_t recfgType; /*!< Indicates reconfiguration type */
union crgRecfgU
{
CrgCellRecfg cellRecfg; /*!< Cell Reconfig information */
@brief Basic Delete information for MAC. */
typedef struct crgDel
{
- U8 delType; /*!< Indicates configuration item to be deleted */
+ uint8_t delType; /*!< Indicates configuration item to be deleted */
union crgDelU
{
struct cellDelS
CmLteCellId cellId; /*!< Cell ID */
CmLteRnti crnti; /*!< CRNTI for DTCH and DCCH */
CmLteLcId lcId; /*!< Logical channel ID */
- U8 dir; /*!< Indicates Direction. Direction can take following
+ uint8_t dir; /*!< Indicates Direction. Direction can take following
values:<br>
CRG_DIR_TX<br>
CRG_DIR_RX<br>
@brief Config/Reconfig/Delete information for MAC. */
typedef struct crgCfgReqInfo
{
- U8 action; /*!< Determines cfg/recfg/del/reset */
+ uint8_t action; /*!< Determines cfg/recfg/del/reset */
union cfgReqInfoU
{
CrgCfg cfgInfo; /*!< Configuration related infomation */
typedef S16 (*CrgBndCfm) ARGS((
Pst* pst,
SuId suId,
- U8 status));
+ uint8_t status));
/** @brief Request from RRC to MAC to unbind the interface SAPs. */
typedef S16 (*CrgUbndReq) ARGS((
Pst* pst,
Pst* pst,
SuId suId,
CrgCfgTransId transId,
- U8 status));
+ uint8_t status));
/** @brief Request from RRC to MAC to bind the interface SAPs. */
EXTERN S16 RgUiCrgBndReq ARGS((
EXTERN S16 RgUiCrgBndCfm ARGS((
Pst* pst,
SuId suId,
- U8 status
+ uint8_t status
));
/** @brief Request from RRC to MAC to Unbind the interface SAPs. */
EXTERN S16 RgUiCrgUbndReq ARGS((
Pst* pst,
SuId suId,
CrgCfgTransId transId,
- U8 status
+ uint8_t status
));
#ifdef NH
EXTERN S16 NhLiCrgBndCfm ARGS((
Pst* pst,
SuId suId,
- U8 status
+ uint8_t status
));
/** @brief Request from RRC to MAC to Unbind the interface SAPs. */
EXTERN S16 NhLiCrgUbndReq ARGS((
Pst* pst,
SuId suId,
CrgCfgTransId transId,
- U8 status
+ uint8_t status
));
#endif
EXTERN S16 cmPkCrgBndCfm ARGS((
Pst* pst,
SuId suId,
- U8 status
+ uint8_t status
));
/** @brief Confirmation from MAC to RRC for the bind/unbind
* request for the interface SAPs. */
Pst* pst,
SuId suId,
CrgCfgTransId transId,
- U8 status
+ uint8_t status
));
/** @brief Configuration Confirm from MAC to RRC. */
EXTERN S16 cmUnpkCrgCfgCfm ARGS((
EXTERN S16 DmUiCrgBndCfm ARGS((
Pst* pst,
SuId suId,
- U8 status
+ uint8_t status
));
/** @brief Request from RRC to MAC to unbind the interface SAPs. */
EXTERN S16 DmUiCrgUbndReq ARGS((
Pst* pst,
SuId suId,
CrgCfgTransId transId,
- U8 status
+ uint8_t status
));
#endif