NED File src/inet/linklayer/ieee80211/mac/recipient/RecipientMacDataService.ned¶
Name |
Type |
Description |
|---|---|---|
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. |
Source code¶
//
// Copyright (C) 2016 OpenSim Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later
//
package inet.linklayer.ieee80211.mac.recipient;
import inet.common.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.
//
// @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);
}