datalink

31
Layer 2 Computer Communications & Networks Layer 2 Error Control Text: Data and Computer Communications, 8 th Edition, William Stallings Chapter 7 Objectives The student shall be able to the following as it relates to the Go-Back-N scheme: Describe how windowing and piggybacking works and why they are used. Understand when and how retransmissions occur for a go-back-n retransmission scheme. Describe the difference between connection-oriented and connectionless at layer 2 and how it is implemented with UI and I-frames. Describe how flow control works for connection-oriented sessions. Define the primitives: request, indication, response, confirm and know when to use them. Understand how to read a state transition diagram for a simple LAPD-type protocol. Work with ladder diagrams to correctly use sequence number and windows, retransmissions, and primitives. Time Allocation: Introduction, Windowing 1/2 hour Error Control 1/2 hour States 1/2 hour Primitives 1/2 hour Exercises 1/2 hour Total: 3 hours 1

Upload: kun-nvt

Post on 23-Dec-2015

2 views

Category:

Documents


0 download

TRANSCRIPT

Layer 2

Computer Communications & Networks

Layer 2 Error Control

Text: Data and Computer Communications, 8th Edition, William StallingsChapter 7

ObjectivesThe student shall be able to the following as it relates to the Go-Back-N scheme: Describe how windowing and piggybacking works and why they are used. Understand when and how retransmissions occur for a go-back-n retransmission scheme. Describe the difference between connection-oriented and connectionless at layer 2 and how it is

implemented with UI and I-frames. Describe how flow control works for connection-oriented sessions. Define the primitives: request, indication, response, confirm and know when to use them. Understand how to read a state transition diagram for a simple LAPD-type protocol. Work with ladder diagrams to correctly use sequence number and windows, retransmissions,

and primitives.

Time Allocation: Introduction, Windowing 1/2 hour Error Control 1/2 hour States 1/2 hour Primitives 1/2 hour Exercises 1/2 hourTotal: 3 hours

1

Layer 2

LAP-D Protocol

Features of layer 2: Error Detection: When a transmission error is detected the complete message must be

discarded. Error Recovery: Retransmit messages to recover from errors.

Automatic Repeat Request (ARQ): Error Detection: Frames with CRC errors are discarded. Positive Acknowledgment: Acknowledge frames received without error. Retransmission after Timeout: Transmitter retransmits after timeout Negative Acknowledgment and Retransmission: Return a negative ack for frames received out

of sequence.

SEQUENCE NUMBERS are used to ensure messages are received in sequence.

Commonly used:1 bit -> 0,1,0,1,0,13 bits-> 0,1,2,3,4,5,6,7,0..7,0..77 bits-> 0..127,0..127,0..127

Sliding Window: Send a number of frames before receiving an acknowledgment. Useful when transmission media has a long round-trip delay.

Satellite: approximately 1/2 second round trip delay for geostationary satellites.

Window Size: The number of I-frames that can be outstanding (without acknowledgment)Which window size shall I select?

Transmission delay has two components: Transmission time in bits/second: Time to get bits onto the physical channel Propagation delay: Time to travel across space

Transmission Time:Transmission Time = b = data rate in bits/secondTime to transmit frame of L bits: L/bExample: L=1000, b=56000 L/b = 18 ms.

Propagation delay = radio = speed of light = 3x108 m/scable/fiber = 2x108 m/s

p = propagation delay for 1 bit to travel from sender to receiverR = round-trip propagation time= 2pTime to receive ack after last bit sent: R or 2p

Line utilization if we wait for ack for frame before transmitting next frame:Line_utilization = L/(L+bR)

2

Layer 2

Select a window size that will fill the channel.

3

Layer 2

Three Modes:1. Stop & Wait2. Go-Back-N3. Selective Reject

Stop-and-wait protocol: Uses a 1-bit sequence number.1. Send a frame.2. Wait for Ack before sending another frame.3. If no Ack received within a timeout, retransmit the frame.

