Index: examples/tutorial/third.cc |
=================================================================== |
--- a/examples/tutorial/third.cc |
+++ b/examples/tutorial/third.cc |
@@ -91,15 +91,17 @@ |
NqosWifiMacHelper mac = NqosWifiMacHelper::Default (); |
Ssid ssid = Ssid ("ns-3-ssid"); |
- mac.SetType ("ns3::NqstaWifiMac", |
- "Ssid", SsidValue (ssid), |
- "ActiveProbing", BooleanValue (false)); |
+ mac.SetType ("ns3::StaWifiMac", |
+ "QosSupported", BooleanValue (false), |
+ "Ssid", SsidValue (ssid), |
+ "ActiveProbing", BooleanValue (false)); |
NetDeviceContainer staDevices; |
staDevices = wifi.Install (phy, mac, wifiStaNodes); |
- mac.SetType ("ns3::NqapWifiMac", |
- "Ssid", SsidValue (ssid)); |
+ mac.SetType ("ns3::ApWifiMac", |
+ "QosSupported", BooleanValue (false), |
+ "Ssid", SsidValue (ssid)); |
NetDeviceContainer apDevices; |
apDevices = wifi.Install (phy, mac, wifiApNode); |