Ieee80211Portal.ned

NED File src/inet/linklayer/ieee80211/portal/Ieee80211Portal.ned

Name Type Description
Ieee80211Portal simple module

Implements the portal functionality in IEEE 802.11 networks, serving as a bridge between wireless LANs and wired networks. Performs protocol conversion between IEEE 802.11 frames and IEEE 802.3 (Ethernet) frames, handling frame format differences and LLC header management.

Source code

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


package inet.linklayer.ieee80211.portal;

import inet.common.SimpleModule;
import inet.linklayer.ieee80211.llc.IIeee80211Llc;
import inet.linklayer.contract.IIeee8022Llc;

//
// Implements the portal functionality in IEEE 802.11 networks, serving as a bridge
// between wireless LANs and wired networks. Performs protocol conversion between
// IEEE 802.11 frames and IEEE 802.3 (Ethernet) frames, handling frame format
// differences and LLC header management.
//
simple Ieee80211Portal extends SimpleModule like IIeee8022Llc, IIeee80211Llc
{
    parameters:
        @class(Ieee80211Portal);
        string fcsMode @enum("declared", "computed") = default("declared");
        @display("i=block/layer");
    gates:
        input upperLayerIn;
        output upperLayerOut;
        input lowerLayerIn;
        output lowerLayerOut;
}