Bugzilla – Bug 2337
WifiPhy uses channel width in Hz iso MHz
Last modified: 2016-03-15 19:28:56 UTC
Created attachment 2340 [details] Suggested Patch Hey All, I was playing with the different PhyModes to understand the ns3 approach to handling different bandwidths (20MHz, 10MHz, 5MHz), noticed the values for the switch haven't been updated to 20, 10, and 5. switch (txVector.GetChannelWidth ()) { case 20000000: default: symbolDuration = MicroSeconds (4); break; case 10000000: symbolDuration = MicroSeconds (8); break; case 5000000: symbolDuration = MicroSeconds (16); break; } Please see the attachment for suggested patch. -Ali
Created attachment 2341 [details] extend Ali's patch Ali, thanks. I extended a bit your patch since there are other places where channel width is used in Hz iso MHz.
I will check with Tom whether it is still possible to deliver this fix for ns-3.25.
(In reply to sebastien.deronne from comment #2) > I will check with Tom whether it is still possible to deliver this fix for > ns-3.25. Thanks, Sebastien. Sounds good to me.
pushed in changeset 12050:589b138eb7f6