Package: inet.linklayer.ieee80211.mac.aggregation
BasicMsduAggregationPolicy
simple moduleImplements 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)
function | info | call from |
---|---|---|
inet::ieee80211::BasicMsduAggregationPolicy::computeAggregateFrames | computeAggregateFrames | OriginatorQosMacDataService |
Packet operations (observed)
chunkType | packetAction |
---|---|
Ieee80211DataOrMgmtHeader | peekAtFront |
Ieee80211MacTrailer | peekAtBack |
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