Index: src/lte/model/lte-rrc-protocol-ideal.cc |
=================================================================== |
--- a/src/lte/model/lte-rrc-protocol-ideal.cc |
+++ b/src/lte/model/lte-rrc-protocol-ideal.cc |
@@ -196,7 +196,7 @@ |
} |
else |
{ |
- if (enbDev->GetCellId () == cellId) |
+ if (enbDev->HasCellId (cellId)) |
{ |
found = true; |
break; |
@@ -329,9 +329,9 @@ |
} |
void |
-LteEnbRrcProtocolIdeal::DoSendSystemInformation (LteRrcSap::SystemInformation msg) |
+LteEnbRrcProtocolIdeal::DoSendSystemInformation (uint16_t cellId, LteRrcSap::SystemInformation msg) |
{ |
- NS_LOG_FUNCTION (this << m_cellId); |
+ NS_LOG_FUNCTION (this << cellId); |
// walk list of all nodes to get UEs with this cellId |
Ptr<LteUeRrc> ueRrc; |
for (NodeList::Iterator i = NodeList::Begin (); i != NodeList::End (); ++i) |
@@ -345,7 +345,7 @@ |
{ |
Ptr<LteUeRrc> ueRrc = ueDev->GetRrc (); |
NS_LOG_LOGIC ("considering UE IMSI " << ueDev->GetImsi () << " that has cellId " << ueRrc->GetCellId ()); |
- if (ueRrc->GetCellId () == m_cellId) |
+ if (ueRrc->GetCellId () == cellId) |
{ |
NS_LOG_LOGIC ("sending SI to IMSI " << ueDev->GetImsi ()); |
ueRrc->GetLteUeRrcSapProvider ()->RecvSystemInformation (msg); |