User Manual, Developers Guide and API Documentation

wimemac::convergence::PhyModeProvider Class Reference

The PhyModeProvider holds all configured PhyModes and provides methods for their simple access by the rate adaptation. More...

#include <convergence/PhyModeProvider.hpp>

Collaboration diagram for wimemac::convergence::PhyModeProvider:

Collaboration graph
[legend]

List of all members.

Public Member Functions

PhyMode getDefaultPhyMode () const
MCS getMCS (wns::Ratio SINR) const
 return the optimal MCS for a suggested sinr
wns::Ratio getMinSINR () const
 returns the minimal SINR for a connection
PhyMode getPreamblePhyMode () const
PhyMode getPreamblePhyMode (PhyMode pmFrame) const
 Returns the PhyMode which is used to model the preamble transmissions.
bool hasHighestMCS (const PhyMode &pm) const
 Returns if the phy mode uses the highest.
bool hasLowestMCS (const PhyMode &pm) const
 Returns if the phy mode uses the lowest MCS.
void mcsDown (PhyMode &pm) const
 Returns the next lower PhyMode.
void mcsUp (PhyMode &pm) const
 Returns the PhyMode with more dbps, but also with higher SINR requirement.
 PhyModeProvider (const wns::pyconfig::View &config)

Private Attributes

PhyMode defaultPhyMode
PhyMode preamblePhyMode
std::map< wns::Ratio, MCSsinr2mcs
wns::Ratio switchingPointOffset


Detailed Description

The PhyModes are ordered by their number of data bits per symbol (see PhyMode.hpp). This allows for the methods mcs[Up|Down], has[Lowest|Highest]. Of course, their robustness to interference should be ordered in the other way round.

Definition at line 47 of file PhyModeProvider.hpp.


Constructor & Destructor Documentation

wimemac::convergence::PhyModeProvider::PhyModeProvider ( const wns::pyconfig::View config  ) 


Member Function Documentation

PhyMode wimemac::convergence::PhyModeProvider::getDefaultPhyMode (  )  const

MCS wimemac::convergence::PhyModeProvider::getMCS ( wns::Ratio  SINR  )  const

wns::Ratio wimemac::convergence::PhyModeProvider::getMinSINR (  )  const

PhyMode wimemac::convergence::PhyModeProvider::getPreamblePhyMode (  )  const

PhyMode wimemac::convergence::PhyModeProvider::getPreamblePhyMode ( PhyMode  pmFrame  )  const

bool wimemac::convergence::PhyModeProvider::hasHighestMCS ( const PhyMode pm  )  const

bool wimemac::convergence::PhyModeProvider::hasLowestMCS ( const PhyMode pm  )  const

void wimemac::convergence::PhyModeProvider::mcsDown ( PhyMode pm  )  const

void wimemac::convergence::PhyModeProvider::mcsUp ( PhyMode pm  )  const


Member Data Documentation

Definition at line 90 of file PhyModeProvider.hpp.

Definition at line 91 of file PhyModeProvider.hpp.

Definition at line 86 of file PhyModeProvider.hpp.

Definition at line 88 of file PhyModeProvider.hpp.


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

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