Go-Back-N: N-bit sequence number allows a window size > 1 Frames must be received in order Acks acknowledge all frames up to Next Expected Frame(This is Protocol 5 in our text)

Selective Reject: N-bit sequence number Receiver keeps out-of-order frames. Negative Ack indicates missing frames. (This is Protocol 6 in our text)

4

Layer 2

LAP-D (HDLC) FRAME TYPES: INFORMATION TRANSFER

Two types of frames used in Connection-oriented mode to transfer data (with no errors):I-frame: Information Frame

Contains message data. Also used to acknowledge received I-frames.

RR: Receiver Ready Used as an acknowledgment to one or more I-frames. Contains a layer 2 header and NO message.

Each I-frame is transmitted with a sequence number. The sequence number is incremented for each I-frame.

Variables in the Layer 2 Frame header: N(S): Number sent: number stored in the I-frame. N(R): Number received: frame expected next (ack)

The N(R) acknowledges all frames up to the N(R)’s value.

I-frame N(S) = 0-------------------><--------------------- RR N(R) = 1

I-frame N(S) = 1------------------><--------------------- RR N(R) = 2

I-Frames can also be used to acknowledge I-Frames:(Assume modulo 8)

V(S)=0 V(R)=0 V(S)=0 V(R)=0I-frame N(S)=0 N(R)=0I-frame N(S)=1 N(R)=0 RR N(R)=1I-frame N(S)=2 N(R)=0I-frame N(S)=3 N(R)=0 RR N(R)=3I-frame N(S)=4 N(R)=0 I-frame N(S)=0 N(R)=4 RR N(R)=1 I-frame N(S)=1 N(R)=5

RR N(R)=2 I-frame N(S)=2 N(R)=5 RR N(R)=3 I-frame N(S)=3 N(R)=5I-frame N(S)=5 N(R)=4 I-frame N(S)=4 N(R)=5I-frame N(S)=6 N(R)=5 I-frame N(S)=5 N(R)=6I-frame N(S)=7 N(R)=6 I-frame N(S)=6 N(R)=7I-frame N(S)=0 N(R)=7 I-frame N(S)=7 N(R)=0

What was the largest window size observed?

5

Layer 2

Piggyback: Acknowledge with I-frames:

I-frame N(S)=3 N(R)=0 I-frame N(S)=0 N(R)=3

I-frame N(S)=4 N(R)=0 I-frame N(S)=1 N(R)=3

I-frame N(S)=5 N(R)=1 I-frame N(S)=2 N(R)=4

I-frame N(S)=6 N(R)=2 I-frame N(S)=3 N(R)=5

Example: Not waiting for an acknowledgment before sending I-frames.Notice that the RR indicates in the N(R) which frame it is expecting next!What was the largest window size observed?Assume sequence numbers 0..7 ACK N(R ) = 0: Expecting 0 next

I-frame N(S)=0 ---?I-frame N(S)=1 ---?I-frame N(S)=2 ---?I-frame N(S)=3 ---?

ACK N(R)=0: Expecting 0 nextI-frame N(S)=4 ---?I-frame N(S)=5 ---?I-frame N(S)=6 ---?I-frame N(S)=7 ---?

ACK N(R)=0: Expecting 0 next

Which frame does the ACK refer to, the previously transmitted N(S)=7 frame or the last one? No ACKs in between so we can't tell.

Solution: Can transmit 7 frames before receiving an acknowledgment for modulo 8 sequence #. Above, we can transmit I-frame N(S)=0 to N(S)=6 before stopping and waiting for an ack.

Variables retained in memory: V(S): Send Variable: Sender tracks N(S) to send next. V(R): Receive Variable: Receiver tracks next expected N(S)

When N(S) = V(R) send frame to layer 3. V(A): Acknowledge Variable: Oldest I-frame expectingto be acknowledged.

Window open: modulo [ modulo + V(S) - V(A) ] < k Window closed: modulo [ modulo + V(S) - V(A) ] >= k

V(A) V(S) Result k=3126 127 1 Open

0 2 Open1 3 Closed

