GL

Group Length

Other
Introduced in Rel-8
A field used in 3GPP protocol layer specifications, particularly for Layer 2 (L2) protocols like PDCP and RLC, to indicate the total length of a protocol data unit (PDU) or a specific group of data elements. It is essential for correct parsing and processing of variable-length protocol structures.

Description

Group Length (GL) is a fundamental concept in 3GPP protocol engineering, specifically within the specification of data link layer (Layer 2) protocols in the radio access network. It is formally defined in technical specifications such as TS 37.462, which deals with protocol aspects across different radio access technologies. The GL is a field embedded within a Protocol Data Unit (PDU) header or a subheader. Its value represents the total length, typically in bytes or bits, of a subsequent data group, which can be a set of fields, a subPDU, or a specific information element.

In operation, when a receiving entity (e.g., a PDCP or RLC entity in the UE or gNB) processes an incoming PDU, it reads the GL field to determine how many octets to consume for the associated group. This allows the protocol to handle variable-length components efficiently without requiring fixed, pre-defined lengths for all elements. The parsing logic is sequential: read a field type or identifier, read its associated GL, then skip forward by the number of bytes indicated by the GL to reach the start of the next group. This mechanism is crucial for extensibility, as new fields or information elements can be added to a PDU format in later releases without breaking backward compatibility—older receivers can simply skip over unknown groups using their GL values.

The architecture of protocols using GL often involves a TLV (Type-Length-Value) or LTV (Length-Type-Value) like structure, where 'L' corresponds to the Group Length. For instance, in the Packet Data Convergence Protocol (PDCP) data PDU for 5G NR, certain control information or service data adaptation protocol (SDAP) containers might be conveyed using such grouped formats. The GL ensures that the receiver can accurately delineate between multiple concatenated groups within a single PDU, preventing misalignment that could lead to protocol errors or data corruption.

Its role is foundational to the flexibility and robustness of 3GPP's layered protocol design. By abstracting the length indication into a generic 'Group Length' concept, specification writers can create complex, compound PDUs that carry diverse types of information (e.g., user data, control feedback, security headers) in a single transmission unit. This optimizes overhead and processing efficiency in the radio interface, which is critical for meeting the high-throughput and low-latency demands of modern cellular systems from LTE to 5G NR.

Purpose & Motivation

The Group Length field exists to solve the fundamental protocol design problem of efficiently encoding variable-length and optional data elements within a fixed or semi-fixed PDU structure. Early communication protocols often used fixed-length fields, which were simple to parse but wasted bandwidth when information was not present or was shorter than the allocated space. Alternatively, using delimiter characters was unsuitable for binary protocols where any byte value could appear in the data.

The adoption of a length-indicated approach, exemplified by GL, was motivated by the need for a more flexible and efficient encoding scheme. It allows protocol designers to define PDUs that can adapt to different service requirements, carry optional extensions for future features, and minimize overhead by only allocating space for information that is actually present. This is particularly important in the radio interface, where spectral efficiency is paramount.

Historically, concepts like TLV are prevalent in telecom and networking (e.g., ASN.1 BER). 3GPP's formal definition of GL in documents like TS 37.462 provides a standardized interpretation and ensures consistent implementation across all Layer 2 protocols (PDCP, RLC, MAC) and across different RATs (E-UTRA, NR). It addresses the limitation of rigid PDU formats, enabling the evolution of protocols through multiple 3GPP releases while maintaining backward compatibility, as new 'groups' can be added and safely ignored by legacy devices using the GL to skip them.

Key Features

  • Indicates the total length in bytes of a subsequent group of fields or data elements
  • Enables parsing of variable-length and optional protocol components
  • Fundamental to TLV-like structures used in 3GPP Layer 2 PDU formats
  • Supports protocol extensibility and backward compatibility
  • Used across multiple RATs (LTE, NR) and layer 2 protocols (PDCP, RLC)
  • Reduces protocol overhead by avoiding padding for fixed-length fields

Evolution Across Releases

Rel-8 Initial

The concept of Group Length was formally incorporated into 3GPP Layer 2 protocol specifications with the introduction of LTE. It was used in the design of PDCP and RLC PDU formats to handle variable-length information elements and support the flexible architecture of the Evolved Packet System.

Defining Specifications

SpecificationTitle
TS 37.462 3GPP TR 37.462