05 Chap07 Flow Error Control HDLC
05 Chap07 Flow Error Control HDLC
by
Sherry O. Panicker, MCA, M. Phil
Asst. Professor
Dept. of Computer Science
2
Topics covered
•Data Link Layer Control Protocols
-Flow control
-Error control
3
Flow Control
• ensure sending entity does not overwhelm receiving entity
• influenced by:
• transmission time
• propagation time
2.Go-Back-N ARQ
The protocol for sending ACKs in all ARQ protocols are based on the
sliding window flow control scheme.
13
2. Damaged RR (Acknowledgement)
2 subcases
a. receiver gets frame i, sends RR(i+1) which is lost.
acknowledgments are cumulative, so next RR(i+n) may arrive
before transmitter times out on frame I
b. if transmitter times out, it sends ack with P bit set. Can be
repeated a number of times before a reset procedure is initiated
3. Damaged REJ (Rejection)
• REJ, for a damaged frame, is lost
• handled as for lost frame when transmitter times out..1b
19
Go Back N
vs
Selective
Reject
21
• single frame format used for all types of data and controls.
frame.
Header Trailer
24
HDLC Operation
• consists of exchange of information, supervisory and unnumbered
frames
• have three phases
• initialization
• by either side, set mode & seq
• data transfer
• with flow and error control
• using both I & S-frames (RR, RNR, REJ, SREJ)
• disconnect
• when ready or fault noted
30
Summary
• introduced need for data link protocols
• flow control
• error control
• HDLC