Rx

Package: inet.linklayer.ieee80211.mac

Rx

simple module

C++ definition

Responsible for checking frames received over the radio for errors, for managing the NAV, and for notifying other processes about the channel state (free or busy).

This is the default implementation of thr ~IRx module interface.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

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

Properties

Name Value Description
class Rx
display i=block/rx

Signals

Name Type Unit Description
packetDropped inet::Packet
navChanged simtime_t

Statistics

Name Title Source Record Unit Interpolation Mode Description
nav network allocation vector navChanged vector linear

Source code

//
// Responsible for checking frames received over the radio for errors,
// for managing the NAV, and for notifying other processes about the channel
// state (free or busy).
//
// This is the default implementation of thr ~IRx module interface.
//
simple Rx extends SimpleModule like IRx
{
    parameters:
        @class(Rx);
        @display("i=block/rx");
        @signal[navChanged](type=simtime_t);
        @signal[packetDropped](type=inet::Packet);
        @statistic[nav](title="network allocation vector"; source=navChanged; record=vector; interpolationmode=linear);
}

File: src/inet/linklayer/ieee80211/mac/Rx.ned