5. WAND MAC FRAME AND MPDU FORMATS
5.3. MAC Protocol Data Unit Structure
5.3.2. MPDU Body structure
This section describes briefly a proposal of the format of the body, or payload. The payload carries a cell train that is consisted of several WDLC-ed cells. Each of these cells has a length of 54 bytes. For FH, each individual 54 byte long “equivalent cell” is made of 50 bytes of information followed by a 4 byte CRC (with the same polynomial than for the MPDU header). Consensus to have each map slot entry specifying both slot offset and slot length. The last “equivalent cell” of the FH MPDU body is padded with zeros to reach the boundary of a 54 byte long equivalent cell (the assumption being that only the slot map is passed in the payload of the FH MPDU).
The structure of the MPDU body is illustrated in the following drawing:
MPDU Body
offset (byte) 0 53 54 107 ...
…
n.54 n.54+53 field equivalent cell equivalent cell ... … equivalent cell length (byte) 54 54 ... … 54
CEC Deliverable No: AC085/INT/ACT/DS/P/035/b1
Title of Deliverable: Wireless ATM MAC – Final Report
The MPDU body is consisted of several WDLC-ed cells of 54 bytes long each. There are two types of MPDU bodies.
One for the FH as the following drawing depicts:
Equivalent cell(forFH)
offset (byte) 0 4 5 9 10 44 45 49 50 53
field slot map
entry
slot map entry
... slot map entry
CRC length (byte) 5 5 ... 5 4
And one not for the FH as the following drawing depicts
Equivalent cell (Not for FH)
offset (byte) 0 3 4 51 52 53 field Cell Header original ATM cell or
MASCARAcontrol cell
CRC length (byte) 4 48 2
By observing the drawings above we can conclude to the following statements:
All MPDU headers are CRC4 protected.
MPDU bodies are CRC4 (FH) or CRC2 (not FH) protected for each of their cells 5.3.2.1. Frame fields
5.3.2.1.1. Equivalent cell format (for FH)
For FH, each individual 54 byte long “equivalent cell” is made of 50 bytes of information followed by a 4 byte CRC (with the same polynomial than for the MPDU header). Consensus to have each map slot entry specifying both slot offset and slot length. The last “equivalent cell” of the FH MPDU body is padded with zeros to reach the boundary of a 54 byte long equivalent cell (the assumption being that only the slot map is passed in the payload of the FH MPDU).
The following drawing depicts the format of the equivalent cells for the frame header.
Equivalent cell (for FH):
Offset (byte) 0 4 5 9 10 44 45 49 50 53
field slot map
entry
slot map entry
... slot map entry
CRC length (byte) 5 5 ... 5 4
CEC Deliverable No: AC085/INT/ACT/DS/P/035/b1
Title of Deliverable: Wireless ATM MAC – Final Report
Note: for the last equivalent cell, potential padding with zeroes to reach the offset 53.
5.3.2.1.2. Slot map entry format
The slot map entry describes the transmission of a number of MPDU. The following drawing depicts the format of the slot map entry
Slot map entry
offset (bit) 0 15 16 23 24 29 30 29 32 39 field MAC_Addr MVC length more direction Offset legnth (bit) 16 8 6 1 1 8
Each slot map entry is:
Parameter Size MAC_Addr 16 bits
MVC 8 bits
length 6 bits
more 1 bit - this field is present, but ignored for the WAND demo direction 1 bit
Offset 8 bits MAC Addr
A 16-bit field, which specifies the source MT in case of an UP slot map entry, or the destination MT in case of a DOWN entry. The following special rules apply. There is one special MAC Address, which is interpreted as the broadcast address. The following entries have a special interpretation.
An entry, with MAC_Addr equal to that of the AP is interpreted as void (or NOP).
The implementation is trivial, as none of the MT map parsers will never filter out a slot map entry with the AP’s MAC_Address. This function is used typically to allow time to turn radio link direction around.
An UP entry, with MAC_Addr equal to a broadcast value is interpreted as CONTENTION. All MTs can engage in a contention mode protocol in the specified slot. The AP always receives in every contention slot.
A DOWN entry, with MAC_Addr equal to a broadcast value is interpreted as a broadcast packet. It is receivable by all MTs. No special purpose for broadcast packet have been defined until now, except from the FH MPDU, which carries the slot map, but is not referred to in the map itself.
MVC (MAC Virtual Circuit)
CEC Deliverable No: AC085/INT/ACT/DS/P/035/b1
Title of Deliverable: Wireless ATM MAC – Final Report
An 8-bit field, which specifies the virtual connection that the slot payloads pertains to.
Length
A 6-bit field, which specifies the number of payloads slots to be transmitted. In case all slots are transmitted in a single packet, the packet size is one larger than ‘length’
multiple.
More
A 1-bit field, which allows more than one slot map entries to refer to the same packet.
If it has the value ‘more’, then it specifies that the slot payloads specified in the next entry should be appended to the current packet. In principle the more bit can specify the concatenation of slot payloads with different MAC source or destination address, even though this serves no practical purpose: a packet cannot be sent to / received from different destinations at once. If the ‘more’ bit is set, then the ‘MAC_Addr’ and
‘direction’ fields are ignored more bit value
no more 0
More 1
Direction
A 1-bit field, that determines the direction of the slots. It specifies whether an the payload cells will be sent from AP to MT (DOWN), or from MT to AP (UP).
Direction bit value
UP 0
DOWN 1
If the bit has 0 as a value then it is referred in the uplink transmission otherwise is referred in the downlink transmission (for value equal to 1)
Offset
An 8-bit field, which specifies the slot in which the MSDU transmission will start. If the indicated entry describes a “mored” payload, then the payload can be sent immediately, other wise an MPDU header and a PHY header () have to be transmitted in this slot, followed by the payload in the next slot.
5.3.2.1.3. Equivalent cell format (not for FH)
For other MPDU (either carrying ATM data or MASCARA control information), each cell constituting the cell train is protected by a 2 byte CRC field, the body is 48 bytes long and the header is 4 byte long as follows:
• MVC_info (16 bits)
• WDLC info (8 bits)
• Reserved (4 bits)
CEC Deliverable No: AC085/INT/ACT/DS/P/035/b1
Title of Deliverable: Wireless ATM MAC – Final Report
• PT (3 bits)
• CLP (1 bit)
The following drawing depicts the format of the equivalent cells not for the frame header.
Equivalent cell (Not for FH)
offset (byte) 0 3 4 51 52 53 field Cell Header original ATM cell or
MASCARAcontrol cell
CRC length (byte) 4 48 2
Original ATM cell (or MASCARA control cell)
A 48-byte field, which contains the ATM cell or the MASCARA control cell.
CRC (Cyclic Redundancy Check)
A 4 -byte field, which detects, using a code, any errors occurred during the transmission of data.
Cell Header
The cell header is subdivided in two parts. One is the WDLC-ed coverhead and the other is the ATM cell header. The following drawing depicts the format of the cell header:
Cell Header
offset (bit) 0 15 16 23 24 27 28 30 31
field WDLC_Info MVC_info Reserved PT CLP
length (bit) 8 16 4 3 1
Wireless Data link Control (WDLC) Info
An 8-bit field, which controls information for WDLC cell’s numbering and acknowledges received cells.
W D L C I n fo
O ffse t 1 6 1 9 2 0 2 3
fie ld S N R N
len g th 4 4
MAC Virtual Circuit (MVC) Info
CEC Deliverable No: AC085/INT/ACT/DS/P/035/b1
Title of Deliverable: Wireless ATM MAC – Final Report
A 2-byte (16-bit) field, which is subdivided in a 1-byte MVC field and in a 1-byte unsigned integer that quantifies an allocation request. It determines the virtual channel from MAC to MAC communications.
MVC info
Offset(bit) 0 7 8 15
field MVC id Request
length(bit) 8 8
Reserved
To be determined.
Payload type(PT)
A 3-bit field which specifies the payload type of a regular ATM cell header.
CLP(Cell loss priority)
A 1 bit field, which specifies the ATM cell loss priority.
1.
CEC Deliverable No: AC085/INT/ACT/DS/P/035/b1
Title of Deliverable: Wireless ATM MAC – Final Report