Presentation is loading. Please wait.

Presentation is loading. Please wait.

6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach 4 th edition. Jim Kurose, Keith Ross.

Similar presentations


Presentation on theme: "6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach 4 th edition. Jim Kurose, Keith Ross."— Presentation transcript:

1 6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach 4 th edition. Jim Kurose, Keith Ross Addison-Wesley, July 2007.

2 6: Wireless and Mobile Networks6-2 Chapter 6: Wireless and Mobile Networks Background: r # wireless (mobile) phone subscribers now exceeds # wired phone subscribers! r computer nets: laptops, palmtops, PDAs, Internet-enabled phone promise anytime untethered Internet access r two important (but different) challenges m wireless: communication over wireless link m mobility: handling the mobile user who changes point of attachment to network

3 6: Wireless and Mobile Networks6-3 Chapter 6 outline 6.1 Introduction Wireless r 6.2 Wireless links, characteristics m CDMA r 6.3 IEEE 802.11 wireless LANs (“wi-fi”) r 6.4 Cellular Internet Access m architecture m standards (e.g., GSM) Mobility r 6.5 Principles: addressing and routing to mobile users r 6.6 Mobile IP r 6.7 Handling mobility in cellular networks r 6.8 Mobility and higher- layer protocols 6.9 Summary

4 6: Wireless and Mobile Networks6-4 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may be stationary (non-mobile) or mobile m wireless does not always mean mobility

5 6: Wireless and Mobile Networks6-5 Elements of a wireless network network infrastructure base station r typically connected to wired network r relay - responsible for sending packets between wired network and wireless host(s) in its “area” m e.g., cell towers, 802.11 access points

6 6: Wireless and Mobile Networks6-6 Elements of a wireless network network infrastructure wireless link r typically used to connect mobile(s) to base station r also used as backbone link r multiple access protocol coordinates link access r various data rates, transmission distance

7 6: Wireless and Mobile Networks6-7 Characteristics of selected wireless link standards Indoor 10-30m Outdoor 50-200m Mid-range outdoor 200m – 4 Km Long-range outdoor 5Km – 20 Km.056.384 1 4 5-11 54 IS-95, CDMA, GSM 2G UMTS/WCDMA, CDMA2000 3G 802.15 802.11b 802.11a,g UMTS/WCDMA-HSPDA, CDMA2000-1xEVDO 3G cellular enhanced 802.16 (WiMAX) 802.11a,g point-to-point 200 802.11n Data rate (Mbps) data

8 6: Wireless and Mobile Networks6-8 Elements of a wireless network network infrastructure infrastructure mode r base station connects mobiles into wired network r handoff: mobile changes base station providing connection into wired network

9 6: Wireless and Mobile Networks6-9 Elements of a wireless network ad hoc mode r no base stations r nodes can only transmit to other nodes within link coverage r nodes organize themselves into a network: route among themselves

10 6: Wireless and Mobile Networks6-10 Wireless network taxonomy single hop multiple hops infrastructure (e.g., APs) no infrastructure 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

11 6: Wireless and Mobile Networks6-11 Wireless Link Characteristics (1) Differences from wired link …. m decreased signal strength: radio signal attenuates as it propagates through matter (path loss) m 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 m 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”

12 6: Wireless and Mobile Networks6-12 Wireless Link Characteristics (2) r SNR: signal-to-noise ratio m larger SNR – easier to extract signal from noise (a “good thing”) r SNR versus BER tradeoffs m given physical layer: increase power -> increase SNR->decrease BER m given SNR: choose physical layer that meets BER requirement, giving highest thruput SNR may change with mobility: dynamically adapt physical layer (modulation technique, rate) 10 20 30 40 QAM256 (8 Mbps) QAM16 (4 Mbps) BPSK (1 Mbps) SNR(dB) BER 10 -1 10 -2 10 -3 10 -5 10 -6 10 -7 10 -4

