A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
lena-x2-handover.cc File Reference
#include "ns3/applications-module.h"
#include "ns3/core-module.h"
#include "ns3/internet-module.h"
#include "ns3/lte-module.h"
#include "ns3/mobility-module.h"
#include "ns3/network-module.h"
#include "ns3/point-to-point-module.h"
+ Include dependency graph for lena-x2-handover.cc:

Go to the source code of this file.

Functions

void NotifyConnectionEstablishedEnb (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti)
 eNB Connection established notification.
 
void NotifyConnectionEstablishedUe (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti)
 UE Connection established notification.
 
void NotifyHandoverEndOkEnb (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti)
 eNB Handover end successful notification.
 
void NotifyHandoverEndOkUe (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti)
 UE Handover end successful notification.
 
void NotifyHandoverFailure (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti)
 Handover failure notification.
 
void NotifyHandoverStartEnb (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti, uint16_t targetCellId)
 eNB Start Handover notification.
 
void NotifyHandoverStartUe (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti, uint16_t targetCellId)
 UE Start Handover notification.
 

Detailed Description

Usage

$ ./ns3 run "lena-x2-handover [Program Options]"

Program Options

--numberOfUes
Number of UEs [1]
--numberOfEnbs
Number of eNodeBs [2]
--simTime
Total duration of the simulation [+490ms]
--disableDl
Disable downlink data flows [false]
--disableUl
Disable uplink data flows [false]

Definition in file lena-x2-handover.cc.

Function Documentation

◆ NotifyConnectionEstablishedEnb()

void NotifyConnectionEstablishedEnb ( std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti 
)

eNB Connection established notification.

Parameters
contextThe context.
imsiThe IMSI of the connected terminal.
cellidThe Cell ID.
rntiThe RNTI.

Definition at line 93 of file lena-x2-handover.cc.

References ns3::Time::As(), ns3::Simulator::Now(), and ns3::Time::S.

+ Here is the call graph for this function:

◆ NotifyConnectionEstablishedUe()

void NotifyConnectionEstablishedUe ( std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti 
)

UE Connection established notification.

Parameters
contextThe context.
imsiThe IMSI of the connected terminal.
cellidThe Cell ID.
rntiThe RNTI.

Definition at line 42 of file lena-x2-handover.cc.

References ns3::Time::As(), ns3::Simulator::Now(), and ns3::Time::S.

+ Here is the call graph for this function:

◆ NotifyHandoverEndOkEnb()

void NotifyHandoverEndOkEnb ( std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti 
)

eNB Handover end successful notification.

Parameters
contextThe context.
imsiThe IMSI of the connected terminal.
cellidThe Cell ID.
rntiThe RNTI.

Definition at line 130 of file lena-x2-handover.cc.

References ns3::Time::As(), ns3::Simulator::Now(), and ns3::Time::S.

+ Here is the call graph for this function:

◆ NotifyHandoverEndOkUe()

void NotifyHandoverEndOkUe ( std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti 
)

UE Handover end successful notification.

Parameters
contextThe context.
imsiThe IMSI of the connected terminal.
cellidThe Cell ID.
rntiThe RNTI.

Definition at line 78 of file lena-x2-handover.cc.

References ns3::Time::As(), ns3::Simulator::Now(), and ns3::Time::S.

+ Here is the call graph for this function:

◆ NotifyHandoverFailure()

void NotifyHandoverFailure ( std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti 
)

Handover failure notification.

Parameters
contextThe context.
imsiThe IMSI of the connected terminal.
cellidThe Cell ID.
rntiThe RNTI.

Definition at line 145 of file lena-x2-handover.cc.

References ns3::Time::As(), ns3::Simulator::Now(), and ns3::Time::S.

+ Here is the call graph for this function:

◆ NotifyHandoverStartEnb()

void NotifyHandoverStartEnb ( std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti,
uint16_t  targetCellId 
)

eNB Start Handover notification.

Parameters
contextThe context.
imsiThe IMSI of the connected terminal.
cellidThe actual Cell ID.
rntiThe RNTI.
targetCellIdThe target Cell ID.

Definition at line 110 of file lena-x2-handover.cc.

References ns3::Time::As(), ns3::Simulator::Now(), and ns3::Time::S.

+ Here is the call graph for this function:

◆ NotifyHandoverStartUe()

void NotifyHandoverStartUe ( std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti,
uint16_t  targetCellId 
)

UE Start Handover notification.

Parameters
contextThe context.
imsiThe IMSI of the connected terminal.
cellidThe actual Cell ID.
rntiThe RNTI.
targetCellIdThe target Cell ID.

Definition at line 58 of file lena-x2-handover.cc.

References ns3::Time::As(), ns3::Simulator::Now(), and ns3::Time::S.

+ Here is the call graph for this function: