Rx¶
Package: inet.linklayer.ieee80211.mac
simple module Rx
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.
Usage diagram¶
Inheritance diagram¶
Used in compound modules¶
Name |
Type |
Description |
|---|---|---|
compound module |
Implementation of the 802.11 MAC protocol. This module is intended to be used in combination with the Ieee80211Radio module as the physical layer. |
Extends¶
Name |
Type |
Description |
|---|---|---|
simple module |
Base module for all INET simple modules. |
Parameters¶
Name |
Type |
Default value |
Description |
|---|---|---|---|
displayStringTextFormat |
string |
“{rxStatus}” |
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 |
|---|---|---|---|
navChanged |
simtime_t |
||
packetDropped |
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);
displayStringTextFormat = default("{rxStatus}");
@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);
}