ns-3
ns3::EnbLtePhy Class Reference

#include <enb-phy.h>

Inheritance diagram for ns3::EnbLtePhy:
Collaboration diagram for ns3::EnbLtePhy:

List of all members.

Public Member Functions

 EnbLtePhy (Ptr< LteNetDevice > d)
 Create the eNB phy layer.
virtual bool SendPacket (Ptr< PacketBurst > pb)
 Send a burst of packet to the channel.
void DoSetDownlinkSubChannels ()
 do some operation after the set of a list of DL sub channels
virtual Ptr< SpectrumValueCreateTxPowerSpectralDensity ()
 Create the PSD for TX.
void CalcChannelQualityForUe (std::vector< double > sinr, Ptr< LteSpectrumPhy > ue)
 Calculate the channel quality for a given UE.
virtual void SendIdealControlMessage (Ptr< IdealControlMessage > msg)
 Send the control message.
virtual void ReceiveIdealControlMessage (Ptr< IdealControlMessage > msg)
 Receive the control message.
void StartFrame (void)
 Start a LTE frame.
void StartSubFrame (void)
 Start a LTE sub frame.
void EndSubFrame (void)
 End a LTE sub frame.
void EndFrame (void)
 End a LTE frame.

Static Public Member Functions

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

Detailed Description

EnbLtePhy models the physical layer for the eNodeB


Constructor & Destructor Documentation

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

Member Function Documentation

void ns3::EnbLtePhy::CalcChannelQualityForUe ( std::vector< double >  sinr,
Ptr< LteSpectrumPhy ue 
)

Calculate the channel quality for a given UE.

Parameters:
sinra list of computed SINR
uethe UE

References NS_LOG_FUNCTION.

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

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

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

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

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

Reimplemented from ns3::LtePhy.

References ns3::TypeId::SetParent().

Receive the control message.

Parameters:
msgthe received message

Implements ns3::LtePhy.

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

Send the control message.

Parameters:
msgthe message to send

Implements ns3::LtePhy.

References NS_LOG_FUNCTION.

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

Send a burst of packet to the channel.

Parameters:
pba burst of packet to the channel

Implements ns3::LtePhy.

References ns3::LtePhy::GetDownlinkSpectrumPhy(), ns3::PacketBurst::GetNPackets(), ns3::PacketBurst::GetSize(), NS_LOG_FUNCTION, and ns3::LteSpectrumPhy::StartTx().


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