Ieee80211MgmtStaSimplified

Package: inet.linklayer.ieee80211.mgmt

simple module Ieee80211MgmtStaSimplified

Used in 802.11 infrastructure mode for a station (STA).

This management module variant does not implement scanning, nor does it send or expect to receive any management frames. It simply treats the station as associated to the configured AP all the time.

inet.linklayer.ieee80211.mgmt.Ieee80211MgmtStaSimplifiedIeee80211MgmtStaSimplifiedsimple

Inheritance 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

accessPointAddress

string

MAC address of associated AP

interfaceTableModule

string

mibModule

string

macModule

string

The path to the MAC module

Properties

Name

Value

Description

class

Ieee80211MgmtStaSimplified

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

//
// Used in 802.11 infrastructure mode for a station (STA).
//
// This management module variant does not implement scanning, nor does
// it send or expect to receive any management frames. It simply treats the
// station as associated to the configured AP all the time.
//
simple Ieee80211MgmtStaSimplified extends SimpleModule like IIeee80211Mgmt
{
    parameters:
        @class(Ieee80211MgmtStaSimplified);
        string accessPointAddress; // MAC address of associated AP
        string interfaceTableModule;
        string mibModule;
        string macModule;               // The path to the MAC 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/Ieee80211MgmtStaSimplified.ned