Mobile devices for wireless

Similar documents
Topic 2b Wireless MAC. Chapter 7. Wireless and Mobile Networks. Computer Networking: A Top Down Approach

Wireless and Mobile Networks 7-2

Wireless Networks. CSE 3461: Introduction to Computer Networking Reading: , Kurose and Ross

CSC 4900 Computer Networks: Wireless Networks

Mohammad Hossein Manshaei 1393

6.9 Summary. 11/20/2013 Wireless and Mobile Networks (SSL) 6-1. Characteristics of selected wireless link standards a, g point-to-point

CS 332 Computer Networks Wireless Networks

Last Lecture: Data Link Layer

ECE 4450:427/527 - Computer Networks Spring 2017

CSCI-1680 Wireless Chen Avin

COMP 3331/9331: Computer Networks and Applications

Shared Access Networks Wireless. 1/27/14 CS mywireless 1

Data Communication & Networks G Session 5 - Main Theme Wireless Networks. Dr. Jean-Claude Franchitti

Chapter 6 Wireless and Mobile Networks

Chapter 6 Wireless and Mobile Networks. Chapter 6 outline. Chapter 6: Wireless and Mobile Networks. Elements of a wireless network

CPSC 826 Internetworking. Wireless and Mobile Networks. Wireless Networks Wireless Hosts

Multiple Access in Cellular and Systems

COMP 3331/9331: Computer Networks and Applications

Wireless and Mobile Networks

CSC 8560 Computer Networks: Wireless and Mobility

Wireless Networks. CSE 3461: Introduction to Computer Networking Reading: , Kurose and Ross ( 6th ed.); , Kurose and Ross (7th ed.

Home Area Networks. Outline

Elements of a wireless network. Elements of a wireless network. Characteristics of selected wireless link standards. Elements of a wireless network

Medium Access Control

Chapter 6 Wireless and Mobile Networks. Chapter 6 outline. Chapter 6: Wireless and Mobile Networks. Elements of a wireless network.

Elements of a wireless network. Elements of a wireless network. Some wireless link standards. Elements of a wireless network

Multiple Access Links and Protocols

Link Layer. 5.1 Introduction and services 5.2 Error detection and correction 5.3Multiple access protocols 5.4 Link-Layer Addressing 5.

M06:Wireless and Mobile Networks. Corinna Schmitt

Chapter 6 Wireless and Mobile Networks

Mobile and Sensor Systems

Chapter 6 Wireless and Mobile Networks

Module 6: Wireless Mobile Networks

Wireless Internet Routing. Review of Wireless Networking (with Routing in Mind)

Chapter 6 Wireless and Mobile Networks. Chapter 6 outline. Chapter 6: Wireless and Mobile Networks. Elements of a wireless network

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

Chapter 6 Wireless and Mobile Networks

Chapter 6 Wireless and Mobile Networks

Chapter 7. Wireless and Mobile Networks. Computer Networking: A Top Down Approach. Andrei Gurtov

Chapter 7. Wireless and Mobile Networks. Computer Networking: A Top Down Approach

Chapter 6 Wireless and Mobile Networks

Chapter 5 Wireless and Mobile Networks

Already finished all layers in the stack, why a separate chapter for wireless and mobile networks?

Computer Networks. Wireless and Mobile Networks. László Böszörményi Computer Networks Mobile - 1

Wireless and Mobile Networks

Lecture 15 Wireless and Mobility

MULTIPLE ACCESS PROTOCOLS 2. 1

Wireless and WiFi. Daniel Zappala. CS 460 Computer Networking Brigham Young University

Chapter 7. Wireless and Mobile Networks. Computer Networking: A Top Down Approach

Chapter 6 Wireless and Mobile Networks

(Wireless) Internet Routing. Review of Wireless Networking (with Routing in Mind)

Chapter 6 Wireless and Mobile Networks

Chapter 6 Wireless and Mobile Networks (Wireless and Mobility)

Wireless and Mobile Networks

Chapter 7. Wireless and Mobile Networks 7-1

Chapter 6 Wireless and Mobile Networks

CSC 498R: Internet of Things 2

IEEE WLANs (WiFi) Part II/III System Overview and MAC Layer

CSCD 433 Network Programming Fall Lecture 7 Ethernet and Wireless

Chapter 3: Wireless and Mobile Networks

3/20/2012. Data Communications & Networks. Session 5 Main Theme. 2 Wireless and Mobile Networks. Dr. Jean-Claude Franchitti

Wireless and Mobile Networks Reading: Sections 2.8 and 4.2.5

Mohammad Hossein Manshaei 1393

Data Communications. Data Link Layer Protocols Wireless LANs

Announcements: ECE/CS 372 introduction to computer networks. Assignment 4 due now. Chapter 7

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Chapter 6 Medium Access Control Protocols and Local Area Networks

Functions of physical layer:

Multiple Access Links and Protocols

Lecture 16: QoS and "

Data and Computer Communications. Chapter 13 Wireless LANs

Wireless Security Background

04/11/2011. Wireless LANs. CSE 3213 Fall November Overview

Wireless Local Area Networks (WLANs)) and Wireless Sensor Networks (WSNs) Computer Networks: Wireless Networks 1

