A Discrete-Event Network Simulator
API
LteDownlinkPowerControlRrcConnectionReconfigurationTestCase Class Reference

Test if RRC connection reconfiguration messages are properly generated upon the change in the downlink power. More...

#include "lte-test-downlink-power-control.h"

+ Inheritance diagram for LteDownlinkPowerControlRrcConnectionReconfigurationTestCase:
+ Collaboration diagram for LteDownlinkPowerControlRrcConnectionReconfigurationTestCase:

Public Member Functions

 LteDownlinkPowerControlRrcConnectionReconfigurationTestCase (bool useIdealRrc, std::string name)
 Constructor. More...
 
 ~LteDownlinkPowerControlRrcConnectionReconfigurationTestCase () override
 
void ChangePdschConfigDedicated (uint16_t rnti, uint8_t pa)
 Change PDSCH config dedicated. More...
 
void ConnectionReconfigurationEnb (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti)
 Connection Reconfiguration ENB. More...
 
void ConnectionReconfigurationUe (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti)
 Connection Reconfiguration UE. More...
 
- Public Member Functions inherited from ns3::TestCase
 TestCase (const TestCase &)=delete
 
virtual ~TestCase ()
 Destructor. More...
 
std::string GetName () const
 
TestCaseoperator= (const TestCase &)=delete
 

Private Member Functions

void DoRun () override
 Implementation to actually run this TestCase. More...
 

Private Attributes

bool m_changePdschConfigDedicatedTriggered
 change PDSCH config dedicated triggered? More...
 
bool m_connectionReconfigurationEnbCompleted
 connection reconfiguration ENB completed? More...
 
bool m_connectionReconfigurationUeReceived
 connection reconfiguration UE received? More...
 
bool m_useIdealRrc
 use ideal RRC? More...
 

Additional Inherited Members

- Public Types inherited from ns3::TestCase
enum  TestDuration { QUICK = 1 , EXTENSIVE = 2 , TAKES_FOREVER = 3 }
 How long the test takes to execute. More...
 
- Protected Member Functions inherited from ns3::TestCase
 TestCase (std::string name)
 Constructor. More...
 
void AddTestCase (TestCase *testCase, TestDuration duration=QUICK)
 Add an individual child TestCase to this test suite. More...
 
TestCaseGetParent () const
 Get the parent of this TestCase. More...
 
bool IsStatusFailure () const
 Check if any tests failed. More...
 
bool IsStatusSuccess () const
 Check if all tests passed. More...
 
void SetDataDir (std::string directory)
 Set the data directory where reference trace files can be found. More...
 
void ReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line)
 Log the failure of this TestCase. More...
 
bool MustAssertOnFailure () const
 Check if this run should assert on failure. More...
 
bool MustContinueOnFailure () const
 Check if this run should continue on failure. More...
 
std::string CreateDataDirFilename (std::string filename)
 Construct the full path to a file in the data directory. More...
 
std::string CreateTempDirFilename (std::string filename)
 Construct the full path to a file in a temporary directory. More...
 

Detailed Description

Test if RRC connection reconfiguration messages are properly generated upon the change in the downlink power.

Definition at line 122 of file lte-test-downlink-power-control.h.

Constructor & Destructor Documentation

◆ LteDownlinkPowerControlRrcConnectionReconfigurationTestCase()

LteDownlinkPowerControlRrcConnectionReconfigurationTestCase::LteDownlinkPowerControlRrcConnectionReconfigurationTestCase ( bool  useIdealRrc,
std::string  name 
)

Constructor.

Parameters
useIdealRrcif true use ideal RRC
namethe reference name

Definition at line 566 of file lte-test-downlink-power-control.cc.

◆ ~LteDownlinkPowerControlRrcConnectionReconfigurationTestCase()

LteDownlinkPowerControlRrcConnectionReconfigurationTestCase::~LteDownlinkPowerControlRrcConnectionReconfigurationTestCase ( )
override

Definition at line 576 of file lte-test-downlink-power-control.cc.

Member Function Documentation

◆ ChangePdschConfigDedicated()

void LteDownlinkPowerControlRrcConnectionReconfigurationTestCase::ChangePdschConfigDedicated ( uint16_t  rnti,
uint8_t  pa 
)

Change PDSCH config dedicated.

Parameters
rntithe RNTI
pathe PA

Definition at line 610 of file lte-test-downlink-power-control.cc.

References m_changePdschConfigDedicatedTriggered, and NS_LOG_DEBUG.

Referenced by ChangePdschConfigDedicatedCallback().

+ Here is the caller graph for this function:

◆ ConnectionReconfigurationEnb()

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

Connection Reconfiguration ENB.

Parameters
contextthe context name
imsithe IMSI
cellidthe cell ID
rntithe RNTI

Definition at line 582 of file lte-test-downlink-power-control.cc.

References m_connectionReconfigurationEnbCompleted, ns3::MilliSeconds(), ns3::Now(), and NS_LOG_DEBUG.

Referenced by NotifyConnectionReconfigurationEnb().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ConnectionReconfigurationUe()

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

Connection Reconfiguration UE.

Parameters
contextthe context name
imsithe IMSI
cellidthe cell ID
rntithe RNTI

Definition at line 596 of file lte-test-downlink-power-control.cc.

References m_connectionReconfigurationUeReceived, ns3::MilliSeconds(), ns3::Now(), and NS_LOG_DEBUG.

Referenced by NotifyConnectionReconfigurationUe().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DoRun()

Member Data Documentation

◆ m_changePdschConfigDedicatedTriggered

bool LteDownlinkPowerControlRrcConnectionReconfigurationTestCase::m_changePdschConfigDedicatedTriggered
private

change PDSCH config dedicated triggered?

Definition at line 172 of file lte-test-downlink-power-control.h.

Referenced by ChangePdschConfigDedicated(), and DoRun().

◆ m_connectionReconfigurationEnbCompleted

bool LteDownlinkPowerControlRrcConnectionReconfigurationTestCase::m_connectionReconfigurationEnbCompleted
private

connection reconfiguration ENB completed?

Definition at line 174 of file lte-test-downlink-power-control.h.

Referenced by ConnectionReconfigurationEnb(), and DoRun().

◆ m_connectionReconfigurationUeReceived

bool LteDownlinkPowerControlRrcConnectionReconfigurationTestCase::m_connectionReconfigurationUeReceived
private

connection reconfiguration UE received?

Definition at line 173 of file lte-test-downlink-power-control.h.

Referenced by ConnectionReconfigurationUe(), and DoRun().

◆ m_useIdealRrc

bool LteDownlinkPowerControlRrcConnectionReconfigurationTestCase::m_useIdealRrc
private

use ideal RRC?

Definition at line 170 of file lte-test-downlink-power-control.h.

Referenced by DoRun().


The documentation for this class was generated from the following files: