Packet MacPkt

File: src/linklayer/mf80211/macLayer/MacPkt.msg

A basic MAC (Media Access Control) packet format definition

subclass if you want to create your own MAC layer message class

The basic MAC message only provides source and destination address and and the channel it should be send on

This component has been taken over from Mobility Framework 1.0a5.

Author: Daniel Willkomm

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.

Known subclasses:

Name Type Description
Mac80211Pkt packet

Defines all fields of an 802.11 MAC frame

Fields:

Name Type Description
destAddr MACAddress

destination mac address

srcAddr MACAddress

source mac address

channelId int

channel to send / receive on

Source code:

//
// A basic MAC (Media Access Control) packet format definition
//
// subclass if you want to create your own MAC layer message class
//
// The basic MAC message only provides source and destination address
// and and the channel it should be send on
//
// This component has been taken over from Mobility Framework 1.0a5.
//
// @author Daniel Willkomm
//
//# FIXME just temporary here
//
packet MacPkt
{
    MACAddress destAddr; // destination mac address
    MACAddress srcAddr; // source mac address
    int channelId = 1; // channel to send / receive on
}