Bugzilla – Bug 2025
Changing the channel doesn't affect the Tx params
Last modified: 2015-03-15 04:48:13 UTC
The bug is in this function: void LrWpanPhy::PlmeSetAttributeRequest (LrWpanPibAttributeIdentifier id, LrWpanPhyPibAttributes* attribute) if this function is used to change the channel, m_txPsd is not recomputed. It should be recomputed. As a matter of fact using the same function to change the Tx power leads to... m_phyPIBAttributes.phyTransmitPower = attribute->phyTransmitPower; LrWpanSpectrumValueHelper psdHelper; m_txPsd = psdHelper.CreateTxPowerSpectralDensity (m_phyPIBAttributes.phyTransmitPower, m_phyPIBAttributes.phyCurrentChannel); Notice the channel number in the last function call.
+1
changeset: 11232:865dcb3bf5a0