Stop and Wait Protocol and Go-BackN ARQ.
Stop and Wait Protocol and Go-BackN ARQ.
10.
Note
10.
Data link
control.
Error control : is both error detection and
correction. Error correction in data link layer is
implemented simply: anytime an error is
detected in exchange, specified frames are
retransmitted. This process is called Automatic
Repeat Request
10.
Note
10.
PROTOCOLS
Cases of Operations:
1.Normal operation
2.The frame is lost
3.The Acknowledgment (ACK) is lost
4.The ACK is delayed
Stop-and-Wait ARQ
Normal operation
Importance of frame
numbering
Stop-and-Wait ARQ
4. Delayed ACK and lost frame
Importance of frame
numbering
Sender-site algorithm for Stop-and-Wait ARQ
(continued)
Sender-site algorithm for Stop-and-Wait ARQ (continued)
Receiver-site algorithm for Stop-and-Wait ARQ Protocol
Note
10.
Note
10.
Piggybacking ( Bidirectional transmission)
After each frame sent the host must wait for an ACK
❖inefficient use of bandwidth
If m = 3; sequence
numbers = 8 and window
size =7
Acknowledged frames
Design of Go-Back-N ARQ
Go-Back-N sender algorithm
(continued)
Go-Back-N sender algorithm (continued)
Go-Back-N receiver algorithm
Go_Back _N ARQ
10.
Selective Repeat ARQ
(continued)
Sender-site Selective Repeat algorithm (continued)
(continued)
Sender-site Selective Repeat algorithm (continued)
Receiver-site Selective Repeat algorithm
Receiver-site Selective Repeat algorithm
Selective Repeat ARQ
Selective Repeat ARQ
m=3
Lost Frame Sequences no=2m =8 :
0,1,2 ,3,4,5,6,7Window
size =2m/2= 8/2=4
Note