|
150 |
BSPosition = CreateObject<ConstantPositionMobilityModel> (); |
150 |
BSPosition = CreateObject<ConstantPositionMobilityModel> (); |
151 |
|
151 |
|
152 |
BSPosition->SetPosition (Vector (1000, 0, 0)); |
152 |
BSPosition->SetPosition (Vector (1000, 0, 0)); |
153 |
bsNodes.Get (0)->AggregateObject (BSPosition); |
153 |
dev->GetPhy ()->SetMobility (BSPosition); |
154 |
bsDevs.Add (dev); |
154 |
bsDevs.Add (dev); |
155 |
if (verbose) |
155 |
if (verbose) |
156 |
{ |
156 |
{ |
|
169 |
|
169 |
|
170 |
ss[i] = ssDevs.Get (i)->GetObject<SubscriberStationNetDevice> (); |
170 |
ss[i] = ssDevs.Get (i)->GetObject<SubscriberStationNetDevice> (); |
171 |
ss[i]->SetModulationType (WimaxPhy::MODULATION_TYPE_QAM16_12); |
171 |
ss[i]->SetModulationType (WimaxPhy::MODULATION_TYPE_QAM16_12); |
172 |
ssNodes.Get (i)->AggregateObject (SSPosition[i]); |
172 |
ss[i]->GetPhy ()->SetMobility (SSPosition[i]); |
173 |
|
173 |
|
174 |
} |
174 |
} |