6

Layer 2

Remember: Each side is both a sender and receiver and maintains all 3 variables!

7

Layer 2

LAP-D (HDLC) FRAME TYPES: RETRANSMISSION

REJ: Reject Used to indicate a frame was received out-of-sequence. (The sequence number was not the

sequence number expected.) May acknowledge I-frames. Contains a layer 2 header and NO message.

Poll/Final Bit

The Poll bit is used to request an explicit reply. (Actually all received I-frames should be acknowledged directly.) When a frame is received with the Poll bit set, the Final bit should be set in the reply.

The Poll/Final sequence is used to synchronize the two sides. When a side wants an explicit response it sets the Poll bit. When receiving a frame with the poll bit set, send a response frame with the Final bit set. Below, except when specifically set to 1, P=F=0.

Go-Back-N Retransmission Scheme

Lets assume there are problems! (There always are.)

1) Garbage is received: Packet is discarded. Nothing is sent back*&$%

----------------------->CRC error is received. Receiver waits for retransmission.

2) If I-frame is not received at all: Sender retransmits upon timer expiration.

V(S)=127 I-frame N(S) = 127 V(R)=127V(S)=0 -------XTimer expires

RR P=1----------x

Timer expiresRR P=1---------------------------->

RR N(R)=127 F=1<-----------------------------I-frame N(S) = 127 P=0-------------------------------> V(R)=0

RR N(R)= 0 F=0<-------------------------------

V(S)=1 I-frame N(S) = 0------------------------------> V(R)=1

RR N(R)=1

8

Layer 2

<----------------------------

Send I-frame. Upon timer expiration send RR with Poll=1. Repeat as necessary. When reply with Final=1 is received, resend frames starting at the N(R) value.

T200 >= Round-trip delay of the longest message transmitted and received + processing time at both sides. Default = 1 second.

3) If frames are received out of order: Reply with REJ

I-frame N(S) = 0 V(R) = 0-----------------------------> V(R) = 1

RR N(R) = 1<-----------------------------I-frame N(S) = 1------------------------------> V(R) = 2

RR N(R) = 2<------------------------------I-frame N(S) = 2-----------XI-frame N(S) = 3----------------------------->

REJ N(R) = 2<-----------------------------I-frame N(S) = 2----------------------------> V(R)=3

I-frame N(S) = 3-----------------------------> V(R)=4

In this case the receiver discards I-frame N(S) = 3and higher until I-frame N(S) = 2 is received. This is a prime example of Go-Back-N: When an out-of-sequence frame is received, it is discarded. The sender must re-send the requested frame plus all frames thereafter again.

9

Layer 2

4) I-frames may not be received at all: Retransmit RR or last frame, with Poll bit set. Where not specified, Poll=0=clear.

I-frame N(S) = 0----------------------------->

RR N(R) = 1<----------------------------I-frame N(S) = 1-----------XI-frame N(S) = 2---------------XI-frame N(S) = 3-----------x

T200 timeoutRR Poll=1-----------x

T200 timeoutRR Poll=1-------------------------->

RR N(R) = 1 Final=1<-------------------------I-frame N(S) = 1--------------------------->I-frame N(S) = 2<----- RR N(R) = 2--------------------------->RR N(R) = 3<---------------------------I-frame N(S) = 3 -----------------------------><-------------------------RR N(R)=4

Here a number of frames were received in error: 1, 2, 3 and 3 again. The REJ indicates that frames were received out of order, and that frame N(S)=1 is expected next. All frames must be retransmitted since frames are not retained if they are received out of order.

10

Layer 2

5) Lost RRs: Send RR or REJ back again

I-frame N(S) =3--------------------------> X-------------- RR N(R)=4

timeoutI-frame N(S) = 3 P=1

--------------------------><--------------------------RR N(R)=4 F=1

Sender realizes that I-frame N(S)=3 was previously received and that no retransmissions are necessary. Sender can also send REJ.

6) Multiple RRs LostI-frame N(S) =0

