InProgressFrames

Package: inet.linklayer.ieee80211.mac.queue

InProgressFrames

simple module

C++ definition

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
Dcaf compound module

Implements the DCAF (Distributed Channel Access Function) for IEEE 802.11.

Edcaf compound module

Implements EDCAF (Enhanced Distributed Channel Access Function) for IEEE 802.11. EDCAF represents one access category within EDCA.

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

pendingQueueModule string
originatorMacDataServiceModule string
ackHandlerModule string

Properties

Name Value Description
class InProgressFrames
display i=block/queue

Signals

Name Type Unit Description
packetDequeued inet::Packet
packetEnqueued inet::Packet

Statistics

Name Title Source Record Unit Interpolation Mode Description
queueLength queue length warmup(count(packetEnqueued) - count(packetDequeued)) max, timeavg, vector sample-hold
queueingTime queueing times queueingTime(packetDequeued) histogram, vector none

Source code

//# TODO rename to `InProgressQueue`?
simple InProgressFrames extends SimpleModule
{
    parameters:
        @class(InProgressFrames);
        string pendingQueueModule;
        string originatorMacDataServiceModule;
        string ackHandlerModule;
        @display("i=block/queue");
        @signal[packetEnqueued](type=inet::Packet);
        @signal[packetDequeued](type=inet::Packet);
        @statistic[queueingTime](title="queueing times"; source=queueingTime(packetDequeued); record=histogram,vector; interpolationmode=none);
        @statistic[queueLength](title="queue length"; source=warmup(count(packetEnqueued) - count(packetDequeued)); record=max,timeavg,vector; interpolationmode=sample-hold; autoWarmupFilter=false);
}

File: src/inet/linklayer/ieee80211/mac/queue/InProgressFrames.ned