SlideShare a Scribd company logo
COMPPUTER
NETWORK
MULTIPLE ACCESS PROTOCOLS
12.1
12.2
Figure 12.1 Data link layer divided into two functionality-oriented
sublayers
12.3
Figure 12.2 Taxonomy of multiple-access protocols discussed in this
chapter
12.4
12-1 RANDOM ACCESS
12-1 RANDOM ACCESS
In
In random access
random access or
or contention
contention methods, no station is superior to another station and
methods, no station is superior to another station and
none is assigned the control over another. No station permits, or does not permit,
none is assigned the control over another. No station permits, or does not permit,
another station to send. At each instance, a station that has data to send uses a
another station to send. At each instance, a station that has data to send uses a
procedure defined by the protocol to make a decision on whether or not to send.
procedure defined by the protocol to make a decision on whether or not to send.
ALOHA
Carrier Sense Multiple Access
Carrier Sense Multiple Access with Collision Detection
Carrier Sense Multiple Access with Collision Avoidance
Topics discussed in this section:
Topics discussed in this section:
ALOHA
Norman Abramson at University of Hawaii, in 70’s wanted to connect computer centers of all
the islands of Hawaii.
Hawaii is a collection of islands and it was not possible to connect them with telephone lines.
Joining islands with wires laid on seabed was very expensive, so they started thinking about
wireless solution.
Solution: ALOHA
◦ Using short range radios.
◦ Half duplex by nature. At a time, only can send or receiver. Switching also takes time.
◦ Two different frequencies, one for sending, another for receiving.
◦ But, problem of collision, how to solve it?
◦ Solution: Let the users communicate, if signals collide, not acknowledged and so, sender
resends data.
◦ Adding randomness reduces the chance of collision.
◦ Algorithm is called Binary Exponential Back-off Algorithm.
◦ Also had problem: While transmitting, sender can not sense collision.
◦ In ALOHA, maximum 18 out of 100 packets pass without collision if ALOHA works with
optimum speed.
ALOHA connecting islands at Hawaii
Slotted ALOHA
Solution: Slotted ALOHA
◦ Robert, in 1972 proposed a scheme.
◦ Packets are vulnerable to collide with only those packets which were transmitted
before, but not during the lifetime.
◦ He divided timeslots equal to lifetime of packets.
◦ Packet can be transmitted only in beginning of next slot only.
◦ Slotted ALOHA introduces additional delay.
◦ Eg : B is to be transmitted during A’s lifetime, B will be delayed till next slot.
◦ Thus, reducing collision probability to half and performance is doubled.
◦ In slotted ALOHA, 36 out of 100 packets are delivered without collision at optimum
speed.
◦ In slotted ALOHA time is divided into discrete intervals, each corresponding to one
frame.
◦ A computer is not permitted to send whenever it has data to send.
◦ Instead it is required to wait for the next available slot.
Well, it still needs improvement.
See next figures that explain ALOHA and Slotted ALOHA.
12.8
Figure 12.3 Frames in a pure ALOHA network
12.9
Figure 12.4 Procedure for pure ALOHA protocol
12.10
Figure 12.5 Vulnerable time for pure ALOHA protocol
12.11
Figure 12.6 Frames in a slotted ALOHA network
12.12
Figure 12.7 Vulnerable time for slotted ALOHA protocol
12.13
Figure 12.8 Space/time model of the collision in CSMA
12.14
Figure 12.9 Vulnerable time in CSMA
12.15
Figure 12.10 Behavior of three persistence methods
12.16
Figure 12.11 Flow diagram for three persistence methods
CSMA:
TYPES:
1. 1 Persistent CSMA
2. Non Persistent CSMA
3. P Persistent CSMA
4. CSMA/CD
Carrier Sense Multiple Access
(CSMA)
• Protocols in which stations listen for a carrier (i.e.
transmission) and act accordingly are called carrier
sense protocols.
1. 1-persistent CSMA
Channel Busy  Continue sensing until free and then grab.
Channel Idle  Transmit with probability 1.
Collision  Wait for a random length of time and try again.
2. Non-persistent CSMA:
Channel Busy  Does not continually sense the channel. Wait for a random
length of time and try again.
Channel Idle  Transmit.
Collision  Wait for a random length of time and try again.
18
3. P-persistent CSMA:
Channel Busy  Continue sensing until free (same as idle).
Channel Idle  Transmit with probability p, and defer transmitting until the
next slot with probability q = 1-p.
Collision  Wait for a random length of time and try again.
• Analysis:
• The non-persistent CSMA has better channel utilization but longer delays than 1-
persistent CSMA.
• CSMA are an improvement over ALOHA because they ensure that no station
begins to transmit when it senses the channel busy.
• Another improvement is for stations to abort their transmissions as soon as they
detect a collision.
• Quickly terminating damaged frames saves time and bandwidth.
• This protocol is called CSMA/CD (CSMA with Collision Detection).
BY: DR. BHARGAVI H. GOSWAMI, 9426669020,
19
Persistent and Nonpersistent
CSMA
Comparison of the channel utilization versus load for various random access
protocols.
20
CSMA/CD
Carrier Sense: Ethernet card listen to channel before transmission and differ to
transmit if somebody else is already transmitting.
Multiple Access: More than one user needs channel access.
Collision Detection: Protocol listen when transmission is going on and find stop
transmitting when it finds colliding.
Interframe gap: As soon as channel becomes free, it waits for small interframe gap
and then transmits. Interframe gap is idle time between frames. After a frame has
been sent, transmitters are required to transmit a minimum of 96 bits (12 octets) of
idle line state before transmitting the next frame.
Maximum distance limitation: Frame size min 64 bytes.
Minimum frame size limitation: Frame length min 250 m.
Both, distance and size can not be increased together.
More bandwidth deteriorates performance.
If first 64 bytes are successfully received, means later there would be no collision.
Collision Detection &
Avoidance
Collision garble the frames.
Collision Detection:
◦ Let collision happen and then solve it.
◦ If sender detects collision, it can stop sending and restart later by following
‘binary back-off algorithm’.
◦ Need a mechanism to listen to channel.
◦ Used by classic Ethernet.
Collision Avoidance:
◦ See that collision do not occur by carefully avoiding it.
◦ Here, it is possible to extract any component signal from collided signal. So
retransmission is not needed. We just extract what we need from the received
signals.
◦ Preferred by 802.11 wireless LANs.
◦ CDMA Code Division Multiple Access is used in Mobile phones.
CSMA/CA
Collision Avoidance with Career Sense Multiple Access.
On Wireless Networks
Strategies:
◦ 1. Inter-frame Spacing (IFS)
◦ 2. Contention Window – Binary Exponential Back off Algorithm
◦ 3. Acknowledgement
Wireless LAN Protocol
•Because signal strength is not uniform throughout the space in which wireless
LANs operate, carrier detection and collision may fail in the following ways:
- Hidden nodes:
◦ Hidden stations: Carrier sensing may fail to detect another station. For
example, A and D.
◦ Fading: The strength of radio signals diminished rapidly with the distance
from the transmitter. For example, A and C.
- Exposed nodes:
◦ Exposed stations: B is sending to A. C can detect it. C might want to send
to E but conclude it cannot transmit because C hears B.
◦ Collision masking: The local signal might drown out the remote
transmission.
•The result scheme is carrier sensing multiple access with collision avoidance
(CSMA/CA).
24
Wireless LAN Protocols
A wireless LAN.
(a) A transmitting. (b) B transmitting.
25
• Hidden station problem: A is transmitting to B. C cannot hear A.
If C starts transmitting, it will interfere at B.
• Exposed station problem: B is transmitting to A. C concludes that
it may not send to D but the interference exists only between B and
C.
MACA and MACAW
MACA: Multiple Access with Collision Avoidance:
The sender transmits a RTS (Request To Send) frame.
The receiver replies with a CTS (Clear To Send) frame.
Neighbors
◦ see CTS, then keep quiet.
◦ see RTS but not CTS, then keep quiet until the CTS is back to the sender.
The receiver sends an ACK when receiving an frame.
◦ Neighbors keep silent until see ACK.
Collisions
◦ There is no collision detection.
◦ The senders know collision when they don’t receive CTS.
◦ They each wait for the exponential backoff time.
MACAW (MACA for Wireless) is a revision of MACA which introduced ACK
mechanism.
Till ACK are seen, other stations remain silent.
26
Wireless LAN Protocols (2)
The MACA protocol.
(a) A sending an RTS to B.
(b) B responding with a CTS to A.
BY: DR. BHARGAVI H.
GOSWAMI,
9426669020, 2
Different Inter-frame spacing
12.29
Figure 12.12 Collision of the first bit in CSMA/CD
12.30
Figure 12.13 Collision and abortion in CSMA/CD
12.31
Figure 12.14 Flow diagram for the CSMA/CD
12.32
Figure 12.15 Energy level during transmission, idleness, or collision
12.33
Figure 12.16 Timing in CSMA/CA
12.34
In CSMA/CA, the IFS can also be used to
define the priority of a station or a
frame.
Note
12.35
In CSMA/CA, if the station finds the
channel busy, it does not restart the
timer of the contention window;
it stops the timer and restarts it when
the channel becomes idle.
Note
12.36
Figure 12.17 Flow diagram for CSMA/CA
NAV – DIFS – SIFS – PIFS – EIFS – CTS - RTS
12.37
network allocation vector (NAV) that shows how much time must pass before
these stations are allowed to check the channel for idleness.
12.38
12-2 CONTROLLED ACCESS
12-2 CONTROLLED ACCESS
In
In controlled access
controlled access, the stations consult one another to find which station has the
, the stations consult one another to find which station has the
right to send. A station cannot send unless it has been authorized by other stations.
right to send. A station cannot send unless it has been authorized by other stations.
We discuss three popular controlled-access methods.
We discuss three popular controlled-access methods.
Reservation
Polling
Token Passing
Topics discussed in this section:
Topics discussed in this section:
12.39
Figure 12.18 Reservation access method
12.40
Figure 12.19 Select and poll functions in polling access method
12.41
Figure 12.20 Logical ring and physical topology in token-passing access method
12.42
12-3 CHANNELIZATION
12-3 CHANNELIZATION
Channelization
Channelization is a multiple-access method in which the available bandwidth of a link
is a multiple-access method in which the available bandwidth of a link
is shared in time, frequency, or through code, between different stations. In this
is shared in time, frequency, or through code, between different stations. In this
section, we discuss three channelization protocols.
section, we discuss three channelization protocols.
Frequency-Division Multiple Access (FDMA)
Time-Division Multiple Access (TDMA)
Code-Division Multiple Access (CDMA)
Topics discussed in this section:
Topics discussed in this section:
12.43
We see the application of all these
methods in Chapter 16 when
we discuss cellular phone systems.
Note
12.44
Figure 12.21 Frequency-division multiple access (FDMA)
12.45
In FDMA, the available bandwidth
of the common channel is divided into
bands that are separated by guard
bands.
Note
12.46
Figure 12.22 Time-division multiple access (TDMA)
12.47
In TDMA, the bandwidth is just one
channel that is timeshared between
different stations.
Note
12.48
In CDMA, one channel carries all
transmissions simultaneously.
Note
12.49
Figure 12.23 Simple idea of communication with code
12.50
Figure 12.24 Chip sequences
12.51
Figure 12.25 Data representation in CDMA
12.52
Figure 12.26 Sharing channel in CDMA
12.53
Figure 12.27 Digital signal created by four stations in CDMA
12.54
Figure 12.28 Decoding of the composite signal for one in CDMA

