BasicMsduAggregationPolicy

Package: inet.linklayer.ieee80211.mac.aggregation

BasicMsduAggregationPolicy

simple module

C++ definition

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.

Extends

Name Type Description
SimpleModule simple module

Base module for all INET simple modules.

Parameters

Name Type Default value Description
displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

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
class BasicMsduAggregationPolicy
display i=block/control

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 extends SimpleModule like IMsduAggregationPolicy
{
    parameters:
        @class(BasicMsduAggregationPolicy);
        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