Defines all fields of an 802.11 MAC frame
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.
| MacPkt (packet) |
A basic MAC (Media Access Control) packet format definition |
| 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 |
// // 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 }