Medium Access Control PDF
Medium Access Control PDF
Medium Access Control PDF
Introduction CSMA/MACA
SDMA, FDMA, Polling
TDMA CDMA
Aloha/ Slotted Comparison
ALOHA
Introduction
• Multiple access issues
– Wireless Channel (Wireless medium) is shared among multiple
neighboring nodes
– If more than one MS transmit at a time on the shared media, a collision
occur
– How to determine which MS can transmit?
Wireless MAC Issues
• Problems in wireless
– Strength of a signal decreases proportionally to
the square of the distance to the sender
– The sender may apply CA and CD, but the collision
happens at the receiver
– The sender might not detect collision, but actually
the receiver might have destroyed the data.
– Collision detection is very difficult in wireless as
the power of transmitting antenna is higher than
the receiving power.
Motivation- hidden and exposed terminals
• Hidden
– A sends to B, but not C
– C wants to send B, C senses the medium is free (CS
fails)
– Collision at B, A cannot detect the collision (CD fails)
– A is hidden for C and vice versa.
A B C
Motivation- hidden and exposed terminals
Exposed terminals
– B sends to A, C wants to send to another terminal
(not A or B)
– C has to wait, C signals a medium in use
– but A is outside the radio range of C, therefore
waiting is not necessary
– C is “exposed” to B
Motivation - near and far terminals
A B C
If C for example was an arbiter for sending rights, terminal B would
drown out terminal A already on the physical layer
Also severe problem for CDMA-networks - precise power control
needed
Media Access Control
Access methods SDMA/FDMA/TDMA
SDMA (Space Division Multiple Access)
– segment space into sectors, use directed antennas
– cell structure
FDMA (Frequency Division Multiple Access)
– assign a frequency to a transmission channel
– permanent (e.g., radio broadcast), slow hopping (e.g.,
GSM), fast hopping (FHSS, Frequency Hopping Spread
Spectrum)
TDMA (Time Division Multiple Access)
– assign the fixed sending frequency to a transmission
channel between a sender and a receiver for a certain
amount of time
FDDuplex/FDMA- general scheme. Example GSM
f
960 MHz 124
1 200 kHz
935.2 MHz
20 MHz
915 MHz 124
1
890.2 MHz
fd = fu + 45 Mhz
FDD..
417 µs
1 2 3 11 12 1 2 3 11 12
t
downlink uplink
TDD
• Assigning different slots for uplink and downlink
using the same frequency
• The base station uses one out of 12 slots for the
downlink, whereas the mobile station uses one
out of 12 different slots for the uplink.
• Uplink and downlink are separated in time.
• Up to 12 different mobile stations can use the
same frequency without interference using this
scheme.
• Each connection is allotted its own up- and
downlink pair.
ALOHA (Pure ALOHA)
Pros Cons
• single active node can • collisions, wasting slots
continuously transmit at • idle slots
full rate of channel • nodes may be able to
• highly decentralized: only detect collision in less
slots in nodes need to be than time to transmit
in sync packet
• simple • clock synchronization
Throughput of ALOHA
• The probability of successful transmission Ps is the
probability no other packet is scheduled in an interval of
length T.
silenced
M
Y
S silenced
Data D
ACK
X silenced
K
silenced
CA with out-of-band signaling (2)
E RTS
F
CTS
CTS
A B C D
Advantages very simple, increases established, fully simple, established, flexible, less frequency
capacity per km² digital, flexible robust planning needed, soft
handover
Dis- inflexible, antennas guard space inflexible, complex receivers, needs
advantages typically fixed needed (multipath frequencies are a more complicated power
propagation), scarce resource control for senders
synchronization
difficult
Comment only in combination standard in fixed typically combined still faces some problems,
with TDMA, FDMA or networks, together with TDMA higher complexity,
CDMA useful with FDMA/SDMA (frequency hopping lowered expectations; will
used in many patterns) and SDMA be integrated with
mobile networks (frequency reuse) TDMA/FDMA
Summary
• Designing MAC protocols for networks is very
difficult
– Issues to consider:
• Hidden/exposed terminal
• Collision avoidance
• Congestion control
• Reliability
• To be discussed in detail in chapter 6
– Fairness
– Energy efficiency
– IEEE 802.11 DCF (RTS/CTS/DATA/ACK) widely used,
but many other protocols are proposed
Readings
• Jochen Schiller, Mobile Communications,
Section 7.3, Addison-Wesley, 2000.
• C. K. Toh, Ad Hoc Mobile Wireless Networks,
“Chapter 4 – Ad Hoc Wireless Media
Protocols”, Prentice Hall
• Bob O’Hara and Al Petrick, IEEE 802.11
Handbook: A Designer’s Companion, IEEE
Press, 1999.
Further Readings
• Lots of MAC protocols published in Mobicom, Infocom, Globecom, ICC,
Mobihoc, WCNC, VTC,
etc.
• CSMA: L. Kleinrock and F. A. Tobagi, “Packet Switching in Radio Channels: Part I
– Carrier Sense Multiple Access Modes and Their Throughput Delay
Characteristics, IEEE Trans. On Communications, Vol. COM-23, No. 12, Dec.
1975, pp. 1400-1416
• MACA: P. Karn, “MACA – A New Channel Access Protocol for Packet Radio”,
ARRL/CRRL Amateur Radio 9th Computer Networking Conference, 1990, pp.
134-140. 2-4
• FAMA: C. L. Fullmer and J. J. Garcia-Luna_Aceves, “Floor Acquisition Multiple
Acsess (FAMA) for Packet-Radio Networks”, Proceedings of ACM Sigcomm’95,
Cambridge, MA, Aug. 1995, pp. 262-273.
• MACAW: V. Bharghavan, A. Demers, S. Shenkerand L. Zhang, “MACAW: A Media
Access Protocol for Wireless LANs”, Proceedings of ACM Sigcomm’94, London,
UK, Sept. 1994, pp. 212-225.
• IEEE Computer Society LAN/MAN Standards Committee, “Wireless LAN Medium
Access
Protocol (MAC) and Physical Layer (PHY) Specifications, “IEEE Std. 802.11
?