User Manual, Developers Guide and API Documentation

wifimac::draftn::BeaconLinkQualityMeasurementwithMIMO Class Reference

The LQM measures the average one-way flight-time of all current active links and provides this measure as a metric for the path-selection FU. More...

#include <draftn/BeaconLinkQualityMeasurementwithMIMO.hpp>

Inheritance diagram for wifimac::draftn::BeaconLinkQualityMeasurementwithMIMO:

Inheritance graph
[legend]
Collaboration diagram for wifimac::draftn::BeaconLinkQualityMeasurementwithMIMO:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 BeaconLinkQualityMeasurementwithMIMO (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config)
 Constructor.
void newLinkCost (wns::service::dll::UnicastAddress rx, wifimac::pathselection::Metric cost)
 Indicates a change in the link cost.
virtual ~BeaconLinkQualityMeasurementwithMIMO ()
 Destructor.

Public Attributes

wns::logger::Logger logger
 The logger.

Private Types

typedef
wns::container::Registry
< wns::service::dll::UnicastAddress,
BroadcastLinkQualitywithMIMO * > 
adr2qualityMap
 Map of address to BroadcastLinkQualitywithMIMO.

Private Member Functions

void calculateSizes (const wns::ldk::CommandPool *commandPool, Bit &commandPoolSize, Bit &dataSize) const
 SDU and PCI size calculation for probe-frames and frames with piggybacked lqm.
virtual bool doIsAccepting (const wns::ldk::CompoundPtr &_compound) const
 Forward request to lower FU.
virtual void doOnData (const wns::ldk::CompoundPtr &_compound)
 Parse and process incoming beacon for Information Element.
virtual void doSendData (const wns::ldk::CompoundPtr &_compound)
 Add Information Element to beacon.
virtual void doWakeup ()
 Forward call to upper FU.
virtual void onFUNCreated ()
 Initialization.

Private Attributes

wns::simulator::Time beaconInterval
 The own beacon interval to be stored in each IE.
const wns::pyconfig::View config
 The configuration.
struct
wifimac::draftn::BeaconLinkQualityMeasurementwithMIMO::Friends 
friends
wns::probe::bus::ContextCollectorPtr linkCost
 Probing the link cost.
adr2qualityMap linkQualities
 Stores and manages the linkQualities for the links to all neighboring nodes.
wns::service::dll::UnicastAddress myMACAddress
 My own MAC address.
wns::probe::bus::ContextCollectorPtr peerMeasurement
 Probing success rate of received beacons.
const std::string phyUserCommandName
 Name of PHY user commands to read the SINR.
wifimac::pathselection::IPathSelectionps
 Pointer to the current path-selection algorithm for link-metric updates.
wns::probe::bus::ContextCollectorPtr receivedPower
 Probing the power of received beacons.

Classes

struct  Friends


Detailed Description

It does so by sending either probe-packets with a fixed length or by piggybacking its required control information (i.e. a timestamp) to frames which have to be transmitted anyways.

Definition at line 212 of file BeaconLinkQualityMeasurementwithMIMO.hpp.


Member Typedef Documentation

Definition at line 274 of file BeaconLinkQualityMeasurementwithMIMO.hpp.


Constructor & Destructor Documentation

BeaconLinkQualityMeasurementwithMIMO::BeaconLinkQualityMeasurementwithMIMO ( wns::ldk::fun::FUN fun,
const wns::pyconfig::View config 
)

Definition at line 273 of file BeaconLinkQualityMeasurementwithMIMO.cpp.

BeaconLinkQualityMeasurementwithMIMO::~BeaconLinkQualityMeasurementwithMIMO (  )  [virtual]

Definition at line 297 of file BeaconLinkQualityMeasurementwithMIMO.cpp.


Member Function Documentation

void BeaconLinkQualityMeasurementwithMIMO::calculateSizes ( const wns::ldk::CommandPool commandPool,
Bit commandPoolSize,
Bit dataSize 
) const [private, virtual]

bool BeaconLinkQualityMeasurementwithMIMO::doIsAccepting ( const wns::ldk::CompoundPtr _compound  )  const [private, virtual]

Definition at line 319 of file BeaconLinkQualityMeasurementwithMIMO.cpp.

void BeaconLinkQualityMeasurementwithMIMO::doOnData ( const wns::ldk::CompoundPtr _compound  )  [private, virtual]

  • Store SINR and success rate of the incoming beacons
  • If an IE is in the beacon, parse the information about the success/SINR of the own beacons previously transmitted and received by the peer.

Definition at line 369 of file BeaconLinkQualityMeasurementwithMIMO.cpp.

void BeaconLinkQualityMeasurementwithMIMO::doSendData ( const wns::ldk::CompoundPtr _compound  )  [private, virtual]

Definition at line 325 of file BeaconLinkQualityMeasurementwithMIMO.cpp.

void BeaconLinkQualityMeasurementwithMIMO::doWakeup (  )  [private, virtual]

Definition at line 362 of file BeaconLinkQualityMeasurementwithMIMO.cpp.

void BeaconLinkQualityMeasurementwithMIMO::newLinkCost ( wns::service::dll::UnicastAddress  rx,
wifimac::pathselection::Metric  cost 
)

Definition at line 438 of file BeaconLinkQualityMeasurementwithMIMO.cpp.

void BeaconLinkQualityMeasurementwithMIMO::onFUNCreated (  )  [private, virtual]

Reimplemented from wns::ldk::FunctionalUnit.

Definition at line 303 of file BeaconLinkQualityMeasurementwithMIMO.cpp.


Member Data Documentation

Definition at line 266 of file BeaconLinkQualityMeasurementwithMIMO.hpp.

Definition at line 263 of file BeaconLinkQualityMeasurementwithMIMO.hpp.

Definition at line 294 of file BeaconLinkQualityMeasurementwithMIMO.hpp.

Definition at line 279 of file BeaconLinkQualityMeasurementwithMIMO.hpp.

Has to be public so that the BroadcastLinkQualitywithMIMO entities can use it

Definition at line 232 of file BeaconLinkQualityMeasurementwithMIMO.hpp.

Definition at line 282 of file BeaconLinkQualityMeasurementwithMIMO.hpp.

Definition at line 291 of file BeaconLinkQualityMeasurementwithMIMO.hpp.

Definition at line 285 of file BeaconLinkQualityMeasurementwithMIMO.hpp.

Definition at line 271 of file BeaconLinkQualityMeasurementwithMIMO.hpp.

Definition at line 288 of file BeaconLinkQualityMeasurementwithMIMO.hpp.


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

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