More Related Content

PPT
multiple access techniquesch12-multiple-access.ppt
PPTX
module 2 ppt.pptx
PPT
Multiple Access ppt in Object Oriented Programming
PPT
Forouzan _ Multiple access protocols.ppt
PPTX
Media Access Control (MAC Layer)
PPT
Multiple Access Techniques
PPT
Multiple Access mechanism in Computer Network.ppt
multiple access techniquesch12-multiple-access.ppt
module 2 ppt.pptx
Multiple Access ppt in Object Oriented Programming
Forouzan _ Multiple access protocols.ppt
Media Access Control (MAC Layer)
Multiple Access Techniques
Multiple Access mechanism in Computer Network.ppt

Similar to ch12-multiple-access-COMPUTER NETWORKS.ppt (20)

PPT
Unit 1 mac vsd
PPTX
computer__networks .pptx
PDF
CN R16 -UNIT-4.pdf
PPT
multiple access
PPT
MEDIUM-ACCESS CONTROL SUB LAYER.ppt
PPT
mux aloha csma schemes in networking world
PPTX
WHAT IS MAC-1 presentation for information .pptx
PPT
Mac sub layer
PDF
multipleaccessprotocol-140213082552-phpapp02.pdf
PPT
Computer communication multiple access.ppt
PPTX
MAC COMPUTER NETWORK DATA LINK LAYER PROTOCOLS.pptx
PPTX
Multipleaccessprotocol 140213082552-phpapp02
PPT
kamalaveni.ppt
PPTX
Lecture 10
PPTX
Multiple access protocol
PPTX
Unit_3_WSN.pptx
PPTX
Multiple acessing
DOCX
seminar report on multiple access control protocol submitted by munesh
PPT
medium access tcpip network layer data link layer
Unit 1 mac vsd
computer__networks .pptx
CN R16 -UNIT-4.pdf
multiple access
MEDIUM-ACCESS CONTROL SUB LAYER.ppt
mux aloha csma schemes in networking world
WHAT IS MAC-1 presentation for information .pptx
Mac sub layer
multipleaccessprotocol-140213082552-phpapp02.pdf
Computer communication multiple access.ppt
MAC COMPUTER NETWORK DATA LINK LAYER PROTOCOLS.pptx
Multipleaccessprotocol 140213082552-phpapp02
kamalaveni.ppt
Lecture 10
Multiple access protocol
Unit_3_WSN.pptx
Multiple acessing
seminar report on multiple access control protocol submitted by munesh
medium access tcpip network layer data link layer
Ad

