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),
157 for (
int i = 0; i < 4; i++)
159 if (dlBandwidth < Type0AllocationRbg[i])
172 uint16_t SrsPeriodicity[9] = {0, 2, 5, 10, 20, 40, 80, 160, 320};
173 uint16_t SrsCiLow[9] = {0, 0, 2, 7, 17, 37, 77, 157, 317};
174 uint16_t SrsCiHigh[9] = {0, 1, 6, 16, 36, 76, 156, 316, 636};
176 for (i = 8; i > 0; i --)
178 if ((srcCi>=SrsCiLow[i])&&(srcCi<=SrsCiHigh[i]))
183 return SrsPeriodicity[i];
190 uint16_t SrsSubframeOffset[9] = {0, 0, 2, 7, 17, 37, 77, 157, 317};
191 uint16_t SrsCiLow[9] = {0, 0, 2, 7, 17, 37, 77, 157, 317};
192 uint16_t SrsCiHigh[9] = {0, 1, 6, 16, 36, 76, 156, 316, 636};
194 for (i = 8; i > 0; i --)
196 if ((srcCi>=SrsCiLow[i])&&(srcCi<=SrsCiHigh[i]))
201 return (srcCi - SrsSubframeOffset[i]);
250 std::list<Ptr<LteControlMessage> >
257 std::list<Ptr<LteControlMessage> > newlist;
264 std::list<Ptr<LteControlMessage> > newlist;
266 std::list<Ptr<LteControlMessage> > emptylist;