--------------------------> X------------------RR N(R)=1

I-frame N(S) = 1---------------------------> X--------------------RR N(R)=2

I-frame N(S) =2--------------------------><--------------------------RR N(R)=3

Sender realizes that the RR that was received acknowledged N(S)=0, N(S)=1, N(S) =2. Thus, no retransmissions are required.

7) Multiple REJ A REJ may only be sent once until the requested frame is received. If a frame is REJected multiple times, a litany of unnecessary retransmissions will occur (as shown by example in class). The only exception to this rule is if an I-frame with a Poll bit is set - then L2 may reply with a REJ with Final bit set.

Example: I N(S)=2 -------------x I N(S)=3--------------------> x-------------REJ N(R)=2 I N(S)=4--------------------> (Timeout) I N(S)=4 Poll---------------> <-------------------REJ N(R)=2 Final=1

11

Layer 2

Retransmit Procedure is: Queue copy of all I-frames transmitted in Retransmit Queue When acknowledgment received, discard frame(s) from Retransmit Queue When timer expires, retransmit last frame in Retransmit Queue OR RR with Poll=TRUE When retransmitting frames, update N(R) value. N(S) value should be same as original N(S)

value.Note: If receive side has not received a number of frames, it will reply with REJ with Final=Poll

Retransmission Timer. Rules include: Upon transmission of I-frame: start timer if timer is not already running. Do not update timer if

timer is already running. When acknowledgment is received for oldest outstanding frame, stop timer. If more frames are

outstanding (in Retransmit Queue) start timer. When timer expires, retransmit (last frame in Retransmit Queue or RR) with poll bit set and

restart timer.Goal: Timer runs on oldest frame outstanding.

LAP-D Parameters Retransmission Timer: Depends on round trip delay Maximum number of Retransmissions: Disconnect occurs on overflow Maximum number of octets (bytes) in an I-frame: Defines the receive buffer size Window size: Maximum number of outstanding I-frames

Flow Control

LAP-D frame types: Flow Control

RNR: Receiver Not Ready Indicates that the sender (of RNR) is in a low memory state. Requests no further I-frame

transmissions until further notice. May acknowledge received I-frames. Contains a layer 2 header and NO message.

When one node has insufficient buffer space to receive frames, the node enters the Receiver Busy condition and starts sending RNRs (Receiver Not Ready).

<--------- I-frame N(S)=3<--------- I-frame N(S)=4<--------- I-frame N(S)=5

RNRN(R)=3----------->

T200 timeout<--------- RR Poll=1

RR N(R) =3F=1--------------->

<--------- I-frame N(S)=3<--------- I-frame N(S)=4<--------- I-frame N(S)=5

12

Layer 2

Upon receiving a RNR, the sender must stop transmitting I-frames, but may continue to send RR frames with Poll=1. When the sender finally receives a REJ or RR, the sender may resume transmitting I-frames again.

Establishing Connections

LAP-D frame types: Establishing & Releasing Connections

SABM: Set Asynchronous Balanced Mode. Establishes a layer 2 connection using sequence numbers 0..7.

SABME: Set Async. Balanced Mode Extended. Establishes a layer 2 connection using 0..127 sequence numbers.

DISC: Disconnect ABM(E) mode. Disconnect the layer 2 connection. UA: Unnumbered Acknowledgment: Confirms mode set. No sequence numbers.

Poll bit is recommended to be set on: SABME/UA or SM/UA or DISC/UA sequences

Retransmissions of I-frames (depending on specific protocol).

What numbers do we start at? What if a machine reboots in the middle of a connection and we have to start up again?

SABME------------------>V(S)=0 V(R)=0V(A)=0<----------------------- UA

V(S)=0 V(R)=0 V(A)=0Either the SABM(E) or UA can get lost

SABME-----------XTimeoutSABME----------------------->Timeout X----UASABME---------------------->

<-------------------------- UA

This sequence establishes a layer 2 connection for reliable transmissions.

We are now in Multiple_Frame_Established state.

