![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <lowerMAC/rateAdaptationStrategies/PER.hpp>


Definition at line 52 of file PER.hpp.
| PER::PER | ( | const wns::pyconfig::View & | config_, | |
| wns::service::dll::UnicastAddress | _receiver, | |||
| wifimac::management::PERInformationBase * | _per, | |||
| wifimac::management::SINRInformationBase * | _sinr, | |||
| wifimac::lowerMAC::Manager * | _manager, | |||
| wifimac::convergence::PhyUser * | _phyUser, | |||
| wns::logger::Logger * | _logger | |||
| ) |
| wifimac::convergence::PhyMode PER::getPhyMode | ( | size_t | numTransmissions, | |
| const wns::Ratio | lqm | |||
| ) | const [virtual] |
| wifimac::convergence::PhyMode PER::getPhyMode | ( | size_t | numTransmissions | ) | const [virtual] |
This method returns the currently selected phyMode of the specific rate adaptation strategy, given the number of transmissions for the frame. This method is const and thus cannot change the internal state of the rate adaptation strategy. Hence, multiple calls to the method at the same simulation time and number of transmissions (e.g. to calculate transmit durations) return ALWAYS the same phyMode.
Implements wifimac::lowerMAC::rateAdaptationStrategies::IRateAdaptationStrategy.
| void PER::setCurrentPhyMode | ( | wifimac::convergence::PhyMode | pm | ) | [virtual] |
struct wifimac::lowerMAC::rateAdaptationStrategies::PER::Friends wifimac::lowerMAC::rateAdaptationStrategies::PER::friends [private] |
1.5.5