User Manual, Developers Guide and API Documentation

wifimac::management::protocolCalculatorPlugins::FrameLength Class Reference

plugin to determine PSDU sizes for different MAC data units More...

#include <management/protocolCalculatorPlugins/FrameLength.hpp>

Collaboration diagram for wifimac::management::protocolCalculatorPlugins::FrameLength:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 FrameLength (const ConfigGetter &config)
 Constructor with python object.
 FrameLength (const wns::pyconfig::View &config)
 Constructor with python config.
Bit getA_MPDU_PSDU (const std::vector< Bit > &mpduFrameSize) const
 calculates PSDU size of A-MPDU with arbitrary sized frames
Bit getA_MPDU_PSDU (Bit mpduFrameSize, unsigned int n_aggFrames) const
 calculates PSDU size of A-MPDU with fixed sized frames
Bit getA_MSDU_PSDU (const std::vector< Bit > &msduFrameSize) const
 calculates PSDU size of A-MSDU with arbitrary sized frames
Bit getA_MSDU_PSDU (Bit msduFrameSize, unsigned int n_aggFrames) const
 calculates PSDU size of A-MSDU with fixed sized frames
Bit getPSDU (Bit msduFrameSize) const
 returns size of the resulting PSDU
Bit pad (Bit frameSize, Bit multiple) const
virtual ~FrameLength ()

Public Attributes

const Bit ack
const Bit ampdu_delimiter
const Bit amsdu_subhdr
const Bit beacon
const Bit blockACK
const Bit blockACKreq
const Bit cts
const Bit macDataFCS
const Bit macDataHdr
const Bit rts
const Bit service
const Bit tail


Detailed Description

this class calculates the resulting PSDU length in bits for MSDUs, A-MPDUs, A-MSDUs

Definition at line 47 of file FrameLength.hpp.


Constructor & Destructor Documentation

FrameLength::FrameLength ( const wns::pyconfig::View config  ) 

Definition at line 33 of file FrameLength.cpp.

FrameLength::FrameLength ( const ConfigGetter config  ) 

Definition at line 50 of file FrameLength.cpp.

virtual wifimac::management::protocolCalculatorPlugins::FrameLength::~FrameLength (  )  [inline, virtual]

Definition at line 56 of file FrameLength.hpp.


Member Function Documentation

Bit FrameLength::getA_MPDU_PSDU ( const std::vector< Bit > &  mpduFrameSize  )  const

Definition at line 83 of file FrameLength.cpp.

Bit FrameLength::getA_MPDU_PSDU ( Bit  mpduFrameSize,
unsigned int  n_aggFrames 
) const

Definition at line 74 of file FrameLength.cpp.

Bit FrameLength::getA_MSDU_PSDU ( const std::vector< Bit > &  msduFrameSize  )  const

Definition at line 110 of file FrameLength.cpp.

Bit FrameLength::getA_MSDU_PSDU ( Bit  msduFrameSize,
unsigned int  n_aggFrames 
) const

Definition at line 102 of file FrameLength.cpp.

Bit FrameLength::getPSDU ( Bit  msduFrameSize  )  const

Definition at line 68 of file FrameLength.cpp.

Bit FrameLength::pad ( Bit  frameSize,
Bit  multiple 
) const

Definition at line 129 of file FrameLength.cpp.


Member Data Documentation

Definition at line 81 of file FrameLength.hpp.

Definition at line 78 of file FrameLength.hpp.

Definition at line 77 of file FrameLength.hpp.

Definition at line 86 of file FrameLength.hpp.

Definition at line 84 of file FrameLength.hpp.

Definition at line 85 of file FrameLength.hpp.

Definition at line 83 of file FrameLength.hpp.

Definition at line 76 of file FrameLength.hpp.

Definition at line 75 of file FrameLength.hpp.

Definition at line 82 of file FrameLength.hpp.

Definition at line 79 of file FrameLength.hpp.

Definition at line 80 of file FrameLength.hpp.


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

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