Bugzilla – Bug 2624
Inconsistent coding
Last modified: 2017-01-21 09:10:14 UTC
In the following code found in file lte/model/lte-spectrum-value-helper.cc, the parameter in the constructor for earfcn (f) is defined as uint16_t while the corresponding member variable it is saved to is defined as uint32_t. struct LteSpectrumModelId { LteSpectrumModelId (uint16_t f, uint8_t b); uint32_t earfcn; uint8_t bandwidth; }; LteSpectrumModelId::LteSpectrumModelId (uint16_t f, uint8_t b) : earfcn (f), bandwidth (b) { }
Thank you Robert for reporting this. This will be fixed probably during today, once I commit following changesets that are part of the carrier aggregation code. I will post here once the changeset in on ns-3-dev. Thanks!
The following line found in lte-ue-phy.h also has an inconsistent variable name for the parameter (ul vs dl) void DoSetDlBandwidth (uint8_t ulBandwidth);
Great, thanks, I will also fix that and update here the changeset.
Pushed to changeset 12553:e10270e72f3a.