diff --git a/src/wifi/model/wifi-phy.h b/src/wifi/model/wifi-phy.h index 8636ab6b4..f913be51e 100644 --- a/src/wifi/model/wifi-phy.h +++ b/src/wifi/model/wifi-phy.h @@ -1064,6 +1064,16 @@ public: */ uint8_t GetPrimaryChannelNumber (uint16_t primaryChannelWidth) const; + /** + * Get the start band index and the stop band index for a given band + * + * \param bandWidth the width of the band to be returned (MHz) + * \param bandIndex the index of the band to be returned + * + * \return a pair of start and stop indexes that defines the band + */ + virtual WifiSpectrumBand GetBand (uint16_t bandWidth, uint8_t bandIndex = 0); + protected: virtual void DoDispose (void); @@ -1095,16 +1105,6 @@ protected: */ void SwitchMaybeToCcaBusy (const Ptr ppdu); - /** - * Get the start band index and the stop band index for a given band - * - * \param bandWidth the width of the band to be returned (MHz) - * \param bandIndex the index of the band to be returned - * - * \return a pair of start and stop indexes that defines the band - */ - virtual WifiSpectrumBand GetBand (uint16_t bandWidth, uint8_t bandIndex = 0); - /** * Add the PHY entity to the map of supported PHY entities for the * given modulation class for the WifiPhy instance.