21#ifndef LTE_TEST_DOWNLINK_POWER_CONTROL_H
22#define LTE_TEST_DOWNLINK_POWER_CONTROL_H
24#include "ns3/lte-spectrum-value-helper.h"
25#include "ns3/spectrum-test.h"
26#include "ns3/spectrum-value.h"
28#include <ns3/lte-rrc-sap.h>
76 std::map<int, double> powerTxMap,
77 std::vector<int> activeRbs,
82 void DoRun()
override;
108 void DoRun()
override;
169 void DoRun()
override;
Test if RRC connection reconfiguration messages are properly generated upon the change in the downlin...
~LteDownlinkPowerControlRrcConnectionReconfigurationTestCase() override
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.
void DoRun() override
Implementation to actually run this TestCase.
bool m_useIdealRrc
use ideal RRC?
bool m_changePdschConfigDedicatedTriggered
change PDSCH config dedicated triggered?
bool m_connectionReconfigurationUeReceived
connection reconfiguration UE received?
void ChangePdschConfigDedicated(uint16_t rnti, uint8_t pa)
Change PDSCH config dedicated.
bool m_connectionReconfigurationEnbCompleted
connection reconfiguration ENB completed?
Test SINR calculation in the downlink when power control is used.
Ptr< SpectrumValue > m_actual
actual Tx Power Spectral Density
void DoRun() override
Implementation to actually run this TestCase.
Ptr< SpectrumValue > m_expected
expected Tx Power Spectral Density
~LteDownlinkPowerControlSpectrumValueTestCase() override
Test SINR calculation in the downlink when the power control is used.
double m_expectedPowerDiff
expected power difference
~LteDownlinkPowerControlTestCase() override
void DoRun() override
Implementation to actually run this TestCase.
LteRrcSap::PdschConfigDedicated m_pdschConfigDedicated
PDSCH config dedicated.
bool m_changePdschConfigDedicated
PDSCH config dedicated change.
Test suite for the LteDownlinkPowerControlSpectrumValueTestCase.
double CalculateRbTxPower(double txPower, uint8_t pa)
Calculate RB transmit power function.
LteDownlinkPowerControlTestSuite()
TestSuite.
Smart pointer class similar to boost::intrusive_ptr.
Set of values corresponding to a given SpectrumModel.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
PdschConfigDedicated structure.