Docsity

Wireless LANs - Mobile Communications - Lecture Slides, Slides of Mobile Communication Systems

Partial preview of the text

Download Wireless LANs - Mobile Communications - Lecture Slides and more Slides Mobile Communication Systems in PDF only on Docsity!

Wireless LANs

• Characteristics

• Infrastructure based

  • MAC (MACA)
  • Routing (Mobile IP)
  • Transport (TCP variants)

• Adhoc networks

  • Routing protocols
  • Transport issues

• Implementations

  • 802.11, HIPERLAN, Bluetooth

• Other issues

  • Security

Wireless LANs: Characteristics

  • Types
    • Infrastructure based
    • Adhoc
  • Advantages
    • Flexible deployment
    • Minimal wiring difficulties
    • More robust against disasters (earthquake etc)
    • Historic buildings, conferences, trade shows,…
  • Disadvantages
    • Low bandwidth compared to wired networks (1-10 Mbit/s)
    • Proprietary solutions
    • Need to follow wireless spectrum regulations

Transmission: Infrared vs. Radio

  • Infrared
    • uses IR diodes, diffuse light, multiple reflections (walls, furniture etc.)
  • Advantages
    • simple, cheap, available in many mobile devices
    • no licenses needed
    • simple shielding possible
  • Disadvantages
    • interference by sunlight, heat sources etc.
    • many things shield or absorb IR light
    • low bandwidth
  • Example
    • IrDA (Infrared Data Association) interface available everywhere - Radio - typically using the license free ISM band at 2.4 GHz - Advantages - experience from wireless WAN and mobile phones can be used - coverage of larger areas possible (radio can penetrate walls, furniture etc.) - Disadvantages - very limited license free frequency bands - shielding more difficult, interference with other electrical devices - Example - WaveLAN, HIPERLAN, Bluetooth

Source: SchillerDocsity.com

Wireless MAC: Motivation

  • Can we apply media access methods from fixed networks?
  • Example CSMA/CD
    • C arrier S ense M ultiple A ccess with C ollision D etection
    • send as soon as the medium is free, listen into the medium if a

collision occurs (original method in IEEE 802.3)

  • Medium access problems in wireless networks
    • signal strength decreases proportional to the square of the

distance

  • sender would apply CS and CD, but the collisions happen at the

receiver

  • sender may not “hear” the collision, i.e., CD does not work
  • CS might not work, e.g. if a terminal is “hidden”

Hidden Terminal Problem

  • Hidden terminals
    • A and C cannot hear each other.
    • A sends to B, C cannot receive A.
    • C wants to send to B, C senses a “free” medium (CS fails)
    • Collision occurs at B.
    • A cannot receive the collision (CD fails).
    • A is “hidden” for C.
  • Solution?
    • Hidden terminal is peculiar to wireless (not found in wired)
    • Need to sense carrier at receiver, not sender!
    • “virtual carrier sensing”: Sender “asks” receiver whether it

can hear something. If so, behave as if channel busy.

A B C

Exposed Terminal Problem

  • Exposed terminals
    • A starts sending to B.
    • C senses carrier, finds medium in use and has to wait for A->B to end.
    • D is outside the range of A, therefore waiting is not necessary.
    • A and C are “exposed” terminals.
  • A->B and C->D transmissions can be parallel; no collisions

A B

C

D

MACA Solutions [Karn90]

  • MACA avoids the problem of hidden terminals
    • A and C want to send to B
    • A sends RTS to B
    • B sends CTS to A
    • C “overhears” CTS from B
    • C waits for duration of A’s transmission
  • MACA avoids the problem of exposed terminals
    • B wants to send to A, C to D
    • C hears RTS from B->A
    • C does not hear CTS from A
    • C sends RTS to D

A B (^) C

RTS CTS CTS

A B^ C

RTS CTS

RTS D

D

MAC: Reliability

  • Wireless links are prone to errors. High packet loss rate detrimental to transport-layer performance.
  • Solution: Use of acknowledgements
    • When B receives DATA from A, B sends an ACK.
    • If A fails to receive an ACK, A retransmits the DATA.
    • Both C and D remain quiet until ACK (to prevent collision of ACK).
    • Expected duration of transmission+ACK is included in RTS/CTS packets.
    • This approach adopted in many protocols [802.11].

A B C

RTS

CTS CTS

DATA

D

RTS

ACK

 Collision of RTS/CTS packets can happen (hidden terminal).  If no CTS, retransmit RTS after backoff. Docsity.com

DCF Example

data

wait

B1 = 5

B2 = 15

B1 = 25

B2 = 20

data

wait

B1 and B2 are backoff intervals at nodes 1 and 2

cw = 31

B2 = 10

MAC: Congestion Control

  • Number of nodes attempting to transmit simultaneously may change with time; some mechanism to manage congestion is needed.
  • IEEE 802.11 DCF: Congestion control achieved by dynamically choosing the contention window cw
  • Binary Exponential Backoff in DCF:
    • When a node fails to receive CTS in response to its RTS, it increases the contention window - cw is doubled (up to a bound CWmax)
    • Upon successful completion data transfer, restore cw to CW min
  • Optimization: MACAW
    • 802.11: cw reduces much faster than it increases
    • Backoff: multiply cw by 1.5 (instead of doubling)
    • Restore: Reduce cw by 1 (instead of CWmin)
    • cw reduces slower than it increases. Exponential increase linear decrease
    • Avoids wild oscillations of cw when congestion is high.

MAC Protocols: Summary

• Wireless medium is prone to hidden and exposed

terminal problems

• Protocols are typically based on CSMA/CA

• RTS/CTS based signaling

• Acks for reliability

• Contention window is used for congestion control

• IEEE 802.11 wireless LAN standard

• Fairness issues are still unclear

Routing and Mobility

• Finding a path from a source to a destination

• Issues

  • Frequent route changes
    • amount of data transferred between route changes may be much smaller than traditional networks
  • Route changes may be related to host movement
  • Low bandwidth links

• Goal of routing protocols

  • decrease routing-related overhead
  • find short routes
  • find “stable” routes (despite mobility)

Mobile IP: Basic Idea

Router 1

Router 3

Router 2

S MN

Home agent

Source: VaidyaDocsity.com

Mobile IP: Basic Idea

Router 1

Router 3

Router 2

S MN

Home agent

Foreign agent

move

Packets are tunneled using IP in IP

Source: VaidyaDocsity.com