Professional Documents
Culture Documents
The use of Asynchronous Transfer Mode (ATM) technology and services creates the
need for an adaptation layer in order to support information transfer protocols, which
are not based on ATM. This adaptation layer defines how to segment and
reassemble higher-layer packets into ATM cells, and how to handle various
transmission aspects in the ATM layer.
Examples of services that need adaptations are Gigabit Ethernet, IP, Frame
Relay, SONET/SDH, UMTS/Wireless, etc.
The following ATM Adaptation Layer protocols (AALs) have been defined by the ITU-
T. It is meant that these AALs will meet a variety of needs. The classification is
based on whether a timing relationship must be maintained between source and
destination, whether the application requires a constant bit rate, and whether the
transfer is connection oriented or connectionless.
The AAL 5 was designed to accommodate the same variable bit rate, connection-
oriented asynchronous traffic or connectionless packet data supported by AAL 3/4,
but without the segment tracking and error correction requirements.
AAL: ATM Adaptation Layer (AAL0, AAL2, AAL3/4, AAL5)
The ATM Adaptation Layer (AAL) relays ATM cells between ATM Layer and higher
layer. When relaying information received from the higher layers, it segments the
data into ATM cells. When relaying information received from the ATM Layer, it must
reassemble the payloads into a format the higher layers can understand. This
operation, which is called Segmentation and Reassembly (SAR), is the main task of
AAL. Different AALs were defined in supporting different traffic or service expected to
be used. The service classes and the corresponding types of AALs were as follows:
AAL0 PDU:
AAL0 payload consists of 48 bytes without special field, is also referred to as raw
cells.
AAL1 PDU:
• SN- Sequence number. Numbers the stream of SAR PDUs of a CPCS PDU
(modulo 16).
• CSI- Convergence sublayer indicator. Used for residual time stamp for
clocking.
• SC- Sequence court.
• NP- Sequence number protection.
• CRC- Cyclic redundancy check calculated over the SAR header.
• P- Parity calculated over the CRC.
• SAR PDU payload- 47-byte user information field.
AAL2 PDU : AAL2 is perfect for low-rate voice traffic, with compression, silent and
idle channel suppression. AAL type 2 is subdivided into the Common Part Sublayer
(CPS ) and the Service Specific Convergence Sublayer (SSCS ).
The CPS packet consists of a 3 octet header followed by a payload. The structure of
the AAL2 CPS packet is shown in the following illustration.
• OSF - Offset field. Identifies the location of the start of the next CPS packet
within the CPS-PDU.
• SN - Sequence number. Protects data integrity.
• P - Parity. Protects the start field from errors.
• SAR PDU payload - Information field of the SAR PDU.
• PAD - Padding.
The SSCS conveys narrowband calls consisting of voice, voiceband data or circuit
mode data. SSCS packets are transported as CPS packets over AAL2 connections.
The CPS packet contains a SSCS payload. There are 3 SSCS packet types: Type 1
Unprotected; this is used by default; Type 2 Partially protected; and Type 3 Fully
protected: the entire payload is protected by a 10-bit CRC which is computed as for
OAM cells. The remaining 2 bits of the 2-octet trailer consist of the message type
field.
The AAL2 type 3 packets are used for Dialled digits, Channel associated signalling
bits, Facsimile demodulated control data, Alarms and User state control operations.
The general sturcture of AAL2 SSCS Type 3 PDUs is shown as follows. The format
varies according to the actual message type.
• Redundancy - Packets are sent 3 times to ensure error correction. The value
in this field signifies the transmission number.
• Time stamp - Counters packet delay variation and allows a receiver to
accurately reproduce the relative timing of successive events separated by a
short interval.
• Message dependant information
Packet content that varies, depending on the message type.
• Message type - The message type code.
• CRC-10 - The 10-bit CRC.
AAL3/4 PDU:
AAL3/4 CS PDU:
AAL5 CS PDU:
AAL5 is the simple and efficient AAL (SEAL) which is the one used most for data
traffic; it has no per-cell length nor per-cell CRC fields.
• OAM type / Function type- The possible values for OAM type and function type
are defined for Fault, Performance, Activation/Deactivation
• CRC-10 -Cyclic redundancy check calculated over the SAR header. G(x) =
x10+x9+x5+x4+x+1
ATM Adaptation Layer 2
From Wikipedia, the free encyclopedia
(Redirected from AAL Type 2)
ATM Adaptation Layer 2 (AAL2) is an ATM adaptation layer for Asynchronous Transfer Mode (ATM), used primarily
intelecommunications; for example, it is used for the Iu interfaces in the Universal Mobile Telecommunications System,
and is also used for transporting digital voice. The standard specifications related to AAL2 are ITU standards I.363.2 and
I366.1.
Contents
[hide]
• 1 What is AAL2?
o 2.1 OSF
o 2.2 SN
o 2.3 P
• 3 AAL2u
o 5.1 CID
o 5.2 LI
o 5.3 UUI
o 5.4 HEC
• 7 References
• 8 External links
[edit]What is AAL2?
AAL2 is a variable bitrate, connection-oriented, low latency service originally intended to adapt voice for transmission over
ATM. Like otherATM adaptation layers, the purpose of AAL2 is to define how to segment and reassemble higher-layer
packets into ATM cells, in this case packets of data containing voice and control information. AAL2 is further separated
into two sub-layers that helps with the mapping from upper layer services to ATM cells: the Service Specific Convergence
The objective of the AAL2 protocol, as compared to other ATM Adaptation Layers, is to pack lots of small packets
efficiently into one standard-sized ATM cell (53 bytes). This way, if you have a one-byte packet, you don't have an
overhead ratio of 52/53 (i.e. 98%). With this smallest packet size of 1 byte, there can be a total of 11 CPS packets (plus
3/4 of a 12th CPS packet) squeezed into a single cell. Of course, there can be a mixture of other CPS packet sizes with
other CIDs, too, and when the transmission is ready, the CPS packets are all multiplexed together into a single cell which
is then transported over existing standard ATM network infrastructure. The transport networks for ATM are well
standardized fiber optic (SDH/Sonet, i.e. STM-1/OC-3 or higher) or copper cable (PDH, i.e. E1/T1/JT1 or higher
bandwidth fixed lines) based synchronous networks with built-in redundancy and OAM-related network features which
Ethernet networks never had originally (in order to keep things simple) but are sorely missed in metro Ethernet standard
networks.[citation needed]
Efforts to improve Ethernet networks are in a sense trying to reinvent the wheel à la ATM.[citation needed] AAL2 is one example
of a useful benefit of ATM, as a general standard for Layer 2 protocols. This is because ATM/AAL2 handles small packets
efficiently, whereas with Ethernet, there is a minimum payload size of 48 bytes vs a 1-byte minimum size for an AAL2
CPS packet.
AAL2 is the standard layer 2 protocol used in all Iu interfaces, i.e. the interfaces between UMTS base stations and
UMTS Radio Network Controllers (RNCs) (Iu-B), inter-RNCs (Iu-R), UMTS RNCs and UMTS Serving GPRS Support
Nodes (SGSNs) (Iu-PS), and UMTS RNCs and media gateways (MGWs) (Iu-CS).[1]
The basic component of AAL2 is the CPS packet. A CPS packet is an unanchored unit of data, that can cross ATM cells,
and starts from any location within the payload of the ATM cell, other than the STF (start field) which is the first byte of the
48 byte ATM payload. The STF tells which byte index into the ATM cell (of 48 bytes) the first CPS packet in this cell
begins. The data from byte 1 ... (STF+1), [where byte 0 is the location of the STF itself] would be the remaining straddled
portion of the previous ATM cell's final CPS packet. If the STF is 0, then the first byte of the cell after the STF is also the
The format for the 1 byte STF at the beginning of the ATM cell is the following:
1 bit - P (parity)
[edit]OSF
This is the Offset Field and carries the binary value of the offset in octets between the end of the P bit and the start of the
[edit]SN
[edit]P
This is a Parity bit used to detect error in the OSF and SN fields.
Additionally, if the ATM cell has less CPS packet data than 47 bytes, the remainder of the ATM cell will be filled by
padding.
[edit]AAL2u
One common adaptation of AAL2 is known as AAL2u which doesn't use the STF field at all. In this case, there will be one
single CPS packet which is aligned to the beginning of the cell. AAL2u is not used in standardized interfaces, but rather in
proprietary equipment implementations where the multiplexing/demultiplexing, etc. that needs to be done for standard
AAL2 is either too strenuous, unsupported, or too much overhead (i.e. the 1 byte of STF) from the internal system point of
view. Most computer chips do not have AAL2 support in them. And therefore stripping this layer away makes it easier to
interwork between the ATM interface and the rest of the network equipment computer system.
A CPS packet has a 3 byte header and a 1-45 octet payload. There is also a 64 octet mode defined by the standard, but it
[edit]CID
This is a Channel Identifier which identifies the user of the channel. The AAL2 channel is a bi-directional channel and the
[edit]LI
This is a Length Indicator that indicates the length of the CPCS information field between 1 and 45 (default) or 1 and 64
octets. For a given CID all channels must be of the same maximum length (either 45 or 64 octets)
[edit]UUI
This is User to User Indication. It conveys specific information transparently between the users. For example, in SSSAR,
UUI is used to indicate that this is the final CPS packet for the SSSAR PDU.
[edit]HEC
This is Header Error Control and checks for errors in the CID, LI and UUI fields. The generator polynomial for the CPS
G(x) = x5 + x2 + 1
AAL is the simplest and least useful of the AAL service classes is AAL-
0. This class of service provides a direct interface into the ATM layer by
users. It has been included in the standard to permit equipment
designers to disregard the AAL in its entirety. While some had
envisioned AAL-0 to useful in supporting control and service messaging,
it lacks the guaranteed delivery mechanisms that are critical to many
network control functions. For proprietary systems this can be useful.
For systems that must operate in open environments, with equipment
from multiple vendors, this "feature" should probably be avoided. It
doesn't provide much in the way of an aid to interoperability.
SAR-PDU, that is sent over a single ATM cell. AAL-1 PDU fields include
the Sequence Number that consists of a three-bit repeating sequence
number, and a "CS-indication" bit, a 4-bit Sequence Number Protection
(SNP) field that protects against sequence number errors, and a 47-
octet payload. Typically, this payload field is intended to be filled,
however, it can be partially used based on prenegotiated operation.
ATM Adaptation Layer 5 (AAL5) is an ATM adaptation layer used to send variable-length packets up
to 65,535 octets in size across anAsynchronous Transfer Mode (ATM) network.
Unlike most network frames, which place control information in the header, AAL5 places control
information in an 8-octet trailer at the end of the packet. The AAL5 trailer contains a 16-bit length field,
a 32-bit cyclic redundancy check (CRC) and two 8-bit fields labeled UU andCPI that are currently
unused.
Each AAL5 packet is divided into an integral number of ATM cells and reassembled into a packet
before delivery to the receiving host. This process is known as Segmentation and Reassembly (see
below). The last cell contains padding to ensure that the entire packet is a multiple of 48 octets long.
The final cell contains up to 40 octets of data, followed by padding bytes and the 8-octet trailer. In
other words, AAL5 places the trailer in the last 8 octets of the final cell where it can be found without
knowing the length of the packet; the final cell is identified by a bit in the ATM header (see below), and
the trailer is always in the last 8 octets of that cell.
Contents
[hide]
• 4 References
The AAL5 on the receiving side knows how many cells comprise a packet because the sending AAL5
uses the low-order bit of the "PAYLOAD TYPE" field of the ATM cell header to mark the final cell in a
packet. This final cell header can be thought of as an "end-to-end bit". Thus, the receiving AAL5
collects incoming cells until it finds one with an end-of-packet bit set. ATM standards use the term
"convergence" to describe mechanisms that recognize the end of a packet. Although AAL5 uses a
single bit in the cell header for convergence, other ATM adaptation layer protocols are free to use
other convergence mechanisms.
RFC 2684, Multiprotocol Encapsulation over ATM, describes two encapsulation mechanisms for
network traffic, one of which implements the former scheme and one of which implements the latter
scheme.
The former scheme, in which the hosts agree on the high-level protocol for a given circuit, is referred
to in RFC 2684 as "VC Multiplexing". It has the advantage of not requiring additional information in a
packet, which minimises the overhead. For example, if the hosts agree to transfer IP, a sender can
pass each datagram directly to AAL5 to transfer, nothing needs to be sent besides the datagram and
the AAL5 trailer. The chief disadvantage of such a scheme lies in duplication of virtual circuits: a host
must create a separate virtual circuit for each high-level protocol if more than one protocol is used.
Because most carriers charge for each virtual circuit, customers try to avoid using multiple circuits
because it adds unnecessary cost.
The latter scheme, in which the hosts use a single virtual circuit for multiple protocols, is referred to
in RFC 2684 as "LLC Encapsulation". The standards suggest that hosts should use a standard IEEE
802.2 Logical Link Control (LLC) header, followed by aSubnetwork Access Protocol (SNAP) header if
necessary. This scheme has the advantage of allowing all traffic over the same circuit, but the
disadvantage of requiring each packet to contain octets that identify the protocol type, which adds
overhead. The scheme also has the disadvantage that packets from all protocols travel with the same
delay and priority.
RFC 2684 specifies that hosts can choose between the two methods of using AAL5. Both the sender
and receiver must agree on how the circuit will be used, the agreement may involve manual
configuration.
AAL5 uses a 16-bit length field, making it possible to send 65,535 (2^16-1) octets in a single packet.
However, RFC 2225 specifies a default MTU of 9180 octets per datagram, so, unless the hosts on
both ends of the virtual circuit negotiate a larger MTU, IP datagrams larger than 9180 octets will be
fragmented.
Since different types of data are encapsulated in different ways, the details of the
segmentation process vary according to the type of data being handled. There are
several different schemes, referred to as ATM Adaptation Layers (AAL). The
schemes are:
[edit]
The use of Asynchronous Transfer Mode (ATM) technology and services creates the
need for an adaptation layer in order to support information transfer protocols, which
are not based on ATM. This adaptation layer defines how to segment and
reassemble higher-layer packets into ATM cells, and how to handle various
transmission aspects in the ATM layer.
Examples of services that need adaptations are Gigabit Ethernet, IP, Frame
Relay, SONET/SDH, UMTS/Wireless, etc.
The following ATM Adaptation Layer protocols (AALs) have been defined by the ITU-
T. It is meant that these AALs will meet a variety of needs. The classification is
based on whether a timing relationship must be maintained between source and
destination, whether the application requires a constant bit rate, and whether the
transfer is connection oriented or connectionless.
The AAL 5 was designed to accommodate the same variable bit rate, connection-
oriented asynchronous traffic or connectionless packet data supported by AAL 3/4,
but without the segment tracking and error correction requirements.
[edit]
ATM Adaptation Layer 5 (AAL5) is an ATM adaptation layer used to send variable-
length packets up to 65,535 octets in size across anAsynchronous Transfer
Mode (ATM) network.
Unlike most network frames, which place control information in the header, AAL5
places control information in an 8-octet trailer at the end of the packet. The AAL5
trailer contains a 16-bit length field, a 32-bit cyclic redundancy check (CRC) and two
8-bit fields labeled UU andCPI that are currently unused.
Each AAL5 packet is divided into an integral number of ATM cells and reassembled
into a packet before delivery to the receiving host. This process is known
as Segmentation and Reassembly (see below). The last cell contains padding to
ensure that the entire packet is a multiple of 48 octets long. The final cell contains up
to 40 octets of data, followed by padding bytes and the 8-octet trailer. In other words,
AAL5 places the trailer in the last 8 octets of the final cell where it can be found
without knowing the length of the packet; the final cell is identified by a bit in the ATM
header (see below), and the trailer is always in the last 8 octets of that cell.
Contents
[hide]
• 4 References
The AAL5 on the receiving side knows how many cells comprise a packet because
the sending AAL5 uses the low-order bit of the "PAYLOAD TYPE" field of the ATM
cell header to mark the final cell in a packet. This final cell header can be thought of
as an "end-to-end bit". Thus, the receiving AAL5 collects incoming cells until it finds
one with an end-of-packet bit set. ATM standards use the term "convergence" to
describe mechanisms that recognize the end of a packet. Although AAL5 uses a
single bit in the cell header for convergence, other ATM adaptation layer protocols
are free to use other convergence mechanisms.
[edit]Packet type and multiplexing
The AAL5 trailer does not include a type field. Thus, an AAL5 frame is not identifying
its content. This means that either the two hosts at the ends of a virtual circuit must
agree a priori that the circuit will be used for one specific protocol (e.g., the circuit will
only be used to send IP datagrams), or the two hosts at the ends of a virtual circuit
must agree a priori that some octets of the data area will be reserved for use as a
type field to distinguish packets containing one protocol's data from packets
containing another protocol's data.
The former scheme, in which the hosts agree on the high-level protocol for a given
circuit, is referred to in RFC 2684 as "VC Multiplexing". It has the advantage of not
requiring additional information in a packet, which minimises the overhead. For
example, if the hosts agree to transfer IP, a sender can pass each datagram directly
to AAL5 to transfer, nothing needs to be sent besides the datagram and the AAL5
trailer. The chief disadvantage of such a scheme lies in duplication of virtual circuits:
a host must create a separate virtual circuit for each high-level protocol if more than
one protocol is used. Because most carriers charge for each virtual circuit,
customers try to avoid using multiple circuits because it adds unnecessary cost.
The latter scheme, in which the hosts use a single virtual circuit for multiple
protocols, is referred to in RFC 2684 as "LLC Encapsulation". The standards suggest
that hosts should use a standard IEEE 802.2 Logical Link Control (LLC) header,
followed by aSubnetwork Access Protocol (SNAP) header if necessary. This scheme
has the advantage of allowing all traffic over the same circuit, but the disadvantage
of requiring each packet to contain octets that identify the protocol type, which adds
overhead. The scheme also has the disadvantage that packets from all protocols
travel with the same delay and priority.
RFC 2684 specifies that hosts can choose between the two methods of using AAL5.
Both the sender and receiver must agree on how the circuit will be used, the
agreement may involve manual configuration.
[edit]Datagram encapsulation and IP MTU size
Internet Protocol (IP) can use AAL5, combined with one of the encapsulation
schemes described in RFC 2684, to transfer datagrams across an ATM network, as
specified in RFC 2225. Before data can be sent, a virtual circuit (PVC or SVC) must
be in place to the destination host and both ends must agree to use AAL5 on the
circuit. To transfer a datagram, the sender passes it to AAL5 along with the VPI/VCI
identifying the circuit. AAL5 generates a trailer, divides the datagram into cells, and
transfers the cells across the network. At the receiving end, AAL5 reassembles the
cells, checks the CRC to verify that no bits were lost or corrupted, extracts the
datagram, and passes it to the IP layer.
AAL5 uses a 16-bit length field, making it possible to send 65,535 (2^16-1) octets in
a single packet. However, RFC 2225 specifies a default MTU of 9180 octets per
datagram, so, unless the hosts on both ends of the virtual circuit negotiate a larger
MTU, IP datagrams larger than 9180 octets will be fragmented.
[edit]
---------------------------------------------------------The End----------------------------------------------------------
ATM Adaptation Layer Protocols
Overview
Introduction
The following ATM Adaptation Layer protocols (AALs) have been defined for
Asynchronous Transfer Mode. These protocols are loosely associated with the
various classes of traffic expected to be carried:
AAL 1
Supports constant bit rate, connection-oriented, synchronous traffic (e.g.,
uncompressed voice).
AAL 2
Definition never completed, but was envisioned to be assigned for
variable bit rate, connection-oriented, synchronous traffic.
AAL 3/4
Supports variable bit rate, connection- oriented, asynchronous traffic
(e.g., X.25 data) or connectionless packet data (e.g., SMDS traffic) with
an additional 4-byte header in the information payload of the cell.
AAL 5
Similar to AAL 3/4 with a simplified information header scheme; this
AAL assumes that the data is sequential from the end user and uses the
PTI bit to indicate the last cell in a transmission Examples of services
that use AAL 5 are Classic IP over ATM, and LAN Emulation (LANE).
AAL 5 is the most widely used ATM Adaptation Layer Protocol.
The ATM Adaptation Layer Protocols are formally defined in ITU-T Standard
I.363 available from the International Telecommunications Union (ITU).
AAL TYPE 1
This section addresses ATM Adaptation Layer protocol type 1 (AAL 1), which
is designed to accommodate constant bit rate, connection-oriented, synchronous
traffic. A good example of this type of traffic is uncompressed video.
Like all of the AAL protocols, AAL 1 is designed to accept the data from the
upper-layers (i.e., USER layers) of the end user and prepare it for handoff in
48-byte segments to the ATM Layer of the ATM protocol stack. The ATM
Layer then provides each segment with an appropriate header and hands the 53-
byte ATM cell down to the Physical Layer for transmission over the ATM
network.
The preparation offered by the AAL 1 protocol includes support for the
following functions required by the upper layer:
• Timing recovery
• Timing indication
• Synchronization
• Indication of information loss
In order to provide these services, AAL 1 adds a one-byte (8 bit) header to each
Protocol Data Unit segment generated at the Segmentation and Reassembly
Sublayer. This information includes Convergence Sublayer specific
information (when required) as well as an error checking mechanism. No trailer
is added with this AAL protocol type.
The 1 byte (8 bit) header added at the Segmentation and Reassembly Sublayer
is divided into two 4-bit fields:
The other field (SNP) functions as the error check for the SAR header. The first
three bits of this field are a Cyclical Redundancy Check (CRC) for the SN
portion of the header. The polynomial used to generate this CRC is x3 + x + 1
The remaining bit is an even parity check over the previous 7 bits (i.e., the SN
field and the CRC subfield).
This section addresses ATM Adaptation Layer protocol type 3 and protocol
type 4. These two types are merged into a single protocol, AAL 3/4, which is
designed to accommodate both variable bit rate, asynchronous traffic (type 3)
or connectionless packet data (type 4). Good examples of these types of traffic
are X.25 Pacekt-Switched Data and SMDS respectively.
Like all of the AAL protocols, AAL 3/4 is designed to accept the data from the
upper-layers (i.e., USER layers) of the end user and prepare it for handoff in
48-byte segments to the ATM Layer of the ATM protocol stack. The ATM
Layer then provides each segment with an appropriate header and hands the 53-
byte ATM cell down to the Physical Layer for transmission over the ATM
network.
AAL 3/4 provides for full sequencing as well as error-control and error-
recovery mechanisms. This is accomplished both at the Convergence Sublayer
and the Segmentation and Reassembly Sublayer of the AAL Layer.
The first step in the data flow for AAL 3/4 is the Service Data Unit (SDU)
being passed down from the Upper (User) Layer to the Convergence Sublayer
of the AAL Layer.
AAL 3/4 subdivides the Convergence Sublayer into the Service Specific
Convergence Sublayer (SSCS) and the Common Part Convergence Sublayer
(CPCS). The Upper Layer SDU is passed through the SSCS Sublayer
unchanged.
The CPCS Sublayer adds a 4-byte header and a 4-byte trailer; at this point, the
User SDU is also padded, with 0-3 bytes as necessary, to assure that the entire
CPCS Protocol Data Unit (PDU) length is divisible by 4.
The ATM Layer adds the 5-byte ATM header to each segment received from
the SAR and passes each segment to the Physical Layer for transport over the
ATM network.
The Convergence Sublayer adds a 4-byte header, a 4-byte trailer, and extra
bytes as necessary to maintain the size requirements for even ATM
segmentation.
The CPCS header that is added to the data passed down from the Upper Layer
(end user) consists of the following three fields:
CPI
Common Part Indicator. This 1-byte field is used to interpret the
remainder of the fields in the header and trailer added for this sublayer.
Btag
Beginning Tag. This 1-byte field acts as an error check for this segment.
The value in this field is also placed in the Etag (End Tag) field of the
trailer, allowing a quick comparison after receipt to determine if the
segment has been corrupted.
BASize
Buffer Allocation Size. This 2-byte field is encoded to indicate the
length of the CPCS-PDU (segment) payload.
AL
Alignment. This 1-byte field is used to make the trailer size 4 bytes, in
order to maintain the divisibility of the segment by 4. It is passed
through the network transparently.
Etag
This 1-byte field contains the same information as the Btag field in the
header. (See Btag above.)
Length
This 2-byte field indicates the length of the PDU payload. It is encoded
to indicate the number of COUNTING UNITS in the length of the
payload, with the counting unit size indicated in the CPI of the header.
ST
Segment Type. This 2-bit field is used to indicate one of four segment
types: Beginning of Message (BOM), Continuation of Message (COM),
End of Message (EOM), or Single-Segment Message (SSM).
SN
Sequence Number. This 4-bit field allows the stream of SAR SDUs to be
numbered using modulo 16. It is used to provide a "loss of segment"
check for each full PDU that is segmented.
MID
Multiplexing Identification. This 10-bit field is used to multiplex CPCS
connections on a single ATM Layer connection, when applicable.
LI
Length Indication. This 6-bit field is binary- encoded to indicate the
number of bytes of the CPCS-PDU (received from the Convergence
Layer above) that are contained in the payload portion of this segment.
For BOM and COM segments, this value MUST be 44. For EOM
segments, the value can range from 4 to 44, as appropriate. For SSM
segments, permitted values range from 8 to 44.
CRC
Cyclical Redundancy Check. This 10-bit sequence functions as an error
check for the entire SAR-SDU, including the header, payload, and LI
field of the trailer.
AAL TYPE 5
This section addresses ATM Adaptation Layer protocol type 5 (AAL 5), which
is designed to accommodate the same variable bit rate, connection-oriented
asynchronous traffic or connectionless packet data supported by AAL 3/4, but
without the segment tracking and error correction requirements. It is used to
transfer non-SMDS data, such as classical IP over ATM and LAN Emulation
(LANE). It is also known as the Simple and Efficient Adaptation Layer
(SEAL).
Like all of the AAL protocols, AAL 5 is designed to accept the data from the
upper-layers (i.e., USER layers) of the end user and prepare it for handoff in
48-byte segments to the ATM Layer of the ATM protocol stack. The ATM
Layer then provides each segment with an appropriate header and hands the 53-
byte ATM cell down to the Physical Layer for transmission over the ATM
network. For all cells except the last, the low order bit in the Payload Type
Indicator (PTI) is set to zero to indicate the cell is not the last cell is a series
that represents a single frame. For the last cell, the low order bit in the PTI field
is set to one.
The first step in the data flow for AAL 5 is the Service Data Unit (SDU) being
passed down from the Upper (User) Layer to the Convergence Sublayer of the
AAL Layer.
Like AAL 3/4, AAL 5 subdivides the Convergence Sublayer into the Service
Specific Convergence Sublayer (SSCS) and the Common Part Convergence
Sublayer (CPCS). The Upper Layer SDU is passed through the SSCS Sublayer
unchanged.
The CPCS Sublayer adds an 8-byte trailer to the SDU and pads the SDU with
0-47 bytes of data in such a manner that the SDU may be divided evenly into
48-byte segments, with the trailer occupying the last 8 bytes of the last
segment.
At this time, the CPCS-PDU is handed down to the SAR Sublayer, where it is
divided into 48-byte segments. THE SAR SUBLAYER PERFORMS NO
ADDITIONAL FUNCTIONS WITH AAL 5.
Each of the segments is then handed (unchanged) to the ATM Layer for
incorporation into an appropriate ATM cell. The ATM Layer then sends the
cell to the Physical Layer for transmission over the ATM network.
CT = CPCS Trailer
-++-------------------++-------------------+
|| || | | |
-++-------------------++-------------------+
|| Second Segment || Last Segment |
VV VV V
+-------------------+
| | | |
+-------------------+
| SAR-SDU |
V V
+-----+-------------------+
| AH | | | |
+-----+-------------------+
|___ ATM Payload ___|
AH = ATM Header
CPCS-UU
CPCS User-to-User Indication. This 1-byte field is used to transparently
transfer information from the origination user to the destination user.
CPI
Common Part Indicator. This is a 1-byte field used to align the CPCS-
PDU trailer to the 32-bit boundary.
Length
This 2-byte field indicates the length of the CPCS payload, not including
the PAD bytes.
CRC-32
Cyclical Redundancy Check. The 4-byte CRC-32 field is a 32-bit error
check for the entire contents of the CPCS-PDU, including the payload,
PAD field, and first 4 bytes of the trailer. The CRC-32 generating
polynomial is: x32 + x26 + x23 + x22 + x16 + x12 + x11 + x10 + x8 + x7 + x5 +
x4 + x2 + x + 1.