RateSelection

Package: inet.linklayer.ieee80211.mac.rateselection

RateSelection

simple module

Implements the default rate selection algorithm. Rate selection decides what bit rate (or MCS) should be used for control frames, management frames and data frames.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Used in compound modules

Name Type Description
Dcf compound module

Implements the DCF (Distributed Coordination Function) for IEEE 802.11.

Parameters

Name Type Default value Description
rateControlModule string
multicastFrameBitrate double -1bps
responseAckFrameBitrate double -1bps
responseCtsFrameBitrate double -1bps
dataFrameBitrate double -1bps

fastest

dataFrameBandwidth double nan Hz

unspecified by default

dataFrameNumSpatialStreams int -1

unspecified by default

mgmtFrameBitrate double -1bps

fastest

controlFrameBitrate double -1bps

Properties

Name Value Description
display i=block/cogwheel

Called methods (observed)

functioninfocall from
inet::ieee80211::RateSelection::receiveSignalmodesetChangedIeee80211Mac

Source code

//
// Implements the default rate selection algorithm. Rate selection decides what bit rate
// (or MCS) should be used for control frames, management frames and data frames.
//
simple RateSelection like IRateSelection
{
    parameters:
        string rateControlModule;

        double multicastFrameBitrate @unit(bps) = default(-1bps);

        double responseAckFrameBitrate @unit(bps) = default(-1bps);
        double responseCtsFrameBitrate @unit(bps) = default(-1bps);

        double dataFrameBitrate @unit(bps) = default(-1bps); // fastest
        double dataFrameBandwidth @unit(Hz) = default(nan Hz); // unspecified by default
        int dataFrameNumSpatialStreams = default(-1); // unspecified by default

        double mgmtFrameBitrate @unit(bps) = default(-1bps); // fastest
        double controlFrameBitrate @unit(bps) = default(-1bps);
        @display("i=block/cogwheel");
}

File: src/inet/linklayer/ieee80211/mac/rateselection/RateSelection.ned