[Ns-bugs] [Bug 199] ProbeRequestTimeout too large

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


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





------- Comment #1 from gjcarneiro at gmail.com  2008-06-03 14:19 -------
diff -r 362f1a144828 src/devices/wifi/nqsta-wifi-mac.cc
--- a/src/devices/wifi/nqsta-wifi-mac.cc        Tue Jun 03 18:15:08 2008 +0100
+++ b/src/devices/wifi/nqsta-wifi-mac.cc        Tue Jun 03 19:17:12 2008 +0100
@@ -63,7 +63,7 @@ NqstaWifiMac::GetTypeId (void)
     .SetParent<WifiMac> ()
     .AddConstructor<NqstaWifiMac> ()
     .AddAttribute ("ProbeRequestTimeout", "XXX",
-                   TimeValue (Seconds (0.5)),
+                   TimeValue (Seconds (0.05)),
                    MakeTimeAccessor (&NqstaWifiMac::m_probeRequestTimeout),
                    MakeTimeChecker ())
     .AddAttribute ("AssocRequestTimeout", "XXX",



PS: the reason why this value is critical is because it affects how much time
it takes to do an active scanning sweeping all the 12 or so WiFi channels
available.  I am no WiFi expert, but as far as I know the STA needs to spend at
least ProbeRequestTimeout in each channel; mutiply that time by 12, and...


-- 
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