Gursharan Singh Tatla
mailme@gursharansingh.in www.eazynotes.com
Medium Access Control Sublayer
31-Mar-2011 1 www.eazynotes.com
Medium Access Control Sublayer Gursharan Singh Tatla - - PowerPoint PPT Presentation
Medium Access Control Sublayer Gursharan Singh Tatla mailme@gursharansingh.in www.eazynotes.com www.eazynotes.com 1 31-Mar-2011 Introduction In broadcast networks, several stations share a single communication channel. The major
31-Mar-2011 1 www.eazynotes.com
31-Mar-2011 2 www.eazynotes.com
31-Mar-2011 3 www.eazynotes.com
Network Layer Logical Link Control (LLC) Medium Access Control (MAC) Physical Layer Data Link Layer
31-Mar-2011 www.eazynotes.com 4
31-Mar-2011 www.eazynotes.com 5
31-Mar-2011 www.eazynotes.com 6
31-Mar-2011 www.eazynotes.com 7
31-Mar-2011 www.eazynotes.com 8
Multiple Access Protocols
Random Access Protocols
ALOHA
Pure ALOHA Slotted ALOHA
CSMA
1- Persistent Non- Persistent P- Persistent
CSMA/CD CSMA/CA Controlled Access Protocols
Reservation Polling Token Passing
Channelization Protocols
FDMA
TDMA CDMA
31-Mar-2011 www.eazynotes.com 9
ALOHA CSMA (Carrier Sense Multiple Access) CSMA/CD (Carrier Sense Multiple Access with Collision Detection) CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance)
31-Mar-2011 www.eazynotes.com 10
Pure ALOHA Slotted ALOHA
31-Mar-2011 www.eazynotes.com 11
31-Mar-2011 www.eazynotes.com 12
31-Mar-2011 www.eazynotes.com 13
31-Mar-2011 www.eazynotes.com 14
31-Mar-2011 www.eazynotes.com 15
31-Mar-2011 www.eazynotes.com 16
31-Mar-2011 www.eazynotes.com 17
31-Mar-2011 www.eazynotes.com 18
31-Mar-2011 www.eazynotes.com 19
31-Mar-2011 www.eazynotes.com 20
31-Mar-2011 www.eazynotes.com 21
31-Mar-2011 www.eazynotes.com 22
31-Mar-2011 www.eazynotes.com 23
31-Mar-2011 www.eazynotes.com 24
31-Mar-2011 www.eazynotes.com 25
31-Mar-2011 www.eazynotes.com 26
31-Mar-2011 www.eazynotes.com 27
31-Mar-2011 www.eazynotes.com 28
31-Mar-2011 www.eazynotes.com 29
31-Mar-2011 www.eazynotes.com 30
31-Mar-2011 www.eazynotes.com 31
31-Mar-2011 www.eazynotes.com 32
In this method, a station needs to make a reservation before
The time is divided into intervals. In each interval, a
If there are N stations, then there are exactly N reservation
Each slot belongs to a station. When a station needs to send a frame, it makes a reservation
The stations that have made reservations can send their
31-Mar-2011 www.eazynotes.com 33
31-Mar-2011 www.eazynotes.com 34
Token passing method is used in those networks where the
In such networks, a special packet called token is circulated
Station that possesses the token has the right to access the
Whenever any station has some data to send, it waits for the
After transmitting the data, the station releases the token and
If any station that receives the token has no data to send, it
31-Mar-2011 www.eazynotes.com 35
31-Mar-2011 www.eazynotes.com 36
In FDMA, the available bandwidth is divided into frequency
Each station is allocated a band to send its data. This band is reserved for that station for all the time. The frequency bands of different stations are separated by
These unused bands are called guard bands that prevent
FDMA is different from FDM (Frequency Division Multiplexing). FDM is a physical layer technique, whereas, FDMA is an
31-Mar-2011 www.eazynotes.com 37
31-Mar-2011 www.eazynotes.com 38
In TDMA, the bandwidth of channel is divided among various
Each station is allocated a time slot during which it can send
Each station must know the beginning of its time slot. TDMA requires synchronization between different stations. Synchronization is achieved by using some synchronization
TDMA is also different from TDM. TDM is a physical layer
31-Mar-2011 www.eazynotes.com 39
31-Mar-2011 www.eazynotes.com 40
31-Mar-2011 www.eazynotes.com 41
If we multiply each code by another, we get 0. If we multiply each code by itself, we get 4, (no. of stations).
31-Mar-2011 www.eazynotes.com 42
31-Mar-2011 www.eazynotes.com 43
31-Mar-2011 www.eazynotes.com 44
31-Mar-2011 www.eazynotes.com 45
[ +1 +1 +1 +1] [ +1 -1 +1 -1] [ +1 +1 -1 -1] [ +1 -1 -1 +1] c1 c2 c3 c4
31-Mar-2011 www.eazynotes.com 46
[ +1 +1 +1 +1] [ +1 -1 +1 -1] [ +1 +1 -1 -1] [ +1 -1 -1 +1] c1 c2 c3 c4
31-Mar-2011 www.eazynotes.com 47
[ +1 +1 +1 +1] [ +1 -1 +1 -1] [ +1 +1 -1 -1] [ +1 -1 -1 +1] c1 c2 c3 c4
31-Mar-2011 48 www.eazynotes.com