use the holland set of modes.
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Tue, 06 Nov 2007 16:16:18 +0100
changeset 2084 24cfc21bda99
parent 2083 c7541b84285e
child 2085 72ec3b59f333
use the holland set of modes.
samples/main-adhoc-wifi.cc
--- a/samples/main-adhoc-wifi.cc	Tue Nov 06 16:16:06 2007 +0100
+++ b/samples/main-adhoc-wifi.cc	Tue Nov 06 16:16:18 2007 +0100
@@ -151,6 +151,7 @@
 
   // disable fragmentation
   DefaultValue::Bind ("WifiFragmentationThreshold", "2200");
+  DefaultValue::Bind ("WifiPhyStandard", "holland");
   CommandLine::Parse (argc, argv);
 
   Gnuplot gnuplot = Gnuplot ("rate-control.png");
@@ -173,7 +174,7 @@
 
   g_output = new GnuplotDataset ("ideal");
   g_output->SetStyle (GnuplotDataset::LINES);
-  DefaultValue::Bind ("WifiRtsCtsThreshold", "0");
+  DefaultValue::Bind ("WifiRtsCtsThreshold", "2200");
   DefaultValue::Bind ("WifiRateControlAlgorithm", "Ideal");
   RunOneExperiment ();
   gnuplot.AddDataset (*g_output);