PPS

Protocol and Parameter Select

Protocol
Introduced in Rel-4
PPS is a response message in the UICC/USIM initialization sequence, sent in reply to an Answer To Reset (ATR) command. It allows the terminal to negotiate and select the communication protocol and parameters for the smart card interface, ensuring compatibility and optimal performance between the device and the SIM.

Description

Protocol and Parameter Select (PPS) is a critical procedure defined within the ISO/IEC 7816-3 standard for integrated circuit cards (ICCs), which is adopted and specified by 3GPP for UICC (Universal Integrated Circuit Card) and USIM (Universal Subscriber Identity Module) operations. The PPS exchange occurs immediately after the Answer To Reset (ATR) sequence, which is the initial electrical and protocol handshake when a smart card is powered on. The ATR informs the terminal (e.g., mobile phone) of the card's basic capabilities, such as supported transmission protocols (T=0 or T=1) and fundamental electrical parameters. The PPS is the terminal's response, where it can propose a specific protocol and adjust parameters like the clock rate conversion factor (F) and the bit rate adjustment factor (D) to optimize the data transfer rate and power consumption for the specific card-terminal pair.

The PPS procedure is a negotiation mechanism. The terminal analyzes the ATR data, which includes the card's supported protocols (Protocol Type T) and its maximum supported data rates (defined by parameters like F and D). Based on its own capabilities and desired performance, the terminal formulates a PPS request. This request contains the selected protocol (T=0 for byte-oriented transmission or T=1 for block-oriented transmission) and the proposed values for F and D. The card then responds with a PPS confirmation if it accepts the proposal, or it may remain silent or send an error, in which case the default parameters from the ATR are used. This handshake ensures that both entities operate on a mutually agreed, optimal set of communication rules before any application-level commands (like those for network authentication) are exchanged.

Architecturally, PPS operates at the physical and data link layers of the smart card interface. Key components involved are the terminal's ICC interface driver and the card's I/O manager. The parameters negotiated directly influence the electrical signaling and the framing of data packets. For instance, selecting T=1 enables error detection and correction at the block level, which is more robust for certain operations. The role of PPS in the 3GPP network is foundational but often transparent; it is the bedrock for reliable and efficient communication between the mobile equipment and the USIM, which is essential for all subsequent security procedures (like authentication and key agreement) and service access. Without a successful PPS exchange (even if it's implicit acceptance of defaults), the higher-layer protocols cannot function correctly.

Purpose & Motivation

The PPS procedure exists to solve the problem of interoperability between a wide variety of smart cards (UICCs) and mobile terminals from different manufacturers. In the early days of smart cards, a card might only support a single, fixed communication mode. As technology evolved, cards gained support for multiple protocols and higher data rates. The ATR alone was insufficient because it only stated the card's capabilities; it did not allow the terminal to actively choose or optimize the connection. PPS was introduced to provide a dynamic negotiation phase.

This negotiation addresses several limitations. First, it allows for performance optimization. A terminal capable of higher clock speeds can propose a faster data rate (by adjusting F and D) if the card supports it, leading to quicker data exchanges for file access or application protocol data units (APDUs). Second, it enhances reliability by letting the terminal select the more robust T=1 protocol if both support it, which includes error control mechanisms not present in T=0. Finally, it provides a path for future evolution. As new parameters or protocols are defined in later versions of the ISO standard, the PPS framework can be extended to negotiate them, ensuring backward compatibility. The historical context is rooted in the standardization of smart cards for telecommunications (GSM, then 3GPP), where the SIM/USIM became a secure, programmable element requiring efficient and reliable communication with the handset.

Key Features

  • Dynamic protocol negotiation (T=0 or T=1)
  • Parameter adjustment for data rate (F and D factors)
  • Follows the ISO/IEC 7816-3 standard adopted by 3GPP
  • Initiated by the terminal after receiving the ATR
  • Ensures optimal and compatible smart card communication
  • Foundation for all subsequent USIM application commands

Evolution Across Releases

Rel-4 Initial

Initially specified for 3GPP USIM/UICC operations, adopting the established ISO/IEC 7816-3 procedure. It defined the use of PPS within the 3GPP system architecture for negotiating the physical layer protocol and parameters between the Mobile Equipment (ME) and the UICC, ensuring a standardized handshake for 3G (UMTS) networks.

Defining Specifications

SpecificationTitle
TS 21.111 3GPP TS 21.111
TS 21.905 3GPP TS 21.905
TS 26.116 3GPP TS 26.116
TS 26.223 3GPP TS 26.223
TS 26.522 3GPP TS 26.522
TS 26.906 3GPP TS 26.906
TS 26.948 3GPP TS 26.948