13 6: Wireless and Mobile Networks6-13 Wireless network characteristics Multiple wireless senders and receivers create additional problems (beyond multiple access): A B C Hidden terminal problem r B, A hear each other r B, C hear each other r A, C can not hear each other means A, C unaware of their interference at B A B C A’s signal strength space C’s signal strength Signal attenuation: r B, A hear each other r B, C hear each other r A, C can not hear each other interfering at B

14 6: Wireless and Mobile Networks6-14 Code Division Multiple Access (CDMA) r used in several wireless broadcast channels (cellular, satellite, etc) standards r unique “code” assigned to each user; i.e., code set partitioning r all users share same frequency, but each user has own “chipping” sequence (i.e., code) to encode data r encoded signal = (original data) X (chipping sequence) r decoding: inner-product of encoded signal and chipping sequence r allows multiple users to “coexist” and transmit simultaneously with minimal interference (if codes are “orthogonal”)

15 6: Wireless and Mobile Networks6-15 CDMA Encode/Decode slot 1 slot 0 d 1 = -1 111 1 1 - 1 - 1 -1 - Z i,m = d i. c m d 0 = 1 111 1 1 - 1 - 1 - 1 - 111 1 1 - 1 - 1 -1 - 111 1 1 - 1 - 1 -1 - slot 0 channel output slot 1 channel output channel output Z i,m sender code data bits slot 1 slot 0 d 1 = -1 d 0 = 1 111 1 1 - 1 - 1 -1 - 111 1 1 - 1 - 1 - 1 - 111 1 1 - 1 - 1 -1 - 111 1 1 - 1 - 1 -1 - slot 0 channel output slot 1 channel output receiver code received input D i =  Z i,m. c m m=1 M M

16 6: Wireless and Mobile Networks6-16 CDMA: two-sender interference

17 6: Wireless and Mobile Networks6-17 Example: chip sequence

18 6: Wireless and Mobile Networks6-18 Data representation

19 6: Wireless and Mobile Networks6-19 Sharing channel

20 6: Wireless and Mobile Networks6-20 Digital signals created by 4 stations

21 6: Wireless and Mobile Networks6-21 Decoding r How to extract the data from station 2? Data on the shared channel: [-1, -1, -3, +1] Chip sequence at station 2: [+1, -1, +1, -1] Inner product: (-1)x(+1) + (-1)x(-1) + (-3)x(+1) + (+1)x(-1) = -4 Divide by number of stations: (-4)/4=-1 → data bit 0

22 6: Wireless and Mobile Networks6-22 Chapter 6 outline 6.1 Introduction Wireless r 6.2 Wireless links, characteristics m CDMA r 6.3 IEEE 802.11 wireless LANs (“wi-fi”) r 6.4 cellular Internet access m architecture m standards (e.g., GSM) Mobility r 6.5 Principles: addressing and routing to mobile users r 6.6 Mobile IP r 6.7 Handling mobility in cellular networks r 6.8 Mobility and higher- layer protocols 6.9 Summary

23 6: Wireless and Mobile Networks6-23 IEEE 802.11 Wireless LAN r 802.11b m 2.4-5 GHz unlicensed spectrum m up to 11 Mbps m direct sequence spread spectrum (DSSS) in physical layer all hosts use same chipping code r 802.11a m 5-6 GHz range m up to 54 Mbps r 802.11g m 2.4-5 GHz range m up to 54 Mbps r 802.11n: multiple antennae m 2.4-5 GHz range m up to 200 Mbps r all use CSMA/CA for multiple access r all have base-station and ad-hoc network versions

24 6: Wireless and Mobile Networks6-24 802.11 LAN architecture r wireless host communicates with base station m base station = access point (AP) r Basic Service Set (BSS) (aka “cell”) in infrastructure mode contains: m wireless hosts m access point (AP): base station m ad hoc mode: hosts only BSS 1 BSS 2 Internet hub, switch or router AP