What if we want to terminate the connection?

DISC---------------------><-----------------------UA

Of course DISC frames are retransmitted N200 times,with a frequency of T200 timer values if no UA is received.

All SABMEs and DISCs are sent P=1. Thus all UA

13

Layer 2

replies shall have F=1.

What if we have a collision?

DISC DISC

UA UA

Both sent DISC frames and must respond with UA. Oncethe UA is received the Layer 2 Entity is in Disconnect Mode. (Collisions work similarly with SABME/UAs.)

14

Layer 2

2 Modes of Transmission

Connectionless: "Best Try Transmission" Generally there are NO retransmissions of lost messages Used for time-critical messages (when received late and no longer useful) Example: speech, diagnostics. Frames are bigger since full addressing is included in each PDU header.

Connection-Oriented: "Reliable Transmission" When a transmission error is detected the complete message is discarded BUT it is

retransmitted by the sender. Examples: Most data applications: file transfer, email. Memory required to track sequence numbers, addresses, messages to be retransmitted. Frames are smaller since short addresses can be used.

LAP-D frame types: Remaining Frame Types

DM: Disconnect Mode: Transmitted in response to I-frame/DISC/RR commands in Disconnect Mode (= Disconnected state)

FRMR: Frame Reject: Encountered a protocol error from the other side. FRMR puts sender & receiver directly into Disconnected Mode.

UI: Unnumbered Information: Connectionless message containing data. Sent in ANY state.

Example: FRMR, DM and UI:

SABME--------------><--------------------UA<--------------------UI

*?&*$--------------->Unknown Frame Received x------------------FRMR

I-frame------------> Data DiscardedTimeoutRR P=1------------->

<------------------DM F=1 UI-----------------> Data kept

Above an unknown frame was received with a valid CRC. The FRMR indicates that the sender is disconnected. If an I-frame and the FRMR collide (or the FRMR is not received), the disconnected side discards the I-frame, and may respond with a DM. However, UI frames are always retained, regardless of the receiver state.

15

Layer 2

Formatting of Layer 2 Frames

Frame consists of: Flag: Indicates beginning of frame Address: 2 bytes Control: 1 or 2 bytes Information: (I-frames or UI-frames only) FCS: Frame Check Sequence = CRC Flag: Indicates end of frame (and beginning of next frame potentially)

Architecture

Queues: FIFO linked list queues.Queues pass 'Primitives' from one layer to another. Queues include: L2_Input: L1->L2 - Received frames L2_Output: L2->L1 - Frames to be transmitted L3_Input: L2->L3 - Received packets L3_Output: L3->L2 - Packets to be transmitted Retransmit Queue: Copied frames

PrimitivesPrimitive = Formatted buffer sent between layers to request an action or notify of an action.

L3 Tx L2 Tx L2 Rx L3 Rx REQUEST---------------------------->INDICATIONCONFIRM<----------------------------RESPONSE

All layer interfaces use primitives: Request: Layer N -> Layer N-1: Please perform service. (e.g. ESTABLISH.req) Indication: Layer N-1 -> Layer N:

- Remote side (peer) requests service OR - Layer N-1 notifies Layer N of action performed (e.g. RELEASE.ind due to

retransmission overflow) Response: Layer N -> Layer N-1: Layer N acknowledges / accepts / completes action indicated

by an Indication. Confirmation: Layer N receives acknowledgment acceptance / completion of service requested

in previous Request.

Notes: Higher layers give orders to lower layers. - L2 takes orders from L3 and carries them out. - L1 takes orders from L2 and carries them out. - e.g.: DATA.request: Send this data for me.

16

Data Link Layer Data Link LayerPhysical Layer Physical Layer

Network LayerNetwork Layer

1. DL_EST.req 4. DL_EST.confPH_DATA.req PH_DATA.ind 2. DL_EST.ind 3. DL_EST.respPH_DATA.ind PH_DATA.req

SABM-><-UA

Layer 2

Example:

L3<->L2 Tx Frame L2<->L3DL_EST.req-> SABME-> DL_EST.ind->DL_EST.conf<- <-UA (DL_EST.resp<-)DL_DATA.req-> I-FRAME-> DL_DATA.ind->

<-RRDL_REL.req-> DISC-> DL_REL.ind->DL_REL.conf<- <-UA (DL_REL.resp<-)

Note above that: Acknowledgments and retransmissions are just part of L2's job - L3 does not want to hear about them. DL_ESTABLISH.resp should theoretically be returned in response and indication, but is

implemented differently in the LAP specifications.

All frames (SABM, UA, DISC, I-frame) are just frames to be sent at layer 1 and L2 requests L1 act as a post office and just send them (as PH_DATA.req).

L3<->L2 L2 Frame L2<->L1DL_EST.req-> SABME-> PH_DATA.req->DL_EST.conf<- UA<- PH_DATA.ind<-DL_DATA.req-> I-Frame-> PH_DATA.req->(none) RR<- PH_DATA.ind<-

17

Layer 2

State Diagrams

States

LAP-D has the following 4 states (minimally): Connection Disconnected: No connection is established. Await Establishment: Attempting to establish a connection. - Send SABMEs until UA is received. Multiple Frame Established: Connection is established. - Send I-frames and RR/REJ/RNRs. Await Release: Attempting to disconnect a connection. - Send DISCs until UA or DM is received.

Multiple Frame Established can be split into 2 sub-states: Multiple Frame Established: No retransmission is under way. Timer Recovery: Retransmission is underway. - Poll bit has been sent and Final bit expected in response.

For transitions: When above-line is received, below-line is issued, and the new state is set.

LCB: Link layer Control Block: Structure holding information about a link: V(S), V(R), V(A), retransmission_count, state, ... One LCB allocated per connection.

18

ConnectionDisconnected

AwaitEstablishment

Multiple Frame Established

AwaitRelease

DL_EST.reqSABM

UADL_REL.conf

DL_REL.reqDISC

UADL_EST.conf

DISC/DMDL_REL.ind

SABMUA,DL_EST.in

Timer Recovery

Timer_Exp.indPoll Bit Final Bit

Retransmissions

Layer 2

Selective Reject (SREJ) (Optionally Covered)

SM: Set Mode Replaces SABME as frame to initiate connection. Supports Multi-Selective Reject option Response: UA

SREJ: Requests retransmission of specific I-frames N(R) value gives oldest frame to be retransmitted if F=1.

- Info field gives additional sequence numbers to be retransmitted as individual frames or- Ranges of sequence numbers can be specified using a span list.

Receiver: Keep all frames within window.- Discard all frames outside window.- If I-frame received out-of-order, send SREJ.- Buffer out-of-order I-frames until missing sequence numbers are received.- Send I-frames to layer 3 in sequence.

Sender: Resend all requested frames upon receipt of SREJ.- Send requested I-frames with Poll set in last frame OR send RR with Poll set.- Restart T200 timer if frames outstanding.

Example:I N(S)=0------------------xI N(S)=1------------xI N(S)=2----------------------->

x---------------SREJ F=0, N(R)=0 INFO=1I N(S)=3------------------------>T200 TimeoutRR P=1------------------------->

<---------------SREJ F=1, N(R)=0 INFO=1I N(S)=0------------------------>I N(S)=1 P=1------------------->Start T200Stop T200<---------------------RR F=1 N(R)=4

I-frame Retransmission Details: Goal: Ensure that I-frame is only resent once for each poll.

Implementation: Data Link Layer Control Block retains: V(P) = Count of poll bits sent V(P) is incremented after frame with Poll=1 set. Each I-Frame/prmitive has a Vs(P) When frame transmitted or retransmitted set Vs(P) = V(P). During retransmission, do not retransmit an I-frame with Vs(P) = V(P) For last I-frame set Poll=1, restart T200 timer, set Timer Recovery State

19

Layer 2

