Ns-3.42 errata

From Nsnam
Revision as of 14:20, 10 June 2024 by Tomh (talk | contribs) (start errata for ns-3.42)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

On May 29, 2024, ns-3.42 was published. This page lists some issues that have been fixed in the mainline since that time. If considered impactful enough, the maintainers may make an update to this release to cover some or all of these issues.

examples/routing/manet-routing-compare.cc produces no output

The example program 'manet-routing-compare.cc' runs but produces no output. This is due to a bug preventing use of DSSS rates 5.5 and 11 Mbps. The workaround is to avoid these rates:

diff --git a/examples/routing/manet-routing-compare.cc b/examples/routing/manet-routing-compare.cc
index a105ab0d2..e1dee99e0 100644
--- a/examples/routing/manet-routing-compare.cc
+++ b/examples/routing/manet-routing-compare.cc
@@ -247,7 +247,7 @@ RoutingExperiment::Run()
 
     double TotalTime = 200.0;
     std::string rate("2048bps");
-    std::string phyMode("DsssRate11Mbps");
+    std::string phyMode("DsssRate2Mbps");
     std::string tr_name("manet-routing-compare");
     int nodeSpeed = 20; // in m/s
     int nodePause = 0;  // in s

Another solution is to avoid use of 802.11b entirely and use another standard. There is an open issue to fix this in the mainline.