SingleProtectionMechanism

Package: inet.linklayer.ieee80211.mac.protectionmechanism

simple module SingleProtectionMechanism

Implements the single protection mechanism for IEEE 802.11 networks as defined in the standard section 8.2.5.2. This module calculates the Duration/ID field values for different frame types (RTS, CTS, BlockAckReq, BlockAck, data, management) to properly set the Network Allocation Vector (NAV) in receiving stations.

inet.linklayer.ieee80211.mac.protectionmechanism.SingleProtectionMechanismSingleProtectionMechanismsimple

Usage diagram

Inheritance diagram

Used in compound modules

Name

Type

Description

Hcf

compound module

Implements the HCF (Hybrid 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

SingleProtectionMechanism

display

i=block/encrypt

Source code

//
// Implements the single protection mechanism for IEEE 802.11 networks as defined
// in the standard section 8.2.5.2. This module calculates the Duration/ID field
// values for different frame types (RTS, CTS, BlockAckReq, BlockAck, data,
// management) to properly set the Network Allocation Vector (NAV) in receiving
// stations.
//
simple SingleProtectionMechanism extends SimpleModule
{
    parameters:
        @class(SingleProtectionMechanism);
        string rateSelectionModule;
        @display("i=block/encrypt");
}

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