RecipientMacDataService

Package: inet.linklayer.ieee80211.mac.recipient

RecipientMacDataService

compound module

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.

<b>See also:</b> RecipientQosMacDataService

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
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
packetDefragmented inet::Packet
packetDropped inet::Packet
packetDeaggregated inet::Packet

Statistics

Name Title Source Record Unit Interpolation Mode Description
packetDefragmented packets defragmented count
packetDropDuplicateDetected packet drops: duplicate detected packetDropReasonIsDuplicateDetected(packetDropped) count, sum(packetBytes), vector(packetBytes) none
packetDeaggregated packets deaggregated count

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