22#ifndef LTE_TEST_DOWNLINK_POWER_CONTROL_H
23#define LTE_TEST_DOWNLINK_POWER_CONTROL_H
25#include "ns3/spectrum-value.h"
26#include <ns3/lte-rrc-sap.h>
28#include "ns3/spectrum-test.h"
29#include "ns3/lte-spectrum-value-helper.h"
78 uint16_t earfcn, uint16_t bw,
double powerTx,
79 std::map<int, double> powerTxMap, std::vector <int> activeRbs,
84 virtual void DoRun (
void);
112 virtual void DoRun (
void);
168 virtual void DoRun (
void);
Test if RRC connection reconfiguration messages are properly generated upon the change in the downlin...
void ConnectionReconfigurationEnb(std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti)
Connection Reconfiguration ENB.
virtual void DoRun(void)
Implementation to actually run this TestCase.
virtual ~LteDownlinkPowerControlRrcConnectionReconfigurationTestCase()
LteDownlinkPowerControlRrcConnectionReconfigurationTestCase(bool useIdealRrc, std::string name)
Constructor.
void ConnectionReconfigurationUe(std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti)
Connection Reconfiguration UE.
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.
LteDownlinkPowerControlSpectrumValueTestCase(std::string name, uint16_t earfcn, uint16_t bw, double powerTx, std::map< int, double > powerTxMap, std::vector< int > activeRbs, SpectrumValue &expected)
Constructor.
Ptr< SpectrumValue > m_actual
actual Tx Power Spectral Density
Ptr< SpectrumValue > m_expected
expected Tx Power Spectral Density
virtual void DoRun(void)
Implementation to actually run this TestCase.
virtual ~LteDownlinkPowerControlSpectrumValueTestCase()
Test SINR calculation in the downlink when the power control is used.
double m_expectedPowerDiff
expected power difference
virtual void DoRun(void)
Implementation to actually run this TestCase.
LteRrcSap::PdschConfigDedicated m_pdschConfigDedicated
PDSCH config dedicated.
LteDownlinkPowerControlTestCase(bool changePower, uint8_t pa, std::string name)
Constructor.
virtual ~LteDownlinkPowerControlTestCase()
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.
Set of values corresponding to a given SpectrumModel.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
PdschConfigDedicated structure.