wifi: DoChannelSwitch should not be public

This commit is contained in:
Sébastien Deronne
2023-08-29 21:49:40 +02:00
parent cfef4966bb
commit 754165eb40

View File

@@ -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<FrequencyRange, Ptr<WifiSpectrumPhyInterface>>
m_spectrumPhyInterfaces; //!< Spectrum PHY interfaces