|
Bugzilla – Full Text Bug Listing |
| Summary: | Wrong channel bandwidth value in pcap files | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | P <songrittom> |
| Component: | wifi | Assignee: | sebastien.deronne |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | ns-bugs |
| Priority: | P5 | ||
| Version: | pre-release | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | fix for bug 2267 | ||
It looks indeed not correct. When implementing 802.11ac, I had originally chosen for getting the bandwidth in Hz, but then I went back to Mhz units. Apparently that part of the code was forgotten to be adapted. I will test and prepare a fix today. Created attachment 2238 [details] fix for bug 2267 I added a fix for this bug. Since it is an obvious one, I will deliver it in ns-3-dev immediately. Thanks for reporting! pushed in 11821:2965f0748903 |
I found txVector.GetChannelWidth() has return value in MHz units. but yans-wifi-helper.cc use in Hz units. for example. if (txVector.GetChannelWidth () == 40000000) { mcsFlags |= RadiotapHeader::MCS_FLAGS_BANDWIDTH_40; }