Index: src/lte/model/enb-net-device.cc |
=================================================================== |
--- a/src/lte/model/enb-net-device.cc |
+++ b/src/lte/model/enb-net-device.cc |
@@ -41,6 +41,7 @@ |
#include "lte-mac-header.h" |
#include "ue-net-device.h" |
#include "enb-phy.h" |
+#include "enb-rrc-cp-entity.h" |
NS_LOG_COMPONENT_DEFINE ("EnbNetDevice"); |
@@ -51,7 +52,7 @@ |
TypeId EnbNetDevice::GetTypeId (void) |
{ |
static TypeId |
- tid = |
+ tid = |
TypeId ("ns3::EnbNetDevice") |
.SetParent<LteNetDevice> (); |
return tid; |
@@ -94,7 +95,7 @@ |
EnbNetDevice::InitEnbNetDevice (void) |
{ |
NS_LOG_FUNCTION (this); |
- SetRrcEntity (CreateObject<RrcEntity> ()); |
+ SetRrcEntity (CreateObject<EnbLteRrc> ()); |
m_ueManager = CreateObject<UeManager> (); |
m_macEntity = CreateObject<EnbMacEntity> (); |
m_macEntity->SetDevice (this->GetObject<LteNetDevice> ()); |
@@ -172,7 +173,7 @@ |
if (protocolNumber != 2048 || bearer == 0) |
{ |
- bearer = GetRrcEntity ()->GetDefaultBearer (); |
+ bearer = GetRrcEntity ()->GetDefaultBearer (); |
} |
return bearer->Enqueue (packet); |