Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3534)

Unified Diff: src/lte/model/lte-rrc-protocol-ideal.cc

Issue 327850043: NS-3 GSoC 2017 LTE CA handover milestone 1 (Closed)
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b