examples/mixed-wireless.cc
changeset 3888 a15618dcd0eb
parent 3174 efeb6e5c276d
child 3893 94f771c1373a
--- a/examples/mixed-wireless.cc	Wed Jun 11 11:15:43 2008 -0700
+++ b/examples/mixed-wireless.cc	Wed Jun 11 11:52:40 2008 -0700
@@ -137,7 +137,7 @@
   //
   WifiHelper wifi;
   wifi.SetMac ("ns3::AdhocWifiMac");
-  wifi.SetPhy ("ns3::WifiPhy");
+  wifi.SetPhy ("ns3::YansWifiPhy");
   NetDeviceContainer backboneDevices = wifi.Install (backbone);
   //
   // Add the IPv4 protocol stack to the nodes in our container
@@ -246,7 +246,7 @@
       //
       WifiHelper wifiInfra;
       wifiInfra.SetMac ("ns3::AdhocWifiMac");
-      wifiInfra.SetPhy ("ns3::WifiPhy");
+      wifiInfra.SetPhy ("ns3::YansWifiPhy");
       NetDeviceContainer infraDevices = wifiInfra.Install (infra);
 
       // Add the IPv4 protocol stack to the nodes in our container