27 #include <ns3/spectrum-value.h> 
   28 #include <ns3/mobility-model.h> 
   29 #include <ns3/packet.h> 
   30 #include <ns3/nstime.h> 
   31 #include <ns3/spectrum-phy.h> 
   32 #include <ns3/spectrum-channel.h> 
   33 #include <ns3/spectrum-signal-parameters.h> 
   34 #include <ns3/spectrum-interference.h> 
   35 #include <ns3/generic-phy.h> 
   36 #include <ns3/lte-spectrum-phy.h> 
   42 class LteControlMessage;
 
  134   double GetTti (
void) 
const;
 
void SetDevice(Ptr< LteNetDevice > d)
Set the device where the phy layer is attached. 
 
static TypeId GetTypeId(void)
Get the type ID. 
 
Smart pointer class similar to boost::intrusive_ptr. 
 
void DoSetCellId(uint16_t cellId)
 
double m_noiseFigure
Loss (dB) in the Signal-to-Noise-Ratio due to non-idealities in the receiver. 
 
double m_txPower
Transmission power in dBm. 
 
uint8_t m_componentCarrierId
component carrier Id used to address sap 
 
std::vector< Ptr< PacketBurst > > m_packetBurstQueue
A queue of packet bursts to be sent. 
 
void SetComponentCarrierId(uint8_t index)
Set the component carrier ID. 
 
virtual void ReportInterference(const SpectrumValue &interf)=0
generate a report based on the linear interference and noise power perceived during DATA frame NOTE: ...
 
uint16_t GetSrsPeriodicity(uint16_t srcCi) const 
 
double GetTti(void) const 
 
virtual void GenerateDataCqiReport(const SpectrumValue &sinr)=0
generate a CQI report based on the given SINR of Data frame (used for PUSCH CQIs) ...
 
double m_tti
Transmission time interval. 
 
Ptr< LteSpectrumPhy > m_downlinkSpectrumPhy
The downlink LteSpectrumPhy associated to this LtePhy. 
 
void SetUplinkChannel(Ptr< SpectrumChannel > c)
Set the uplink channel. 
 
Ptr< LteSpectrumPhy > GetUplinkSpectrumPhy()
 
uint8_t m_ulBandwidth
The UL bandwidth in number of PRBs. 
 
uint16_t GetSrsSubframeOffset(uint16_t srcCi) const 
 
void DoDispose()
Destructor implementation. 
 
uint8_t GetRbgSize(void) const 
 
virtual void DoSendMacPdu(Ptr< Packet > p)=0
Queue the MAC PDU to be sent (according to m_macChTtiDelay) 
 
virtual void GenerateCtrlCqiReport(const SpectrumValue &sinr)=0
generate a CQI report based on the given SINR of Ctrl frame 
 
void SetDownlinkChannel(Ptr< SpectrumChannel > c)
Set the downlink channel. 
 
virtual Ptr< SpectrumValue > CreateTxPowerSpectralDensity()=0
Compute the TX Power Spectral Density. 
 
Ptr< LteSpectrumPhy > GetDownlinkSpectrumPhy()
 
Ptr< LteNetDevice > GetDevice() const 
Get the device where the phy layer is attached. 
 
uint32_t m_dlEarfcn
The downlink carrier frequency. 
 
uint8_t m_macChTtiDelay
Delay between MAC and channel layer in terms of TTIs. 
 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
 
void SetControlMessages(Ptr< LteControlMessage > m)
 
uint8_t m_dlBandwidth
The DL bandwidth in number of PRBs. 
 
uint16_t m_cellId
Cell identifier. 
 
uint8_t GetComponentCarrierId()
Get the component carrier ID. 
 
Ptr< LteNetDevice > m_netDevice
Pointer to the NetDevice where this PHY layer is attached. 
 
std::list< Ptr< LteControlMessage > > GetControlMessages(void)
 
Ptr< PacketBurst > GetPacketBurst(void)
 
virtual void ReportRsReceivedPower(const SpectrumValue &power)=0
generate a report based on the linear RS power perceived during CTRL frame NOTE: used only by UE for ...
 
uint8_t m_rbgSize
The RB gruop size according to the bandwidth. 
 
std::vector< std::list< Ptr< LteControlMessage > > > m_controlMessagesQueue
A queue of control messages to be sent. 
 
A base class which provides memory management and object aggregation. 
 
uint32_t m_ulEarfcn
The uplink carrier frequency. 
 
Ptr< LteSpectrumPhy > m_uplinkSpectrumPhy
The uplink LteSpectrumPhy associated to this LtePhy. 
 
Set of values corresponding to a given SpectrumModel. 
 
void SetMacPdu(Ptr< Packet > p)
 
a unique identifier for an interface. 
 
The LtePhy models the physical layer of LTE.