22 #include "ns3/string.h" 
   23 #include "ns3/double.h" 
   25 #include "ns3/boolean.h" 
   28 #include "ns3/packet.h" 
   30 #include "ns3/lte-rrc-header.h" 
   31 #include "ns3/lte-rrc-sap.h" 
   43     uint32_t psize = pkt->
GetSize ();
 
   44     uint8_t buffer[psize];
 
   45     char sbuffer[psize * 3];
 
   47     for (uint32_t i = 0; i < psize; i++)
 
   49         sprintf (&sbuffer[i * 3],
"%02x ",buffer[i]);
 
   51     return std::string (sbuffer);
 
   57     uint32_t psize = pkt->
GetSize ();
 
   58     uint8_t buffer[psize];
 
   59     std::ostringstream oss (std::ostringstream::out);
 
   61     for (uint32_t i = 0; i < psize; i++)
 
   63         oss << (std::bitset<8> (buffer[i]));
 
   65     return std::string (oss.str () + 
"\n");
 
   71     NS_LOG_DEBUG (
"---- SERIALIZED PACKET CONTENTS (HEX): -------");
 
   79     NS_LOG_DEBUG (
"--------- " << s.data () << 
" INFO: -------");
 
   80     std::ostringstream oss (std::ostringstream::out);
 
   95   virtual void DoRun (
void) = 0;
 
  115   srbToAddMod.srbIdentity = 2;
 
  122   srbToAddMod.logicalChannelConfig = logicalChannelConfig;
 
  131   rlcConfig.
choice = LteRrcSap::RlcConfig::UM_BI_DIRECTIONAL;
 
  166   std::list<LteRrcSap::SrbToAddMod> srcSrbToAddModList = rrcd1.
srbToAddModList;
 
  167   std::list<LteRrcSap::SrbToAddMod>::iterator it1 = srcSrbToAddModList.begin ();
 
  168   std::list<LteRrcSap::SrbToAddMod> dstSrbToAddModList = rrcd2.
srbToAddModList;
 
  169   std::list<LteRrcSap::SrbToAddMod>::iterator it2 = dstSrbToAddModList.begin ();
 
  171   for (; it1 != srcSrbToAddModList.end (); it1++, it2++)
 
  174       NS_TEST_ASSERT_MSG_EQ (it1->logicalChannelConfig.priority,it2->logicalChannelConfig.priority, 
"logicalChannelConfig.priority");
 
  175       NS_TEST_ASSERT_MSG_EQ (it1->logicalChannelConfig.prioritizedBitRateKbps,it2->logicalChannelConfig.prioritizedBitRateKbps, 
"logicalChannelConfig.prioritizedBitRateKbps");
 
  176       NS_TEST_ASSERT_MSG_EQ (it1->logicalChannelConfig.bucketSizeDurationMs,it2->logicalChannelConfig.bucketSizeDurationMs, 
"logicalChannelConfig.bucketSizeDurationMs");
 
  177       NS_TEST_ASSERT_MSG_EQ (it1->logicalChannelConfig.logicalChannelGroup,it2->logicalChannelConfig.logicalChannelGroup, 
"logicalChannelConfig.logicalChannelGroup");
 
  182   std::list<LteRrcSap::DrbToAddMod> srcDrbToAddModList = rrcd1.
drbToAddModList;
 
  183   std::list<LteRrcSap::DrbToAddMod>::iterator it3 = srcDrbToAddModList.begin ();
 
  184   std::list<LteRrcSap::DrbToAddMod> dstDrbToAddModList = rrcd2.
drbToAddModList;
 
  185   std::list<LteRrcSap::DrbToAddMod>::iterator it4 = dstDrbToAddModList.begin ();
 
  187   for (; it3 != srcDrbToAddModList.end (); it3++, it4++)
 
  192       NS_TEST_ASSERT_MSG_EQ (it3->logicalChannelIdentity,it4->logicalChannelIdentity, 
"logicalChannelIdentity");
 
  195       NS_TEST_ASSERT_MSG_EQ (it3->logicalChannelConfig.priority,it4->logicalChannelConfig.priority, 
"logicalChannelConfig.priority");
 
  196       NS_TEST_ASSERT_MSG_EQ (it3->logicalChannelConfig.prioritizedBitRateKbps,it4->logicalChannelConfig.prioritizedBitRateKbps, 
"logicalChannelConfig.prioritizedBitRateKbps");
 
  197       NS_TEST_ASSERT_MSG_EQ (it3->logicalChannelConfig.bucketSizeDurationMs,it4->logicalChannelConfig.bucketSizeDurationMs, 
"logicalChannelConfig.bucketSizeDurationMs");
 
  198       NS_TEST_ASSERT_MSG_EQ (it3->logicalChannelConfig.logicalChannelGroup,it4->logicalChannelConfig.logicalChannelGroup, 
"logicalChannelConfig.logicalChannelGroup");
 
  205   std::list<uint8_t>::iterator it5 = srcDrbToReleaseList.begin ();
 
  206   std::list<uint8_t>::iterator it6 = dstDrbToReleaseList.begin ();
 
  208   for (; it5 != srcDrbToReleaseList.end (); it5++, it6++)
 
  219                              "haveSoundingRsUlConfigDedicated");
 
  223                              "soundingRsUlConfigDedicated.type");
 
  226                              "soundingRsUlConfigDedicated.srsBandwidth");
 
  230                              "soundingRsUlConfigDedicated.srsConfigIndex");
 
  234                              "haveAntennaInfoDedicated");
 
  240                                  "antennaInfo.transmissionMode");
 
  245                              "havePdschConfigDedicated");
 
  251                                  "pdschConfigDedicated.pa");
 
  261   virtual void DoRun (
void);
 
  271   packet = Create<Packet> ();
 
  272   NS_LOG_DEBUG (
"============= RrcConnectionRequestTestCase ===========");
 
  281   TestUtils::LogPacketInfo<RrcConnectionRequestHeader> (source,
"SOURCE");
 
  294   TestUtils::LogPacketInfo<RrcConnectionRequestHeader> (destination,
"DESTINATION");
 
  308   virtual void DoRun (
void);
 
  318   packet = Create<Packet> ();
 
  319   NS_LOG_DEBUG (
"============= RrcConnectionSetupTestCase ===========");
 
  329   TestUtils::LogPacketInfo<RrcConnectionSetupHeader> (source,
"SOURCE");
 
  342   TestUtils::LogPacketInfo<RrcConnectionSetupHeader> (destination,
"DESTINATION");
 
  345   NS_TEST_ASSERT_MSG_EQ (source.GetRrcTransactionIdentifier (),destination.GetRrcTransactionIdentifier (), 
"RrcTransactionIdentifier");
 
  357   virtual void DoRun (
void);
 
  367   packet = Create<Packet> ();
 
  368   NS_LOG_DEBUG (
"============= RrcConnectionSetupCompleteTestCase ===========");
 
  377   TestUtils::LogPacketInfo<RrcConnectionSetupCompleteHeader> (source,
"SOURCE");
 
  390   TestUtils::LogPacketInfo<RrcConnectionSetupCompleteHeader> (destination,
"DESTINATION");
 
  393   NS_TEST_ASSERT_MSG_EQ (source.GetRrcTransactionIdentifier (),destination.GetRrcTransactionIdentifier (), 
"RrcTransactionIdentifier");
 
  403   virtual void DoRun (
void);
 
  414   packet = Create<Packet> ();
 
  415   NS_LOG_DEBUG (
"============= RrcConnectionReconfigurationCompleteTestCase ===========");
 
  424   TestUtils::LogPacketInfo<RrcConnectionReconfigurationCompleteHeader> (source,
"SOURCE");
 
  437   TestUtils::LogPacketInfo<RrcConnectionReconfigurationCompleteHeader> (destination,
"DESTINATION");
 
  440   NS_TEST_ASSERT_MSG_EQ (source.GetRrcTransactionIdentifier (),destination.GetRrcTransactionIdentifier (), 
"RrcTransactionIdentifier");
 
  450   virtual void DoRun (
void);
 
  461   packet = Create<Packet> ();
 
  462   NS_LOG_DEBUG (
"============= RrcConnectionReconfigurationTestCase ===========");
 
  548   measIdToAddMod.
measId = 7;
 
  551   measIdToAddMod2.
measId = 4;
 
  581   TestUtils::LogPacketInfo<RrcConnectionReconfigurationHeader> (source,
"SOURCE");
 
  594   TestUtils::LogPacketInfo<RrcConnectionReconfigurationHeader> (destination,
"DESTINATION");
 
  597   NS_TEST_ASSERT_MSG_EQ (source.GetRrcTransactionIdentifier (),destination.GetRrcTransactionIdentifier (), 
"RrcTransactionIdentifier");
 
  598   NS_TEST_ASSERT_MSG_EQ (source.GetHaveMeasConfig (),destination.GetHaveMeasConfig (), 
"GetHaveMeasConfig");
 
  599   NS_TEST_ASSERT_MSG_EQ (source.GetHaveMobilityControlInfo (),destination.GetHaveMobilityControlInfo (), 
"GetHaveMobilityControlInfo");
 
  600   NS_TEST_ASSERT_MSG_EQ (source.GetHaveRadioResourceConfigDedicated (),destination.GetHaveRadioResourceConfigDedicated (), 
"GetHaveRadioResourceConfigDedicated");
 
  602   if ( source.GetHaveMobilityControlInfo () )
 
  604       NS_TEST_ASSERT_MSG_EQ (source.GetMobilityControlInfo ().targetPhysCellId,destination.GetMobilityControlInfo ().targetPhysCellId, 
"GetMobilityControlInfo().targetPhysCellId");
 
  605       NS_TEST_ASSERT_MSG_EQ (source.GetMobilityControlInfo ().haveCarrierFreq,destination.GetMobilityControlInfo ().haveCarrierFreq, 
"GetMobilityControlInfo().haveCarrierFreq");
 
  606       NS_TEST_ASSERT_MSG_EQ (source.GetMobilityControlInfo ().haveCarrierBandwidth,destination.GetMobilityControlInfo ().haveCarrierBandwidth, 
"GetMobilityControlInfo().haveCarrierBandwidth");
 
  607       NS_TEST_ASSERT_MSG_EQ (source.GetMobilityControlInfo ().newUeIdentity,destination.GetMobilityControlInfo ().newUeIdentity, 
"GetMobilityControlInfo().newUeIdentity");
 
  608       NS_TEST_ASSERT_MSG_EQ (source.GetMobilityControlInfo ().haveRachConfigDedicated,destination.GetMobilityControlInfo ().haveRachConfigDedicated, 
"GetMobilityControlInfo().haveRachConfigDedicated");
 
  610       if (source.GetMobilityControlInfo ().haveCarrierFreq)
 
  613                                  destination.GetMobilityControlInfo ().carrierFreq.dlCarrierFreq,
 
  614                                  "GetMobilityControlInfo().carrierFreq.dlCarrierFreq");
 
  616                                  destination.GetMobilityControlInfo ().carrierFreq.ulCarrierFreq,
 
  617                                  "GetMobilityControlInfo().carrierFreq.ulCarrierFreq");
 
  620       if (source.GetMobilityControlInfo ().haveCarrierBandwidth)
 
  623                                  destination.GetMobilityControlInfo ().carrierBandwidth.dlBandwidth,
 
  624                                  "GetMobilityControlInfo().carrierBandwidth.dlBandwidth");
 
  626                                  destination.GetMobilityControlInfo ().carrierBandwidth.ulBandwidth,
 
  627                                  "GetMobilityControlInfo().carrierBandwidth.ulBandwidth");
 
  630       if (source.GetMobilityControlInfo ().haveRachConfigDedicated)
 
  633                                  destination.GetMobilityControlInfo ().rachConfigDedicated.raPreambleIndex,
 
  634                                  "GetMobilityControlInfo().rachConfigDedicated.raPreambleIndex");
 
  636                                  destination.GetMobilityControlInfo ().rachConfigDedicated.raPrachMaskIndex,
 
  637                                  "GetMobilityControlInfo().rachConfigDedicated.raPrachMaskIndex");
 
  641   if (source.GetHaveRadioResourceConfigDedicated ())
 
  654   virtual void DoRun (
void);
 
  664   packet = Create<Packet> ();
 
  665   NS_LOG_DEBUG (
"============= HandoverPreparationInfoTestCase ===========");
 
  694   TestUtils::LogPacketInfo<HandoverPreparationInfoHeader> (source,
"SOURCE");
 
  707   TestUtils::LogPacketInfo<HandoverPreparationInfoHeader> (destination,
"DESTINATION");
 
  711   NS_TEST_ASSERT_MSG_EQ (source.GetAsConfig ().sourceUeIdentity, destination.GetAsConfig ().sourceUeIdentity, 
"sourceUeIdentity");
 
  712   NS_TEST_ASSERT_MSG_EQ (source.GetAsConfig ().sourceMasterInformationBlock.dlBandwidth,destination.GetAsConfig ().sourceMasterInformationBlock.dlBandwidth, 
"dlBandwidth");
 
  713   NS_TEST_ASSERT_MSG_EQ (source.GetAsConfig ().sourceMasterInformationBlock.systemFrameNumber, destination.GetAsConfig ().sourceMasterInformationBlock.systemFrameNumber, 
"systemFrameNumber");
 
  714   NS_TEST_ASSERT_MSG_EQ (source.GetAsConfig ().sourceSystemInformationBlockType1.cellAccessRelatedInfo.plmnIdentityInfo.plmnIdentity, destination.GetAsConfig ().sourceSystemInformationBlockType1.cellAccessRelatedInfo.plmnIdentityInfo.plmnIdentity, 
"plmnIdentity");
 
  715   NS_TEST_ASSERT_MSG_EQ (source.GetAsConfig ().sourceSystemInformationBlockType1.cellAccessRelatedInfo.csgIndication, destination.GetAsConfig ().sourceSystemInformationBlockType1.cellAccessRelatedInfo.csgIndication, 
"csgIndication");
 
  716   NS_TEST_ASSERT_MSG_EQ (source.GetAsConfig ().sourceSystemInformationBlockType1.cellAccessRelatedInfo.cellIdentity, destination.GetAsConfig ().sourceSystemInformationBlockType1.cellAccessRelatedInfo.cellIdentity, 
"cellIdentity");
 
  717   NS_TEST_ASSERT_MSG_EQ (source.GetAsConfig ().sourceSystemInformationBlockType1.cellAccessRelatedInfo.csgIdentity, destination.GetAsConfig ().sourceSystemInformationBlockType1.cellAccessRelatedInfo.csgIdentity, 
"csgIdentity");
 
  718   NS_TEST_ASSERT_MSG_EQ (source.GetAsConfig ().sourceDlCarrierFreq, destination.GetAsConfig ().sourceDlCarrierFreq, 
"sourceDlCarrierFreq");
 
  728   virtual void DoRun (
void);
 
  738   packet = Create<Packet> ();
 
  739   NS_LOG_DEBUG (
"============= RrcConnectionReestablishmentRequestTestCase ===========");
 
  750   TestUtils::LogPacketInfo<RrcConnectionReestablishmentRequestHeader> (source,
"SOURCE");
 
  763   TestUtils::LogPacketInfo<RrcConnectionReestablishmentRequestHeader> (destination,
"DESTINATION");
 
  767   NS_TEST_ASSERT_MSG_EQ (source.GetUeIdentity ().physCellId, destination.GetUeIdentity ().physCellId, 
"physCellId");
 
  768   NS_TEST_ASSERT_MSG_EQ (source.GetReestablishmentCause (),destination.GetReestablishmentCause (), 
"ReestablishmentCause");
 
  778   virtual void DoRun (
void);
 
  788   packet = Create<Packet> ();
 
  789   NS_LOG_DEBUG (
"============= RrcConnectionReestablishmentTestCase ===========");
 
  799   TestUtils::LogPacketInfo<RrcConnectionReestablishmentHeader> (source,
"SOURCE");
 
  812   TestUtils::LogPacketInfo<RrcConnectionReestablishmentHeader> (destination,
"DESTINATION");
 
  815   NS_TEST_ASSERT_MSG_EQ (source.GetRrcTransactionIdentifier (), destination.GetRrcTransactionIdentifier (), 
"rrcTransactionIdentifier");
 
  826   virtual void DoRun (
void);
 
  836   packet = Create<Packet> ();
 
  837   NS_LOG_DEBUG (
"============= RrcConnectionReestablishmentCompleteTestCase ===========");
 
  846   TestUtils::LogPacketInfo<RrcConnectionReestablishmentCompleteHeader> (source,
"SOURCE");
 
  859   TestUtils::LogPacketInfo<RrcConnectionReestablishmentCompleteHeader> (destination,
"DESTINATION");
 
  862   NS_TEST_ASSERT_MSG_EQ (source.GetRrcTransactionIdentifier (), destination.GetRrcTransactionIdentifier (), 
"rrcTransactionIdentifier");
 
  872   virtual void DoRun (
void);
 
  882   packet = Create<Packet> ();
 
  883   NS_LOG_DEBUG (
"============= RrcConnectionRejectTestCase ===========");
 
  892   TestUtils::LogPacketInfo<RrcConnectionRejectHeader> (source,
"SOURCE");
 
  905   TestUtils::LogPacketInfo<RrcConnectionRejectHeader> (destination,
"DESTINATION");
 
  908   NS_TEST_ASSERT_MSG_EQ (source.GetMessage ().waitTime, destination.GetMessage ().waitTime, 
"Different waitTime!");
 
  918   virtual void DoRun (
void);
 
  928   packet = Create<Packet> ();
 
  929   NS_LOG_DEBUG (
"============= MeasurementReportTestCase ===========");
 
  954   TestUtils::LogPacketInfo<MeasurementReportHeader> (source,
"SOURCE");
 
  967   TestUtils::LogPacketInfo<MeasurementReportHeader> (destination,
"DESTINATION");
 
  978   if (srcMeas.haveMeasResultNeighCells)
 
  980       std::list<LteRrcSap::MeasResultEutra>::iterator itsrc = srcMeas.measResultListEutra.begin ();
 
  981       std::list<LteRrcSap::MeasResultEutra>::iterator itdst = dstMeas.
measResultListEutra.begin ();
 
  982       for (; itsrc != srcMeas.measResultListEutra.end (); itsrc++, itdst++)
 
  987           if (itsrc->haveCgiInfo)
 
  989               NS_TEST_ASSERT_MSG_EQ (itsrc->cgiInfo.plmnIdentity, itdst->cgiInfo.plmnIdentity, 
"Different cgiInfo.plmnIdentity!");
 
  990               NS_TEST_ASSERT_MSG_EQ (itsrc->cgiInfo.cellIdentity, itdst->cgiInfo.cellIdentity, 
"Different cgiInfo.cellIdentity!");
 
  991               NS_TEST_ASSERT_MSG_EQ (itsrc->cgiInfo.trackingAreaCode, itdst->cgiInfo.trackingAreaCode, 
"Different cgiInfo.trackingAreaCode!");
 
  992               NS_TEST_ASSERT_MSG_EQ (itsrc->cgiInfo.plmnIdentityList.size (), itdst->cgiInfo.plmnIdentityList.size (), 
"Different cgiInfo.plmnIdentityList.size()!");
 
  994               if (!itsrc->cgiInfo.plmnIdentityList.empty ())
 
  996                   std::list<uint32_t>::iterator itsrc2 = itsrc->cgiInfo.plmnIdentityList.begin ();
 
  997                   std::list<uint32_t>::iterator itdst2 = itdst->cgiInfo.plmnIdentityList.begin ();
 
  998                   for (; itsrc2 != itsrc->cgiInfo.plmnIdentityList.begin (); itsrc2++, itdst2++)
 
 1006           if (itsrc->haveRsrpResult)
 
 1012           if (itsrc->haveRsrqResult)
 
 1031   : 
TestSuite (
"test-asn1-encoding", UNIT)
 
enum ns3::LteRrcSap::ReportConfigEutra::@73 reportQuantity
The quantities to be included in the measurement report, always assumed to be BOTH. 
 
uint32_t RemoveHeader(Header &header)
Deserialize and remove the header from the internal buffer. 
 
SystemInformationBlockType2 sourceSystemInformationBlockType2
 
CarrierFreqEutra carrierFreq
 
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
 
PdschConfigDedicated pdschConfigDedicated
 
PhysCellIdRange physCellIdRange
 
MeasConfig sourceMeasConfig
 
std::list< MeasObjectToAddMod > measObjectToAddModList
 
uint8_t numberOfRaPreambles
 
SoundingRsUlConfigDedicated soundingRsUlConfigDedicated
 
bool presenceAntennaPort1
 
uint8_t hysteresis
Parameter used within the entry and leave condition of an event triggered reporting condition...
 
std::list< CellsToAddMod > cellsToAddModList
 
Asn1EncodingSuite asn1EncodingSuite
 
QuantityConfig quantityConfig
 
enum ns3::LteRrcSap::ReportConfigEutra::@70 eventId
Choice of E-UTRA event triggered reporting criteria. 
 
std::list< uint8_t > reportConfigToRemoveList
 
