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

Unified Diff: src/lte/helper/phy-rx-stats-calculator.cc

Issue 262000043: GSoC 2015 - FinalTerm Milestone - Carrier Aggregation
Patch Set: Created 8 years, 7 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
« no previous file with comments | « src/lte/helper/mac-stats-calculator.cc ('k') | src/lte/helper/phy-stats-calculator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lte/helper/phy-rx-stats-calculator.cc
===================================================================
--- a/src/lte/helper/phy-rx-stats-calculator.cc
+++ b/src/lte/helper/phy-rx-stats-calculator.cc
@@ -184,13 +184,15 @@
uint64_t imsi = 0;
std::ostringstream pathAndRnti;
pathAndRnti << path << "/" << params.m_rnti;
+ std::string pathUePhy = path.substr (0, path.find ("/ComponentCarrierMapUe"));
if (phyRxStats->ExistsImsiPath (pathAndRnti.str ()) == true)
{
imsi = phyRxStats->GetImsiPath (pathAndRnti.str ());
}
else
{
- imsi = FindImsiForUe (path, params.m_rnti);
+ // imsi = FindImsiForUe (path, params.m_rnti);
+ imsi = FindImsiFromLteNetDevice (pathUePhy);
phyRxStats->SetImsiPath (pathAndRnti.str (), imsi);
}
@@ -205,14 +207,17 @@
NS_LOG_FUNCTION (phyRxStats << path);
uint64_t imsi = 0;
std::ostringstream pathAndRnti;
- pathAndRnti << path << "/" << params.m_rnti;
+ // pathAndRnti << path << "/" << params.m_rnti;
+ std::string pathEnb = path.substr (0, path.find ("/ComponentCarrierMap"));
+ pathAndRnti << pathEnb << "/LteEnbRrc/UeMap/" << params.m_rnti;
if (phyRxStats->ExistsImsiPath (pathAndRnti.str ()) == true)
{
imsi = phyRxStats->GetImsiPath (pathAndRnti.str ());
}
else
{
- imsi = FindImsiForEnb (path, params.m_rnti);
+ // imsi = FindImsiForEnb (path, params.m_rnti);
+ imsi = FindImsiFromEnbRlcPath (pathAndRnti.str ());
phyRxStats->SetImsiPath (pathAndRnti.str (), imsi);
}
« no previous file with comments | « src/lte/helper/mac-stats-calculator.cc ('k') | src/lte/helper/phy-stats-calculator.cc » ('j') | no next file with comments »

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