Change the default beacon interval to a more realistic value (100 ms); closes bug #177.
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Tue, 03 Jun 2008 18:15:08 +0100
changeset 3197 362f1a144828
parent 3196 539a710e5cf9
child 3205 6fa145613c52
child 3206 231895d89769
Change the default beacon interval to a more realistic value (100 ms); closes bug #177.
src/devices/wifi/nqap-wifi-mac.cc
--- a/src/devices/wifi/nqap-wifi-mac.cc	Tue Jun 03 07:09:40 2008 -0700
+++ b/src/devices/wifi/nqap-wifi-mac.cc	Tue Jun 03 18:15:08 2008 +0100
@@ -44,7 +44,7 @@
     .SetParent<WifiMac> ()
     .AddConstructor<NqapWifiMac> ()
     .AddAttribute ("BeaconInterval", "Delay between two beacons",
-                   TimeValue (Seconds (1.0)),
+                   TimeValue (Seconds (0.1)),
                    MakeTimeAccessor (&NqapWifiMac::m_beaconInterval),
                    MakeTimeChecker ())
     .AddAttribute ("BeaconGeneration", "Whether or not beacons are generated.",