OriginatorProtectionMechanism

Package: inet.linklayer.ieee80211.mac.protectionmechanism

simple module OriginatorProtectionMechanism

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.

inet.linklayer.ieee80211.mac.protectionmechanism.OriginatorProtectionMechanismOriginatorProtectionMechanismsimple

Usage diagram

Inheritance 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