A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::LteUePhy Class Reference

#include <lte-ue-phy.h>

+ Inheritance diagram for ns3::LteUePhy:
+ Collaboration diagram for ns3::LteUePhy:

Public Member Functions

 LteUePhy ()
 LteUePhy (Ptr< LteSpectrumPhy > dlPhy, Ptr< LteSpectrumPhy > ulPhy)
virtual ~LteUePhy ()
Ptr< DlCqiLteControlMessageCreateDlCqiFeedbackMessage (const SpectrumValue &sinr)
 Create the DL CQI feedback from SINR values perceived at the physical layer with the signal received from eNB.
virtual Ptr< SpectrumValueCreateTxPowerSpectralDensity ()
 Create the PSD for the TX.
virtual void DoDispose (void)
virtual void DoSendLteControlMessage (Ptr< LteControlMessage > msg)
virtual void DoSendMacPdu (Ptr< Packet > p)
 Queue the MAC PDU to be sent.
virtual void DoSetSrsConfigurationIndex (uint16_t srcCi)
virtual void DoSetTransmissionMode (uint8_t txMode)
virtual void DoStart (void)
virtual void GenerateCtrlCqiReport (const SpectrumValue &sinr)
virtual void GenerateDataCqiReport (const SpectrumValue &sinr)
LteUePhySapProviderGetLteUePhySapProvider ()
 Get the PHY SAP provider.
uint8_t GetMacChDelay (void) const
double GetNoiseFigure () const
std::vector< int > GetSubChannelsForReception (void)
 Get a list of sub channels to use in RX.
std::vector< int > GetSubChannelsForTransmission (void)
 Get a list of sub channels to use in RX.
double GetTxPower () const
void PhyPduReceived (Ptr< Packet > p)
 PhySpectrum received a new PHY-PDU.
virtual void ReceiveLteControlMessageList (std::list< Ptr< LteControlMessage > >)
void SendSrs ()
 Send the SRS signal in the last symbols of the frame.
void SetEnbCellId (uint16_t cellId)
void SetLteUePhySapUser (LteUePhySapUser *s)
 Set the PHY SAP User.
void SetNoiseFigure (double pow)
void SetRnti (uint16_t rnti)
void SetSubChannelsForReception (std::vector< int > mask)
 Get a list of sub channels to use in RX.
void SetSubChannelsForTransmission (std::vector< int > mask)
 Set a list of sub channels to use in TX.
void SetTxPower (double pow)
void SubframeIndication (uint32_t frameNo, uint32_t subframeNo)
 trigger from eNB the start from a new frame
- Public Member Functions inherited from ns3::LtePhy
 LtePhy ()
 LtePhy (Ptr< LteSpectrumPhy > dlPhy, Ptr< LteSpectrumPhy > ulPhy)
virtual ~LtePhy ()
void DoSetBandwidth (uint8_t ulBandwidth, uint8_t dlBandwidth)
void DoSetCellId (uint16_t cellId)
virtual void DoSetEarfcn (uint16_t dlEarfcn, uint16_t ulEarfcn)
std::list< Ptr
< LteControlMessage > > 
GetControlMessages (void)
Ptr< LteNetDeviceGetDevice ()
 Get the device where the phy layer is attached.
Ptr< LteSpectrumPhyGetDownlinkSpectrumPhy ()
Ptr< PacketBurstGetPacketBurst (void)
uint8_t GetRbgSize (void) const
uint16_t GetSrsPeriodicity (uint16_t srcCi) const
uint16_t GetSrsSubframeOffset (uint16_t srcCi) const
double GetTti (void) const
Ptr< LteSpectrumPhyGetUplinkSpectrumPhy ()
void SetControlMessages (Ptr< LteControlMessage > m)
void SetDevice (Ptr< LteNetDevice > d)
 Set the device where the phy layer is attached.
void SetDownlinkChannel (Ptr< SpectrumChannel > c)
void SetMacPdu (Ptr< Packet > p)
void SetTti (double tti)
 Receive SendLteControlMessage (PDCCH map, CQI feedbacks) using the ideal control channel.
