Bug 1906 - 802.11n PHY configuration should be different for 2.4GHz and 5GHz devices
802.11n PHY configuration should be different for 2.4GHz and 5GHz devices
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: wifi
ns-3-dev
All All
: P5 normal
Assigned To: Daniel L.
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-25 04:41 EDT by sebastien.deronne
Modified: 2014-11-07 12:32 EST (History)
3 users (show)

See Also:


Attachments
patch v1 (1.61 KB, patch)
2014-04-25 04:42 EDT, sebastien.deronne
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description sebastien.deronne 2014-04-25 04:41:39 EDT
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 EDT
Created attachment 1827 [details]
patch v1
Comment 2 Tom Henderson 2014-11-07 12:32:03 EST
committed in changeset 11054:67de0a6729c3