[Ns-bugs] [Bug 177] Wifi default beacon interval not very realistic

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Tue Jun 3 10:04:17 PDT 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=177





------- Comment #1 from gjcarneiro at gmail.com  2008-06-03 13:04 -------
See http://telecom.inescporto.pt/~gjc/Screenshot-(Untitled)%20-%20Wireshark.png
Shows real live capture, approximately 100 ms interval.

Patch is trivial:

diff -r 539a710e5cf9 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:00:01 2008 +0100
@@ -44,7 +44,7 @@ NqapWifiMac::GetTypeId (void)
     .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.",


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Ns-bugs mailing list