--- a/src/wifi/model/spectrum-wifi-phy.cc Thu Nov 29 15:15:22 2018 +0100
+++ b/src/wifi/model/spectrum-wifi-phy.cc Fri Nov 30 17:02:35 2018 +0300
@@ -188,33 +188,6 @@
}
void
-SpectrumWifiPhy::AddOperationalChannel (uint8_t channelNumber)
-{
- m_operationalChannelList.push_back (channelNumber);
-}
-
-std::vector<uint8_t>
-SpectrumWifiPhy::GetOperationalChannelList () const
-{
- std::vector<uint8_t> channelList;
- channelList.push_back (GetChannelNumber ()); // first channel of list
- for (std::vector<uint8_t>::size_type i = 0; i != m_operationalChannelList.size (); i++)
- {
- if (m_operationalChannelList[i] != GetChannelNumber ())
- {
- channelList.push_back (m_operationalChannelList[i]);
- }
- }
- return channelList;
-}
-
-void
-SpectrumWifiPhy::ClearOperationalChannelList ()
-{
- m_operationalChannelList.clear ();
-}
-
-void
SpectrumWifiPhy::StartRx (Ptr<SpectrumSignalParameters> rxParams)
{
NS_LOG_FUNCTION (this << rxParams);
--- a/src/wifi/model/spectrum-wifi-phy.h Thu Nov 29 15:15:22 2018 +0100
+++ b/src/wifi/model/spectrum-wifi-phy.h Fri Nov 30 17:02:35 2018 +0300
@@ -65,25 +65,6 @@
* \param channel the SpectrumChannel this SpectrumWifiPhy is to be connected to
*/
void SetChannel (const Ptr<SpectrumChannel> channel);
- /**
- * Add a channel number to the list of operational channels. This method
- * is used to support scanning for strongest base station.
- *
- * \param channelNumber the channel number to add
- */
- void AddOperationalChannel (uint8_t channelNumber);
- /**
- * Return a list of channels to which it may be possible to roam
- * By default, this method will return the current channel number followed
- * by any other channel numbers that have been added.
- *
- * \return vector of channel numbers to which it may be possible to roam
- */
- std::vector<uint8_t> GetOperationalChannelList (void) const;
- /**
- * Clear the list of operational channels.
- */
- void ClearOperationalChannelList (void);
/**
* Input method for delivering a signal from the spectrum channel
@@ -210,7 +191,6 @@
void ResetSpectrumModel (void);
Ptr<SpectrumChannel> m_channel; //!< SpectrumChannel that this SpectrumWifiPhy is connected to
- std::vector<uint8_t> m_operationalChannelList; //!< List of possible channels
Ptr<WifiSpectrumPhyInterface> m_wifiSpectrumPhyInterface; //!< Spectrum phy interface
Ptr<AntennaModel> m_antenna; //!< antenna model