Index: src/lte/helper/cc-helper.h |
=================================================================== |
--- a/src/lte/helper/cc-helper.h |
+++ b/src/lte/helper/cc-helper.h |
@@ -77,7 +77,7 @@ |
* \param isPrimary ture if primary |
* \returns the component carrier |
*/ |
- ComponentCarrier DoCreateSingleCc (uint16_t ulBandwidth, uint16_t dlBandwidth, uint32_t ulEarfcn, uint32_t dlEarfcn, bool isPrimary); |
+ ComponentCarrier DoCreateSingleCc (uint8_t ulBandwidth, uint8_t dlBandwidth, uint32_t ulEarfcn, uint32_t dlEarfcn, bool isPrimary); |
/** |
* Set an attribute for the Component Carrier to be created. |
@@ -126,13 +126,13 @@ |
* |
* \param dlBandwidth the DL bandwidth |
*/ |
- void SetDlBandwidth (uint16_t dlBandwidth); |
+ void SetDlBandwidth (uint8_t dlBandwidth); |
/** |
* Set UL bandwidth. |
* |
* \param ulBandwidth the UL bandwidth |
*/ |
- void SetUlBandwidth (uint16_t ulBandwidth); |
+ void SetUlBandwidth (uint8_t ulBandwidth); |
/** |
* Get number of component carriers. |
* |
@@ -156,13 +156,13 @@ |
* |
* \returns the DL bandwidth |
*/ |
- uint16_t GetDlBandwidth (); |
+ uint8_t GetDlBandwidth (); |
/** |
* Get UL bandwidth. |
* |
* \returns the UL bandwidth |
*/ |
- uint16_t GetUlBandwidth (); |
+ uint8_t GetUlBandwidth (); |
protected: |
// inherited from Object |
@@ -179,15 +179,15 @@ |
* \param isPrimary identify if this is the Primary Component Carrier (PCC) - only one PCC is allowed |
* \return the component carrier |
*/ |
- ComponentCarrier CreateSingleCc (uint16_t ulBandwidth, uint16_t dlBandwidth, uint32_t ulEarfcn, uint32_t dlEarfcn, bool isPrimary); |
+ ComponentCarrier CreateSingleCc (uint8_t ulBandwidth, uint8_t dlBandwidth, uint32_t ulEarfcn, uint32_t dlEarfcn, bool isPrimary); |
/// Factory for each Carrier Component. |
ObjectFactory m_ccFactory; |
uint32_t m_ulEarfcn; ///< Uplink EARFCN |
uint32_t m_dlEarfcn; ///< Downlink EARFCN |
- uint16_t m_dlBandwidth; ///< Downlink Bandwidth |
- uint16_t m_ulBandwidth; ///< Uplink Bandwidth |
+ uint8_t m_dlBandwidth; ///< Downlink Bandwidth |
+ uint8_t m_ulBandwidth; ///< Uplink Bandwidth |
uint16_t m_numberOfComponentCarriers; ///< Number of component carriers |