|
Bugzilla – Full Text Bug Listing |
| Summary: | Regression in Minstrel HT | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Alexander Krotov <krotov> |
| Component: | wifi | Assignee: | sebastien.deronne |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | ns-bugs |
| Priority: | P3 | ||
| Version: | ns-3-dev | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | path to fix | ||
|
Description
Alexander Krotov
2018-07-12 11:04:24 UTC
Alexander, could you provide a script to reproduce the problem? Thanks! Update to the correct revision (parent of de0e4a4b3957):
$ hg up -r e35caba656f3
Modify examples/wireless/rate-adaptation-distance.cc:
- onoff.SetConstantRate (DataRate ("200Mb/s"), 1420);
+ onoff.SetConstantRate (DataRate ("400Mb/s"), 1420);
Run:
$ ./waf --run "rate-adaptation-distance --staManager=ns3::MinstrelHtWifiManager --apManager=ns3::MinstrelHtWifiManager --outputFileName=minstrelHt --channelWidth=80 --steps=2 --stepsTime=5 --standard=802.11ac"
Read throughput-minstrelHt.plt, throughput is 308.197
Update to latest, revision, rerun. Throughput is 156.118.
Thanks, I am working on a fix. Created attachment 3137 [details]
path to fix
I used some uint16_t instead of uint8_t as you suggested.
I have tested the patch, it fixes regression. Now throughput is 308.17 (not 308.197), but it is probably the result of rounding errors, other commits, etc. By the way, maybe it makes sense to increase DataRate in the example permanently? 200 Mbit/s is not the upper bound anymore. (In reply to Alexander Krotov from comment #5) > I have tested the patch, it fixes regression. > > Now throughput is 308.17 (not 308.197), but it is probably the result of > rounding errors, other commits, etc. > > By the way, maybe it makes sense to increase DataRate in the example > permanently? 200 Mbit/s is not the upper bound anymore. Yes, I do not have objections for this. Ok, I have increased to 400 Mbit/s and rerun all tests. Can you push the fix to ns-3-dev so I can merge with it? Fixed in changeset 13694:5176532f55c7 |