Bug 1906

Summary: 802.11n PHY configuration should be different for 2.4GHz and 5GHz devices
Product: ns-3 Reporter: sebastien.deronne
Component: wifiAssignee: Daniel L. <nikkipui>
Status: RESOLVED FIXED    
Severity: normal CC: ns-bugs, sebastien.deronne, tomh
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: patch v1

Description sebastien.deronne 2014-04-25 04:41:39 UTC
In YansWifiPhy, there is a single Configure80211n method to configure PHY layer of both 2.4GHz and 5GHz devices.

However, it only considers PHY rates for 2.4GHz devices:
- DsssRate1Mbps
- DsssRate2Mbps
- DsssRate5_5Mbps
- ErpOfdmRate6Mbps
- DsssRate11Mbps
- GetErpOfdmRate12Mbps
- ErpOfdmRate24Mbps

On the contrary, 5GHz devices should include:

- OfdmRate6Mbps
- OfdmRate12Mbps
- OfdmRate24Mbps

I provide an attached patch which configures 802.11n devices based on their operating frequency, via m_channelStartingFrequency variable.

I also wonder if all legacy rates should be included or not, wile only legacy basic rates are currently included. 
What say the standard about that? Any idea?
Comment 1 sebastien.deronne 2014-04-25 04:42:29 UTC
Created attachment 1827 [details]
patch v1
Comment 2 Tom Henderson 2014-11-07 12:32:03 UTC
committed in changeset 11054:67de0a6729c3