Bugzilla – Bug 2813
OFDM 10 MHz and 5 MHz PHYs do not have correct subcarrier frequency spacings
Last modified: 2018-02-20 07:42:44 UTC
IEEE standard specifies that OFDM PHYs with 10 MHz and 5 MHz channel spacing should respectively use 156.25 kHz and 78.125 kHz subcarrier frequency spacing. In the current state of ns-3, the default 312.5 kHz spacing is being used (except for 11ax). With the introduction of Spectrum framework in wifi module, the way subcarriers are modeled becomes critical. It would thus be more realistic to use the correct subcarrier spacings (and subsequent FFT periods).
Tom, I guess you are working on this?
Yes.
Created attachment 3047 [details] proposed patch This patch corrects the spectrum value layout for 10 MHz and 5 MHz channels. The number of bands per channel is the same, but the band bandwidth is reduced with channel width. The guard band around the channel is also reduced in a corresponding manner. The longer symbol duration is handled elsewhere in the code and didn't seem to need to be modified. This patch doesn't address changes to CCA/ED thresholds for smaller channels (there is another open bug to clean up the CCA behavior and attributes). Python bindings would need to be rescanned.
Created attachment 3048 [details] simple test program This program can be run from scratch/ to display the resulting spectrum value for 20, 10, and 5 MHz channels.
+1 for me, thanks Tom.
Thanks Tom. +1 for me too.
I think we can push this one then :-)
Pushed in changeset 13298:23aa339aecd6