void SetUplinkChannel (Ptr< SpectrumChannel > c)
- Public Member Functions inherited from ns3::Object
 Object ()
virtual ~Object ()
void AggregateObject (Ptr< Object > other)
void Dispose (void)
AggregateIterator GetAggregateIterator (void) const
virtual TypeId GetInstanceTypeId (void) const
template<typename T >
Ptr< T > GetObject (void) const
template<typename T >
Ptr< T > GetObject (TypeId tid) const
void Start (void)
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount ()
 SimpleRefCount (const SimpleRefCount &o)
uint32_t GetReferenceCount (void) const
SimpleRefCountoperator= (const SimpleRefCount &o)
void Ref (void) const
void Unref (void) const
- Public Member Functions inherited from ns3::ObjectBase
virtual ~ObjectBase ()
void GetAttribute (std::string name, AttributeValue &value) const
bool GetAttributeFailSafe (std::string name, AttributeValue &attribute) const
void SetAttribute (std::string name, const AttributeValue &value)
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)

Static Public Member Functions

static TypeId GetTypeId (void)

Private Member Functions

void QueueSubChannelsForTransmission (std::vector< int > rbMap)
void SetTxMode1Gain (double gain)
void SetTxMode2Gain (double gain)
void SetTxMode3Gain (double gain)
void SetTxMode4Gain (double gain)
void SetTxMode5Gain (double gain)
void SetTxMode6Gain (double gain)
void SetTxMode7Gain (double gain)
void SetTxModeGain (uint8_t txMode, double gain)

Private Attributes

Time m_a30CqiLast
Time m_a30CqiPeriocity
Ptr< LteAmcm_amc
uint16_t m_enbCellId
Time m_p10CqiLast
Time m_p10CqiPeriocity
uint16_t m_rnti
uint16_t m_srsCounter
uint16_t m_srsPeriodicity
std::vector< int > m_subChannelsForReception
std::vector< int > m_subChannelsForTransmission
std::vector< std::vector< int > > m_subChannelsForTransmissionQueue
uint8_t m_transmissionMode
std::vector< double > m_txModeGain
LteUePhySapProviderm_uePhySapProvider
LteUePhySapUserm_uePhySapUser

Friends

class UeMemberLteUePhySapProvider

Additional Inherited Members

- Protected Member Functions inherited from ns3::Object
 Object (const Object &o)
virtual void NotifyNewAggregate (void)
- Protected Attributes inherited from ns3::LtePhy
uint16_t m_cellId
std::vector< std::list< Ptr
< LteControlMessage > > > 
m_controlMessagesQueue
uint8_t m_dlBandwidth
uint16_t m_dlEarfcn
Ptr< LteSpectrumPhym_downlinkSpectrumPhy
uint8_t m_macChTtiDelay
Ptr< LteNetDevicem_netDevice
double m_noiseFigure
std::vector< Ptr< PacketBurst > > m_packetBurstQueue
uint8_t m_rbgSize
double m_tti
double m_txPower
uint8_t m_ulBandwidth
uint16_t m_ulEarfcn
Ptr< LteSpectrumPhym_uplinkSpectrumPhy

Detailed Description

The LteSpectrumPhy models the physical layer of LTE

Config Paths

ns3::LteUePhy is accessible through the following paths with Config::Set and Config::Connect:

  • /NodeList/[i]/DeviceList/[i]/$ns3::LteNetDevice/$ns3::LteUeNetDevice/LteUePhy
  • /NodeList/[i]/DeviceList/[i]/$ns3::LteUeNetDevice/LteUePhy

