38-Medium Access Control Protocol-30-10-2023
38-Medium Access Control Protocol-30-10-2023
Protocols
• Data Link Layer
• responsible for transmission of data between two nodes.
Its main functions are-
• Data Link Control
• Multiple Access Control
• If there is a dedicated link between the sender and the receiver then
data link control layer is sufficient, however if there is no dedicated
link present then multiple stations can access the channel
simultaneously.
3
2
4
1
Shared multiple
access medium
M 5
Approaches to Media Sharing
Medium sharing techniques
Separate channels
to particular users. Scheduling Random access
Partition medium Polling: take turns Loose
Dedicated Request for slot in coordination
allocation to users transmission Send, wait, retry if
E. g. Satellite schedule necessary
transmission Token ring Aloha
Cellular Telephone Wireless LANs Ethernet
Scheduling: Polling
Inbound line
Data from 1 from 2
Data
Stations
Scheduling: Token-Passing
Ring networks
token
Data to M
token
Crash!!
• Distributed
• The base station sends the coordination information to all stations – access
to the shared reverse channel.
• Direct communication between all M stations
• Ad-hoc networks, Multi Tapped Bus
B does not
Case 1
transmit before
A B t = tprop & A
captures
channel
Case 2 B transmits
before t = tprop
A B and detects
A detects collision soon
collision at thereafter
t = 2 tprop A B
Efficiency of Two-Station Example
• Each frame transmission requires 2tprop of quiet time
• Station B needs to be quiet tprop before and after time when Station A
transmits
• R transmission bit rate
• L bits/frame,
• X= L/R( Sec) to transmit a frame
• A frame transmission requires X + 2tprop
• Maximum Throughput is the actual rate at which the information is
sent over the channel
L 1
MaxThroughput Reff R bits/second
L / R 2t prop 1 2a
1
Efficiency max Re ff / R
1 2a
1
Efficiency
1 a
a΄= latency of the ring (bits)/average frame length
1st component – sum of the bit delays introduced at every ring adapter
2nd Component - DBP where the delay is the time required for a bit to circulate around the ring
Frame transfer delay T
• T is defined as the time that elapses from when the first bit of the
frame arrives at the source MAC to when the last bit of the frame is
delivered to the destination MAC.