9#include "ns3/epc-ue-nas.h"
10#include "ns3/lte-common.h"
11#include "ns3/lte-enb-mac.h"
12#include "ns3/lte-enb-phy.h"
13#include "ns3/lte-enb-rrc.h"
14#include "ns3/lte-pdcp.h"
15#include "ns3/lte-rlc.h"
16#include "ns3/lte-ue-phy.h"
17#include "ns3/lte-ue-rrc.h"
18#include "ns3/traced-callback-typedef-test.h"
31#ifndef DOXYGEN_SHOULD_SKIP_THIS
63 void DoRun()
override;
69 m_dupes.insert(
"LteRlc::NotifyTxTracedCallback");
70 m_dupes.insert(
"LteRlc::ReceiveTracedCallback");
71 m_dupes.insert(
"LteUeRrc::ImsiCidRntiTracedCallback");
72 m_dupes.insert(
"LteUeRrc::MibSibHandoverTracedCallback");
State
Definition of NAS states as per "LTE - From theory to practice", Section 3.2.3.2 "Connection Establis...
void(* StateTracedCallback)(const State oldState, const State newState)
TracedCallback signature for state change events.
void(* DlSchedulingTracedCallback)(const uint32_t frame, const uint32_t subframe, const uint16_t rnti, const uint8_t mcs0, const uint16_t tbs0Size, const uint8_t mcs1, const uint16_t tbs1Size, const uint8_t ccId)
TracedCallback signature for DL scheduling events.
void(* UlSchedulingTracedCallback)(const uint32_t frame, const uint32_t subframe, const uint16_t rnti, const uint8_t mcs, const uint16_t tbsSize)
TracedCallback signature for UL scheduling events.
void(* ReportUeSinrTracedCallback)(uint16_t cellId, uint16_t rnti, double sinrLinear, uint8_t componentCarrierId)
TracedCallback signature for the linear average of SRS SINRs.
void(* ReportInterferenceTracedCallback)(uint16_t cellId, Ptr< SpectrumValue > spectrumValue)
TracedCallback signature for the linear average of SRS SINRs.
void(* ReceiveReportTracedCallback)(const uint64_t imsi, const uint16_t cellId, const uint16_t rnti, const LteRrcSap::MeasurementReport report)
TracedCallback signature for receive measurement report events.
void(* HandoverStartTracedCallback)(const uint64_t imsi, const uint16_t cellId, const uint16_t rnti, const uint16_t targetCid)
TracedCallback signature for handover start events.
void(* ConnectionHandoverTracedCallback)(const uint64_t imsi, const uint16_t cellId, const uint16_t rnti)
TracedCallback signature for connection and handover end events.
void(* NewUeContextTracedCallback)(const uint16_t cellId, const uint16_t rnti)
TracedCallback signature for new Ue Context events.
void(* PduRxTracedCallback)(const uint16_t rnti, const uint8_t lcid, const uint32_t size, const uint64_t delay)
TracedCallback signature for PDU receive event.
void(* PduTxTracedCallback)(uint16_t rnti, uint8_t lcid, uint32_t size)
TracedCallback for PDU transmission event.
void(* ReceiveTracedCallback)(uint16_t rnti, uint8_t lcid, uint32_t bytes, uint64_t delay)
TracedCallback signature for.
void(* NotifyTxTracedCallback)(uint16_t rnti, uint8_t lcid, uint32_t bytes)
TracedCallback signature for NotifyTxOpportunity events.
TracedCallback typedef Testcase for the lte module.
LteTracedCallbackTypedefTestCase()
void DoRun() override
Implementation to actually run this TestCase.
lte TracedCallback typedef TestSuite
LteTracedCallbackTypedefTestSuite()
void(* StateTracedCallback)(uint16_t cellId, uint16_t rnti, State oldState, State newState)
TracedCallback signature for state transition events.
State
The states of the UE PHY entity.
void(* RsrpSinrTracedCallback)(uint16_t cellId, uint16_t rnti, double rsrp, double sinr, uint8_t componentCarrierId)
TracedCallback signature for cell RSRP and SINR report.
State
The states of the UE RRC entity.
void(* MibSibHandoverTracedCallback)(uint64_t imsi, uint16_t cellId, uint16_t rnti, uint16_t otherCid)
TracedCallback signature for MIBReceived, Sib1Received and HandoverStart events.
void(* CellSelectionTracedCallback)(uint64_t imsi, uint16_t cellId)
TracedCallback signature for imsi, cellId and rnti events.
void(* ImsiCidRntiTracedCallback)(uint64_t imsi, uint16_t cellId, uint16_t rnti)
TracedCallback signature for imsi, cellId and rnti events.
void(* StateTracedCallback)(uint64_t imsi, uint16_t cellId, uint16_t rnti, State oldState, State newState)
TracedCallback signature for state transition events.
Smart pointer class similar to boost::intrusive_ptr.
void AddTestCase(TestCase *testCase, Duration duration=Duration::QUICK)
Add an individual child TestCase to this test suite.
TestSuite(std::string name, Type type=Type::UNIT)
Construct a new test suite.
std::set< std::string > m_dupes
Typedefs which are identical to previously declared ones.
TracedCallbackTypedefTestCase(std::string name)
Constructor.
State
The state of the UeManager at the eNB RRC.
void(* StateTracedCallback)(const uint64_t imsi, const uint16_t cellId, const uint16_t rnti, const State oldState, const State newState)
TracedCallback signature for state transition events.
#define TRACED_CALLBACK_CHECK(U,...)
Check the TracedCallback by calling its Invoke function.
#define TRACED_CALLBACK_DUPE(U, T1)
Check the TracedCallback duplicate by checking if it matches the TracedCallback it is supposed to be ...
#define TRACED_CALLBACK_TYPENAME(T)
Declare the stringified name of a TracedCallback typedef.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
static LteTracedCallbackTypedefTestSuite g_lteTracedCallbackTypedefTestSuite
Static variable for test initialization.
MeasurementReport structure.
PhyReceptionStatParameters structure.
void(* TracedCallback)(const PhyReceptionStatParameters params)
TracedCallback signature.
PhyTransmissionStatParameters structure.
void(* TracedCallback)(const PhyTransmissionStatParameters params)
TracedCallback signature.