Docsity

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

Partial preview of the text

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

Mobile Ad Hoc Networks

Outline

• Introduction

• Medium Access Control

• Routing (unicast)

– Reactive Protocols

– Proactive Protocols

– Hybrid Protocols

• Transport Issues

• Summary and Conclusions

Cellular Wireless

• Single hop wireless connectivity to the

wired world

– Space divided into cells

– A base station is responsible to communicate

with hosts in its cell

– Mobile hosts can change cells while

communicating

– Hand-off occurs when a mobile host starts

communicating via a new base station

Multi-Hop Wireless

• May need to traverse multiple links to reach

destination

• Mobility causes route changes

Why Ad Hoc Networks?

• Setting up of fixed access points and backbone

infrastructure is not always viable

  • Infrastructure may not be present in a disaster area or war

zone

  • Infrastructure may not be practical for short-range radios;

Bluetooth (range ~ 10m)

• Ad hoc networks:

  • Do not need backbone infrastructure support
  • Are easy to deploy
  • Useful when infrastructure is absent, destroyed or

impractical

Many Applications

• Personal area networking

– cell phone, laptop, ear phone, wrist watch

• Military environments

– soldiers, tanks, planes

• Civilian environments

– taxi cab network

– meeting rooms

– sports stadiums

– boats, small aircraft

• Emergency operations

– search-and-rescue

– policing and fire fighting

Effect of mobility on the protocol stack

  • Application
    • new applications and adaptations
  • Transport
    • congestion and flow control
  • Network
    • addressing and routing
  • Link
    • media access and handoff
  • Physical
    • transmission errors and interference

Medium Access Control in MANET

Hidden and Exposed Terminals

• Hidden terminals

  • A sends to B, C cannot receive A
  • C wants to send to B, C senses a “free” medium (CS fails)
  • collision at B, A cannot receive the collision (CD fails)
  • A is “hidden” for C

• Exposed terminals

  • B sends to A, C wants to send to another terminal (not A or

B)

  • C senses carrier, finds medium in use and has to wait
  • A is outside the radio range of C, therefore waiting is not

necessary

  • C is “exposed” to B
A B C

Multiple Access with Collision

Avoidance (MACA) [Karn90]

  • MACA uses signaling packets for collision avoidance
    • RTS (request to send)
      • sender request the right to send from a receiver with a short RTS
packet before it sends a data packet
  • CTS (clear to send)
    • receiver grants the right to send as soon as it is ready to receive
  • Signaling packets contain
  • sender address
  • receiver address
  • packet size
  • Variants of this method are used in IEEE 802.

MAC: Reliability

  • Wireless links are prone to errors. High packet loss rate is detrimental to
transport-layer performance.
  • Solution: Use of acknowledgements
    • When node B receives a data packet from node A, node B sends an Acknowledgement (Ack).
    • If node A fails to receive an Ack, it will retransmit the packet
    • This approach adopted in many protocols [Bharghavan94, IEEE 802.11]
  • IEEE 802.11 Wireless MAC
    • Distributed and centralized MAC components
      • Distributed Coordination Function (DCF)
      • Point Coordination Function (PCF)
    • DCF suitable for multi-hop ad hoc networking

IEEE 802.11 DCF

• Uses RTS-CTS exchange to avoid hidden terminal

problem

  • Any node overhearing a CTS cannot transmit for the

duration of the transfer

• Uses ACK to achieve reliability

• Any node receiving the RTS cannot transmit for the

duration of the transfer

  • To prevent collision with ACK when it arrives at the sender
  • When B is sending data to C, node A will keep quiet
A B C

MAC: Congestion Control

• 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 an upper bound)

– When a node successfully completes a data transfer, it

restores cw to CWmin

MAC: Energy Conservation

• Proposals typically suggest turning the radio off when

not needed

• Power Saving Mode in IEEE 802.11 (Infrastructure

Mode)

  • An Access Point periodically transmits a beacon indicating

which nodes have packets waiting for them

  • Each power saving (PS) node wakes up periodically to

receive the beacon

  • If a node has a packet waiting, then it sends a PS-Poll
    • After waiting for a backoff interval in [0,CW min ]
  • Access Point sends the data in response to PS-poll