Ieee80211MgmtAdhoc¶
Package: inet.linklayer.ieee80211.mgmt
simple module Ieee80211MgmtAdhoc
IEEE 802.11 management module used for ad-hoc mode. This implementation never sends control or management frames, and discards any such frame received. Distributed beacon generation is not modeled.
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
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 |
mibModule |
string |
||
macModule |
string |
The path to the MAC module |
|
interfaceTableModule |
string |
The path to the InterfaceTable module |
Properties¶
Name |
Value |
Description |
|---|---|---|
class |
Ieee80211MgmtAdhoc |
|
display |
i=block/cogwheel |
Gates¶
Name |
Direction |
Size |
Description |
|---|---|---|---|
macIn |
input |
||
macOut |
output |
||
agentIn |
input |
Unused dummy to satisfy the IIeee80211Mgmt interface |
|
agentOut |
output |
Unused dummy to satisfy the IIeee80211Mgmt interface |
Source code¶
//
// IEEE 802.11 management module used for ad-hoc mode.
// This implementation never sends control or management frames, and discards
// any such frame received. Distributed beacon generation is not modeled.
//
simple Ieee80211MgmtAdhoc extends SimpleModule like IIeee80211Mgmt
{
parameters:
@class(Ieee80211MgmtAdhoc);
string mibModule;
string macModule; // The path to the MAC module
string interfaceTableModule; // The path to the InterfaceTable module
@display("i=block/cogwheel");
gates:
input macIn @labels(Ieee80211MacHeader);
output macOut @labels(Ieee80211MacHeader);
input agentIn @loose; // Unused dummy to satisfy the IIeee80211Mgmt interface
output agentOut @loose; // Unused dummy to satisfy the IIeee80211Mgmt interface
}
File: src/inet/linklayer/ieee80211/mgmt/Ieee80211MgmtAdhoc.ned