22 #include "ns3/simulator.h"
24 #include "ns3/string.h"
25 #include "ns3/double.h"
28 #include "ns3/mobility-helper.h"
29 #include "ns3/lte-helper.h"
31 #include "ns3/lte-enb-phy.h"
32 #include "ns3/lte-enb-net-device.h"
34 #include "ns3/lte-ue-phy.h"
35 #include "ns3/lte-ue-net-device.h"
48 uint32_t frameNo, uint32_t subframeNo, uint16_t rnti,
49 uint8_t mcsTb1, uint16_t sizeTb1, uint8_t mcsTb2, uint16_t sizeTb2)
51 testcase->
DlScheduling (frameNo, subframeNo, rnti, mcsTb1, sizeTb1, mcsTb2, sizeTb2);
56 uint32_t frameNo, uint32_t subframeNo, uint16_t rnti,
57 uint8_t mcs, uint16_t sizeTb)
59 testcase->
UlScheduling (frameNo, subframeNo, rnti, mcs, sizeTb);
100 m_dlSinrDb (10 * log10 (dlSinr)),
101 m_ulSinrDb (10 * log10 (ulSinr)),
142 positionAlloc->Add (
Vector (0.0, 0.0, 0.0));
160 lteHelper->
Attach (ueDevs1, enbDevs.
Get (0));
161 lteHelper->
Attach (ueDevs2, enbDevs.
Get (1));
209 double dlSinr1Db = 10.0 * log10 (testDlSinr1->GetSinr ()->operator[] (0));
212 double ulSinr1Db = 10.0 * log10 (testUlSinr1->GetSinr ()->operator[] (0));
215 double dlSinr2Db = 10.0 * log10 (testDlSinr2->GetSinr ()->operator[] (0));
218 double ulSinr2Db = 10.0 * log10 (testUlSinr2->GetSinr ()->operator[] (0));
228 uint8_t mcsTb1, uint16_t sizeTb1, uint8_t mcsTb2, uint16_t sizeTb2)
235 if ( (frameNo > 1) || (subframeNo > 9) )
243 uint8_t mcs, uint16_t sizeTb)
250 if ( (frameNo > 1) && (subframeNo > 4) )