WiFi MAC
WiFi MAC
WiFi MAC
History
WiFi is used to describe the underlying technology of wireless local area networks (WLAN) based on the IEEE 802.11 specifications WiFi developed by Kyle Brown IEEE 802.11 denotes a set of Wireless LAN/WLAN standards developed by working group 11 of the IEEE LAN/MAN Standards Committee (IEEE 802)
2
First WiFi
Vic Hayes
MAC Protocol
MAC stands for Medium Access Control Used to provide the data link layer of the Ethernet LAN system Job is to add a 14 byte header (Protocol Control Information (PCI)) before the data and append a 4-byte Cyclic Redundancy Check (CRC) after the data
Network-Level Architecture
Protocols
Protocols Release Date
1997
Op. Frequency
2.4 2.5 GHz
Range (indoor)
?
Legacy
802.11a
1999
5.15-5.35/5.475.725/5.7255.875 GHz
25 Mbit/s
54 Mbit/s
802.11b
1999
6.5 Mbit/s
11 Mbit/s
802.11g
2003
11 Mbit/s
54 Mbit/s
802.11n
2006 (draft)
200 Mbit/s
540 Mbit/s
Protocols
IEEE 802.11c
IEEE 802.11d
IEEE 802.11e IEEE 802.11f
IEEE 802.11g
Spectrum Managed 802.11a (5 GHz) for European compatibility (2004) Enhanced security (2004) Extensions for Japan (2004)
10
MAC in Detail
sense multiple access (CSMA) with immediate MAC-level ACK RTS/CTS(4-way handshaking) exchange (optional)
access through AP and distributed access Contention-free period (CFP) and contention period (CP) Seldom implemented in practice
13
CSMA/CA Explained
Stations are waiting for medium to become free Select Random Backoff after a Defer, resolving contention to avoid collisions Exponential Backoff window increases for retransmissions Backoff timer elapses only when medium is idle To allow immediate responses and PCF coexistence
14
Clear Channel Assessment (CCA) from PHY and Virtual Carrier Sense state
Direct access when medium is sensed free longer then DIFS, otherwise defer and backoff Reciever of directed frames to return an ACK immediately when CRC correct
When no ACK received then retransmit frame after a random backoff (up to maximum limit)
15
CSMA/CD
CSMA stands for Carrier Sense Multiple Access CD stands for Collision Detection Allows for Retransmission Back-Off
16
Duration field in RTS and CTS frames distribute Medium Reservation information which is stored in a Net Allocation Vector (NAV) Defer on either NAV or CCA indicating Medium Busy Use RTS/CTS is optional but must be implemented Use is controlled by a RTS_Threshold parameter per station
17
Frame Formats
Control Frames (several fields are omitted) Management Frames Data Frames
18
Includes Sequence Control Field for filtering of duplicates caused by ACK mechanism
Addr 1 = All stations filter on this address. Addr 2 = Transmitter Address (TA)
Addr 3 = Dependent on To and From DS bits Addr 4 = Only needed to identify the original source of WDS (Wireless Distribution System) frames
19
Applications
Wireless Access Point (WAP) Wireless Routers Wireless Ethernet Bridge Range Extender
20
Gaming Applications
Nintendo DS Sony PSP Xbox 360 Playstation 3 Nintendo Wii
21
22
Security Issues
WEP encryption is breakable Spoofing authorized MAC addresses Wardriving and Warchalking
23
It is the underlying technology of wireless local area networks (WLAN) based on the IEEE 802.11 specifications that provides the data link layer of the Ethernet LAN system.
The IEEE Task Groups and created the IEEE 802.11 or IEEE 802.11x Committee, however IEEE only sets specifications. WiFi Alliance runs the certification program.
DCF uses carrier sense multiple access with immediate MAC-level ACK and contains RTS/CTS optional exchange. PCF uses polled access through AP and distributed access; cotains a contention-free period and a contention 24 period; and is seldom implemented in practice.
References
http://en.wikipedia.org/wiki/Image:Wi-Fi_logo.png http://en.wikipedia.org/wiki/Wi-Fi http://www.tate.org.uk/liverpool/ima/rm5/images/cashier_lg.jpg http://www.art-events.de/systeme/images/wlan3.jpeg http://www.aria.co.uk/mainimages/wpn802a.jpg http://media.pugetsoundsoftware.com/ask-leo.com/images/wireless2bad.png http://www.circuitcity.com/IMAGE/product/detail/dlk/EC.DLK.DWLG710.JPG http://www.wsdmag.com/Files/32/8624/Figure_01.gif http://www.os2warp.be/wireless/wireless_comparison.jpg http://ei.cs.vt.edu/~history/50th/IEEE.logo.GIF http://tab.computer.org/tcca/images/ieee.jpg http://upload.wikimedia.org/wikipedia/en/thumb/b/bd/Blue_infrared_light.jpg/300px-Blue_infrared_light.jpg https://weather.unisys.com/satellite/images/sat_ir_us.gif http://en.wikipedia.org/wiki/IEEE_802.11#802.11_legacy http://microwave.gotovim.ru/pics/microvawe.jpg http://reviews.cnet.com/i/qg/tvpc/power_tv.jpg http://acni.dnsalias.net/sites/batist/Picture%20Library/1/Open-door.jpg http://www.cse.ucsc.edu/classes/cmpe257/Spring05/lecture/lecture3.pdf#search='802.11e%20MAC%20protocol% 2C%20powerpoint http://www.ece.cmu.edu/~cpyue/PatrickWebFiles/AR5110.jpg http://www.personaltelco.net/albums/album26/DSC00152.jpg http://www.blurtek.com/uploaded_images/belkin-n-726511.jpg http://www.erg.abdn.ac.uk/users/gorry/eg3561/dl-pages/crc.html http://www.erg.abdn.ac.uk/users/gorry/eg3561/lan-pages/csma-cd.html http://www.erg.abdn.ac.uk/users/gorry/eg3561/lan-pages/mac.html http://ieeexplore.ieee.org/iel5/9858/31043/01443506.pdf
25