LEFT | RIGHT |
(no file at all) | |
1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2017 Alexander Krotov | 3 * Copyright (c) 2017 Alexander Krotov |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 LteSecondaryCellSelectionTestCase::~LteSecondaryCellSelectionTestCase () | 85 LteSecondaryCellSelectionTestCase::~LteSecondaryCellSelectionTestCase () |
86 { | 86 { |
87 NS_LOG_FUNCTION (this << GetName ()); | 87 NS_LOG_FUNCTION (this << GetName ()); |
88 } | 88 } |
89 | 89 |
90 void | 90 void |
91 LteSecondaryCellSelectionTestCase::DoRun () | 91 LteSecondaryCellSelectionTestCase::DoRun () |
92 { | 92 { |
93 NS_LOG_FUNCTION (this << GetName ()); | 93 NS_LOG_FUNCTION (this << GetName ()); |
94 | 94 |
95 Config::SetGlobal ("RngRun", IntegerValue (m_rngRun)); | 95 Config::SetGlobal ("RngRun", UintegerValue (m_rngRun)); |
96 | 96 |
97 // Create helpers. | 97 // Create helpers. |
98 auto lteHelper = CreateObject<LteHelper> (); | 98 auto lteHelper = CreateObject<LteHelper> (); |
99 lteHelper->SetAttribute ("PathlossModel", TypeIdValue (ns3::FriisSpectrumPropa
gationLossModel::GetTypeId ())); | 99 lteHelper->SetAttribute ("PathlossModel", TypeIdValue (ns3::FriisSpectrumPropa
gationLossModel::GetTypeId ())); |
100 lteHelper->SetAttribute ("UseIdealRrc", BooleanValue (m_isIdealRrc)); | 100 lteHelper->SetAttribute ("UseIdealRrc", BooleanValue (m_isIdealRrc)); |
101 lteHelper->SetAttribute ("NumberOfComponentCarriers", UintegerValue (m_numberO
fComponentCarriers)); | 101 lteHelper->SetAttribute ("NumberOfComponentCarriers", UintegerValue (m_numberO
fComponentCarriers)); |
102 | 102 |
103 auto epcHelper = CreateObject<PointToPointEpcHelper> (); | 103 auto epcHelper = CreateObject<PointToPointEpcHelper> (); |
104 lteHelper->SetEpcHelper (epcHelper); | 104 lteHelper->SetEpcHelper (epcHelper); |
105 | 105 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 { | 190 { |
191 NS_LOG_FUNCTION (this << imsi << cellId); | 191 NS_LOG_FUNCTION (this << imsi << cellId); |
192 } | 192 } |
193 | 193 |
194 void | 194 void |
195 LteSecondaryCellSelectionTestCase::ConnectionEstablishedCallback ( | 195 LteSecondaryCellSelectionTestCase::ConnectionEstablishedCallback ( |
196 std::string context, uint64_t imsi, uint16_t cellId, uint16_t rnti) | 196 std::string context, uint64_t imsi, uint16_t cellId, uint16_t rnti) |
197 { | 197 { |
198 NS_LOG_FUNCTION (this << imsi << cellId << rnti); | 198 NS_LOG_FUNCTION (this << imsi << cellId << rnti); |
199 } | 199 } |
LEFT | RIGHT |