Simple Module Ieee80211MgmtAPSimplified

Package: inet.linklayer.ieee80211.mgmt
File: src/linklayer/ieee80211/mgmt/Ieee80211MgmtAPSimplified.ned

C++ definition

Used in 802.11 infrastructure mode: handles management frames for an access point (AP). It relies on a connected Ieee80211Mac for actual reception and transmission of frames.

This management module variant does not implement beacons, probes, authentication and association -- it simply treats all stations as associated all the time. This also means that you cannot use this module in a simulation that involves handovers; for that you need to use the full version, Ieee80211MgmtAP.

When simulating an AP that has other (Ethernet or wireless) interfaces as well, this module can be connected to a MACRelayUnit which performs bridging of Ethernet frames. This module will perform conversion from/to EtherFrame for MACRelayUnit.

This module never switches channels, that is, it will operate on the channel the physical layer is configured for (see channelNumber in Ieee80211Radio).

Author: Andras Varga

Ieee80211MgmtAPSimplified

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

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

Used in compound modules:

Name Type Description
Ieee80211NicAPSimplified compound module

This NIC implements an infrastructure mode 802.11 network interface card for a wireless Access Point (AP), but using a simplified mgmt module that does not support handovers.

Parameters:

Name Type Default value Description
frameCapacity int 100

Properties:

Name Value Description
display i=block/cogwheel

Gates:

Name Direction Size Description
uppergateIn input

from MACRelayUnit; can be left unconnected

uppergateOut output

to MACRelayUnit; can be left unconnected

macIn input

from Ieee80211Mac

macOut output

to Ieee80211Mac

Source code:

//
// Used in 802.11 infrastructure mode: handles management frames for
// an access point (AP). It relies on a connected Ieee80211Mac for actual
// reception and transmission of frames.
//
// This management module variant does not implement beacons, probes,
// authentication and association -- it simply treats all stations
// as associated all the time. This also means that you cannot use this
// module in a simulation that involves handovers; for that you need
// to use the full version, Ieee80211MgmtAP.
//
// When simulating an AP that has other (Ethernet or wireless) interfaces
// as well, this module can be connected to a MACRelayUnit which performs
// bridging of Ethernet frames. This module will perform conversion from/to
// EtherFrame for MACRelayUnit.
//
// This module never switches channels, that is, it will operate on the channel
// the physical layer is configured for (see channelNumber in Ieee80211Radio).
//
// @author Andras Varga
//
simple Ieee80211MgmtAPSimplified like Ieee80211Mgmt
{
    parameters:
        int frameCapacity = default(100);
        @display("i=block/cogwheel");
    gates:
        input uppergateIn; // from MACRelayUnit; can be left unconnected
        output uppergateOut; // to MACRelayUnit; can be left unconnected
        input macIn @labels(Ieee80211Frame); // from Ieee80211Mac
        output macOut @labels(Ieee80211Frame); // to Ieee80211Mac
}