diff -r 5c4e5b38e53e src/lr-wpan/examples/lr-wpan-error-distance-plot.cc --- a/src/lr-wpan/examples/lr-wpan-error-distance-plot.cc Wed Nov 14 11:53:21 2018 -0800 +++ b/src/lr-wpan/examples/lr-wpan-error-distance-plot.cc Thu Nov 15 16:17:17 2018 -0200 @@ -108,9 +108,12 @@ Ptr mob1 = CreateObject (); dev1->GetPhy ()->SetMobility (mob1); - LrWpanSpectrumValueHelper svh; - Ptr psd = svh.CreateTxPowerSpectralDensity (txPower, channelNumber); - dev0->GetPhy ()->SetTxPowerSpectralDensity (psd); + LrWpanPhyPibAttributes attributes; + attributes.phyCurrentChannel = channelNumber; + attributes.phyTransmitPower = txPower; + dev0->GetPhy ()->PlmeSetAttributeRequest (phyTransmitPower, &attributes); + dev0->GetPhy ()->PlmeSetAttributeRequest (phyCurrentChannel, &attributes); + dev1->GetPhy ()->PlmeSetAttributeRequest (phyCurrentChannel, &attributes); McpsDataIndicationCallback cb0; cb0 = MakeCallback (&LrWpanErrorDistanceCallback); diff -r 5c4e5b38e53e src/lr-wpan/model/lr-wpan-phy.cc --- a/src/lr-wpan/model/lr-wpan-phy.cc Wed Nov 14 11:53:21 2018 -0800 +++ b/src/lr-wpan/model/lr-wpan-phy.cc Thu Nov 15 16:17:17 2018 -0200 @@ -939,6 +939,7 @@ m_phyPIBAttributes.phyCurrentChannel = attribute->phyCurrentChannel; LrWpanSpectrumValueHelper psdHelper; m_txPsd = psdHelper.CreateTxPowerSpectralDensity (m_phyPIBAttributes.phyTransmitPower, m_phyPIBAttributes.phyCurrentChannel); + m_noise = psdHelper.CreateNoisePowerSpectralDensity (m_phyPIBAttributes.phyCurrentChannel); } break; } diff -r 5c4e5b38e53e src/wifi/model/he-configuration.cc --- a/src/wifi/model/he-configuration.cc Wed Nov 14 11:53:21 2018 -0800 +++ b/src/wifi/model/he-configuration.cc Thu Nov 15 16:17:17 2018 -0200 @@ -46,10 +46,6 @@ MakeTimeAccessor (&HeConfiguration::GetGuardInterval, &HeConfiguration::SetGuardInterval), MakeTimeChecker (NanoSeconds (800), NanoSeconds (3200))) - .AddAttribute ("BssColor", "BSS color", - UintegerValue (0), - MakeUintegerAccessor (&HeConfiguration::m_bssColor), - MakeUintegerChecker ()) ; return tid; } diff -r 5c4e5b38e53e src/wifi/model/he-configuration.h --- a/src/wifi/model/he-configuration.h Wed Nov 14 11:53:21 2018 -0800 +++ b/src/wifi/model/he-configuration.h Thu Nov 15 16:17:17 2018 -0200 @@ -50,7 +50,6 @@ private: Time m_guardInterval; //!< Supported HE guard interval - uint8_t m_bssColor; //!< BSS color }; } //namespace ns3