std::list< MeasResultEutra > measResultListEutra
 
enum ns3::LteRrcSap::ReportConfigEutra::@69 triggerType
 
ThresholdEutra threshold1
Threshold for event A1, A2, A4, and A5. 
 
static std::string sprintPacketContentsHex(Ptr< Packet > pkt)
 
std::list< SrbToAddMod > srbToAddModList
 
RadioResourceConfigDedicated radioResourceConfigDedicated
 
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name. 
 
std::list< uint8_t > measObjectToRemoveList
 
uint32_t GetSize(void) const 
Returns the the size in bytes of the packet (including the zero-filled initial payload). 
 
MeasObjectEutra measObjectEutra
 
uint16_t sourceUeIdentity
 
static void LogPacketInfo(T source, std::string s)
 
RrcConnectionReconfigurationCompleteTestCase()
 
static void LogPacketContents(Ptr< Packet > pkt)
 
RachConfigDedicated rachConfigDedicated
 
uint8_t rrcTransactionIdentifier
 
virtual void DoRun(void)
Implementation to actually run this TestCase. 
 
bool haveRadioResourceConfigDedicated
 
uint16_t trackingAreaCode
 
std::list< BlackCellsToAddMod > blackCellsToAddModList
 
SystemInformationBlockType1 sourceSystemInformationBlockType1
 
uint8_t rrcTransactionIdentifier
 
PreambleInfo preambleInfo
 
virtual void DoRun(void)
Implementation to actually run this TestCase. 
 
virtual void DoRun(void)
Implementation to actually run this TestCase. 
 
enum ns3::LteRrcSap::ReportConfigEutra::@71 purpose
 
static std::string sprintPacketContentsBin(Ptr< Packet > pkt)
 
static std::string sprintPacketContentsHex(Ptr< Packet > pkt)
 
RrcConnectionSetupTestCase()
 
uint8_t epsBearerIdentity
 
void AddTestCase(TestCase *testCase, enum TestDuration duration)
Add an individual child TestCase to this test suite. 
 
RachConfigCommon rachConfigCommon
 
enum ns3::LteRrcSap::MeasGapConfig::@75 type
 
ReportConfigEutra reportConfigEutra
 
RrcConnectionReestablishmentTestCase()
 
uint8_t logicalChannelGroup
 
uint8_t rrcTransactionIdentifier
 
#define NS_TEST_ASSERT_MSG_EQ(actual, limit, msg)
Test that an actual and expected (limit) value are equal and report and abort if not. 
 
enum ns3::LteRrcSap::SpeedStatePars::@77 type
 
std::list< MeasIdToAddMod > measIdToAddModList
 
bool haveRachConfigDedicated
 
RrcConnectionReestablishmentRequestTestCase()
 
MeasurementReportTestCase()
 
PhysicalConfigDedicated physicalConfigDedicated
 
uint8_t filterCoefficientRSRP
 
HandoverPreparationInfoTestCase()
 
uint8_t rrcTransactionIdentifier
 
virtual void DoRun(void)
Implementation to actually run this TestCase. 
 
MobilityStateParameters mobilityStateParameters
 
RadioResourceConfigDedicated radioResourceConfigDedicated
 
virtual void DoRun(void)
Implementation to actually run this TestCase. 
 
uint8_t rrcTransactionIdentifier
 
RadioResourceConfigDedicated sourceRadioResourceConfig
 
bool reportOnLeave
Indicates whether or not the UE shall initiate the measurement reporting procedure when the leaving c...
 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
 
uint16_t targetPhysCellId
 
uint8_t rrcTransactionIdentifier
 
bool haveMobilityControlInfo
 
uint16_t prioritizedBitRateKbps
 
uint8_t maxReportCells
Maximum number of cells, excluding the serving cell, to be included in the measurement report...
 
int8_t cellIndividualOffset
 
