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;
130 double GetTti (
void)
const;
void SetDevice(Ptr< LteNetDevice > d)
Set the device where the phy layer is attached.
static TypeId GetTypeId(void)
smart pointer class similar to boost::intrusive_ptr
void DoSetCellId(uint16_t cellId)
std::vector< Ptr< PacketBurst > > m_packetBurstQueue
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) ...
Ptr< LteSpectrumPhy > m_downlinkSpectrumPhy
void SetUplinkChannel(Ptr< SpectrumChannel > c)
Set the uplink channel.
Ptr< LteSpectrumPhy > GetUplinkSpectrumPhy()
Ptr< LteNetDevice > GetDevice()
Get the device where the phy layer is attached.
uint16_t GetSrsSubframeOffset(uint16_t srcCi) const
void DoDispose()
This method is called by Object::Dispose or by the object's destructor, whichever comes first...
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()
void SetControlMessages(Ptr< LteControlMessage > m)
Ptr< LteNetDevice > m_netDevice
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 ...
std::vector< std::list< Ptr< LteControlMessage > > > m_controlMessagesQueue
a base class which provides memory management and object aggregation
Ptr< LteSpectrumPhy > m_uplinkSpectrumPhy
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.