The Datalink & The Mac (Medium Access) Sublayer
The Datalink & The Mac (Medium Access) Sublayer
• Example
– Consider the character ‘C’
– ASCII equivalent is 67
– Converted to binary -> 1000011
– If odd parity is used : value of checkbit is ???
– Value of the transmitted frame:
10000110
-VALIDATION on the DESTINATION MACHINE
Longitudinal Redundancy Check
(LRC)
• Steps almost similar to VRC except that
LRC is applied to a group of characters
• Example
CHECKBIT(VRC)
S (82) - 1010010 0
L (76) - 1001100 0
U (84) - 1010100 0
CHECKBIT(LRC)- 1001010 0
Cyclic Redundancy Check
• Example : ‘G’
G -> 71 (ASCII equivalent)
1000111 (binary equivalent)
Position : 1 2 3 4 5 6 7 8 9 10 11
1 0 0 0 1 1 1
Compute for values of checkbits using the
position of bits having a value of 1 (3, 9, 10 & 11)
Convert them (position in base ten) to its binary
equivalent and get the CORRESPONDING RESULT
using MODULO ADDITION
Hamming Code Method A (HCA)
• Continuation….
3 - 0011
9 - 1001
10 - 1010
11 - 1011
---------
Result 1011
(value of each checkbit starting with checkbit 8)
Checkbits: 1 – value is 1 2 – value is 1
4 – value is 0 8 – value is 1
Hamming Code Method A (HCA)
• Example : ‘E’
E -> 69 (ASCII equivalent)
1000101 (binary equivalent)
Position : 11 10 9 8 7 6 5 4 3 2 1
1 0 0 0 1 0 1
Compute for values of checkbits using the
position of bits having a value of 1 (3, 6 & 11)
Convert them (position in base ten) to its binary
equivalent and get the CORRESPONDING RESULT
using MODULO ADDITION
Hamming Code Method A (HCC)
• Continuation….
3 - 0011
6 - 0110
11 - 1011
---------
Result 1110
(value of each checkbit starting with checkbit 8)
Checkbits: 1 – value is 0 2 – value is 1
4 – value is 1 8 – value is 1
Hamming Code Method A (HCC)
• Computation of CHECKBITS
CHECKBIT
3 5 7 9 11 (EVEN PARITY)
1 1 1 0 0 0 0
3 6 7 10 11
2 1 1 0 1 0 1
5 6 7
4 1 1 0 0
9 10 11
8 0 1 0 1
Hamming Code Method B
TRANSMITTED FRAME
Position : 1 2 3 4 5 6 7 8 9 10 11
0 1 1 0 1 1 0 1 0 1 0
A. Given :
Generator polynomial : x4 + x2 + x
Frame : 1011011000011
Compute for the value of the TRANSMITTED
FRAME (10110110000110100)
B. Given :
transmitted frame : 10011011000001
generator polynomial : x3 + x + 1
Validate the transmitted frame (valid/invalid)
4. Flow control
- throttles the sender into sending no faster than
the receiver can handle traffic
- uses a feedback mechanism, so the sender can
be made aware of whether or not the receiver is able to
keep up
c. No priorities
d. round-trip cable length determines the slot time
hence the performance and it is limited to 2.5 km
e. at high load, the presence of collisions becomes a
major problem and can seriously affect the throughput
2. IEEE Standard 802.4 and Token Bus
Advantages :
a. uses highly reliable television equipment which is
readily available
b. More deterministic than 802.3
c. It can handle short minimum frames
d. supports priorities
e. At high load, it has excellent throughput & efficiency
IEEE Standard 802 for LANS and MANS
f. Can support multiple channels, not only for data but for
voice & television
Disadvantages
a. Uses a lot of analog engineering & includes modems
and wideband amplifiers
b. Protocol is extremely complex and has a substantial
delay at low load
c. Not widely used
d. Poorly suited for fiber optic implementations
3. IEEE Standard 802.5 and Token Ring
Advantages
a. uses point-to-point connection
- engineering is easy and fully digital
b. rings can be built using any transmission medium
IEEE Standard 802 for LANS and MANS
Back to PAGE
Character Stuffing
Back to PAGE
Bit Stuffing
Back to PAGE
Cyclic Redundancy Check
Back to PAGE
Hamming Codes
Back to PAGE
Aloha Protocols
back
Comparison : Slotted vs. Pure
back
Comparison
back
Bit-map protocol
back
Binary Countdown Protocol
back
WDMA Protocol
back
WLAN Protocol
back
FDDI
back
FDDI
back
HIPPI
back
MIDTERM EXAMS
• From TELEPHONE SYSTEM until MAC Sublayer
• ICT Research Congress Topics are included
• Purely objectives
• EXAM is Online
• THURSDAY (5:30 – 6:30 PM @ S326)
• First meeting next week
• MIDTERM ASSIGNMENT : Discuss the different
types of IEEE 802.11 standards (due date :
Wedenesday; before the EXAM)