RadioResourceConfigDedicated radioResourceConfigDedicated
 
bool haveMeasResultNeighCells
 
uint8_t cellForWhichToReportCGI
 
uint8_t filterCoefficientRSRQ
 
bool havePdschConfigDedicated
 
RrcConnectionRequestTestCase()
 
uint8_t logicalChannelIdentity
 
This class manages the serialization/deserialization of HandoverPreparationInfo IE. 
 
MeasGapConfig measGapConfig
 
uint8_t range
Value range used in RSRP/RSRQ threshold. 
 
bool havePhysicalConfigDedicated
 
uint8_t reportAmount
Number of measurement reports applicable, always assumed to be infinite. 
 
bool haveSoundingRsUlConfigDedicated
 
void SetMessage(LteRrcSap::HandoverPreparationInfo msg)
Receives a HandoverPreparationInfo IE and stores the contents into the class attributes. 
 
RadioResourceConfigCommon radioResourceConfigCommon
 
enum ns3::LteRrcSap::ReportConfigEutra::@72 triggerQuantity
The quantities used to evaluate the triggering condition for the event, see 3GPP TS 36...
 
CarrierBandwidthEutra carrierBandwidth
 
enum ns3::LteRrcSap::SoundingRsUlConfigDedicated::@66 type
 
int8_t a3Offset
Offset value for Event A3. An integer between -30 and 30. The actual value is (value * 0...
 
virtual void DoRun(void)
Implementation to actually run this TestCase. 
 
LogicalChannelConfig logicalChannelConfig
 
RachConfigCommon rachConfigCommon
 
SpeedStatePars speedStatePars
 
uint8_t raResponseWindowSize
 
bool haveCarrierBandwidth
 
virtual void DoRun(void)
Implementation to actually run this TestCase. 
 
bool haveAntennaInfoDedicated
 
std::list< uint8_t > blackCellsToRemoveList
 
enum ns3::LteRrcSap::ThresholdEutra::@68 choice
 
enum ns3::LteRrcSap::RlcConfig::@64 choice
 
uint8_t allowedMeasBandwidth
 
std::list< DrbToAddMod > drbToAddModList
 
uint16_t sourceDlCarrierFreq
 
#define NS_LOG_DEBUG(msg)
Use NS_LOG to output a message of level LOG_DEBUG. 
 
enum ns3::LteRrcSap::ReportConfigEutra::@74 reportInterval
Indicates the interval between periodical reports. 
 
RrcConnectionReestablishmentCompleteTestCase()
 
RrcConnectionReconfigurationTestCase()
 
MobilityControlInfo mobilityControlInfo
 
uint32_t CopyData(uint8_t *buffer, uint32_t size) const 
Copy the packet contents to a byte buffer. 
 
enum ns3::LteRrcSap::MeasGapConfig::@76 gapOffsetChoice
 
virtual void DoRun(void)
Implementation to actually run this TestCase. 
 
AntennaInfoDedicated antennaInfo
 
virtual void DoRun(void)
Implementation to actually run this TestCase. 
 
virtual void DoRun(void)
Implementation to actually run this TestCase. 
 
std::list< uint8_t > cellsToRemoveList
 
ReestablishmentCause reestablishmentCause
 
RrcConnectionSetupCompleteTestCase()
 
RrcConnectionRejectTestCase()
 
static std::string sprintPacketContentsBin(Ptr< Packet > pkt)
 
uint16_t timeToTrigger
Time during which specific criteria for the event needs to be met in order to trigger a measurement r...
 
uint16_t bucketSizeDurationMs
 
std::list< uint8_t > measIdToRemoveList
 
std::list< ReportConfigToAddMod > reportConfigToAddModList
 
ReestabUeIdentity ueIdentity
 
std::list< uint8_t > drbToReleaseList
 
SpeedStateScaleFactors timeToTriggerSf
 
void AddHeader(const Header &header)
Add header to this packet. 
 
RaSupervisionInfo raSupervisionInfo
 
uint8_t nCellChangeMedium
 
MasterInformationBlock sourceMasterInformationBlock
 
bool haveCellForWhichToReportCGI
 
ThresholdEutra threshold2
Threshold for event A5. 
 
virtual void DoRun(void)
Implementation to actually run this TestCase.