BasicMsduAggregationPolicy

Package: inet.linklayer.ieee80211.mac.aggregation

BasicMsduAggregationPolicy

simple module

Implements a basic MSDU aggregation policy, controlled by parameters such as the minimum number of subframes needed to compose an A-MSDU, the minimum length for the aggregated payload, the maximum A-MSDU size, etc.

Inheritance diagram

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

Parameters

Name Type Default value Description
subframeNumThreshold int -1

Minimum number of subframes needed to compose an A-MSDU. (-1 means it won't be checked)

aggregationLengthThreshold int -1

The minimum length for an aggregated payload necessary to create an A-MSDU (-1 means it won't be checked).

maxAMsduSize int 4065 -1 means infinity
qOsCheck bool true

Turns on/off the check of the presence of the QoS flag (false means off -- this is needed for aggregation in DCF mode).

Properties

Name Value Description
display i=block/control

Called methods (observed)

functioninfocall from
inet::ieee80211::BasicMsduAggregationPolicy::computeAggregateFramescomputeAggregateFramesOriginatorQosMacDataService

Packet operations (observed)

chunkTypepacketAction
Ieee80211DataOrMgmtHeaderpeekAtFront
Ieee80211MacTrailerpeekAtBack

Source code

//
// Implements a basic MSDU aggregation policy, controlled by parameters
// such as the minimum number of subframes needed to compose an A-MSDU,
// the minimum length for the aggregated payload, the maximum A-MSDU size,
// etc.
//
simple BasicMsduAggregationPolicy like IMsduAggregationPolicy
{
    int subframeNumThreshold = default(-1); // Minimum number of subframes needed to compose an A-MSDU. (-1 means it won't be checked)
    int aggregationLengthThreshold = default(-1); // The minimum length for an aggregated payload necessary to create an A-MSDU (-1 means it won't be checked).
    int maxAMsduSize = default(4065); // -1 means infinity
    bool qOsCheck = default(true); // Turns on/off the check of the presence of the QoS flag (false means off -- this is needed for aggregation in DCF mode).
    @display("i=block/control");
}

File: src/inet/linklayer/ieee80211/mac/aggregation/BasicMsduAggregationPolicy.ned