Anne Reinarz Durham University

MAC Layer

MAC Layer


Outline


802.11 LAN architecture

</img> - Wireless host communicates with base station - Base station = access point (AP) - Basic Service Set (BSS) (aka “cell”) in infrastructure mode contains: - Wireless hosts - Access point (AP): base station - Ad hoc mode: hosts only

802.11: Channels, association


802.11: Channels, association


802.11: passive/active scanning

</img>


IEEE 802.11: multiple access


IEEE 802.11: multiple access


IEEE 802.11 MAC Protocol: CSMA/CA

802.11 sender

  1. If sense channel idle for DIFS (Distributed Inter-Frame Space)
    • then transmit entire frame (no CD)
  2. If sense channel busy then
    • start random backoff time
    • timer counts down while channel idle
    • transmit when timer expires
    • if no ACK, increase random backoff interval, repeat step 2.

IEEE 802.11 MAC Protocol: CSMA/CA

802.11 receiver


IEEE 802.11 MAC Protocol: CSMA/CA

</img>


Avoiding collisions

Idea: allow sender to “reserve” channel rather than random access of data frames: avoid collisions of long data frames

Avoiding collisions


Collision Avoidance: RTS-CTS exchange

</img>


802.11 frame: addressing

</img>


Physical Layer


Outline


Bandwidth

Two distinct senses:

  1. Synonymous with “bit rate” (rate of data transmission)
    • E.g. 10Mbps
  2. Width of a range of frequencies (e.g. as used by a signal)
    • E.g. 0 Hz through 10 MHz (10 MHz bandwidth)
    • E.g. 20 MHz through 30 MHz (10 MHz bandwidth)

Bandwidth


Digital Signals

Digital signals are obtained from an analog signal: Information transmitted by varying some physical property such as voltage or current

Digital Modulation


1. NRZ Encoding


1. NRZ Encoding

</img>


1. NRZ Encoding


2. NRZI (inverted) Encoding


2. NRZI (inverted) Encoding

</img>


3. Bipolar Encoding


3. Bipolar Encoding

</img>


4. Manchester Encoding


4. Manchester Encoding

</img>


4. Manchester Encoding


Multiplexing


Multiplexing


Frequency Division Multiplexing

</img>


Wavelength Division Multiplexing

</img>


Time Division Multiplexing

</img>


CDMA – Code Division Multiple Access


CDMA – Code Division Multiple Access


CDMA – Code Division Multiple Access


CDMA – Code Division Multiple Access

- A : (+1 +1 +1 +1) - B : (+1 −1 +1 −1) - C : (+1 +1 −1 −1) - D : (+1 −1 −1 +1)

Summary