25 6: Wireless and Mobile Networks6-25 802.11: Channels, association r 802.11b: 2.4GHz-2.485GHz spectrum divided into 11 channels at different frequencies m AP admin chooses frequency for AP m interference possible: channel can be same as that chosen by neighboring AP! r host: must associate with an AP m scans channels, listening for beacon frames containing AP’s name (SSID) and MAC address m selects AP to associate with m may perform authentication [Chapter 8] m will typically run DHCP to get IP address in AP’s subnet

26 6: Wireless and Mobile Networks6-26 802.11: passive/active scanning AP 2 AP 1 H1 BBS 2 BBS 1 1 2 2 3 4 Active Scanning : (1)Probe Request frame broadcast from H1 (2)Probes response frame sent from APs (3)Association Request frame sent: H1 to selected AP (4)Association Response frame sent: H1 to selected AP AP 2 AP 1 H1 BBS 2 BBS 1 1 2 3 1 Passive Scanning: (1)beacon frames sent from APs (2)association Request frame sent: H1 to selected AP (3)association Response frame sent: H1 to selected AP

27 6: Wireless and Mobile Networks6-27 IEEE 802.11: multiple access r avoid collisions: 2 + nodes transmitting at same time r 802.11: CSMA - sense before transmitting m don’t collide with ongoing transmission by other node r 802.11: no collision detection! m difficult to receive (sense collisions) when transmitting due to weak received signals (fading) m can’t sense all collisions in any case: hidden terminal, fading m goal: avoid collisions: CSMA/C(ollision)A(voidance) A B C A B C A’s signal strength space C’s signal strength

28 6: Wireless and Mobile Networks6-28 IEEE 802.11 MAC Protocol: CSMA/CA 802.11 sender 1 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.11 receiver - if frame received OK return ACK after SIFS (ACK needed due to hidden terminal problem) sender receiver DIFS data SIFS ACK

29 6: Wireless and Mobile Networks6-29 Avoiding collisions (more) idea: allow sender to “reserve” channel rather than random access of data frames: avoid collisions of long data frames r sender first transmits small request-to-send (RTS) packets to BS using CSMA m RTSs may still collide with each other (but they’re short) r BS broadcasts clear-to-send CTS in response to RTS r CTS heard by all nodes m sender transmits data frame m other stations defer transmissions avoid data frame collisions completely using small reservation packets!

30 6: Wireless and Mobile Networks6-30 Collision Avoidance: RTS-CTS exchange AP A B time RTS(A) RTS(B) RTS(A) CTS(A) DATA (A) ACK(A) reservation collision defer

31 6: Wireless and Mobile Networks6-31 Chapter 6 outline 6.1 Introduction Wireless r 6.2 Wireless links, characteristics m CDMA r 6.3 IEEE 802.11 wireless LANs (“wi-fi”) r 6.4 Cellular Internet Access m architecture m standards (e.g., GSM) Mobility r 6.5 Principles: addressing and routing to mobile users r 6.6 Mobile IP r 6.7 Handling mobility in cellular networks r 6.8 Mobility and higher- layer protocols 6.9 Summary

32 6: Wireless and Mobile Networks6-32 Mobile Switching Center Public telephone network, and Internet Mobile Switching Center Components of cellular network architecture  connects cells to wide area net  manages call setup (more later!)  handles mobility (more later!) MSC  covers geographical region  base station (BS) analogous to 802.11 AP  mobile users attach to network through BS  air-interface: physical and link layer protocol between mobile and BS cell wired network

33 6: Wireless and Mobile Networks6-33 Cellular networks: the first hop Two techniques for sharing mobile-to-BS radio spectrum r combined FDMA/TDMA: divide spectrum in frequency channels, divide each channel into time slots r CDMA: code division multiple access frequency bands time slots

34 6: Wireless and Mobile Networks6-34 Cellular standards: brief survey 2G systems: voice channels r IS-136 TDMA: combined FDMA/TDMA (north america) r GSM (global system for mobile communications): combined FDMA/TDMA m most widely deployed r IS-95 CDMA: code division multiple access IS-136 GSM IS-95 GPRS EDGE CDMA-2000 UMTS TDMA/FDMA Don’t drown in a bowl of alphabet soup: use this for reference only

