Edcaf

Package: inet.linklayer.ieee80211.mac.channelaccess

Edcaf

compound module

IEEE 802.11 Enhanced Distributed Channel Access Function

contention : Contention

The default implementation of IContention.

Source:
contention: Contention {
    parameters:
        @display("p=100,100");
}

Usage diagram

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

Used in compound modules

Name Type Description
Edca compound module (no description)

Parameters

Name Type Default value Description
accessCategory string
aifsn int -1
cwMin int -1
cwMax int -1
rateSelectionModule string
rxModule string
collisionControllerModule string

Properties

Name Value Description
class Edcaf
display i=block/queue

Unassigned submodule parameters

Name Type Default value Description
contention.initialChannelBusy bool true

assume that channel was busy before the simulation started

contention.backoffOptimization bool true

we can pretend the frame has arrived into the queue a little bit earlier, and may be able to start transmitting immediately

Source code

//
// IEEE 802.11 Enhanced Distributed Channel Access Function
//
module Edcaf
{
    parameters:
        string accessCategory @enum("AC_BK","AC_BE","AC_VI","AC_VO");
        int aifsn = default(-1);
        int cwMin = default(-1);
        int cwMax = default(-1);

        string rateSelectionModule;
        string rxModule;
        string collisionControllerModule;

        @class(Edcaf);
        @display("i=block/queue");

    submodules:
        contention: Contention {
            parameters:
                @display("p=100,100");
        }
}
File: src/inet/linklayer/ieee80211/mac/channelaccess/Edcaf.ned