Ieee80211MgmtSta

Package: inet.linklayer.ieee80211.mgmt

Ieee80211MgmtSta

simple module

Used in 802.11 infrastructure mode: handles management frames for a station (STA).

Relies on the MAC layer (Ieee80211Mac) for reception and transmission of frames.

Ieee80211MgmtSta

Inheritance diagram

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

Parameters

Name Type Default value Description
interfaceTableModule string

The path to the InterfaceTable module

numChannels int 1

number of channels to scan

mibModule string
macModule string

The path to the MAC module

Properties

Name Value Description
display i=block/cogwheel

Gates

Name Direction Size Description
macIn input
macOut output
agentIn input

used for attaching an agent algorithm

agentOut output

used for attaching an agent algorithm

Signals

Name Type Unit
l2Associated inet::InterfaceEntry
l2BeaconLost inet::InterfaceEntry

Source code

//
// Used in 802.11 infrastructure mode: handles management frames for a station (STA).
//
// Relies on the MAC layer (~Ieee80211Mac) for reception and transmission of frames.
//
simple Ieee80211MgmtSta like IIeee80211Mgmt
{
    parameters:
        string interfaceTableModule;   // The path to the InterfaceTable module
        int numChannels = default(1);  // number of channels to scan
        string mibModule;
        string macModule;               // The path to the MAC module
        @display("i=block/cogwheel");
        @signal[l2Associated](type=inet::InterfaceEntry);
        @signal[l2BeaconLost](type=inet::InterfaceEntry);
    gates:
        input macIn @labels(Ieee80211MacHeader);
        output macOut @labels(Ieee80211MacHeader);
        input agentIn;   // used for attaching an agent algorithm
        output agentOut; // used for attaching an agent algorithm
}

File: src/inet/linklayer/ieee80211/mgmt/Ieee80211MgmtSta.ned