Flow Error Control HDLC
Flow Error Control HDLC
Flow Error Control HDLC
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. acknowledg-
ments are cumulative, so next RR(i+n) may arrive before trans-
mitter times out on frame I
b. if transmitter times out, it sends ack with P bit set. Can be re-
peated 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 Re-
ject
21
HDLC Features
HDLC Stations
• Primary station: Controls operation of link. Frames issued by
primary station are called commands. Maintains separate logi-
cal link to each secondary station
• single frame format used for all types of data and controls.
frame.
Header Trailer
27
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
33