Bugzilla – Bug 2267
Wrong channel bandwidth value in pcap files
Last modified: 2016-01-16 06:12:37 UTC
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; }
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