35 6: Wireless and Mobile Networks6-35 Cellular standards: brief survey 2.5 G systems: voice and data channels r for those who can’t wait for 3G service: 2G extensions r general packet radio service (GPRS) m evolved from GSM m data sent on multiple channels (if available) r enhanced data rates for global evolution (EDGE) m also evolved from GSM, using enhanced modulation m data rates up to 384K r CDMA-2000 (phase 1) m data rates up to 144K m evolved from IS-95

36 6: Wireless and Mobile Networks6-36 Cellular standards: brief survey 3G systems: voice/data r Universal Mobile Telecommunications Service (UMTS) m data service: High Speed Uplink/Downlink packet Access (HSDPA/HSUPA): 3 Mbps r CDMA-2000: CDMA in TDMA slots m data service: 1xEvlution Data Optimized (1xEVDO) up to 14 Mbps ….. more (and more interesting) cellular topics due to mobility (stay tuned for details)

37 6: Wireless and Mobile Networks6-37 Components of cellular network architecture correspondent MSC wired public telephone network different cellular networks, operated by different providers recall:

38 6: Wireless and Mobile Networks6-38 Handling mobility in cellular networks r home network: network of cellular provider you subscribe to (e.g., Sprint PCS, Verizon) m home location register (HLR): database in home network containing permanent cell phone #, profile information (services, preferences, billing), information about current location (could be in another network) r visited network: network in which mobile currently resides m visitor location register (VLR): database with entry for each user currently in network m could be home network

39 6: Wireless and Mobile Networks6-39 Public switched telephone network mobile user home Mobile Switching Center HLR home network visited network correspondent Mobile Switching Center VLR GSM: indirect routing to mobile 1 call routed to home network 2 home MSC consults HLR, gets roaming number of mobile in visited network 3 home MSC sets up 2 nd leg of call to MSC in visited network 4 MSC in visited network completes call through base station to mobile

40 6: Wireless and Mobile Networks6-40 Mobile Switching Center VLR old BSS new BSS old routing new routing GSM: handoff with common MSC r Handoff goal: route call via new base station (without interruption) r reasons for handoff: m stronger signal to/from new BSS (continuing connectivity, less battery drain) m load balance: free up channel in current BSS m GSM doesn’t mandate why to perform handoff (policy), only how (mechanism) r handoff initiated by old BSS

41 6: Wireless and Mobile Networks6-41 Mobile Switching Center VLR old BSS 1 3 2 4 5 6 7 8 GSM: handoff with common MSC new BSS 1. old BSS informs MSC of impending handoff, provides list of 1 + new BSSs 2. MSC sets up path (allocates resources) to new BSS 3. new BSS allocates radio channel for use by mobile 4. new BSS signals MSC, old BSS: ready 5. old BSS tells mobile: perform handoff to new BSS 6. mobile, new BSS signal to activate new channel 7. mobile signals via new BSS to MSC: handoff complete. MSC reroutes call 8 MSC-old-BSS resources released

42 6: Wireless and Mobile Networks6-42 home network Home MSC PSTN correspondent MSC anchor MSC MSC (a) before handoff GSM: handoff between MSCs r anchor MSC: first MSC visited during cal m call remains routed through anchor MSC r new MSCs add on to end of MSC chain as mobile moves to new MSC r IS-41 allows optional path minimization step to shorten multi-MSC chain

43 6: Wireless and Mobile Networks6-43 home network Home MSC PSTN correspondent MSC anchor MSC MSC (b) after handoff GSM: handoff between MSCs r anchor MSC: first MSC visited during cal m call remains routed through anchor MSC r new MSCs add on to end of MSC chain as mobile moves to new MSC r IS-41 allows optional path minimization step to shorten multi-MSC chain


Download ppt "6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach 4 th edition. Jim Kurose, Keith Ross."

Similar presentations


Ads by Google