Lecture#33-40 Logical Link Control (LLC) Layer
Lecture#33-40 Logical Link Control (LLC) Layer
Lecture#33-40
• Flow Control:
– pacing between adjacent sending and receiving nodes
• Error Detection:
– errors caused by signal attenuation, noise, and receiver detects presence of
errors:
• Error Correction:
– receiver identifies and corrects bit error(s) without resorting to retransmission
• Half-duplex and full-duplex
– with half duplex, nodes at both ends of link can transmit, but not at same time
4/14/2024 Logical Link Control Sub Layer 5-3
Error Detection
• Error are likely to occur even when there is a sufficient
SNR to provide a low bit error rate
• To control error and improve the reliability of a
communication line, first we must be able to detect the
errors
• CRC one of the best techniques to detect the error
• Bit Error Rate(BER): It is the ratio of number Ne of errors
appearing over a certain time interval t to the number Nt
of 1 and 0 pulses transmitted during this interval. BER =
Ne/ Nt = Ne / R*t
4/14/2024 Logical Link Control Sub Layer 4
Types of Error
0 0
Want:
D.2r XOR R = nG
equivalently:
D.2r = nG XOR R
equivalently:
if we divide D.2r by G,
want remainder R
D.2r
R = remainder[ ]
G
x12 + x11 + x3 + x + 1
which has a degree of 12, will detect all burst errors
affecting an odd number of bits, will detect all burst
errors with a length less than or equal to 12, and will
detect, 99.97 percent of the time, burst errors with a
length of 12 or more.
r1: 1, 3, 5, 7, 9, 11, . . .
r2: 2, 3, 6, 7, 10, 11, . . .
r4: 4, 5, 6, 7, . . .
r8: 8, 9, 10, 11, . . .