Last time?! MPLS! Label distribution protocols! Multi Protocol Label Switching! Layer 2.5 protocol! LDP! RSVP!

Wireless Local Area Networks. Networks: Wireless LANs 1

Wireless LANs. ITS 413 Internet Technologies and Applications

Mobile & Wireless Networking. Lecture 7: Wireless LAN

MSIT 413: Wireless Technologies Week 8

Wireless Local Area Networks (WLANs) and Wireless Sensor Networks (WSNs) Primer. Computer Networks: Wireless LANs

MAC in /20/06

Communication Networks: Wireless and Mobile Communication Networks. Prof. Amir Herzberg BIU, Dept. of CS

Chapter 5 Link Layer and LANs

Block 3: Lecture 1! Part 3: Lecture 1! Wireless networks!

Computer Communication III

Wireless Challenges : Computer Networking. Overview. Routing to Mobile Nodes. Lecture 25: Wireless Networking

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. Fall 2018 CMSC417 Set 1 1

Announcements: Assignment 4 due now Lab 4 due next Tuesday Assignment 5 posted, due next Thursday

Announcements: ECE/CS 372 introduction to computer networks. Assign 4 is due this Thursday Lab 4 is due next Tuesday Assignment 5 posted soon

Wireless Communication and Networking CMPT 371

Mobile Communications Chapter 7: Wireless LANs

Chapter 7. Wireless and Mobile Networks. Computer Networking: A Top Down Approach

CS118 Discussion 1A, Week 9. Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m.

ICE 1332/0715 Mobile Computing (Summer, 2008)

3.1. Introduction to WLAN IEEE

Advanced Computer Networks WLAN

Chapter 6 Wireless and Mobile Networks. Csci 4211 David H.C. Du

Computer Networks. Wireless LANs

Wireless Communication and Networking CMPT 371

CMPE 257: Wireless and Mobile Networking

Transcription:

Mobile devices for wireless Wireless sensors Limited proc. power Small battery Laptop functionally eq. to desktop standard applications TDTS04/09 Föreläsning 0/6: WLAN och TCP i trådlösa nät RFID tag A few thousands of logical gates Responds only to the RFID reader requests (no battery) Pager receive only tiny displays simple text messages Mobile phones voice, data simple text displays PDA simple graphical displays character recognition simplified WWW performance Slides are modified from J.F Kurose and K.W. Ross 6-6-2 Wireless systems: development over last 25 years What is missing? 98: NMT 450 986: NMT 900 cellular phones 992: GSM analogue digital 994: DCS 800 99: CDMA 2000: GPRS 983: AMPS 99: D-AMPS 993: PDC 200: UMTS/IMT-2000 CDMA-2000 (USA) 4G fourth generation - and IEEE 802.n; WiMax... satellites 982: Inmarsat-A 988: Inmarsat-C 992: Inmarsat-B Inmarsat-M 998: Iridium cordless phones 980: CT0 984: CT 987: CT+ 989: CT 2 2007: Fourth Generation (Internet based) wireless LAN 99: DECT 99x: proprietary 997: IEEE 802. 999: 802.b; Bluetooth 2000: IEEE 802.a Communication Frequency Spectrum Electromagnetic spectrum and applications (Tanenbaum 2003) NMT: Nordic Mobile Telephone AMPS: Advanced Mobile Phone System (USA) CT: Cordless Telephone UMTS: Universal Mobile Telecom. System DECT: Digital Enhanced Cordless Telecom. DCS: Digital Cellular System PDC: Pacific Digital Cellular PAN: Personal Area Network 6-3

Elements of a wireless network Elements of a wireless network network wireless hosts laptop, PDA, IP phone run applications may be stationary (non-mobile) or mobile wireless does not always mean mobility network base station typically connected to wired network relay - responsible for sending packets between wired network and wireless host(s) in its area e.g., cell towers, 802. access points 6-5 6-6 Elements of a wireless network network wireless link typically used to connect mobile(s) to base station also used as backbone link multiple access protocol coordinates link access various data rates, transmission distance Data rate (Mbps) Characteristics of selected wireless link standards 200 802.n 54 5-4.384.056 802.5 802.a,g 802.b 802.a,g point-to-point IS-95, CDMA, GSM 802.6 (WiMAX) UMTS/WCDMA-HSPDA, CDMA2000-xEVDO UMTS/WCDMA, CDMA2000 data 3G cellular enhanced 3G 2G Indoor 0-30m Outdoor 50-200m Mid-range outdoor 200m 4 Km Long-range outdoor 5Km 20 Km 6-7 6-8 2

