OLD | NEW |
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) 2013 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) | 3 * Copyright (c) 2013 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) |
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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 m_handoverAlgorithmType, m_admitHo, | 190 m_handoverAlgorithmType, m_admitHo, |
191 m_useIdealRrc)); | 191 m_useIdealRrc)); |
192 | 192 |
193 Config::Reset (); | 193 Config::Reset (); |
194 Config::SetDefault ("ns3::UdpClient::Interval", TimeValue (m_udpClientInterval
)); | 194 Config::SetDefault ("ns3::UdpClient::Interval", TimeValue (m_udpClientInterval
)); |
195 Config::SetDefault ("ns3::UdpClient::MaxPackets", UintegerValue (1000000)); | 195 Config::SetDefault ("ns3::UdpClient::MaxPackets", UintegerValue (1000000)); |
196 Config::SetDefault ("ns3::UdpClient::PacketSize", UintegerValue (m_udpClientPk
tSize)); | 196 Config::SetDefault ("ns3::UdpClient::PacketSize", UintegerValue (m_udpClientPk
tSize)); |
197 Config::SetDefault ("ns3::LteEnbRrc::HandoverJoiningTimeoutDuration", TimeValu
e (MilliSeconds (200))); | 197 Config::SetDefault ("ns3::LteEnbRrc::HandoverJoiningTimeoutDuration", TimeValu
e (MilliSeconds (200))); |
198 Config::SetDefault ("ns3::LteEnbPhy::TxPower", DoubleValue (20)); | 198 Config::SetDefault ("ns3::LteEnbPhy::TxPower", DoubleValue (20)); |
199 | 199 |
| 200 //Disable Uplink Power Control |
| 201 Config::SetDefault ("ns3::LteUePhy::EnableUplinkPowerControl", BooleanValue (f
alse)); |
200 | 202 |
201 int64_t stream = 1; | 203 int64_t stream = 1; |
202 | 204 |
203 m_lteHelper = CreateObject<LteHelper> (); | 205 m_lteHelper = CreateObject<LteHelper> (); |
204 m_lteHelper->SetAttribute ("PathlossModel", StringValue ("ns3::FriisSpectrumPr
opagationLossModel")); | 206 m_lteHelper->SetAttribute ("PathlossModel", StringValue ("ns3::FriisSpectrumPr
opagationLossModel")); |
205 m_lteHelper->SetAttribute ("UseIdealRrc", BooleanValue (m_useIdealRrc)); | 207 m_lteHelper->SetAttribute ("UseIdealRrc", BooleanValue (m_useIdealRrc)); |
206 m_lteHelper->SetSchedulerType (m_schedulerType); | 208 m_lteHelper->SetSchedulerType (m_schedulerType); |
207 | 209 |
208 if (m_handoverAlgorithmType == "ns3::A2A4RsrqHandoverAlgorithm") | 210 if (m_handoverAlgorithmType == "ns3::A2A4RsrqHandoverAlgorithm") |
209 { | 211 { |
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
702 { | 704 { |
703 // nEnbs, nUes, nDBearers, celist
, name, useUdp, sched, admitHo, idealRrc | 705 // nEnbs, nUes, nDBearers, celist
, name, useUdp, sched, admitHo, idealRrc |
704 AddTestCase (new LteX2HandoverMeasuresTestCase (2, 1, 0, cel1, cel
1name, true, sched, ho, true, useIdealRrc), TestCase::QUICK); | 706 AddTestCase (new LteX2HandoverMeasuresTestCase (2, 1, 0, cel1, cel
1name, true, sched, ho, true, useIdealRrc), TestCase::QUICK); |
705 AddTestCase (new LteX2HandoverMeasuresTestCase (3, 1, 0, cel2, cel
2name, true, sched, ho, true, useIdealRrc), TestCase::TAKES_FOREVER); | 707 AddTestCase (new LteX2HandoverMeasuresTestCase (3, 1, 0, cel2, cel
2name, true, sched, ho, true, useIdealRrc), TestCase::TAKES_FOREVER); |
706 AddTestCase (new LteX2HandoverMeasuresTestCase (4, 1, 0, cel3, cel
3name, true, sched, ho, true, useIdealRrc), TestCase::EXTENSIVE); | 708 AddTestCase (new LteX2HandoverMeasuresTestCase (4, 1, 0, cel3, cel
3name, true, sched, ho, true, useIdealRrc), TestCase::EXTENSIVE); |
707 } | 709 } |
708 | 710 |
709 } // end of LteX2HandoverMeasuresTestSuite () | 711 } // end of LteX2HandoverMeasuresTestSuite () |
710 | 712 |
711 static LteX2HandoverMeasuresTestSuite g_lteX2HandoverMeasuresTestSuiteInstance; | 713 static LteX2HandoverMeasuresTestSuite g_lteX2HandoverMeasuresTestSuiteInstance; |
OLD | NEW |