A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lena-x2-handover-measures.cc File Reference
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/internet-module.h"
#include "ns3/mobility-module.h"
#include "ns3/lte-module.h"
#include "ns3/applications-module.h"
#include "ns3/point-to-point-module.h"
#include "ns3/config-store-module.h"
#include <iomanip>
+ Include dependency graph for lena-x2-handover-measures.cc:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 
 NS_LOG_COMPONENT_DEFINE ("LenaX2HandoverMeasures")
 

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Sample simulation script for an automatic X2-based handover based on the RSRQ measures. It instantiates two eNodeB, attaches one UE to the 'source' eNB. The UE moves between both eNBs, it reports measures to the serving eNB and the 'source' (serving) eNB triggers the handover of the UE towards the 'target' eNB when it considers it is a better eNB.

Definition at line 45 of file lena-x2-handover-measures.cc.

References ns3::LteHelper::ActivateDedicatedEpsBearer(), ns3::ListPositionAllocator::Add(), ns3::EpcTft::Add(), ns3::ApplicationContainer::Add(), ns3::Ipv4StaticRouting::AddNetworkRouteTo(), ns3::CommandLine::AddValue(), ns3::LteHelper::AddX2Interface(), ns3::Ipv4AddressHelper::Assign(), ns3::LteHelper::Attach(), first::clientApps, ns3::NodeContainer::Create(), ns3::Simulator::Destroy(), ns3::LteHelper::EnableMacTraces(), ns3::LteHelper::EnablePdcpTraces(), ns3::LteHelper::EnablePhyTraces(), ns3::LteHelper::EnableRlcTraces(), ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::Ipv4Address::GetAny(), ns3::NodeContainer::GetN(), ns3::Object::GetObject(), ns3::LteHelper::GetPdcpStats(), ns3::LteHelper::GetRlcStats(), ns3::Ipv4StaticRoutingHelper::GetStaticRouting(), ns3::UniformRandomVariable::GetValue(), ns3::PacketSinkHelper::Install(), ns3::PointToPointHelper::Install(), ns3::InternetStackHelper::Install(), ns3::UdpClientHelper::Install(), ns3::MobilityHelper::Install(), ns3::LteHelper::InstallEnbDevice(), ns3::LteHelper::InstallUeDevice(), ns3::EpcTft::PacketFilter::localPortStart, ns3::EpsBearer::NGBR_VIDEO_TCP_DEFAULT, NS_LOG_LOGIC, ns3::CommandLine::Parse(), ns3::EpcTft::PacketFilter::remotePortEnd, ns3::EpcTft::PacketFilter::remotePortStart, ns3::Simulator::Run(), first::serverApps, ns3::ObjectBase::SetAttribute(), ns3::Ipv4AddressHelper::SetBase(), ns3::PointToPointHelper::SetChannelAttribute(), ns3::Config::SetDefault(), ns3::Ipv4StaticRouting::SetDefaultRoute(), ns3::PointToPointHelper::SetDeviceAttribute(), ns3::LteHelper::SetEpcHelper(), ns3::MobilityHelper::SetMobilityModel(), SetPosition(), ns3::MobilityHelper::SetPositionAllocator(), ns3::LteHelper::SetSchedulerType(), ns3::olsr::SetVelocity(), ns3::ApplicationContainer::Start(), startTime, and ns3::Simulator::Stop().

+ Here is the call graph for this function:

NS_LOG_COMPONENT_DEFINE ( "LenaX2HandoverMeasures"  )