GSM LLC 3GPP TS 04.64

3GPP TS 04.64
Mobile Station - Serving GPRS Support Node (MS-SGSN)
Logical Link Control (LLC) layer specification

LLC

在这里插入图片描述

在这里插入图片描述

LLC被认为是ISO 7层模型中第2层的子层。 LLC的目的是在MS和SGSN中的第3层实体之间传达信息。 具体而言,LLC应支持:

  • Um接口的多个MS;
  • MS内的多个第3层实体。
    LLC包括以下功能:
  • 提供通过DLCI区分的一个或多个逻辑链路连接;
  • 序列控制,以维持逻辑链路连接上的帧的顺序顺序;
  • 检测逻辑链路连接上的传输,格式和操作错误;
  • 从检测到的传输,格式和操作错误中恢复;
  • 不可恢复错误的通知;
  • 流量控制;
  • 加密。
    LLC层功能提供了MS和SGSN对等实体之间的对等逻辑链路连接进行信息传递的手段。

帧结构

在这里插入图片描述
5.2 Address field
地址字段由单个八位字节组成。 地址字段包含SAPI并标识下行链路帧所针对的DLCI以及DLCI发送上行链路帧。 地址字段的格式在子条款6.2中定义
在这里插入图片描述
6.2.1 Protocol Discriminator bit (PD)
PD比特指示帧是LLC帧还是属于其他协议。

6.2.2 Command/Response bit (C/R)
C / R位将帧标识为命令或响应。

6.2.3 Service Access Point Identifier (SAPI)
SAPI确定LLE向第3层实体提供LLC服务的点。

5.3 Control field
控制字段通常包括一到三个八位字节。 SACK监控帧还包括最多32个八位字节的可变长度位图字段。 控制字段的格式在子条款6.3中定义。
控制字段标识帧的类型。 指定了四种类型的控制字段格式:

  • 确认信息传输(I format);
  • 监督职能(S format);
  • 未经证实的信息传输(UI format);
  • 控制功能(U format)
    在这里插入图片描述
    在这里插入图片描述

6.3.1 Information transfer format - I
I format应用于在第3层实体之间执行信息传输。

6.3.2 Supervisory format - S
S format应用于执行逻辑链路监控控制功能,例如确认I帧并请求临时暂停I format传输

6.3.3 Unconfirmed Information format - UI
UI format应用于在没有确认的情况下在第3层实体之间执行信息传输。

6.3.4 Unnumbered format - U
U format应用于提供额外的逻辑链路控制功能

5.4 Information field
当存在时,帧的信息字段遵循控制字段(参见上面的子条款5.4)。 信息字段(N201)中的最大八位字节数在子条款8.9.5中定义。

5.5 Frame Check Sequence (FCS) field
FCS字段应包含24位循环冗余校验(CRC)代码。 CRC-24用于检测帧头和信息字段中的比特错误。
在这里插入图片描述

6.4 Commands and responses
6.4.1 Unnumbered (U) frames
6.4.1.1 Set Asynchronous Balanced Mode (SABM) command
The SABM unnumbered command shall be used to place the addressed MS or SGSN side into ABM acknowledged operation.

6.4.1.2 Disconnect (DISC) command
The DISC unnumbered command shall be transmitted in order to terminate the ABM operation.

6.4.1.3 Unnumbered Acknowledgement (UA) response
The UA unnumbered response shall be used by an LLE to acknowledge the receipt and acceptance of the mode-setting commands (SABM or DISC).

6.4.1.4 Disconnected Mode (DM) response
The DM unnumbered response shall be used by an LLE to report to its peer that the LLE is in a state such that ABM operation cannot be performed.

6.4.1.5 Frame Reject (FRMR) response
The FRMR unnumbered response may be received by an LLE as a report of a frame rejection condition not recoverable by retransmission of the identical frame

6.4.1.6 Exchange Identification (XID) command/response
This frame shall be used to negotiate and re-negotiate LLC layer parameters and layer-3 parameters. XID frames can be transmitted in ADM and ABM.

6.4.1.7 NULL command
The NULL unnumbered command shall be used by an MS LLE to indicate a cell update.

6.4.2 Unconfirmed Information (UI) frame
6.4.2.1 Unconfirmed Information (UI) command
When a layer-3 entity requests unacknowledged information transfer, the UI command shall be used to send information to its peer.

6.4.3 Combined Information (I) and Supervisory (S) frames
The function of the information (I) frame is to transfer, across a logical link connection, sequentially-numbered frames containing information fields provided by layer 3.