Attributes

  • TxPower: Transmission power in dBm
    • Set with class: ns3::DoubleValue
    • Underlying type: double -1.79769e+308:1.79769e+308
    • Initial value: 10
    • Flags: construct write read
  • NoiseFigure: Loss (dB) in the Signal-to-Noise-Ratio due to non-idealities in the receiver. According to Wikipedia (http://en.wikipedia.org/wiki/Noise_figure), this is "the difference in decibels (dB) between the noise output of the actual receiver to the noise output of an ideal receiver with the same overall gain and bandwidth when the receivers are connected to sources at the standard noise temperature T0." In this model, we consider T0 = 290K.
    • Set with class: ns3::DoubleValue
    • Underlying type: double -1.79769e+308:1.79769e+308
    • Initial value: 9
    • Flags: construct write read
  • TxMode1Gain: Transmission mode 1 gain in dB
    • Set with class: ns3::DoubleValue
    • Underlying type: double -1.79769e+308:1.79769e+308
    • Initial value: 0
    • Flags: construct write
  • TxMode2Gain: Transmission mode 2 gain in dB
    • Set with class: ns3::DoubleValue
    • Underlying type: double -1.79769e+308:1.79769e+308
    • Initial value: 4.2
    • Flags: construct write
  • TxMode3Gain: Transmission mode 3 gain in dB
    • Set with class: ns3::DoubleValue
    • Underlying type: double -1.79769e+308:1.79769e+308
    • Initial value: -2.8
    • Flags: construct write
  • TxMode4Gain: Transmission mode 4 gain in dB
    • Set with class: ns3::DoubleValue
    • Underlying type: double -1.79769e+308:1.79769e+308
    • Initial value: 0
    • Flags: construct write
  • TxMode5Gain: Transmission mode 5 gain in dB
    • Set with class: ns3::DoubleValue
    • Underlying type: double -1.79769e+308:1.79769e+308
    • Initial value: 0
    • Flags: construct write
  • TxMode6Gain: Transmission mode 6 gain in dB
    • Set with class: ns3::DoubleValue
    • Underlying type: double -1.79769e+308:1.79769e+308
    • Initial value: 0
    • Flags: construct write
  • TxMode7Gain: Transmission mode 7 gain in dB
    • Set with class: ns3::DoubleValue
    • Underlying type: double -1.79769e+308:1.79769e+308
    • Initial value: 0
    • Flags: construct write

No TraceSources are defined for this type.

Definition at line 47 of file lte-ue-phy.h.

Constructor & Destructor Documentation

ns3::LteUePhy::LteUePhy ( )
Warning
the default constructor should not be used

Definition at line 127 of file lte-ue-phy.cc.

References NS_FATAL_ERROR, and NS_LOG_FUNCTION.

ns3::LteUePhy::~LteUePhy ( )
virtual

Definition at line 163 of file lte-ue-phy.cc.

References m_txModeGain.

Member Function Documentation

Ptr< DlCqiLteControlMessage > ns3::LteUePhy::CreateDlCqiFeedbackMessage ( const SpectrumValue sinr)

Create the DL CQI feedback from SINR values perceived at the physical layer with the signal received from eNB.

Parameters
sinrSINR values vector

Definition at line 391 of file lte-ue-phy.cc.

References ns3::CqiListElement_s::A30, ns3::LteAmc::CreateCqiFeedbacks(), ns3::LtePhy::GetRbgSize(), m_a30CqiLast, m_a30CqiPeriocity, m_amc, ns3::LtePhy::m_dlBandwidth, ns3::SbMeasResult_s::m_higherLayerSelected, m_p10CqiLast, m_p10CqiPeriocity, m_rnti, ns3::HigherLayerSelected_s::m_sbCqi, ns3::HigherLayerSelected_s::m_sbPmi, m_transmissionMode, m_txModeGain, ns3::Simulator::Now(), NS_ASSERT, NS_ASSERT_MSG, NS_LOG_DEBUG, NS_LOG_FUNCTION, ns3::CqiListElement_s::P10, and ns3::TransmissionModesLayers::TxMode2LayerNum().

Referenced by GenerateCtrlCqiReport().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Ptr< SpectrumValue > ns3::LteUePhy::CreateTxPowerSpectralDensity ( )
virtual

Create the PSD for the TX.

Returns
the pointer to the PSD

Implements ns3::LtePhy.

Definition at line 351 of file lte-ue-phy.cc.

References ns3::LteSpectrumValueHelper::CreateTxPowerSpectralDensity(), GetSubChannelsForTransmission(), ns3::LtePhy::m_txPower, ns3::LtePhy::m_ulBandwidth, ns3::LtePhy::m_ulEarfcn, and NS_LOG_FUNCTION.

Referenced by SetSubChannelsForTransmission().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::LteUePhy::DoDispose ( void  )
virtual

This method is called by Object::Dispose or by the object's destructor, whichever comes first.

Subclasses are expected to implement their real destruction code in an overriden version of this method and chain up to their parent's implementation once they are done. i.e., for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose method.

It is safe to call GetObject from within this method.

Reimplemented from ns3::LtePhy.

Definition at line 169 of file lte-ue-phy.cc.

References m_uePhySapProvider, and NS_LOG_FUNCTION.

void ns3::LteUePhy::DoSendLteControlMessage ( Ptr< LteControlMessage msg)
virtual

Definition at line 494 of file lte-ue-phy.cc.

References ns3::LtePhy::GetDevice(), ns3::Object::GetObject(), NS_LOG_FUNCTION, and ns3::LtePhy::SetControlMessages().

Referenced by GenerateCtrlCqiReport(), and ns3::UeMemberLteUePhySapProvider::SendLteControlMessage().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::LteUePhy::DoSendMacPdu ( Ptr< Packet p)
virtual

Queue the MAC PDU to be sent.

Parameters
pthe MAC PDU to sent

Implements ns3::LtePhy.

Definition at line 300 of file lte-ue-phy.cc.

References NS_LOG_FUNCTION, and ns3::LtePhy::SetMacPdu().

Referenced by ns3::UeMemberLteUePhySapProvider::SendMacPdu().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::LteUePhy::DoSetSrsConfigurationIndex ( uint16_t  srcCi)
virtual

Definition at line 716 of file lte-ue-phy.cc.

References ns3::LtePhy::GetSrsPeriodicity(), ns3::LtePhy::GetSrsSubframeOffset(), ns3::LtePhy::m_cellId, m_rnti, m_srsCounter, m_srsPeriodicity, NS_LOG_DEBUG, and NS_LOG_FUNCTION.

Referenced by ns3::UeMemberLteUePhySapProvider::SetSrsConfigurationIndex().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::LteUePhy::DoSetTransmissionMode ( uint8_t  txMode)
virtual

Definition at line 708 of file lte-ue-phy.cc.

References ns3::LtePhy::m_downlinkSpectrumPhy, m_transmissionMode, NS_LOG_FUNCTION, and ns3::LteSpectrumPhy::SetTransmissionMode().

Referenced by ns3::UeMemberLteUePhySapProvider::SetTransmissionMode().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::LteUePhy::DoStart ( void  )
virtual

This method is called only once by Object::Start. If the user calls Object::Start multiple times, DoStart is called only the first time.

Subclasses are expected to override this method and chain up to their parent's implementation once they are done. It is safe to call GetObject and AggregateObject from within this method.

Reimplemented from ns3::Object.

Definition at line 242 of file lte-ue-phy.cc.

References ns3::LteSpectrumValueHelper::CreateNoisePowerSpectralDensity(), ns3::LtePhy::m_dlBandwidth, ns3::LtePhy::m_dlEarfcn, ns3::LtePhy::m_downlinkSpectrumPhy, ns3::LtePhy::m_noiseFigure, NS_LOG_FUNCTION, and ns3::LteSpectrumPhy::SetNoisePowerSpectralDensity().

+ Here is the call graph for this function:

void ns3::LteUePhy::GenerateCtrlCqiReport ( const SpectrumValue sinr)
virtual

generate a CQI report based on the given SINR of Ctrl frame

Parameters
sinrthe SINR vs frequency measured by the device

Implements ns3::LtePhy.

Definition at line 361 of file lte-ue-phy.cc.

References CreateDlCqiFeedbackMessage(), DoSendLteControlMessage(), ns3::LtePhy::GetDevice(), ns3::Object::GetObject(), m_a30CqiLast, m_a30CqiPeriocity, m_p10CqiLast, m_p10CqiPeriocity, ns3::Now(), ns3::Simulator::Now(), and NS_LOG_FUNCTION.

+ Here is the call graph for this function:

void ns3::LteUePhy::GenerateDataCqiReport ( const SpectrumValue sinr)
virtual

generate a CQI report based on the given SINR of Data frame (used for PUSCH CQIs)

Parameters
sinrthe SINR vs frequency measured by the device

Implements ns3::LtePhy.

Definition at line 383 of file lte-ue-phy.cc.

LteUePhySapProvider * ns3::LteUePhy::GetLteUePhySapProvider ( )

Get the PHY SAP provider.

Returns
a pointer to the SAP Provider of the PHY

Definition at line 258 of file lte-ue-phy.cc.

References m_uePhySapProvider, and NS_LOG_FUNCTION.

uint8_t ns3::LteUePhy::GetMacChDelay ( void  ) const
Returns
the TTI delay between MAC and channel

Definition at line 294 of file lte-ue-phy.cc.

References ns3::LtePhy::m_macChTtiDelay.

double ns3::LteUePhy::GetNoiseFigure ( ) const
Returns
the noise figure in dB

Definition at line 272 of file lte-ue-phy.cc.

References ns3::LtePhy::m_noiseFigure, and NS_LOG_FUNCTION.

Referenced by GetTypeId().

+ Here is the caller graph for this function:

std::vector< int > ns3::LteUePhy::GetSubChannelsForReception ( void  )

Get a list of sub channels to use in RX.

Returns
a list of sub channels

Definition at line 343 of file lte-ue-phy.cc.

References m_subChannelsForReception, and NS_LOG_FUNCTION.

std::vector< int > ns3::LteUePhy::GetSubChannelsForTransmission ( void  )

Get a list of sub channels to use in RX.

Returns
a list of sub channels

Definition at line 335 of file lte-ue-phy.cc.

References m_subChannelsForTransmission, and NS_LOG_FUNCTION.

Referenced by CreateTxPowerSpectralDensity().

+ Here is the caller graph for this function:

double ns3::LteUePhy::GetTxPower ( ) const
Returns
the transmission power in dBm

Definition at line 286 of file lte-ue-phy.cc.

References ns3::LtePhy::m_txPower, and NS_LOG_FUNCTION.

Referenced by GetTypeId().

+ Here is the caller graph for this function:

TypeId ns3::LteUePhy::GetTypeId ( void  )
static
void ns3::LteUePhy::PhyPduReceived ( Ptr< Packet p)

PhySpectrum received a new PHY-PDU.

Definition at line 309 of file lte-ue-phy.cc.

References m_uePhySapUser, and ns3::LteUePhySapUser::ReceivePhyPdu().

Referenced by ns3::LteHelper::InstallSingleUeDevice().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::LteUePhy::QueueSubChannelsForTransmission ( std::vector< int >  rbMap)
private

Definition at line 592 of file lte-ue-phy.cc.

References ns3::LtePhy::m_macChTtiDelay, and m_subChannelsForTransmissionQueue.

Referenced by ReceiveLteControlMessageList().

+ Here is the caller graph for this function:

void ns3::LteUePhy::SendSrs ( )

Send the SRS signal in the last symbols of the frame.

Definition at line 674 of file lte-ue-phy.cc.

References ns3::LtePhy::m_cellId, m_rnti, ns3::LtePhy::m_ulBandwidth, ns3::LtePhy::m_uplinkSpectrumPhy, NS_LOG_FUNCTION, SetSubChannelsForTransmission(), and ns3::LteSpectrumPhy::StartTxUlSrsFrame().

Referenced by SubframeIndication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::LteUePhy::SetEnbCellId ( uint16_t  cellId)

set the cellId of the eNb this PHY is synchronized with

Parameters
cellIdthe cell identifier of the eNB

Definition at line 690 of file lte-ue-phy.cc.

References ns3::LtePhy::m_downlinkSpectrumPhy, m_enbCellId, ns3::LtePhy::m_uplinkSpectrumPhy, and ns3::LteSpectrumPhy::SetCellId().

+ Here is the call graph for this function:

void ns3::LteUePhy::SetLteUePhySapUser ( LteUePhySapUser s)

Set the PHY SAP User.

Parameters
sa pointer to the PHY SAP user

Definition at line 251 of file lte-ue-phy.cc.

References m_uePhySapUser, and NS_LOG_FUNCTION.

void ns3::LteUePhy::SetNoiseFigure ( double  pow)
Parameters
pwthe noise figure in dB

Definition at line 265 of file lte-ue-phy.cc.

References ns3::LtePhy::m_noiseFigure, and NS_LOG_FUNCTION.

Referenced by GetTypeId().

+ Here is the caller graph for this function:

void ns3::LteUePhy::SetRnti ( uint16_t  rnti)
Parameters
rntithe rnti assigned to the UE

Definition at line 700 of file lte-ue-phy.cc.

References m_rnti, and NS_LOG_FUNCTION.

Referenced by ns3::LteHelper::Attach().

+ Here is the caller graph for this function:

void ns3::LteUePhy::SetSubChannelsForReception ( std::vector< int >  mask)

Get a list of sub channels to use in RX.

Parameters
masklist of sub channels

Definition at line 327 of file lte-ue-phy.cc.

References m_subChannelsForReception, and NS_LOG_FUNCTION.

Referenced by ReceiveLteControlMessageList().

+ Here is the caller graph for this function:

void ns3::LteUePhy::SetSubChannelsForTransmission ( std::vector< int >  mask)

Set a list of sub channels to use in TX.

Parameters
maska list of sub channels

Definition at line 315 of file lte-ue-phy.cc.

References CreateTxPowerSpectralDensity(), m_subChannelsForTransmission, ns3::LtePhy::m_uplinkSpectrumPhy, NS_LOG_FUNCTION, and ns3::LteSpectrumPhy::SetTxPowerSpectralDensity().

Referenced by SendSrs(), and SubframeIndication().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::LteUePhy::SetTxMode1Gain ( double  gain)
private

Definition at line 726 of file lte-ue-phy.cc.

References SetTxModeGain().

Referenced by GetTypeId().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::LteUePhy::SetTxMode2Gain ( double  gain)
private

Definition at line 732 of file lte-ue-phy.cc.

References SetTxModeGain().

Referenced by GetTypeId().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::LteUePhy::SetTxMode3Gain ( double  gain)
private

Definition at line 738 of file lte-ue-phy.cc.

References SetTxModeGain().

Referenced by GetTypeId().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::LteUePhy::SetTxMode4Gain ( double  gain)
private

Definition at line 744 of file lte-ue-phy.cc.

References SetTxModeGain().

Referenced by GetTypeId().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::LteUePhy::SetTxMode5Gain ( double  gain)
private

Definition at line 750 of file lte-ue-phy.cc.

References SetTxModeGain().

Referenced by GetTypeId().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::LteUePhy::SetTxMode6Gain ( double  gain)
private

Definition at line 756 of file lte-ue-phy.cc.

References SetTxModeGain().

Referenced by GetTypeId().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::LteUePhy::SetTxMode7Gain ( double  gain)
private

Definition at line 762 of file lte-ue-phy.cc.

References SetTxModeGain().

Referenced by GetTypeId().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::LteUePhy::SetTxModeGain ( uint8_t  txMode,
double  gain 
)
private

Definition at line 769 of file lte-ue-phy.cc.

References ns3::LtePhy::m_downlinkSpectrumPhy, m_txModeGain, NS_LOG_FUNCTION, and ns3::LteSpectrumPhy::SetTxModeGain().

Referenced by SetTxMode1Gain(), SetTxMode2Gain(), SetTxMode3Gain(), SetTxMode4Gain(), SetTxMode5Gain(), SetTxMode6Gain(), and SetTxMode7Gain().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::LteUePhy::SetTxPower ( double  pow)
Parameters
pwthe transmission power in dBm

Definition at line 279 of file lte-ue-phy.cc.

References ns3::LtePhy::m_txPower, and NS_LOG_FUNCTION.

Referenced by GetTypeId().

+ Here is the caller graph for this function:

void ns3::LteUePhy::SubframeIndication ( uint32_t  frameNo,
uint32_t  subframeNo 
)

Friends And Related Function Documentation

friend class UeMemberLteUePhySapProvider
friend

Definition at line 50 of file lte-ue-phy.h.

Referenced by LteUePhy().

Member Data Documentation

Time ns3::LteUePhy::m_a30CqiLast
private

Definition at line 230 of file lte-ue-phy.h.

Referenced by CreateDlCqiFeedbackMessage(), and GenerateCtrlCqiReport().

Time ns3::LteUePhy::m_a30CqiPeriocity
private

Definition at line 229 of file lte-ue-phy.h.

Referenced by CreateDlCqiFeedbackMessage(), and GenerateCtrlCqiReport().

Ptr<LteAmc> ns3::LteUePhy::m_amc
private

Definition at line 222 of file lte-ue-phy.h.

Referenced by CreateDlCqiFeedbackMessage(), and LteUePhy().

uint16_t ns3::LteUePhy::m_enbCellId
private

Definition at line 237 of file lte-ue-phy.h.

Referenced by SetEnbCellId().

Time ns3::LteUePhy::m_p10CqiLast
private

SubBand Aperiodic CQI: activated by DCI format 0 or Random Access Response Grant

Definition at line 227 of file lte-ue-phy.h.

Referenced by CreateDlCqiFeedbackMessage(), and GenerateCtrlCqiReport().

Time ns3::LteUePhy::m_p10CqiPeriocity
private

Wideband Periodic CQI: 2, 5, 10, 16, 20, 32, 40, 64, 80 or 160 ms

Definition at line 224 of file lte-ue-phy.h.

Referenced by CreateDlCqiFeedbackMessage(), and GenerateCtrlCqiReport().

uint16_t ns3::LteUePhy::m_rnti
private
uint16_t ns3::LteUePhy::m_srsCounter
private

Definition at line 243 of file lte-ue-phy.h.

Referenced by DoSetSrsConfigurationIndex(), and SubframeIndication().

uint16_t ns3::LteUePhy::m_srsPeriodicity
private

Definition at line 242 of file lte-ue-phy.h.

Referenced by DoSetSrsConfigurationIndex(), and SubframeIndication().

std::vector<int> ns3::LteUePhy::m_subChannelsForReception
private

Definition at line 217 of file lte-ue-phy.h.

Referenced by GetSubChannelsForReception(), and SetSubChannelsForReception().

std::vector<int> ns3::LteUePhy::m_subChannelsForTransmission
private

Definition at line 216 of file lte-ue-phy.h.

Referenced by GetSubChannelsForTransmission(), and SetSubChannelsForTransmission().

std::vector< std::vector <int> > ns3::LteUePhy::m_subChannelsForTransmissionQueue
private

Definition at line 219 of file lte-ue-phy.h.

Referenced by LteUePhy(), QueueSubChannelsForTransmission(), and SubframeIndication().

uint8_t ns3::LteUePhy::m_transmissionMode
private

Definition at line 239 of file lte-ue-phy.h.

Referenced by CreateDlCqiFeedbackMessage(), and DoSetTransmissionMode().

std::vector<double> ns3::LteUePhy::m_txModeGain
private

Definition at line 240 of file lte-ue-phy.h.

Referenced by CreateDlCqiFeedbackMessage(), SetTxModeGain(), and ~LteUePhy().

LteUePhySapProvider* ns3::LteUePhy::m_uePhySapProvider
private

Definition at line 232 of file lte-ue-phy.h.

Referenced by DoDispose(), GetLteUePhySapProvider(), and LteUePhy().

LteUePhySapUser* ns3::LteUePhy::m_uePhySapUser
private

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