Elements of a wireless network Elements of a wireless network network mode base station connects mobiles into wired network handoff: mobile changes base station providing connection into wired network ad hoc mode no base stations nodes can only transmit to other nodes within link coverage nodes organize themselves into a network: route among themselves 6-9 6-0 Wireless network taxonomy Wireless Link Characteristics () single hop multiple hops Differences from wired link. (e.g., APs) no host connects to base station (WiFi, WiMAX, cellular) which connects to larger Internet no base station, no connection to larger Internet (Bluetooth, ad hoc nets) host may have to relay through several wireless nodes to connect to larger Internet: mesh net no base station, no connection to larger Internet. May have to relay to reach other a given wireless node MANET, VANET decreased signal strength: radio signal attenuates as it propagates through matter (path loss) interference from other sources: standardized wireless network frequencies (e.g., 2.4 GHz) shared by other devices (e.g., phone); devices (motors) interfere as well multipath propagation: radio signal reflects off objects ground, arriving ad destination at slightly different times. make communication across (even a point to point) wireless link much more difficult 6-6-2 3

Wireless Link Characteristics (2) SNR: signal-to-noise ratio larger SNR easier to extract signal from noise (a good thing ) SNR versus BER tradeoffs given physical layer: increase power -> increase SNR->decrease BER given SNR: choose physical layer that meets BER requirement, giving highest throughput SNR may change with mobility: dynamically adapt physical layer (modulation technique, rate) BER 0-0 -2 0-3 0-4 0-5 0-6 0-7 0 20 30 40 SNR(dB) QAM256 (8 Mbps) QAM6 (4 Mbps) BPSK ( Mbps) 6-3 Wireless network characteristics Multiple wireless senders and receivers create additional problems (beyond multiple access): A Hidden terminal problem B, A hear each other B, C hear each other A, C can not hear each other means A, C unaware of their interference at B C B A B C A s signal strength space C s signal strength Signal attenuation: B, A hear each other B, C hear each other A, C can not hear each other interfering at B 6-4 Stallings (2005), Wireless communications & Networks. 2nd Ed. Prentice Hall. IEEE 802. Standards 802. Physical Layer: Spread Spectrum 0 0 0 Example, 802.b s DSSS (Direct Sequence Spread Spectrum) for each bit, send XOR of that bit and n random bits random sequence known to both sender and receiver called n-bit chipping code IEEE 802. defines an -bit chipping code. Data stream: 00 Random sequence: 00000000 XOR of the two: 000000 4

IEEE 802. Architecture Station: a device containing 802. equipment Basic Service Set (BSS): set of stations controlled by a coordination function Coordination function: logical function determining when a station can receive and send data in a BSS Distribution System (DS): a system connecting a set of BSS and integrated LANs to create an extended service set (ESS) Extended Service Set: a set of BSS and LANs appearing as a single unit to the LLC layer of the component stations Access point (AP) : entity providing access to the distribution system Figure from Stallings (2005), Wireless communications & Networks. 2nd Ed. Prentice Hall. IEEE 802. Services Figure from Stallings (2005), Wireless communications & Networks. 2nd Ed. Prentice Hall. 802.: Channels, association 802.: passive/active scanning 802.b: 2.4GHz-2.485GHz spectrum divided into channels at different frequencies AP admin chooses frequency for AP interference possible: channel can be same as that chosen by neighboring AP! host: must associate with an AP scans channels, listening for beacon frames containing AP s name (SSID) and MAC selects AP to associate with may perform authentication will typically run DHCP to get IP in AP s subnet AP BBS H BBS 2 2 3 AP 2 Passive Scanning: () beacon frames sent from APs (2) association Request frame sent: H to selected AP (3) association Response frame sent: H to selected AP AP BBS 2 H BBS 2 2 3 4 AP 2 Active Scanning: () Probe Request frame broadcast from H (2) Probes response frame sent from APs (3) Association Request frame sent: H to selected AP (4) Association Response frame sent: H to selected AP 6-9 6-20 5

