Bugzilla – Full Text Bug Listing |
Summary: | GetChannelFrequencyMhz() does not match with standard | ||
---|---|---|---|
Product: | ns-3 | Reporter: | Gary Pei <guangyu.pei> |
Component: | wifi | Assignee: | Nicola Baldo <nicola> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ns-bugs |
Priority: | P5 | ||
Version: | pre-release | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | Modify GetChannelFrequencyMhz to get the center freqency correctly for 802.11a. |
I applied a different (simpler) fix changeset: 6644:a5cf56882003 |
Created attachment 1005 [details] Modify GetChannelFrequencyMhz to get the center freqency correctly for 802.11a. According to 802.11-2007 equation 17-27 on page 613 for 802.11a 5GHz: Channel center frequency = Channel starting frequency + 5 × nch (MHz) (17-27) Thus, for example, channel 36 should be 5180 MHz. However, current code return 5175 MHz. Current code is correct for 802.11b/g.