When an RR or I-frame is received with P=1: Format the SREJ with F=1 Set N(R) = V(R) Include each missing I-frame in the Info field with bit 8=0; and/or If multiple sequential I-frames are outstanding, use a span-list to indicate ranges.

1. Store earliest missing frame for range.2. Store last missing frame for range3. Set top bit (bit 8) for both first and last values.

When an out-of-order I-frame is received with P=0: Format the SREJ with F=0 The N(R) and Info fields shall contain all missing N(S) values between the N(S) of the

immediately earlier frame in receive buffer queue and N(S) of the frame just received.

[RF] Call Drops on Traffic Channel HuaweiJune 6, 2011 by TheBeeliever Leave a comment Description :

This measurement provides the number of call drops due to various reasons after the MS seizes a traffic channel.

The MS seizures a TCH in any of the following conditions: The MS sends an ASS CMP message to the BSC; The MS seizes a TCH and sends an HO CMP message to the BSC.

Measurement Point :When a TCH is seized to carry traffic during a call, this counter is measured in the following situations:1. The BSC receives an ERROR INDICATION message from the BTS because of the abnormal connection at the radio link layer. For details, refer to GSM Rec. 08.58.2. The BSC receives a CONNECTION FAILURE INDICATION message from the BTS because of the radio link fault or hardware fault. For details, refer to GSM Rec. 08.58.3. When receiving a DISC frame on a link layer connection in multi-frame mode, the BTS sends a REL IND message to the BSC. For details, refer to GSM Rec. 08.58.4. The timer set to wait for an HO CMP message expires during internal intra-cell handover.5. The timer set to wait for an HO CMP message expires during outgoing internal inter-cell handover.6. The timer set to wait for an HO CMP message expires during outgoing external inter-cell handover.7. The timer set to wait for an HO CMP message expires during incoming external inter-cell handover.8. The BSC does not receive any measurement report within a certain period (by default, five minutes) and sends a CLEAR COMMAND message to the MSC to release the call.9. The BSC detects a broken RSL and releases all the calls on the RSL.

20

Layer 2

10. A call drop occurs due to any of the following situations: TRX mutual aid; dynamic modification of cell attributes, TRX frequencies, or TRX FH data; dynamic deletion of cells or TRXs; blocking of cells, TRXs, or channels.11. The timer set to wait for the outgoing BSC handover command expires, or the clear request message is received from the MSC before the timer expires.12. A call drop occurs due to call assignment failure during the handover.13. The MSC cannot send a short message because the data configuration prohibits the downlink short messages or because of flow control and the call is released.14. A call drop occurs due to software error.15. After seizing a channel, the MS fails to start a local switching due to terrestrial resource request failure, failures on the BTS side, or timer expiration.16. During the handover of the call in the local switching state, the BSC releases the call after receiving a HANDOVER DETECT message from the BTS and then a HANDOVER FAILURE message from the MS.17. After a call is in the BSC or BTS local switching state, if the local switching cannot be proceeded for handover or other reasons, the BSC restores the call to the common call state. If the restoration fails due to terrestrial resource request failure or other reasons, the BSC releases the call.CM33 Call Drop Cause Counter :CM330 : Call Drops on Radio Interface in Stable State (Traffic Channel)

1. Call Drops on TCH in Stable State (Error Indication)

Call Drops due to ERR IND Received on TCHF (Traffic Channel) in Stable State (T200 Expired)

Call Drops due to ERR IND Received on TCHF (Traffic Channel) in Stable State (Unsolicited DM Response)

Call Drops due to ERR IND Received on TCHF (Traffic Channel) in Stable State (Sequence Error)

Call Drops due to ERR IND Received on TCHH (Traffic Channel) in Stable State (T200 Expired)

Call Drops due to ERR IND Received on TCHH (Traffic Channel) in Stable State (Unsolicited DM Response)

Call Drops due to ERR IND Received on TCHH (Traffic Channel) in Stable State (Sequence Error)

1. Call Drops on Traffic Channel in Stable State (Connection Failure)