IEEE 802.: multiple access IEEE 802. MAC Protocol: CSMA/CA avoid collisions: 2 + nodes transmitting at same time 802.: CSMA - sense before transmitting don t collide with ongoing transmission by other node 802.: no collision detection! difficult to receive (sense collisions) when transmitting due to weak received signals (fading) can t sense all collisions in any case: hidden terminal, fading goal: avoid collisions: CSMA/C(ollision)A(voidance) A C B A B C A s signal strength space C s signal strength 6-2 802. sender if sense channel idle for DIFS 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 2 802. receiver - if frame received OK return ACK after SIFS (ACK needed due to hidden terminal problem) DIFS sender data ACK receiver SIFS 6-22 IEEE 802. MAC: Priority-based scheme Use 3 values for IFS (Inter-Frame Space): SIFS (short IFS): shortest IFS used for immediate responses such as ACK, CTS, poll response PIFS (point coordination function IFS): middle length IFS used for issuing polls by a centralized controller DIFS (distributed coordination function IFS): longest IFS used for regular asynchronous frames Avoiding collisions idea: allow sender to reserve channel rather than random access of data frames: avoid collisions of long data frames sender first transmits small request-to-send (RTS) packets to BS using CSMA RTSs may still collide with each other (but they re short) BS broadcasts clear-to-send CTS in response to RTS RTS heard by all nodes sender transmits data frame other stations defer transmissions avoid data frame collisions completely using small reservation packets! Figure from Stallings (2005), Wireless communications & Networks. 2nd Ed. Prentice Hall. 6-24 6

Collision Avoidance: RTS-CTS exchange 802. frame: ing A AP B reservation collision frame control 2 2 6 6 6 2 6 0-232 4 duration 2 3 seq control 4 payload CRC time DATA (A) defer Address : MAC of wireless host or AP to receive this frame Address 2: MAC of wireless host or AP transmitting this frame Address 3: MAC of router interface to which AP is attached Address 4: used only when the DS is wireless 6-25 6-26 802. frame: ing 802. frame: more duration of reserved transmission time (RTS/CTS) frame seq # (for reliable ARQ) H AP R router Internet frame control 2 2 6 6 6 2 6 0-232 4 duration 2 3 seq control 4 payload CRC R MAC addr AP MAC addr dest. source 802.3 frame AP MAC addr H MAC addr R MAC addr 2 3 802. frame Protocol version 2 2 4 Type Subtype To AP From AP frame type (RTS, CTS, ACK, data) More frag Power Retry mgt More data WEP Rsvd 6-27 6-28 7

IEEE 802. MAC Frame Types Six types of control frames Power save - poll (PS-poll) Request to send (RTS) Clear to send (CTS) Acknowledgment (ACK) Contention-free (CF)-end CF-end + CF-Ack Management frames association request and association response reassociation request and reassociation response probe request and probe response beacon announcement traffic indication message disassociation Eight types of data frames Carry user data Data Data + CF-Ack Data + CF-poll Data + CF-Ack + CF-poll Do not carry user data Null Function CF-Ack CF-Poll CF-Ack + CF-Poll 802.: mobility within same IP subnet Organizations extend WLAN with multiple BSSs H remains in same IP subnet: IP can remain same Problem w/switch: which AP is associated with H? authentication and deauthentication 6-30 BBS AP router hub or switch AP 2 H BBS 2 802.: advanced capabilities 802.: advanced capabilities Rate Adaptation base station, mobile dynamically change transmission rate (physical layer modulation technique) as mobile moves, SNR varies QAM256 (8 Mbps) QAM6 (4 Mbps) BPSK ( Mbps) operating point BER 0-0 -2 0-3 0-4 0-5 0-6 0-7 0 20 30 40 SNR(dB). SNR decreases, BER increase as node moves away from base station 2. When BER becomes too high, switch to lower transmission rate but with lower BER Power Management node-to-ap: I am going to sleep until next beacon frame AP knows not to transmit frames to this node node wakes up before next beacon frame beacon frame: contains list of mobiles with APto-mobile frames waiting to be sent node will stay awake if AP-to-mobile frames to be sent; otherwise sleep again until next beacon frame 6-3 6-32 8

What is mobility? spectrum of mobility, from the network perspective: no mobility mobile wireless user, using same access point mobile user, connecting/ disconnecting from network using DHCP. high mobility mobile user, passing through multiple access point while maintaining ongoing connections (like cell phone) Wireless, mobility: impact on higher layer protocols logically, impact should be minimal best effort service model remains unchanged TCP and UDP can (and do) run over wireless, mobile but performance-wise: packet loss/delay due to bit-errors (discarded packets, delays for link-layer retransmissions), and handoff TCP interprets loss as congestion, will decrease congestion window un-necessarily delay impairments for real-time traffic limited bandwidth of wireless links 6-33 6-34 TCP i trådlösa nät Snooping TCP a) Från fast nät till mobil station indirect (split) TCP snooping TCP TCP i radionät: trådlös profil 9

Snooping TCP, forts. b) Från mobil station till fast nät TCP:s trådlösa profil stora fönsterstorlekar (fönsterskalning) stor MTU selektiva ACKar explicit stockningsmeddelande (ECN) tidsstämpel TCP: Fönsterskalning Källa: Halsall (2005), Computer networking and the Internet. 5th Ed. Addison-Wesley. 0