User Manual, Developers Guide and API Documentation

wifimac::lowerMAC::rateAdaptationStrategies::PER Class Reference

The PER Rate Adpation tries to find the maximum MCS with a packet error rate below a given value. More...

#include <lowerMAC/rateAdaptationStrategies/PER.hpp>

Inheritance diagram for wifimac::lowerMAC::rateAdaptationStrategies::PER:

Inheritance graph
[legend]
Collaboration diagram for wifimac::lowerMAC::rateAdaptationStrategies::PER:

Collaboration graph
[legend]

List of all members.

Public Member Functions

wifimac::convergence::PhyMode getPhyMode (size_t numTransmissions, const wns::Ratio lqm) const
 getPhyMode with additional lqm
wifimac::convergence::PhyMode getPhyMode (size_t numTransmissions) const
 getPhyMode: Return the PhyMode depending on the number of transmissions.
 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)
void setCurrentPhyMode (wifimac::convergence::PhyMode pm)
 Notify the rate adaptation strategy of the used PhyMode.

Private Attributes

wifimac::convergence::PhyMode curPhyMode
struct
wifimac::lowerMAC::rateAdaptationStrategies::PER::Friends 
friends
wns::logger::Loggerlogger
const
wns::service::dll::UnicastAddress 
myReceiver
wifimac::management::PERInformationBaseper
const double perForGoingDown
const double perForGoingUp

Classes

struct  Friends


Detailed Description

PER RA works only using the statistics of received ACKs as a reply to the used MCS. Hence, it slowly increases the rate by selecting high-rate MCSs, until the PER exceeds a given value. Then, it stays at the next lower MCS until the percieved PER changes again.

Definition at line 52 of file PER.hpp.


Constructor & Destructor Documentation

Definition at line 38 of file PER.cpp.


Member Function Documentation

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.

Definition at line 64 of file PER.cpp.

void PER::setCurrentPhyMode ( wifimac::convergence::PhyMode  pm  )  [virtual]


Member Data Documentation

Definition at line 89 of file PER.hpp.

Definition at line 87 of file PER.hpp.

Definition at line 83 of file PER.hpp.

Definition at line 76 of file PER.hpp.

Definition at line 84 of file PER.hpp.

Definition at line 85 of file PER.hpp.


The documentation for this class was generated from the following files:

Generated on Sat May 26 03:32:43 2012 for openWNS by  doxygen 1.5.5