Wireless Data Networks

Slides:



Advertisements
Similar presentations
Nick Feamster CS 4251 Computer Networking II Spring 2008
Advertisements

Networks: Wireless LANs1 Wireless Local Area Networks.
© Kemal AkkayaWireless & Network Security 1 Department of Computer Science Southern Illinois University Carbondale CS591 – Wireless & Network Security.
Network Technology CSE Network Technology CSE3020 Week 9.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 7th Lecture Christian Schindelhauer.
20 – Collision Avoidance, : Wireless and Mobile Networks6-1.
1 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may be stationary (non- mobile) or.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.
5-1 Data Link Layer r What is Data Link Layer? r Wireless Networks m Wi-Fi (Wireless LAN) r Comparison with Ethernet.
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.
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.
Adapted from: Computer Networking, Kurose/Ross 1DT066 Distributed Information Systems Chapter 6 Wireless, WiFi and mobility.
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.
Wireless Medium Access. Multi-transmitter Interference Problem  Similar to multi-path or noise  Two transmitting stations will constructively/destructively.
Computer Networks NYUS FCSIT Spring 2008 Igor TRAJKOVSKI, Ph.D. Associate Professor
Wireless Access avoid collisions: 2 + nodes transmitting at same time CSMA - sense before transmitting –don’t collide with ongoing transmission by other.
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.
Chapter 6 Multiple Radio Access
Performance Analysis of IEEE Distributed Coordination Function (DCF) Author : Giuseppe Bianchi Presented by: 李政修 December 23, 2003.
5: DataLink Layer 5a-1 Multiple Access protocol. 5: DataLink Layer 5a-2 Multiple Access Links and Protocols Three types of “links”: r point-to-point (single.
Planning and Analyzing Wireless LAN
WIRELESS COMMUNICATION Husnain Sherazi Lecture 1.
WLAN.
Medium Access Control in Wireless networks
MAC Layer Protocols for Wireless Networks. What is MAC? MAC stands for Media Access Control. A MAC layer protocol is the protocol that controls access.
1 Chapter 4 MAC Layer – Wireless LAN Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida.
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.
Wireless LAN Provides network connectivity over wireless media An Access Point (AP) is installed to act as Bridge between Wireless and Wired Network.
Wireless Data Networks
Example DLL Protocols 1. High-Level Data Link Control (HDLC).
Media Access Methods MAC Functionality CSMA/CA with ACK
Wireless Sensor Networks 4. Medium Access
Wireless Networks & MAC
Outline What is Wireless LAN Wireless Transmission Types
Wireless MAC.
Wireless MAC.
TCP & Wireless Networks
Wireless Networks & MAC
Medium Access Control MAC protocols: design goals, challenges,
The University of Adelaide, School of Computer Science
Wireless MAC.
Wireless Networks & MAC
Wireless LANs Wireless proliferating rapidly.
Computer Communication Networks
High Speed LANs – Ethernet and Token Ring
Multiple Access Mahesh Jangid Assistant Professor JVW University.
TCP and MAC interplay in Wireless Ad Hoc Networks
The Medium Access Control Sublayer
CS 457 – Lecture 7 Wireless Networks
Wireless Local Area Networks (LANs)
Computer Communication & Networks
THE IEEE MAC SUB-LAYER – chapter 14
Chapter 6 Medium Access Control Protocols and Local Area Networks
basics Richard Dunn CSE July 2, 2003.
The Medium Access Control Sublayer
Introduction to Wireless Networks
Performance Evaluation of an Integrated-service IEEE Network
Wireless LAN Simulation IEEE MAC Protocol
EEC-484/584 Computer Networks
MITP 413: Wireless Technologies Week 8
ECSE-4730: Computer Communication Networks (CCN)
Mozafar Bag-Mohammadi University of Ilam
Enhanced Backoff Scheme in CSMA/CA for IEEE
Chapter 6 Multiple Radio Access.
Dr. John P. Abraham Professor UTPA
CS441 – Mobile & Wireless Computing Wireless Network Challenges
Chapter 15 Wireless LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IEEE Wireless Local Area Networks (RF-LANs)
Presentation transcript:

Wireless Data Networks

Puzzle Consider the C code-snippet: What is the output of the program? main() { int a[5] = {0, 1, 2, 3, 4}; 2[a] && printf(“%d %d”, 3[a], 3[a]++); } What is the output of the program? Compile time error Run-time error Other (what?)

Puzzle (Solution) 4, 3 Why? Function calls, jumps, stack Arrays vs. pointer arithmetic Short-circuit evaluation

Wireless Data Networks Experiencing a tremendous growth over the last decade or so US wireless data revenue in the $15-20B range in 2007 Increasing mobile work force, luxury of tetherless computing, information on demand anywhere/anyplace, etc, have contributed to the growth of wireless data

Wireless Network Types … Satellite networks e.g. Iridium (66 satellites), Globalstar (48 satellites) Wireless WANs/MANs e.g. CDPD, GPRS, EDGE, EV-DO, HSDPA Wireless LANs e.g. Georgia Tech’s LAWN Wireless PANs e.g. Bluetooth headsets Ad-hoc networks e.g. Emergency relief, military Sensor networks

Wireless Local Area Networks Probably the most widely used of the different classes of wireless data networks Characterized by small coverage areas (~200m), but relatively high bandwidths (upto 50Mbps currently, close to 150Mbps with n) Examples include IEEE 802.11 networks, Bluetooth networks, and Infrared networks

WLAN Topology Static host/Router Distribution Network Access Point Mobile Stations

Wireless WANs Large coverage areas of upto a few miles radius Support significantly lower bandwidths than their LAN counterparts (upto a few hundred kilobits per second) Examples: CDPD, RAM, GPRS, EDGE, EV-DO, HSDPA

WAN Topology

WWAN Generations 1G (Past) 2G (Past/Present) AMPS, TACS: No data 2G (Past/Present) IS-136, GSM: <10Kbps circuit switched data 2.5G (Present, Immediate Past) GSM-GPRS, GPRS-136: <100Kbps packet switched 3G (Present, Immediate Future) IMT-2000: HSDPA,EV-DO <2Mbps packet switched 4G (Future) 20-40 Mbps!!

Satellite Networks Till recently satellite networks used only for fixed earth stations to communicate (with satellites being geo-stationary) With the deployment of LEO (low earth orbit satellites), using satellite networks for mobile device communication has become a reality Offer few tens of kilobits per second upstream and a few megabits per second downstream

Satellite Networks (contd.) Wide Area coverage of the earth's surface Long transmission delays Broadcast transmission Transmission costs independent of distance

Ad-hoc Networks Multi-hop wireless networks Infrastructureless Typically used in military applications (where there is no infrastructure), or disaster relief (where infrastructure has been destroyed) Mobile stations double-up as forwarders/routers Can use existing WLAN technology (e.g. IEEE 802.11 supports a Distributed Coordination Function (DCF) mode of operation)

Ad-hoc Networks (contd.) Typical data rates (on a per-link basis) same as WLANs (~10Mbps) End-to-end data rates can be significantly smaller (depending on network size, diameter of network, etc.) Very different network environment (highly dynamic, routers also mobile!, etc.)

Wireless PANs Wireless personal area networks Example: Bluetooth Primarily meant for networking personal devices (music systems, speakers, microwaves, refrigerators, etc.) Lower data rates and transmission ranges (hence low power)

Sensor Networks Network of sensing devices (sensors) Applications include smart-concrete, smart-dust, etc. Useful for sensing in inaccessible locations Very low powered, resource-constrained devices Similar to ad-hoc networks with more severe constraints and a many-to-one topology

Wireless MAC Channel partitioned approaches FDMA, TDMA, CDMA Random multiple access schemes ALOHA, slotted-ALOHA CSMA CSMA/CA

Wireless MAC CSMA as wireless MAC? Hidden and exposed terminal problems make the use of CSMA an inefficient technique Several protocols proposed in related literature – MACA, MACAW, FAMA IEEE 802.11 standard for wireless MAC

Hidden Terminal Problem Collision A B C A talks to B C senses the channel C does not hear A’s transmission (out of range) C talks to B Signals from A and B collide

Exposed Terminal Problem Not possible A B C D B talks to A C wants to talk to D C senses channel and finds it to be busy C stays quiet (when it could have ideally transmitted)

Hidden and Exposed Terminal Problems Hidden Terminal More collisions Wastage of resources Exposed Terminal Underutilization of channel Lower effective throughput

IEEE 802.11 The 802.11 standard provides MAC and PHY functionality for wireless connectivity of fixed, portable and moving stations moving at pedestrian and vehicular speeds within a local area. Specific features of the 802.11 standard include the following: Support of asynchronous and time-bounded delivery service Continuity of service within extended areas via a Distribution System, such as Ethernet. Accommodation of transmission rates of 1, 2 and 10 Mbps Support of most market applications Multicast (including broadcast) services Network management services Registration and authentication services

IEEE 802.11 MAC Layer Primary operations Wireless medium access Accessing the wireless medium Joining the network Providing authentication and privacy Wireless medium access Distributed Coordination Function (DCF) mode Point Coordination Function (PCF) mode

IEEE 802.11 MAC (contd.) DCF PCF CSMA/CA – A contention based protocol PCF Contention-free access protocol usable on infrastructure network configurations containing a controller called a point coordinator within the access points Both the DCF and PCF can operate concurrently within the same BSS to provide alternative contention and contention-free periods

CSMA with Collision Avoidance Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA) Control packet transmissions precede data packet transmissions to facilitate collision avoidance 4-way (RTS, CTS, Data, ACK) exchange for every data packet transmission

