Documentation and implementation mismatch for power offsets in `LteFrStrictAlgorithm`?
The documentation for LteFrStrictAlgorithm
says that the default value for the CenterPowerOffset
and EdgePowerOffset
attributes is dB0
. Yet, in the implementation, the default values are in fact set to UintegerValue(5)
, which seems to correspond to dB1
.
Perhaps I have misunderstood something, but this seems like a documentation-implementation mismatch (and is probably also present in other FR classes).
Ptr<LteFrStrictAlgorithm> fr = CreateObject<LteFrStrictAlgorithm>();
UintegerValue centerPowerOffset;
fr->GetAttribute("CenterPowerOffset", centerPowerOffset);
std::cout << "dB0? " << (centerPowerOffset.Get() == LteRrcSap::PdschConfigDedicated::db::dB0) << std::endl;
std::cout << "dB1? " << (centerPowerOffset.Get() == LteRrcSap::PdschConfigDedicated::db::dB1) << std::endl;
outputs
dB0? 0
dB1? 1