LAPB

Link Access Procedure Balanced

Protocol
Introduced in Rel-4
LAPB is a data link layer protocol used in 3GPP systems for reliable, error-controlled point-to-point connections, often for signaling transport. It is a balanced-mode adaptation of HDLC, ensuring data integrity between network elements. Its structured frame handling is foundational for legacy circuit-switched and packet data interfaces.

Description

Link Access Procedure Balanced (LAPB) is a Layer 2 data link protocol standardized within 3GPP, derived from the High-Level Data Link Control (HDLC) framework. It operates in balanced mode, meaning both communicating stations (e.g., a mobile station and a network node) can initiate and control the link independently, functioning as combined primary and secondary stations. This symmetrical design eliminates the master-slave hierarchy, enabling efficient full-duplex communication. LAPB is primarily employed over reliable physical layers to provide a sequenced, error-free data transfer service for upper-layer protocols, particularly in legacy GSM and UMTS circuit-switched domains for signaling and some user data transport.

The protocol architecture is frame-based, utilizing three types of frames: Information (I-frames) for user data transfer, Supervisory (S-frames) for flow and error control acknowledgments (like RR, RNR, REJ), and Unnumbered (U-frames) for link establishment and disconnection (SABM, DISC, UA). Each frame contains address, control, information, and frame check sequence (FCS) fields. The control field manages sequence numbers (N(S) for send, N(R) for receive) for sliding window flow control, typically with a modulus of 8 or 128. Error detection is performed via the FCS (using CRC), with automatic repeat request (ARQ) mechanisms for retransmission of corrupted or lost frames, ensuring high reliability.

In the 3GPP network context, LAPB is specified for interfaces such as the Gb interface between the BSS and SGSN in GPRS/EDGE, where it can be used over frame relay for signaling data link control. Its role is to create a logical link connection (LLC) for the reliable transport of BSSGP (Base Station System GPRS Protocol) packets. While largely superseded by IP-based transport in later releases, LAPB's robust error and flow control mechanisms provided a critical foundation for early mobile data services, ensuring signaling integrity and efficient bandwidth utilization over sometimes unreliable physical circuits.

Purpose & Motivation

LAPB was introduced to provide a standardized, reliable data link protocol for point-to-point connections within 3GPP mobile networks, addressing the need for error-controlled signaling and data transport. Prior to its adoption, proprietary or less robust link layer solutions could lead to interoperability issues and data corruption. LAPB, as an ITU-T X.25-derived protocol, offered a well-understood, vendor-neutral method for ensuring data integrity between network elements like base stations and core network nodes.

The historical context lies in the evolution of GSM and early packet data services (GPRS), where reliable transport for signaling messages (e.g., for mobility management, call control) and packet data units was essential over terrestrial links. Physical layer interfaces (like E1/T1 lines) could introduce errors; LAPB's ARQ and sequencing mechanisms guaranteed that messages were delivered correctly and in order. It solved the problem of building a dependable communication sublayer upon potentially noisy circuits, which was crucial for maintaining network stability and service quality.

Furthermore, LAPB's balanced mode was specifically chosen to improve efficiency over the earlier unbalanced HDLC modes used in some telecom systems. By allowing either end to initiate transmission and control, it reduced latency and simplified link management for peer-to-peer network communications. This design was well-suited for the evolving architecture where network nodes needed to act as equals in dialogue, supporting the increasing intelligence and autonomy distributed across the radio access and core network.

Key Features

  • Balanced mode operation (combined station) enabling symmetrical, peer-to-peer control
  • Comprehensive error detection via Frame Check Sequence (FCS) with CRC
  • Automatic Repeat Request (ARQ) mechanisms for reliable frame retransmission
  • Sliding window flow control with mod-8 or mod-128 sequence numbering
  • Support for Information (I), Supervisory (S), and Unnumbered (U) frame types
  • Link establishment, maintenance, and disconnection procedures (e.g., SABM, DISC)

Evolution Across Releases

Rel-4 Initial

LAPB was initially introduced in 3GPP Release 4, primarily for use on the Gb interface between the BSS and SGSN in GPRS networks. The specification defined its adaptation over frame relay networks to provide a reliable data link service for BSSGP signaling and user data transport, establishing the foundational error and flow control procedures.

Defining Specifications

SpecificationTitle
TS 21.905 3GPP TS 21.905
TS 23.044 3GPP TS 23.044