CSMA/CA (Contd.) A B C C knows B is listening RTS A B C CTS C knows B is listening to A. Will not attempt to transmit to B. Data ACK Hidden Terminal Problem Solved through RTS-CTS exchange!

CSMA/CA (Contd.) Can there be collisions? Control packet collisions (C transmitting RTS at the same time as A) C does not register B’s CTS C moves into B’s range after B’s CTS

CSMA/CA Algorithm Sense channel (CS) If busy Else Back-off to try again later Else Send RTS If CTS not received Send Data If ACK not received Next packet processing

CSMA/CA Algorithm (Contd.) Maintain a value CW (Contention-Window) If Busy, Wait till channel is idle. Then choose a random number between 0 and CW and start a back-off timer for proportional amount of time (Why?). If transmissions within back-off amount of time, freeze back-off timer and start it once channel becomes idle again (Why?) If Collisions (Control or Data) Binary exponential increase (doubling) of CW (Why?)

IEEE 802.11 MAC Frame Format Overall structure: Frame control (2 octets) Duration/ID (2 octets) Address 1 (6 octets) Address 2 (6 octets) Address 3 (6 octets) Sequence control (2 octets) Address 4 (6 octets) Frame body (0-2312 octets) FCS (4 octets)

Puzzle Two great mathematicians S & P S knows the sum of two positive integers (> 1) x and y P knows the product of x and y S calls P and says “You cannot find the two numbers” P replies “I know the two numbers” S responds “I know the two numbers too” What are the two numbers?!! Hint: 1 < x < 100, 1 < y < 100