OriginatorProtectionMechanism

Package: inet.linklayer.ieee80211.mac.protectionmechanism

OriginatorProtectionMechanism

simple module

C++ definition

Calculates the Duration/ID field for IEEE 802.11 frames to implement the Network(1,2,3,4) Allocation Vector (NAV) mechanism for virtual carrier sensing. This module computes appropriate duration values for different frame types (RTS, data, management) based on IEEE 802.11 standard rules. For RTS frames, it calculates time needed for the complete RTS-CTS-DATA-ACK exchange.

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
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

rateSelectionModule string

Properties

Name Value Description
class OriginatorProtectionMechanism
display i=block/encrypt

Source code

//
// Calculates the Duration/ID field for IEEE 802.11 frames to implement the
// Network Allocation Vector (NAV) mechanism for virtual carrier sensing. This
// module computes appropriate duration values for different frame types (RTS,
// data, management) based on IEEE 802.11 standard rules. For RTS frames, it
// calculates time needed for the complete RTS-CTS-DATA-ACK exchange.
//
simple OriginatorProtectionMechanism extends SimpleModule
{
    parameters:
        @class(OriginatorProtectionMechanism);
        string rateSelectionModule;
        @display("i=block/encrypt");
}

File: src/inet/linklayer/ieee80211/mac/protectionmechanism/OriginatorProtectionMechanism.ned