Bug 1015

Summary: GetChannelFrequencyMhz() does not match with standard
Product: ns-3 Reporter: Gary Pei <guangyu.pei>
Component: wifiAssignee: 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.

Description Gary Pei 2010-10-25 13:32:58 EDT
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.
Comment 1 Nicola Baldo 2010-10-26 08:02:38 EDT
I applied a different (simpler) fix

changeset:   6644:a5cf56882003