Ieee80211MgmtStaSimplified.ned

NED File src/inet/linklayer/ieee80211/mgmt/Ieee80211MgmtStaSimplified.ned

Name Type Description
Ieee80211MgmtStaSimplified simple module

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

Source code

//
// Copyright (C) 2006 OpenSim Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later
//


package inet.linklayer.ieee80211.mgmt;

//
// 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 like IIeee80211Mgmt
{
    parameters:
        string accessPointAddress; // MAC address of associate 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 statisfy the IIeee80211Mgmt interface
        output agentOut @loose; // unused dummy to statisfy the IIeee80211Mgmt interface
}