From 5601dfad69c8fba73a57cf5151e642c469ffd79e Mon Sep 17 00:00:00 2001 From: Giuseppe Piro Date: Wed, 8 Dec 2010 12:59:42 +0100 Subject: [PATCH] restored LteHelper::AddDownlinkChannelRealization () method --- src/devices/lte/examples/lte-device.cc | 2 +- src/devices/lte/examples/lte-multiple-flows.cc | 2 +- src/devices/lte/examples/lte-phy-downlink.cc | 2 +- src/devices/lte/examples/lte-phy-uplink.cc | 2 +- src/devices/lte/helper/lte-helper.cc | 2 +- src/devices/lte/helper/lte-helper.h | 2 +- src/devices/lte/test/lte-device-test.cc | 2 +- src/devices/lte/test/lte-phy-test.cc | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/devices/lte/examples/lte-device.cc b/src/devices/lte/examples/lte-device.cc index c0a2c1b1f..8d5b118ef 100644 --- a/src/devices/lte/examples/lte-device.cc +++ b/src/devices/lte/examples/lte-device.cc @@ -112,7 +112,7 @@ int main (int argc, char *argv[]) lte.AddMobility (ue[i]->GetPhy (), ueMobility); - lte.CreateDownlinkChannelRealization (enbMobility, ueMobility, ue[i]->GetPhy ()); + lte.AddDownlinkChannelRealization (enbMobility, ueMobility, ue[i]->GetPhy ()); } diff --git a/src/devices/lte/examples/lte-multiple-flows.cc b/src/devices/lte/examples/lte-multiple-flows.cc index 102670f7c..7ca44d38a 100644 --- a/src/devices/lte/examples/lte-multiple-flows.cc +++ b/src/devices/lte/examples/lte-multiple-flows.cc @@ -112,7 +112,7 @@ int main (int argc, char *argv[]) lte.AddMobility (ue[i]->GetPhy (), ueMobility); - lte.CreateDownlinkChannelRealization (enbMobility, ueMobility, ue[i]->GetPhy ()); + lte.AddDownlinkChannelRealization (enbMobility, ueMobility, ue[i]->GetPhy ()); } diff --git a/src/devices/lte/examples/lte-phy-downlink.cc b/src/devices/lte/examples/lte-phy-downlink.cc index f2b41c5f8..0515c06e5 100644 --- a/src/devices/lte/examples/lte-phy-downlink.cc +++ b/src/devices/lte/examples/lte-phy-downlink.cc @@ -146,7 +146,7 @@ int main (int argc, char** argv) lte.AddMobility (ue->GetPhy (), ueMobility); - lte.CreateDownlinkChannelRealization (enbMobility, ueMobility, ue->GetPhy ()); + lte.AddDownlinkChannelRealization (enbMobility, ueMobility, ue->GetPhy ()); diff --git a/src/devices/lte/examples/lte-phy-uplink.cc b/src/devices/lte/examples/lte-phy-uplink.cc index 4afdf1732..df78be15f 100644 --- a/src/devices/lte/examples/lte-phy-uplink.cc +++ b/src/devices/lte/examples/lte-phy-uplink.cc @@ -146,7 +146,7 @@ int main (int argc, char** argv) lte.AddMobility (ue->GetPhy (), ueMobility); - lte.CreateDownlinkChannelRealization (enbMobility, ueMobility, ue->GetPhy ()); + lte.AddDownlinkChannelRealization (enbMobility, ueMobility, ue->GetPhy ()); // ****** simulate a packet transmission in the downlink ****** diff --git a/src/devices/lte/helper/lte-helper.cc b/src/devices/lte/helper/lte-helper.cc index 4758a5774..2a4e6e635 100644 --- a/src/devices/lte/helper/lte-helper.cc +++ b/src/devices/lte/helper/lte-helper.cc @@ -267,7 +267,7 @@ LteHelper::RegisterUeToTheEnb (Ptr ue, Ptr enb) void -LteHelper::CreateDownlinkChannelRealization (Ptr enbMobility, Ptr ueMobility, Ptr phy) +LteHelper::AddDownlinkChannelRealization (Ptr enbMobility, Ptr ueMobility, Ptr phy) { Ptr model = m_downlinkChannel->GetSpectrumPropagationLossModel ()->GetObject (); diff --git a/src/devices/lte/helper/lte-helper.h b/src/devices/lte/helper/lte-helper.h index 06252a50c..7c23b48f1 100644 --- a/src/devices/lte/helper/lte-helper.h +++ b/src/devices/lte/helper/lte-helper.h @@ -100,7 +100,7 @@ public: * \param ueMobility the ue mobility model * \param phy the physical layer of the UE */ - void CreateDownlinkChannelRealization (Ptr enbMobility, + void AddDownlinkChannelRealization (Ptr enbMobility, Ptr ueMobility, Ptr phy); diff --git a/src/devices/lte/test/lte-device-test.cc b/src/devices/lte/test/lte-device-test.cc index 2685e7caa..ba0cf05d0 100644 --- a/src/devices/lte/test/lte-device-test.cc +++ b/src/devices/lte/test/lte-device-test.cc @@ -141,7 +141,7 @@ Ns3LteDeviceTestCase::DoRun (void) lte.AddMobility (ue->GetPhy (), ueMobility); - lte.CreateDownlinkChannelRealization (enbMobility, ueMobility, ue->GetPhy ()); + lte.AddDownlinkChannelRealization (enbMobility, ueMobility, ue->GetPhy ()); diff --git a/src/devices/lte/test/lte-phy-test.cc b/src/devices/lte/test/lte-phy-test.cc index b36722e34..fdfcf2ad5 100644 --- a/src/devices/lte/test/lte-phy-test.cc +++ b/src/devices/lte/test/lte-phy-test.cc @@ -124,7 +124,7 @@ Ns3LtePhyTestCase::DoRun (void) lte.AddMobility (ue->GetPhy (), ueMobility); - lte.CreateDownlinkChannelRealization (enbMobility, ueMobility, ue->GetPhy ()); + lte.AddDownlinkChannelRealization (enbMobility, ueMobility, ue->GetPhy ());