wifi: WifiPhy::GetBand can be public
This commit is contained in:
committed by
Sébastien Deronne
parent
b24d62fd70
commit
8a7783e078
@@ -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<const WifiPpdu> 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.
|
||||
|
||||
Reference in New Issue
Block a user