|
Bugzilla – Full Text Bug Listing |
| Summary: | WifiPhy uses channel width in Hz iso MHz | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Ali Rostami <rostami> |
| Component: | wifi | Assignee: | sebastien.deronne |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | ns-bugs |
| Priority: | P2 | ||
| Version: | pre-release | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: |
Suggested Patch
extend Ali's patch |
||
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 |
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