Call Drops due to CONN FAIL Received on TCHF (Traffic Channel) in Stable State (Radio Link Failure)

Call Drops due to CONN FAIL Received on TCHF (Traffic Channel) in Stable State (HO Access Failure)

Call Drops due to CONN FAIL Received on TCHF (Traffic Channel) in Stable State (OM Intervention)

Call Drops due to CONN FAIL Received on TCHF (Traffic Channel) in Stable State (Radio Resource Unavailable)

21

Layer 2

Call Drops due to CONN FAIL Received on TCHF (Traffic Channel) in Stable State (Other Causes)

Call Drops due to CONN FAIL Received on TCHH (Traffic Channel) in Stable State (Radio Link Failure)

Call Drops due to CONN FAIL Received on TCHH (Traffic Channel) in Stable State (HO Access Failure)

Call Drops due to CONN FAIL Received on TCHH (Traffic Channel) in Stable State (OM Intervention)

Call Drops due to CONN FAIL Received on TCHH (Traffic Channel) in Stable State (Radio Resource Unavailable)

Call Drops due to CONN FAIL Received on TCHH (Traffic Channel) in Stable State (Other Causes)

1. Call Drops on Traffic Channel in Stable State (Release Indication)

Call Drops due to REL IND Received on TCHF (Traffic Channel) Call Drops due to REL IND Received on TCHH (Traffic Channel)

CM331 : Call Drops on Radio Interface in Handover State (Traffic Channel) Failed Internal Intra-Cell Handovers (Timer Expired) (TCHF) (Traffic Channel) Failed Internal Intra-Cell Handovers (Timer Expired) (TCHH) (Traffic Channel) Failed Outgoing Internal Inter-Cell Handovers (Timer Expired) (TCHF) (Traffic Channel) Failed Outgoing Internal Inter-Cell Handovers (Timer Expired) (TCHH) (Traffic Channel) Failed Outgoing External Inter-Cell Handovers (T8 Expired) (TCHF) (Traffic Channel) Failed Outgoing External Inter-Cell Handovers (T8 Expired) (TCHH) (Traffic Channel)

CM332 : Call Drops due to No MRs from MS for a Long Time (Traffic Channel) Call Drops due to No MRs from MS for a Long Time (TCHF) (TCH) Call Drops due to No MRs from MS for a Long Time (TCHH) (TCH)

CM333 : Call Drops due to Abis Terrestrial Link Failure (Traffic Channel) Call Drops due to Abis Terrestrial Link Failure (TCHF) (TCH) Call Drops due to Abis Terrestrial Link Failure (TCHH) (Signaling Channel) Call Drops due to Abis Terrestrial Link Failure (TCHH) (TCH)

CM334 : Call Drops due to Equipment Failure (Traffic Channel) Call Drops due to Equipment Failure (TCHF) (TCH) Call Drops due to Equipment Failure (TCHH) (TCH)

CM335 : Call Drops due to Forced Handover (Traffic Channel) Call Drops due to Forced Handover (TCHF) (TCH) Call Drops due to Forced Handover (TCHH) (TCH)

CM397 : Call Drops Due to Loopback Start Failure Call Drops due to BSC Loopback Start Failure (Terrestrial Resource Request Failure) Call Drops due to BSC Loopback Start Failure (Others)

22

Layer 2

Call Drops due to BTS Loopback Start Failure (Terrestrial Resource Request Failure) Call Drops due to BTS Loopback Start Failure (Failures on the BTS Side) Call Drops due to BTS Loopback Start Failure (Others) Call Drops due to Loopback Start Failure (Timer Expired)

CM385 : Call Drops Due to Failures to Return to Normal Call from Loopback Call Drops due to Failures to Return to Normal Call from BSC Loopback (Terrestrial

Resource Request Failure) Call Drops due to Failures to Return to Normal Call from BTS Loopback (Terrestrial

Resource Request Failure) Call Drops due to Failures to Return to Normal Call from BSC Loopback (Others) Call Drops due to Failures to Return to Normal Call from BTS Loopback (Others)

23