Bugzilla – Full Text Bug Listing |
Summary: | Classes static_LteDownlinkSpectrumModel_initializer and static_LteUplinkSpectrumModel_initializer have swapped the operating frequency band | ||
---|---|---|---|
Product: | ns-3 | Reporter: | ritwik <ritwik.exe> |
Component: | lte | Assignee: | Giuseppe Piro <peppe> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ns-bugs, tomh |
Priority: | P5 | Keywords: | bug, patch |
Version: | ns-3-dev | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | This diff file will swap the uplink and downlink freq band usage by the two classes in lte-spectrum-value-helper.cc file |
Fixed into the changeset 6883 d2770ff543f7 of ns-3-lte (In reply to comment #1) > Fixed into the > changeset 6883 d2770ff543f7 > of ns-3-lte can you fix to ns-3-dev and close this, so that it is in ns-3.12 (since ns-3-lte won't be merged until after ns-3.12)? fix pulled from Giuseppe's repo: changeset ca0281bce8a9 |
Created attachment 1024 [details] This diff file will swap the uplink and downlink freq band usage by the two classes in lte-spectrum-value-helper.cc file The file src/devices/lte/model/lte-spectrum-value-helper.cc have implemented classes static_LteDownlinkSpectrumModel_initializer and static_LteUplinkSpectrumModel_initializer. The downlink operating frequency band for LTE is 2110 MHz – 2170 MHz and the uplink operating frequency band is 1920 MHz – 1980 MHz. Actual Code: The constructors of these classes have swapped the downlink and uplink frequency bands. static_LteDownlinkSpectrumModel_initializer::static_LteDownlinkSpectrumModel_initializer() is using 1920 MHz – 1980 MHz band static_LteUplinkSpectrumModel_initializer::static_LteUplinkSpectrumModel_initializer() is using 2110 MHz – 2170 MHz band. Expected Code: The frequency band usage should be swapped. I've attached a diff file to correct the code file. Version info: Found in ns-3.10 and ns-3-dev