A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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.
 
 ~LteDownlinkPowerControlRrcConnectionReconfigurationTestCase () override
 
void ChangePdschConfigDedicated (uint16_t rnti, uint8_t pa)
 Change PDSCH config dedicated.
 
void ConnectionReconfigurationEnb (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti)
 Connection Reconfiguration ENB.
 
void ConnectionReconfigurationUe (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti)
 Connection Reconfiguration UE.
 
- Public Member Functions inherited from ns3::TestCase
 TestCase (const TestCase &)=delete
 
virtual ~TestCase ()
 Destructor.
 
std::string GetName () const
 
TestCaseoperator= (const TestCase &)=delete
 

Private Member Functions

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

Private Attributes

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

Additional Inherited Members

- Public Types inherited from ns3::TestCase
enum class  Duration { QUICK = 1 , EXTENSIVE = 2 , TAKES_FOREVER = 3 }
 How long the test takes to execute. More...
 
using instead = Duration
 
- Static Public Attributes inherited from ns3::TestCase
static constexpr auto EXTENSIVE = Duration::EXTENSIVE
 
static constexpr auto QUICK = Duration::QUICK
 
static constexpr auto TAKES_FOREVER
 
- Protected Member Functions inherited from ns3::TestCase
 TestCase (std::string name)
 Constructor.
 
void AddTestCase (TestCase *testCase, Duration duration=Duration::QUICK)
 Add an individual child TestCase to this test suite.
 
TestCaseGetParent () const
 Get the parent of this TestCase.
 
bool IsStatusFailure () const
 Check if any tests failed.
 
bool IsStatusSuccess () const
 Check if all tests passed.
 
void SetDataDir (std::string directory)
 Set the data directory where reference trace files can be found.
 
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.
 
bool MustAssertOnFailure () const
 Check if this run should assert on failure.
 
bool MustContinueOnFailure () const
 Check if this run should continue on failure.
 
std::string CreateDataDirFilename (std::string filename)
 Construct the full path to a file in the data directory.
 
std::string CreateTempDirFilename (std::string filename)
 Construct the full path to a file in a temporary directory.
 

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::Simulator::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::Simulator::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()

void LteDownlinkPowerControlRrcConnectionReconfigurationTestCase::DoRun ( )
overrideprivatevirtual

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: