22 #include <ns3/waveform-generator.h> 
   23 #include <ns3/object-factory.h> 
   26 #include <ns3/simulator.h> 
   27 #include "ns3/spectrum-error-model.h" 
   46   : m_downlinkSpectrumPhy (dlPhy),
 
   47     m_uplinkSpectrumPhy (ulPhy),
 
  150   uint16_t SrsPeriodicity[9] = {0, 2, 5, 10, 20, 40, 80, 160, 320};
 
  151   uint16_t SrsCiLow[9] = {0, 0, 2, 7, 17, 37, 77, 157, 317};
 
  152   uint16_t SrsCiHigh[9] = {0, 1, 6, 16, 36, 76, 156, 316, 636};
 
  154   for (i = 8; i > 0; i --)
 
  156       if ((srcCi>=SrsCiLow[i])&&(srcCi<=SrsCiHigh[i]))
 
  161   return SrsPeriodicity[i];
 
  168   uint16_t SrsSubframeOffset[9] = {0, 0, 2, 7, 17, 37, 77, 157, 317};
 
  169   uint16_t SrsCiLow[9] = {0, 0, 2, 7, 17, 37, 77, 157, 317};
 
  170   uint16_t SrsCiHigh[9] = {0, 1, 6, 16, 36, 76, 156, 316, 636};
 
  172   for (i = 8; i > 0; i --)
 
  174       if ((srcCi>=SrsCiLow[i])&&(srcCi<=SrsCiHigh[i]))
 
  179   return (srcCi - SrsSubframeOffset[i]);
 
  221 std::list<Ptr<LteControlMessage> >
 
  229       std::list<Ptr<LteControlMessage> > newlist;
 
  236       std::list<Ptr<LteControlMessage> > newlist;
 
  238       std::list<Ptr<LteControlMessage> > emptylist;
 
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 
#define NS_LOG_FUNCTION(parameters)
void DoSetCellId(uint16_t cellId)
std::vector< Ptr< PacketBurst > > m_packetBurstQueue
uint16_t GetSrsPeriodicity(uint16_t srcCi) const 
double GetTti(void) const 
Ptr< LteSpectrumPhy > m_downlinkSpectrumPhy
void SetUplinkChannel(Ptr< SpectrumChannel > c)
Ptr< LteSpectrumPhy > GetUplinkSpectrumPhy()
virtual void DoDispose(void)
Ptr< LteNetDevice > GetDevice()
Get the device where the phy layer is attached. 
#define NS_FATAL_ERROR(msg)
fatal error handling 
uint16_t GetSrsSubframeOffset(uint16_t srcCi) const 
uint8_t GetRbgSize(void) const 
NS_OBJECT_ENSURE_REGISTERED(AntennaModel)
void SetDownlinkChannel(Ptr< SpectrumChannel > c)
Ptr< LteSpectrumPhy > GetDownlinkSpectrumPhy()
void SetControlMessages(Ptr< LteControlMessage > m)
NS_LOG_COMPONENT_DEFINE("LtePhy")
Ptr< LteNetDevice > m_netDevice
std::list< Ptr< LteControlMessage > > GetControlMessages(void)
Ptr< PacketBurst > GetPacketBurst(void)
std::vector< std::list< Ptr< LteControlMessage > > > m_controlMessagesQueue
a base class which provides memory management and object aggregation 
Ptr< LteSpectrumPhy > m_uplinkSpectrumPhy
void SetMacPdu(Ptr< Packet > p)
a unique identifier for an interface. 
void SetTti(double tti)
Receive SendLteControlMessage (PDCCH map, CQI feedbacks) using the ideal control channel. 
TypeId SetParent(TypeId tid)