More from AaishajitDas1 (7)

PPTX
MIT APP Inventor CPD_M. Hassan Aslam - VU - DEC 2023 Day-1.pptx
PPT
ComputerNetworks-by NAVPREET SINGH SIR.ppt
PPT
Lecture06_07 GREEDY ALGORITHM-DATA ANALYTICS ALGORITHMS.ppt
PPT
ERROR DETECTION AND CORRECTION-COMPUTER NETWORKS.ppt
PPT
Recurrences-DATA ANALYSIS ALGORITHMS.ppt
PPT
Computer Network-lecture1 by NAVPREET SINGH.ppt
PPTX
MIT APP Inventor CPD_M. Hassan Aslam - VU - DEC 2023 Day-1.pptx
MIT APP Inventor CPD_M. Hassan Aslam - VU - DEC 2023 Day-1.pptx
ComputerNetworks-by NAVPREET SINGH SIR.ppt
Lecture06_07 GREEDY ALGORITHM-DATA ANALYTICS ALGORITHMS.ppt
ERROR DETECTION AND CORRECTION-COMPUTER NETWORKS.ppt
Recurrences-DATA ANALYSIS ALGORITHMS.ppt
Computer Network-lecture1 by NAVPREET SINGH.ppt
MIT APP Inventor CPD_M. Hassan Aslam - VU - DEC 2023 Day-1.pptx
Ad

