22 #include "ns3/simulator.h"
24 #include "ns3/string.h"
25 #include "ns3/double.h"
27 #include "ns3/boolean.h"
28 #include "ns3/mobility-helper.h"
29 #include "ns3/lte-helper.h"
30 #include "ns3/ff-mac-scheduler.h"
32 #include "ns3/lte-enb-phy.h"
33 #include "ns3/lte-enb-net-device.h"
35 #include "ns3/lte-ue-phy.h"
36 #include "ns3/lte-ue-net-device.h"
49 uint32_t frameNo, uint32_t subframeNo, uint16_t rnti,
50 uint8_t mcsTb1, uint16_t sizeTb1, uint8_t mcsTb2, uint16_t sizeTb2)
52 testcase->
DlScheduling (frameNo, subframeNo, rnti, mcsTb1, sizeTb1, mcsTb2, sizeTb2);
57 uint32_t frameNo, uint32_t subframeNo, uint16_t rnti,
58 uint8_t mcs, uint16_t sizeTb)
60 testcase->
UlScheduling (frameNo, subframeNo, rnti, mcs, sizeTb);
101 m_dlSinrDb (10 * std::log10 (dlSinr)),
102 m_ulSinrDb (10 * std::log10 (ulSinr)),
145 positionAlloc->Add (
Vector (0.0, 0.0, 0.0));
164 lteHelper->
Attach (ueDevs1, enbDevs.
Get (0));
165 lteHelper->
Attach (ueDevs2, enbDevs.
Get (1));
213 double dlSinr1Db = 10.0 * std::log10 (testDlSinr1->GetSinr ()->operator[] (0));
216 double ulSinr1Db = 10.0 * std::log10 (testUlSinr1->GetSinr ()->operator[] (0));
219 double dlSinr2Db = 10.0 * std::log10 (testDlSinr2->GetSinr ()->operator[] (0));
222 double ulSinr2Db = 10.0 * std::log10 (testUlSinr2->GetSinr ()->operator[] (0));
232 uint8_t mcsTb1, uint16_t sizeTb1, uint8_t mcsTb2, uint16_t sizeTb2)
239 if ( (frameNo > 1) || (subframeNo > 9) )
247 uint8_t mcs, uint16_t sizeTb)
254 if ( (frameNo > 1) && (subframeNo > 6) )