Dcaf

Package: inet.linklayer.ieee80211.mac.channelaccess

Dcaf

compound module

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

pendingQueue : like IPacketQueue

PendingQueue: Implements a priority queue for IEEE 802.11 MAC frames.

IPacketQueue: Interface for packet queue modules.

Source:
pendingQueue: <default("PendingQueue")> like IPacketQueue {
    parameters:
        @display("p=100,100");
} inProgressFrames : InProgressFrames

Source:
inProgressFrames: InProgressFrames {
    parameters:
        pendingQueueModule = default("^.pendingQueue");
        originatorMacDataServiceModule = default("^.^.originatorMacDataService");
        ackHandlerModule = default("^.^.ackHandler");
        @display("p=100,200");
} contention : like IContention

Contention: The default implementation of IContention.

IContention: Interface for modules that implement contention-based channel access.

Source:
contention: <default("Contention")> like IContention {
    parameters:
        @display("p=100,300");
}

Usage diagram

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

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.

Extends

Name Type Description
Module compound module

Base module for all INET compound 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

difsn int -1
cwMin int -1
cwMax int -1
rxModule string

Properties

Name Value Description
class Dcaf
display i=block/star

Signals

Name Type Unit Description
channelOwnershipChanged bool

Statistics

Name Title Source Record Unit Interpolation Mode Description
channelOwnershipChanged channel ownership count, vector? sample-hold

Unassigned submodule parameters

Name Type Default value Description
inProgressFrames.displayStringTextFormat string ""

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

inProgressFrames.pendingQueueModule string "^.pendingQueue"
inProgressFrames.originatorMacDataServiceModule string "^.^.originatorMacDataService"
inProgressFrames.ackHandlerModule string "^.^.ackHandler"

Source code

//
// Implements the DCAF (Distributed Channel Access Function) for IEEE 802.11.
//
module Dcaf extends Module
{
    parameters:
        int difsn = default(-1);
        int cwMin = default(-1);
        int cwMax = default(-1);
        string rxModule;
        @class(Dcaf);
        @display("i=block/star");
        @signal[channelOwnershipChanged](type=bool);
        @statistic[channelOwnershipChanged](title="channel ownership"; record=count,vector?; interpolationmode=sample-hold);
    submodules:
        pendingQueue: <default("PendingQueue")> like IPacketQueue {
            parameters:
                @display("p=100,100");
        }
        inProgressFrames: InProgressFrames {
            parameters:
                pendingQueueModule = default("^.pendingQueue");
                originatorMacDataServiceModule = default("^.^.originatorMacDataService");
                ackHandlerModule = default("^.^.ackHandler");
                @display("p=100,200");
        }
        contention: <default("Contention")> like IContention {
            parameters:
                @display("p=100,300");
        }
}

File: src/inet/linklayer/ieee80211/mac/channelaccess/Dcaf.ned