diff --git a/src/wifi/model/spectrum-wifi-phy.h b/src/wifi/model/spectrum-wifi-phy.h index d8e3d534b..22d05c110 100644 --- a/src/wifi/model/spectrum-wifi-phy.h +++ b/src/wifi/model/spectrum-wifi-phy.h @@ -131,10 +131,6 @@ class SpectrumWifiPhy : public WifiPhy double rxPower, Time duration); - // The following method calls the base WifiPhy class method - // but also generates a new SpectrumModel if called during runtime - void DoChannelSwitch() override; - /** * This function is sending the signal to the Spectrum channel * after finishing the configuration of the transmit parameters. @@ -162,6 +158,10 @@ class SpectrumWifiPhy : public WifiPhy void DoDispose() override; void DoInitialize() override; + // The following method calls the base WifiPhy class method + // but also generates a new SpectrumModel if called during runtime + void DoChannelSwitch() override; + std::map> m_spectrumPhyInterfaces; //!< Spectrum PHY interfaces