Packet Mac80211Pkt

File: modules/messages/Mac80211Pkt.msg

Defines all fields of an 802.11 MAC frame

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Extends:

MacPkt (packet)

A basic MAC (Media Access Control) packet format definition

Fields:

Name Type Description
sequenceControl int
duration simtime_t

the expected remaining duration the current transaction (RTS->CTS->DATA->ACK) between two macs will occupy the channel

address4 int
fragmentation int

part of the Frame Control field

destAddr long

destination mac address

informationDS int

part of the Frame Control field

srcAddr long

source mac address

sequenceId long

Sequence Number to detect duplicate messages

address3 int
retry bool

Source code:

//
// Defines all fields of an 802.11 MAC frame
//
packet Mac80211Pkt extends MacPkt
{
    int address3;
    int address4;
    int fragmentation; //part of the Frame Control field
    int informationDS; //part of the Frame Control field
    int sequenceControl;
    bool retry;
    simtime_t duration; 	//the expected remaining duration the current transaction 
						//(RTS->CTS->DATA->ACK) between two macs will occupy the channel 
}