ns-3
ns3::UeLtePhy Class Reference

#include <ue-phy.h>

Inheritance diagram for ns3::UeLtePhy:
Collaboration diagram for ns3::UeLtePhy:

List of all members.

Public Member Functions

 UeLtePhy (Ptr< LteNetDevice > d)
 Create the physical layer.
virtual bool SendPacket (Ptr< PacketBurst > pb)
 Send the packet to the channel.
virtual Ptr< SpectrumValueCreateTxPowerSpectralDensity ()
 Create the PSD for the TX.
virtual void DoSetUplinkSubChannels ()
 Update available channel for TX.
void SetSubChannelsForTransmission (std::vector< int > mask)
 Set a list of sub channels to use in TX.
std::vector< int > GetSubChannelsForTransmission (void)
 Get a list of sub channels to use in RX.
void SetSubChannelsForReception (std::vector< int > mask)
 Get a list of sub channels to use in RX.
std::vector< int > GetSubChannelsForReception (void)
 Get a list of sub channels to use in RX.
void CreateCqiFeedbacks (std::vector< double > sinr)
 Create CQI feedbacks from SINR values. SINR values are computed at the physical layer when is received a signal from the eNB.
virtual void SendIdealControlMessage (Ptr< IdealControlMessage > msg)
 Send SendIdealControlMessage (PDCCH map, CQI feedbacks) using the ideal control channel.
virtual void ReceiveIdealControlMessage (Ptr< IdealControlMessage > msg)
 Receive SendIdealControlMessage (PDCCH map, CQI feedbacks) using the ideal control channel.

Static Public Member Functions

static TypeId GetTypeId (void)
 This method returns the TypeId associated to ns3::UeLtePhy.

Detailed Description

The LteSpectrumPhy models the physical layer of LTE


Constructor & Destructor Documentation

ns3::UeLtePhy::UeLtePhy ( Ptr< LteNetDevice d)

Member Function Documentation

void ns3::UeLtePhy::CreateCqiFeedbacks ( std::vector< double >  sinr)

Create CQI feedbacks from SINR values. SINR values are computed at the physical layer when is received a signal from the eNB.

Parameters:
sinrlist of SINR values

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

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

Get a list of sub channels to use in RX.

Returns:
a list of sub channels

References NS_LOG_FUNCTION.

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

Get a list of sub channels to use in RX.

Returns:
a list of sub channels

References NS_LOG_FUNCTION.

Referenced by CreateTxPowerSpectralDensity().

TypeId ns3::UeLtePhy::GetTypeId ( void  ) [static]

This method returns the TypeId associated to ns3::UeLtePhy.

This object is accessible through the following paths with Config::Set and Config::Connect:

  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::LteNetDevice/Phy/$ns3::UeLtePhy
  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::LtePhy/$ns3::UeLtePhy
  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::UeLtePhy
  • /NodeList/[i]/DeviceList/[i]/$ns3::LteNetDevice/Phy/$ns3::UeLtePhy
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::LteNetDevice/Phy/$ns3::UeLtePhy
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::LtePhy/$ns3::UeLtePhy
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::UeLtePhy

No Attributes defined for this type.
No TraceSources defined for this type.

Reimplemented from ns3::LtePhy.

References ns3::TypeId::SetParent().

Receive SendIdealControlMessage (PDCCH map, CQI feedbacks) using the ideal control channel.

Parameters:
msgthe Ideal Control Message to receive

Implements ns3::LtePhy.

References ns3::LtePhy::GetDevice(), NS_LOG_FUNCTION, and SetSubChannelsForReception().

Send SendIdealControlMessage (PDCCH map, CQI feedbacks) using the ideal control channel.

Parameters:
msgthe Ideal Control Message to send

Implements ns3::LtePhy.

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

Referenced by CreateCqiFeedbacks().

bool ns3::UeLtePhy::SendPacket ( Ptr< PacketBurst pb) [virtual]

Send the packet to the channel.

Parameters:
pbthe burst of packet to send
Returns:
true if

Implements ns3::LtePhy.

References ns3::LtePhy::GetUplinkSpectrumPhy(), NS_LOG_FUNCTION, and ns3::LteSpectrumPhy::StartTx().

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

Get a list of sub channels to use in RX.

Parameters:
masklist of sub channels

References NS_LOG_FUNCTION.

Referenced by ReceiveIdealControlMessage().

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

Set a list of sub channels to use in TX.

Parameters:
maska list of sub channels

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

Referenced by DoSetUplinkSubChannels().


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