University of Calgary – CPSC 441

Slides:



Advertisements
Similar presentations
Networks: Wireless LANs1 Wireless Local Area Networks.
Advertisements

Lecture 5: IEEE Wireless LANs (Cont.). Mobile Communication Technology according to IEEE (examples) Local wireless networks WLAN a.
– Wireless PHY and MAC Stallings Types of Infrared FHSS (frequency hopping spread spectrum) DSSS (direct sequence.
© Kemal AkkayaWireless & Network Security 1 Department of Computer Science Southern Illinois University Carbondale CS591 – Wireless & Network Security.
Comp 361, Spring 20056:Basic Wireless 1 Chapter 6: Basic Wireless (last updated 02/05/05) r A quick intro to CDMA r Basic
Wireless# Guide to Wireless Communications
IEEE b Wireless LANs Carey Williamson Department of Computer Science University of Calgary.
14.1 Chapter 14 Wireless LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Wireless Local Area Networks By Edmund Gean August 2, 2000.
Network Technology CSE Network Technology CSE3020 Week 9.
P. Bhagwat Specification overview. P. Bhagwat Specifications PLCP Sublayer PHY layer Management PMD Sublayer MAC sublayer MAC Layer Management.
1 CSE401n:Computer Networks Lecture 16 Wireless Link & LANs WS: ch-14 KR: 5.7.
CPET 260 – Network I Wireless Networks Bluetooth.
Networks: Wireless LANs1 Wireless Local Area Networks.
Wireless Local Area Networks
Ethernet: CSMA/CD (Carrier Sense Multiple Access with Collision Detection) Access method: method of controlling how network nodes access communications.
20 – Collision Avoidance, : Wireless and Mobile Networks6-1.
Networks: Wireless LANs1 Wireless Local Area Networks.
IEEE b Wireless LANs Carey Williamson Department of Computer Science University of Calgary.
5-1 Data Link Layer r What is Data Link Layer? r Wireless Networks m Wi-Fi (Wireless LAN) r Comparison with Ethernet.
WLAN b a Johan Montelius
8/7/20151 Mobile Computing COE 446 Wireless Multiple Access Tarek Sheltami KFUPM CCSE COE hthttp://faculty.kfupm.edu.sa/coe/tarek/coe446.htm Principles.
IEEE Wireless LAN Standard Chapter 14. IEEE 802 Protocol Layers.
6: Wireless and Mobile Networks6-1 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may.
Network Security Wireless LAN. Network Security About WLAN  IEEE standard  Use wireless transmission medium such as radio, microwave, infrared.
Chapter 5 outline 5.1 Introduction and services
Wireless LANs Ethernet and all its enhancements is the major wired LAN architecture today Beyond Ethernet, the fastest growing LAN architecture is wireless.
Wi-Fi Wireless LANs Dr. Adil Yousif. What is a Wireless LAN  A wireless local area network(LAN) is a flexible data communications system implemented.
protocol continued. DCF The basic idea is non-persistent. Can do an optimization: For a new packet (Q len = 0), the sender needs only wait for.
CS640: Introduction to Computer Networks Aditya Akella Lecture 22 - Wireless Networking.
Lecture #2 Chapter 14 Wireless LANs.
Wireless LAN Advantages 1. Flexibility 2. Planning 3. Design
Overview of Wireless LANs Use wireless transmission medium Issues of high prices, low data rates, occupational safety concerns, & licensing requirements.
MAC layer Taekyoung Kwon. Media access in wireless - start with IEEE In wired link, –Carrier Sense Multiple Access with Collision Detection –send.
Sybex CCNA Chapter 12: Wireless Networks.
CWNA Guide to Wireless LANs, Second Edition
14.1 Chapter 14 Wireless LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IEEE b Wireless LANs Ruiting Zhou Department of Computer Science University of Calgary Slides are from CPSC 641 by Prof. Carey Williamson.
Wireless Access avoid collisions: 2 + nodes transmitting at same time CSMA - sense before transmitting –don’t collide with ongoing transmission by other.
K. Salah 1 Chapter 15 Wireless LANs. K. Salah 2 Figure 15.1 BSSs IEEE Specification for Wireless LAN: IEEE , which covers the physical and data.
IEEE Wireless LAN Standard. Medium Access Control-CSMA/CA IEEE defines two MAC sublayers Distributed coordination function (DCF) Point coordination.
Data and Computer Communications Ninth Edition by William Stallings Chapter 17 – Wireless LANs.
Wireless and Mobility The term wireless is normally used to refer to any type of electrical or electronic operation which is accomplished without the use.
Architecture of an infrastructure network Distribution System Portal 802.x LAN Access Point LAN BSS LAN BSS 1 Access Point STA.
CSC 581 Communication Networks II Chapter 6c: Local Area Network (Wireless LAN – ) Dr. Cheer-Sun Yang.
Lecture # 13 Computer Communication & Networks. Today’s Menu ↗Last Lecture Review ↗Wireless LANs ↗Introduction ↗Flavors of Wireless LANs ↗CSMA/CA Wireless.
Chapter 6 Medium Access Control Protocols and Local Area Networks Wireless LAN.
Ch 14. Wireless LANs IEEE Specification for a wireless LAN – Cover physical and data link layers Basic service sets (BSS) and extended service.
WIRELESS COMMUNICATION Husnain Sherazi Lecture 1.
Universität Karlsruhe Institut für Telematik ECE 591
WLAN. Networks: Wireless LANs2 Distribute Coordination Function (DCF) Distributed access protocol Contention-Based Uses CSMA/ CA – Uses both physical.
WLAN.
CO5023 Wireless Networks. Varieties of wireless network Wireless LANs: the main topic for this week. Consists of making a single-hop connection to an.
11 Chapter 4. Wireless Local Area Networks Departamento de Tecnología Electrónica Some of these slides are copyrighted by: Computer Networking: A Top Down.
Chapter 14 Wireless LANs.
MAC Sublayer MAC layer tasks: – Control medium access – Roaming, authentication, power conservation Traffic services – DCF (Distributed Coordination.
Wireless Protocols. 2 Outline MACA 3 ISM: Industry, Science, Medicine unlicensed frequency spectrum: 900Mhz, 2.4Ghz, 5.1Ghz, 5.7Ghz.
1 Chapter 4 MAC Layer – Wireless LAN Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida.
DSSS PHY packet format Synchronization SFD (Start Frame Delimiter)
Wireless LAN Requirements (1) Same as any LAN – High capacity, short distances, full connectivity, broadcast capability Throughput: – efficient use wireless.
IEEE Wireless LAN. Wireless LANs: Characteristics Types –Infrastructure based –Ad-hoc Advantages –Flexible deployment –Minimal wiring difficulties.
CS440 Computer Networks 1 Wireless LAN (IEEE ) Neil Tang 10/01/2008.
Wireless LANs Wireless proliferating rapidly.
Lecture 27 WLAN Part II Dr. Ghalib A. Shah
CS 457 – Lecture 7 Wireless Networks
WiFi Networks: IEEE b Wireless LANs
Chapter 6 Medium Access Control Protocols and Local Area Networks
Wireless LAN (WLAN) Wireless Ethernet Bluetooth.
WiFi Networks: IEEE b Wireless LANs
Chapter 15 Wireless LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Presentation transcript:

University of Calgary – CPSC 441 Wi-Fi LANs

Introduction Wi-Fi or WiFi: defined as any "wireless local area network (WLAN) products that are based on the IEEE 802.11 standards. Popular technology that allows an electronic device to exchange data wirelessly (using radio waves) over a computer network. IEEE established the 802.11 Group in 1990. Specifications for standard ratified in 1997. Initial speeds were 1 and 2 Mbps. IEEE modified the standard in 1999 to include 802.11a (54 Mbps) and 802.11b (11 Mbps). Incidentally, 802.11b equipment was available before 802.11a. 802.11g (54 Mbps) was added in 2003.

The Basics In many respects, the IEEE 802.11b wireless LAN (WLAN) standard is similar to that of classic IEEE 802.3 (Ethernet) LANs Similarities: LAN with limited geographic coverage Multiple stations, with 48-bit MAC addresses Shared transmission medium (broadcast technology) CSMA-based Medium Access Control protocol Comparable data rates (11 Mbps vs 10 Mbps)

The Basics But there are also many distinct differences: Wireless (air interface) versus wired (coax) Wireless propagation environment (multipath) Higher error rate due to interference, fading, etc. Successful frames are ACKed by receiver Mobile stations versus fixed stations Half-duplex versus full-duplex operation “Hidden node” and “exposed node” problems (exposed node problem occurs when a node is prevented from sending packets to other nodes due to a neighboring transmitter.) Potential asymmetries of links CSMA/CA versus CSMA/CD Multiple data transmission rates (1, 2, 5.5, 11)

Some Wi-Fi Features Infrastructure mode vs “ad hoc” mode: Devices in a wireless network are set up to either communicate indirectly through a central place — an access point — or directly, one to the other. Access Point (AP) sends “beacon frames” – all the information about the network (e.g. Timestamp Capability information) Mobiles choose AP based on signal strength Multiple channel access protocols supported CSMA/CA (DCF – Distributed coordination function); PCF (Point Coordination Function); RTS/CTS (Request to Send/Clear to Send)

Other Wi-Fi Features MAC-layer can provide error control, retransmission, rate adaptation, etc. Direct Sequence Spread Spectrum (DSSS) Modulation technique Signal spread across 22 MHz with each channel based around a center frequency. There are fourteen 22-MHz channels.

Where Does Wireless RF Live? ISM (Industrial, Scientific, Medical) Band 902-928 MHz 2.4 – 2.5 GHz 5.725 – 5.875 GHz 24 – 24.250 GHz 57 – 66 GHz 802.11-1997 802.11b/g/n 802.11a/n/ac 802.11ad Cordless Phones Amateur Satellite Baby Monitors Bluetooth Microwave Ovens

Wi-Fi occupies layers 1 & 2 only! Protocol Stack View Application Telnet, FTP, Email, Web Transport TCP, UDP, SCTP Network IPv4, IPv6 Data Link 802.3 (Ethernet) MAC, 802.11 (Wi-Fi) MAC, DOCSIS, ISDN Physical Copper LAN: 10/100/1000/10G/40GBASE-T Fiber LAN: 10GBASE-SR/LR/ER Wireless LAN: FHSS, DSSS, IR Wi-Fi occupies layers 1 & 2 only!

“shared” by all devices Wireless Cells Access Point coverage area is called a “Cell” Range per Access Point is 100m Access Point Channel 6 ESSID: NAI 11 Mbps bandwidth “shared” by all devices in the Cell! In Canada/US, there are eleven 802.11b/g channels Only channels 1, 6 and 11 are non-overlapping Computers can roam between cells

Multiple Wireless APs 1 6 11

Medium Access Control (MAC) Carrier Sense Multiple Access with Collision Avoidance (CSMA-CA) Device wanting to transmit senses the medium (air) If medium is busy, it defers If medium is free for certain period (DIFS – Distributed Inter-Frame Space), it transmits frame DIFS is approximately 128 µs Latency can increase if “air” is very busy since devices will have a hard time finding “open air” to send frames!

must defer while “air” is busy MAC Protocol source destination others “Air” is free for DIFS time period DIFS send frame data All other devices must defer while “air” is busy NAV: defer access SIFS Receive ACK back that frame was received intact! ack DIFS – Distributed Inter-Frame Space (approx. 128 µs) SIFS – Short Inter-Frame Space (approx. 28 µs) Every frame is ACKed except broadcast/multicast

MAC Retransmission If no ACK received “right away”, then the sender retransmits the frame again at the MAC layer indicates frame (or ACK) was lost/corrupted very short timeout (e.g., 1 ms) exponential back off (doubling) if repeated loss Typically recovers before TCP would notice Max retransmission limit (e.g., 8) May do MAC-layer rate adaptation or frame fragmentation if channel error rate is high

Other MAC Protocols Supported Point Coordination Function (PCF) AP polls stations in turn to see if there’s frames to send useful for real-time traffic Request-To-Send/Clear-To-Send (RTS/CTS) reservation-based approach (ask permission) useful for very large frames useful for solving the “hidden node” problem (when a node is visible from a wireless access point (AP), but not from other nodes) request asks for clearance (permission) to send request also indicates time required for transmit

Frame Formats Two frame formats available: long preamble short preamble Configuration option for NIC (Network interface controller) and AP Variable-size frames (maximum of 2312 bytes for payload) 16-bit Cyclic Redundancy Code (CRC) for error checking of frames

Long Preamble Long Preamble = 144 bits Interoperable with older 802.11 devices Entire Preamble and 48 bit PLCP (Physical Layer Convergence Protocol) header sent at 1 Mbps 128 bit Preamble (Long) 16 bit Start Frame Delimiter Signal Speed 1,2,5.5,11 Mbps Service (unused) Length of Payload CRC 0-2312 bytes Transmitted at 1 Mbps Transmitted at X Mbps

Short Preamble Short Preamble = 72 bits Preamble transmitted at 1 Mbps PLCP (Physical Layer Convergence Protocol) header transmitted at 2 Mbps More efficient than long preamble 56 bit Preamble Payload 0-2312 bytes Transmitted at 1 Mbps 16 bit Start Frame Delimiter Signal Speed 1,2,5.5,11 Mbps Service (unused) Length of CRC 2 Mbps X Mbps

More Features Power Management Security Mobile nodes can “sleep” to save power Accomplished by using DTIM (Delivery Traffic Indication Message) intervals AP will buffer frames until client requests them AP can use virtual bitmap field in beacons to indicate which stations have data waiting Security Wired Equivalent Privacy (WEP) Not very secure at all! To address this weakness, there is WPA2 (IEEE 802.11i) Uses CCMP, an AES-based encryption mode with strong security