6.4.3.1 Receive Ready (RR) command / response
The receive ready (RR) supervisory frame is used by an LLE to:

  • indicate that it is ready to receive an I frame; and
  • acknowledge previously received I frames numbered up to and including N® - 1 (as defined in clause 8).

6.4.3.2 Acknowledgement (ACK) command / response
The ACK supervisory frame shall be used by an LLE to acknowledge a single or multiple I frames.

6.4.3.3 Selective Acknowledgement (SACK) command / response
The SACK supervisory frame shall be used by an LLE to acknowledge a single or multiple I frames.

6.4.3.4 Receive Not Ready (RNR) command / response
The receive not ready (RNR) supervisory frame shall be used by an LLE to indicate a busy condition; that is, a temporary inability to accept additional incoming I frames.

层间原语

在这里插入图片描述
7.2 Primitive procedures
7.2.1 GMM - LLME primitives
7.2.1.1 LLGMM-ASSIGN
7.2.1.2 LLGMM-RESET
7.2.1.3 LLGMM-TRIGGER
7.2.1.4 LLGMM-SUSPEND
7.2.1.5 LLGMM-RESUME
7.2.1.6 LLGMM-PAGE
7.2.1.7 LLGMM-IOV
7.2.1.8 LLGMM-STATUS

7.2.2 Layer 3 - LLE primitives
7.2.2.1 LL-RESET
7.2.2.2 LL-ESTABLISH
7.2.2.3 LL-RELEASE
7.2.2.4 LL-XID
7.2.2.5 LL-DATA
7.2.2.6 LL-UNITDATA
7.2.2.7 LL-STATUS

7.2.3 LLE - RLC/MAC primitives
7.2.3.1 GRR-DATA
7.2.3.2 GRR-UNITDATA

7.2.4 LLE - BSSGP primitives
7.2.4.1 BSSGP-DL-UNITDATA
7.2.4.2 BSSGP-UL-UNITDATA

7.2.5 LLME - LLE primitives

状态机

在这里插入图片描述

LLC peer-to-peer protocol

8.1 General
The LLC elements of procedure (frame types) that apply are:

  • for unacknowledged information transfer:
  • UI command; and
  • for ABM acknowledged information transfer:
  • SABM command;
  • UA response;
  • DM response;
  • DISC command;
  • RR command / response;
  • RNR command / response;
  • ACK command / response;
  • SACK command / response;
  • I command / response; and
  • for both unacknowledged and acknowledged information transfer:
  • FRMR response; and
  • XID command / response.

8.2 Procedure for the use of the P/F bit
8.3 TLLI assignment procedures
在这里插入图片描述
8.4 Procedures for unacknowledged information transfer
在这里插入图片描述
8.5 Procedures for establishment and release of ABM operation
在这里插入图片描述
在这里插入图片描述
8.5.2 Termination of ABM operation
在这里插入图片描述
8.5.3 Automatic negotiation of LLC layer and layer-3 parameters
在这里插入图片描述
在这里插入图片描述
8.5.4 TLLI Assigned / ADM state
8.5.5 Collision of unnumbered commands
在这里插入图片描述
8.5.6 Unsolicited DM response and SABM or DISC command
8.6 Procedures for information transfer in ABM operation
8.6.1 Transmitting I frames
8.6.2 Receiving I frames
8.6.3 Sending and receiving acknowledgements
8.6.4 Peer receiver busy condition
8.6.5 Own receiver busy condition
8.6.6 Waiting for acknowledgement
在这里插入图片描述
8.7 Re-establishment of ABM operation
8.7.1 Criteria for re-establishment
8.7.2 Procedures
在这里插入图片描述
8.8 Exception condition reporting and recovery
8.8.1 Invalid frame condition
8.8.2 Frame rejection condition
8.8.3 Receipt of a FRMR response frame
8.8.4 Unsolicited response frames

8.9 List of LLC layer parameters
8.9.1 LLC version number (Version)
8.9.2 Input Offset Value (IOV)
8.9.3 Retransmission timers (T200 and T201)
8.9.4 Maximum number of retransmissions (N200)
8.9.5 Maximum number of octets in an information field (N201)
8.9.6 Maximum number of octets in the layer-3 header (N202)
8.9.7 Maximum I frame buffer size (m)
8.9.8 Maximum number of outstanding I frames (k)
8.9.9 LLC layer parameter default values

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值