Recently uploaded (20)

PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
Information Storage and Retrieval Techniques Unit III
PPTX
Current and future trends in Computer Vision.pptx
PDF
Abrasive, erosive and cavitation wear.pdf
PDF
COURSE DESCRIPTOR OF SURVEYING R24 SYLLABUS
PPTX
Safety Seminar civil to be ensured for safe working.
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PDF
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
PPT
A5_DistSysCh1.ppt_INTRODUCTION TO DISTRIBUTED SYSTEMS
PPTX
Fundamentals of Mechanical Engineering.pptx
PDF
Visual Aids for Exploratory Data Analysis.pdf
PPTX
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
PDF
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPTX
Nature of X-rays, X- Ray Equipment, Fluoroscopy
PDF
737-MAX_SRG.pdf student reference guides
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Information Storage and Retrieval Techniques Unit III
Current and future trends in Computer Vision.pptx
Abrasive, erosive and cavitation wear.pdf
COURSE DESCRIPTOR OF SURVEYING R24 SYLLABUS
Safety Seminar civil to be ensured for safe working.
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
A5_DistSysCh1.ppt_INTRODUCTION TO DISTRIBUTED SYSTEMS
Fundamentals of Mechanical Engineering.pptx
Visual Aids for Exploratory Data Analysis.pdf
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Nature of X-rays, X- Ray Equipment, Fluoroscopy
737-MAX_SRG.pdf student reference guides
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF

ch12-multiple-access-COMPUTER NETWORKS.ppt

  • 2. 12.2 Figure 12.1 Data link layer divided into two functionality-oriented sublayers
  • 3. 12.3 Figure 12.2 Taxonomy of multiple-access protocols discussed in this chapter
  • 4. 12.4 12-1 RANDOM ACCESS 12-1 RANDOM ACCESS In In random access random access or or contention contention methods, no station is superior to another station and methods, no station is superior to another station and none is assigned the control over another. No station permits, or does not permit, none is assigned the control over another. No station permits, or does not permit, another station to send. At each instance, a station that has data to send uses a another station to send. At each instance, a station that has data to send uses a procedure defined by the protocol to make a decision on whether or not to send. procedure defined by the protocol to make a decision on whether or not to send. ALOHA Carrier Sense Multiple Access Carrier Sense Multiple Access with Collision Detection Carrier Sense Multiple Access with Collision Avoidance Topics discussed in this section: Topics discussed in this section:
  • 5. ALOHA Norman Abramson at University of Hawaii, in 70’s wanted to connect computer centers of all the islands of Hawaii. Hawaii is a collection of islands and it was not possible to connect them with telephone lines. Joining islands with wires laid on seabed was very expensive, so they started thinking about wireless solution. Solution: ALOHA ◦ Using short range radios. ◦ Half duplex by nature. At a time, only can send or receiver. Switching also takes time. ◦ Two different frequencies, one for sending, another for receiving. ◦ But, problem of collision, how to solve it? ◦ Solution: Let the users communicate, if signals collide, not acknowledged and so, sender resends data. ◦ Adding randomness reduces the chance of collision. ◦ Algorithm is called Binary Exponential Back-off Algorithm. ◦ Also had problem: While transmitting, sender can not sense collision. ◦ In ALOHA, maximum 18 out of 100 packets pass without collision if ALOHA works with optimum speed.
  • 7. Slotted ALOHA Solution: Slotted ALOHA ◦ Robert, in 1972 proposed a scheme. ◦ Packets are vulnerable to collide with only those packets which were transmitted before, but not during the lifetime. ◦ He divided timeslots equal to lifetime of packets. ◦ Packet can be transmitted only in beginning of next slot only. ◦ Slotted ALOHA introduces additional delay. ◦ Eg : B is to be transmitted during A’s lifetime, B will be delayed till next slot. ◦ Thus, reducing collision probability to half and performance is doubled. ◦ In slotted ALOHA, 36 out of 100 packets are delivered without collision at optimum speed. ◦ In slotted ALOHA time is divided into discrete intervals, each corresponding to one frame. ◦ A computer is not permitted to send whenever it has data to send. ◦ Instead it is required to wait for the next available slot. Well, it still needs improvement. See next figures that explain ALOHA and Slotted ALOHA.
  • 8. 12.8 Figure 12.3 Frames in a pure ALOHA network
  • 9. 12.9 Figure 12.4 Procedure for pure ALOHA protocol
  • 10. 12.10 Figure 12.5 Vulnerable time for pure ALOHA protocol
  • 11. 12.11 Figure 12.6 Frames in a slotted ALOHA network
  • 12. 12.12 Figure 12.7 Vulnerable time for slotted ALOHA protocol
  • 13. 12.13 Figure 12.8 Space/time model of the collision in CSMA
  • 15. 12.15 Figure 12.10 Behavior of three persistence methods
  • 16. 12.16 Figure 12.11 Flow diagram for three persistence methods
  • 17. CSMA: TYPES: 1. 1 Persistent CSMA 2. Non Persistent CSMA 3. P Persistent CSMA 4. CSMA/CD
  • 18. Carrier Sense Multiple Access (CSMA) • Protocols in which stations listen for a carrier (i.e. transmission) and act accordingly are called carrier sense protocols. 1. 1-persistent CSMA Channel Busy  Continue sensing until free and then grab. Channel Idle  Transmit with probability 1. Collision  Wait for a random length of time and try again. 2. Non-persistent CSMA: Channel Busy  Does not continually sense the channel. Wait for a random length of time and try again. Channel Idle  Transmit. Collision  Wait for a random length of time and try again. 18
  • 19. 3. P-persistent CSMA: Channel Busy  Continue sensing until free (same as idle). Channel Idle  Transmit with probability p, and defer transmitting until the next slot with probability q = 1-p. Collision  Wait for a random length of time and try again. • Analysis: • The non-persistent CSMA has better channel utilization but longer delays than 1- persistent CSMA. • CSMA are an improvement over ALOHA because they ensure that no station begins to transmit when it senses the channel busy. • Another improvement is for stations to abort their transmissions as soon as they detect a collision. • Quickly terminating damaged frames saves time and bandwidth. • This protocol is called CSMA/CD (CSMA with Collision Detection). BY: DR. BHARGAVI H. GOSWAMI, 9426669020, 19
  • 20. Persistent and Nonpersistent CSMA Comparison of the channel utilization versus load for various random access protocols. 20
  • 21. CSMA/CD Carrier Sense: Ethernet card listen to channel before transmission and differ to transmit if somebody else is already transmitting. Multiple Access: More than one user needs channel access. Collision Detection: Protocol listen when transmission is going on and find stop transmitting when it finds colliding. Interframe gap: As soon as channel becomes free, it waits for small interframe gap and then transmits. Interframe gap is idle time between frames. After a frame has been sent, transmitters are required to transmit a minimum of 96 bits (12 octets) of idle line state before transmitting the next frame. Maximum distance limitation: Frame size min 64 bytes. Minimum frame size limitation: Frame length min 250 m. Both, distance and size can not be increased together. More bandwidth deteriorates performance. If first 64 bytes are successfully received, means later there would be no collision.
  • 22. Collision Detection & Avoidance Collision garble the frames. Collision Detection: ◦ Let collision happen and then solve it. ◦ If sender detects collision, it can stop sending and restart later by following ‘binary back-off algorithm’. ◦ Need a mechanism to listen to channel. ◦ Used by classic Ethernet. Collision Avoidance: ◦ See that collision do not occur by carefully avoiding it. ◦ Here, it is possible to extract any component signal from collided signal. So retransmission is not needed. We just extract what we need from the received signals. ◦ Preferred by 802.11 wireless LANs. ◦ CDMA Code Division Multiple Access is used in Mobile phones.
  • 23. CSMA/CA Collision Avoidance with Career Sense Multiple Access. On Wireless Networks Strategies: ◦ 1. Inter-frame Spacing (IFS) ◦ 2. Contention Window – Binary Exponential Back off Algorithm ◦ 3. Acknowledgement
  • 24. Wireless LAN Protocol •Because signal strength is not uniform throughout the space in which wireless LANs operate, carrier detection and collision may fail in the following ways: - Hidden nodes: ◦ Hidden stations: Carrier sensing may fail to detect another station. For example, A and D. ◦ Fading: The strength of radio signals diminished rapidly with the distance from the transmitter. For example, A and C. - Exposed nodes: ◦ Exposed stations: B is sending to A. C can detect it. C might want to send to E but conclude it cannot transmit because C hears B. ◦ Collision masking: The local signal might drown out the remote transmission. •The result scheme is carrier sensing multiple access with collision avoidance (CSMA/CA). 24
  • 25. Wireless LAN Protocols A wireless LAN. (a) A transmitting. (b) B transmitting. 25 • Hidden station problem: A is transmitting to B. C cannot hear A. If C starts transmitting, it will interfere at B. • Exposed station problem: B is transmitting to A. C concludes that it may not send to D but the interference exists only between B and C.
  • 26. MACA and MACAW MACA: Multiple Access with Collision Avoidance: The sender transmits a RTS (Request To Send) frame. The receiver replies with a CTS (Clear To Send) frame. Neighbors ◦ see CTS, then keep quiet. ◦ see RTS but not CTS, then keep quiet until the CTS is back to the sender. The receiver sends an ACK when receiving an frame. ◦ Neighbors keep silent until see ACK. Collisions ◦ There is no collision detection. ◦ The senders know collision when they don’t receive CTS. ◦ They each wait for the exponential backoff time. MACAW (MACA for Wireless) is a revision of MACA which introduced ACK mechanism. Till ACK are seen, other stations remain silent. 26
  • 27. Wireless LAN Protocols (2) The MACA protocol. (a) A sending an RTS to B. (b) B responding with a CTS to A. BY: DR. BHARGAVI H. GOSWAMI, 9426669020, 2
  • 29. 12.29 Figure 12.12 Collision of the first bit in CSMA/CD
  • 30. 12.30 Figure 12.13 Collision and abortion in CSMA/CD
  • 31. 12.31 Figure 12.14 Flow diagram for the CSMA/CD
  • 32. 12.32 Figure 12.15 Energy level during transmission, idleness, or collision
  • 34. 12.34 In CSMA/CA, the IFS can also be used to define the priority of a station or a frame. Note
  • 35. 12.35 In CSMA/CA, if the station finds the channel busy, it does not restart the timer of the contention window; it stops the timer and restarts it when the channel becomes idle. Note
  • 36. 12.36 Figure 12.17 Flow diagram for CSMA/CA
  • 37. NAV – DIFS – SIFS – PIFS – EIFS – CTS - RTS 12.37 network allocation vector (NAV) that shows how much time must pass before these stations are allowed to check the channel for idleness.
  • 38. 12.38 12-2 CONTROLLED ACCESS 12-2 CONTROLLED ACCESS In In controlled access controlled access, the stations consult one another to find which station has the , the stations consult one another to find which station has the right to send. A station cannot send unless it has been authorized by other stations. right to send. A station cannot send unless it has been authorized by other stations. We discuss three popular controlled-access methods. We discuss three popular controlled-access methods. Reservation Polling Token Passing Topics discussed in this section: Topics discussed in this section:
  • 40. 12.40 Figure 12.19 Select and poll functions in polling access method
  • 41. 12.41 Figure 12.20 Logical ring and physical topology in token-passing access method
  • 42. 12.42 12-3 CHANNELIZATION 12-3 CHANNELIZATION Channelization Channelization is a multiple-access method in which the available bandwidth of a link is a multiple-access method in which the available bandwidth of a link is shared in time, frequency, or through code, between different stations. In this is shared in time, frequency, or through code, between different stations. In this section, we discuss three channelization protocols. section, we discuss three channelization protocols. Frequency-Division Multiple Access (FDMA) Time-Division Multiple Access (TDMA) Code-Division Multiple Access (CDMA) Topics discussed in this section: Topics discussed in this section:
  • 43. 12.43 We see the application of all these methods in Chapter 16 when we discuss cellular phone systems. Note
  • 44. 12.44 Figure 12.21 Frequency-division multiple access (FDMA)
  • 45. 12.45 In FDMA, the available bandwidth of the common channel is divided into bands that are separated by guard bands. Note
  • 46. 12.46 Figure 12.22 Time-division multiple access (TDMA)
  • 47. 12.47 In TDMA, the bandwidth is just one channel that is timeshared between different stations. Note
  • 48. 12.48 In CDMA, one channel carries all transmissions simultaneously. Note
  • 49. 12.49 Figure 12.23 Simple idea of communication with code
  • 51. 12.51 Figure 12.25 Data representation in CDMA
  • 52. 12.52 Figure 12.26 Sharing channel in CDMA
  • 53. 12.53 Figure 12.27 Digital signal created by four stations in CDMA
  • 54. 12.54 Figure 12.28 Decoding of the composite signal for one in CDMA