lte: Add LteEnbRrc::ComponentCarrierToCellId
This commit is contained in:
@@ -2130,6 +2130,13 @@ LteEnbRrc::CellToComponentCarrierId (uint16_t cellId)
|
||||
NS_FATAL_ERROR ("Cell " << cellId << " not found in CC map");
|
||||
}
|
||||
|
||||
uint16_t
|
||||
LteEnbRrc::ComponentCarrierToCellId (uint8_t componentCarrierId)
|
||||
{
|
||||
NS_LOG_FUNCTION (this << componentCarrierId);
|
||||
return m_componentCarrierPhyConf.at (componentCarrierId)->GetCellId ();
|
||||
}
|
||||
|
||||
bool
|
||||
LteEnbRrc::SendData (Ptr<Packet> packet)
|
||||
{
|
||||
|
||||
@@ -889,6 +889,15 @@ public:
|
||||
*/
|
||||
uint8_t CellToComponentCarrierId (uint16_t cellId);
|
||||
|
||||
/**
|
||||
* convert the component carrier id to cell id
|
||||
*
|
||||
* \param componentCarrierId component carrier ID
|
||||
*
|
||||
* \return corresponding cell ID
|
||||
*/
|
||||
uint16_t ComponentCarrierToCellId (uint8_t componentCarrierId);
|
||||
|
||||
/**
|
||||
* Enqueue an IP data packet on the proper bearer for downlink
|
||||
* transmission. Normally expected to be called by the NetDevice
|
||||
|
||||
Reference in New Issue
Block a user