23 #include "ns3/wifi-net-device.h"
24 #include "ns3/yans-wifi-channel.h"
25 #include "ns3/adhoc-wifi-mac.h"
26 #include "ns3/yans-wifi-phy.h"
27 #include "ns3/arf-wifi-manager.h"
28 #include "ns3/propagation-delay-model.h"
29 #include "ns3/propagation-loss-model.h"
30 #include "ns3/error-rate-model.h"
31 #include "ns3/yans-error-rate-model.h"
32 #include "ns3/constant-position-mobility-model.h"
34 #include "ns3/simulator.h"
36 #include "ns3/object-factory.h"
37 #include "ns3/dca-txop.h"
38 #include "ns3/mac-rx-middle.h"
39 #include "ns3/pointer.h"
48 virtual void DoRun (
void);
68 dev->Send (p, dev->GetBroadcast (), 1);
82 phy->SetErrorRateModel (error);
83 phy->SetChannel (channel);
85 phy->SetMobility (node);
89 mobility->SetPosition (pos);
94 dev->SetRemoteStationManager (manager);
186 virtual void DoRun (
void);
198 :
TestCase (
"InterferenceHelperSequence")
206 dev->Send (p, dev->GetBroadcast (), 1);
227 phy->SetErrorRateModel (error);
228 phy->SetChannel (channel);
229 phy->SetDevice (dev);
230 phy->SetMobility (node);
234 mobility->SetPosition (pos);
239 dev->SetRemoteStationManager (manager);
263 propLoss->SetDefaultLoss (999);
267 DynamicCast<WifiNetDevice> (senderB->
GetDevice (0)));
271 DynamicCast<WifiNetDevice> (rxOnly->
GetDevice (0)));
275 DynamicCast<WifiNetDevice> (senderA->
GetDevice (0)));
279 DynamicCast<WifiNetDevice> (senderB->
GetDevice (0)));