Description
The Command/Response (C/R) field bit is a fundamental component of the data link layer (Layer 2) protocol architecture in 3GPP systems, specifically within the Link Access Procedures on the D-channel (LAPD) and its mobile adaptation, LAPDm. It is a single binary bit located within the Address Field of the protocol data unit (PDU) header. Its sole purpose is to indicate whether the transmitted frame is a 'Command' or a 'Response'. This designation is not absolute but is relative to the communication context between two peer entities, typically the Mobile Station (MS) and the Network (e.g., Base Station System). The entity initiating a procedure or sending a frame that requires a specific acknowledgment sets the C/R bit to indicate a Command. The receiving entity, when replying with the corresponding acknowledgment or response frame, sets the C/R bit to indicate a Response. This simple mechanism establishes a clear master-slave or command-response relationship for the duration of a logical link operation.
From a technical perspective, the C/R bit works in conjunction with other Layer 2 header fields, such as the Service Access Point Identifier (SAPI) and the Terminal Endpoint Identifier (TEI). The interpretation of the C/R bit's value (0 or 1) is defined by the role of the communicating entities. For instance, in the Um interface signaling (between MS and BSS), frames sent from the network to the mobile station with SAPI=0 (call control) are defined as commands when C/R=1 and as responses when C/R=0. Conversely, frames sent from the mobile station to the network with SAPI=0 are commands when C/R=0 and responses when C/R=1. This role-dependent interpretation is key to avoiding ambiguity. The bit enables protocols like LAPDm to implement balanced and unbalanced asynchronous procedures, manage multiple logical links over a single physical channel, and coordinate frame transmission, retransmission, and error control.
In operation, the C/R bit governs procedures such as frame acknowledgment using Receiver Ready (RR), Receiver Not Ready (RNR), and Reject (REJ) supervisory frames. A command I-frame (Information frame) will have its C/R set according to the sender's role. The corresponding RR acknowledgment returned will have the C/R bit set to the opposite value, clearly identifying it as the response. This is essential for the protocol's state machines to function correctly, ensuring that only expected response frames are processed. Furthermore, in multi-frame operation used for data transfer, the sequencing of I-frames (using N(S) and N(R) sequence numbers) relies on the unambiguous command-response dialogue established by the C/R bit to maintain data integrity and order. Its role is purely control-oriented within the data link layer; it does not carry user data but is indispensable for the reliable establishment, maintenance, and teardown of the signaling links that carry higher-layer messages for mobility management, call control, and session management.
The C/R bit's architecture is consistent across its use in various 3GPP technical specifications. It is a low-level, persistent feature of the Layer 2 signaling protocols that have evolved from GSM (using LAPDm) through UMTS and into LTE and 5G NR for certain control plane protocols (with adaptations in RLC/MAC layers for user plane). While the specific protocols utilizing a direct C/R bit field became less prominent in the pure packet-switched interfaces of later releases, the fundamental concept of distinguishing command and response PDUs remains embedded in the state machine design of subsequent Layer 2 and Layer 3 protocols. Its simplicity and effectiveness in defining communication roles made it a foundational element for early digital cellular signaling reliability.
Purpose & Motivation
The C/R bit was created to solve a fundamental problem in data link layer communication over shared or point-to-point channels: unambiguous role identification. In a telecommunication system where two peer entities exchange frames, it is critical to distinguish between a frame that is initiating an action (a command) and a frame that is reacting to a previous action (a response). Without this distinction, protocol state machines could misinterpret incoming frames, leading to deadlocks, incorrect sequence number handling, or failed procedures. The C/R bit provides this distinction with minimal overhead—just a single bit.
Historically, this concept was inherited from the ISDN D-channel protocol, LAPD (Q.921), which was adapted for the mobile environment as LAPDm in GSM. Prior to such structured Layer 2 protocols, simpler or proprietary links might have used implicit timing or dedicated channels for commands and responses, which were less flexible and efficient. The C/R bit enabled a single logical channel to carry bidirectional command/response dialogues for multiple higher-layer services (identified by SAPI), optimizing the use of scarce radio resources. It addressed the limitation of not having a permanently assigned 'master' role by making the command/response designation a property of each frame, determined by the sender's role in a given logical link.
The motivation was to create a robust, reliable, and standardized signaling link for critical control plane functions like call setup, handover, and location updating. By clearly tagging frames as commands or responses, the protocol could implement reliable error recovery mechanisms (like retransmissions based on REJ frames) and flow control. This was essential for maintaining service continuity and quality in a error-prone radio environment. The C/R bit, therefore, was a key enabler for the automated, reliable signaling that distinguishes digital cellular networks from their analog predecessors.
Key Features
- Single-bit field in the Layer 2 PDU Address Field
- Defines a frame as either a Command or a Response
- Interpretation is role-dependent (network vs. mobile station)
- Essential for operation of LAPDm and similar data link protocols
- Enables clear master-slave dialogue for protocol state machines
- Fundamental for supervisory frame (RR, RNR, REJ) exchange and error recovery
Evolution Across Releases
Introduced as part of the GSM-derived Layer 2 signaling protocols, specifically LAPDm, for the A/Gb mode of UMTS (Circuit-Switched domain). The C/R bit was a core component of the data link layer on the Um and Abis interfaces, enabling reliable signaling for circuit-switched services. Its architecture and role were fully defined, governing command/response procedures for connection establishment, data transfer, and release in the control plane.
Defining Specifications
| Specification | Title |
|---|---|
| TS 21.905 | 3GPP TS 21.905 |
| TS 24.022 | 3GPP TS 24.022 |