RecipientMacDataService

Package: inet.linklayer.ieee80211.mac.recipient

compound module RecipientMacDataService

Implements the MAC data service for the recipient side in non-QoS IEEE 802.11 networks. Processes received frames by performing defragmentation and duplicate detection.

See also: RecipientQosMacDataService

RecipientMacDataService

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

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

Properties

Name

Value

Description

class

RecipientMacDataService

display

i=block/join

Signals

Name

Type

Unit

Description

packetDeaggregated

inet::Packet

packetDefragmented

inet::Packet

packetDropped

inet::Packet

Statistics

Name

Title

Source

Record

Unit

Interpolation Mode

Description

packetDeaggregated

packets deaggregated

count

packetDefragmented

packets defragmented

count

packetDropDuplicateDetected

packet drops: duplicate detected

packetDropReasonIsDuplicateDetected(packetDropped)

count,sum(packetBytes),vector(packetBytes)

none

Source code

//
// Implements the MAC data service for the recipient side in non-QoS IEEE 802.11 networks.
// Processes received frames by performing defragmentation and duplicate detection.
//
// @see RecipientQosMacDataService
//
module RecipientMacDataService extends Module
{
    parameters:
        @class(RecipientMacDataService);
        @display("i=block/join");
        @signal[packetDefragmented](type=inet::Packet);
        @signal[packetDeaggregated](type=inet::Packet);
        @signal[packetDropped](type=inet::Packet);
        @statistic[packetDefragmented](title="packets defragmented"; record=count);
        @statistic[packetDeaggregated](title="packets deaggregated"; record=count);
        @statistic[packetDropDuplicateDetected](title="packet drops: duplicate detected"; source=packetDropReasonIsDuplicateDetected(packetDropped); record=count,sum(packetBytes),vector(packetBytes); interpolationmode=none);
}

File: src/inet/linklayer/ieee80211/mac/recipient/RecipientMacDataService.ned