n Introduction to Wireless Networking People Examiner, lecturer, and lab assistant n n TDDD36 – mobile systems n Lab assistants n Director of studies Linkoping, Sweden, fall 2011 n Niklas Carlsson Email: niklas.carlsson@liu.se Office: 2B:478 Niklas Carlsson Research area: Design, modeling, and performance evaluation of distributed systems and networks n Farrokh Ghani Zadegan, PhD student Lena Strömbäck Slides in this course are adapted or based on various on-line resources (including lectures notes by Juha Takkinen, Anirban Mahanti, Carey Williamson, Jim Kurose, and Keith Ross) 1-2 Course Overview n n n n My expectations Written exam n Grads: ‘fail’, 3, 4, 5. One (1) optional assignment n Wireshark + (short) mobile Web trace n 2 x 2hours (Sept 20 & 30, I think) Five (5) lectures See website for more information ... n n n Read textbook n 2.5 textbooks (one main book) n Lots of content n Not time to cover everything during lectures Work hard n Pay attention during lectures n Read after class n Make sure you understand all the material Follow deadlines and office hours 1-3 What is Wireless Networking? What to expect? (What will be covered?) n n n Design principles for mobile systems n Conceptual view Design, resource, and performance tradeoffs in the mobile systems n General working knowledge of protocols and applications n Detailed knowledge of selected protocols and applications n Some practical hands on experience Glimpse into the future of the Internet n 1-4 n n The use of infra-red (IR) or radio frequency (RF) signals to share information and resources between devices Promises anytime, anywhere connectivity n n Laptops, palmtops, PDAs, Internet-enabled phone promise anytime untethered Internet access No wires! Emerging trends and technologies 1-5 6 1 What is Wireless Networking? n n n n What is Wireless Networking? The use of infra-red (IR) or radio frequency (RF) signals to share information and resources between devices Promises anytime, anywhere connectivity n n Laptops, palmtops, PDAs, Internet-enabled phone promise anytime untethered Internet access The use of infra-red (IR) or radio frequency (RF) signals to share information and resources between devices Promises anytime, anywhere connectivity n No wires! Laptops, palmtops, PDAs, Internet-enabled phone promise anytime untethered Internet access n No wires! n Lots of media buzzwords! n n Mobile Internet, Pervasive Computing, Nomadic Computing, M-Commerce, Ubiquitous Computing … … and acronyms; e.g., CSMA, WiFi, 802.11, … 7 Wireless Networking Technologies n n n n Two important (but different!) challenges Mobile devices – laptop, PDA, cellular phone, wearable computer, sensors, … Operating modes n 8 Infrastructure mode (Access Point (AP)) Ad hoc mode n Communication over wireless link n Handling mobile user who changes point of attachment to network Access technology n n Bluetooth (1 Mbps, up to 3m) IEEE 802.11 (up to 54 Mbps, 20 – 100m) 9 Two important (but different!) challenges 10 Two important (but different!) challenges n Communication over wireless link n Communication over wireless link n Handling mobile user who changes point of attachment to network n Handling mobile user who changes point of attachment to network 11 12 2 Wireless Link Characteristics Two important (but different!) challenges Differences from wired link …. Communication over wireless link n Decreasing 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 Multi-path propagation: radio signal reflects off objects ground, arriving at destination at slightly different times n n Handling mobile user who changes point of attachment to network n n ** In this course we will look at unique challenges and opportunities in wireless communication, including the two above. …. make communication across (even a point to point) wireless link much more “difficult” n Higher error rates; lower bandwidths; non-uniform transmission characteristics; increased usage costs; and increased susceptibility to interference and eavesdropping 13 Wireless Network Characteristics Wireless Link Characteristics n SNR: signal-to-noise ratio n larger SNR – easier to extract signal from noise (a “good thing”) SNR versus BER tradeoffs n given physical layer: increase n power -> increase SNR ->decrease BER given SNR: choose physical layer that meets BER requirement, giving highest throughput n Multiple wireless senders and receivers create additional problems (beyond multiple access): 10-1 10-2 C 10-4 10-5 A 10-6 10-7 SNR may change with mobility: dynamically adapt physical layer (modulation technique, rate) 10 20 30 40 SNR(dB) B Hidden terminal problem C C’s signal strength A’s signal strength space ❒ A and B can hear each other Signal fading: ❒ B and C can hear each other QAM256 (8 Mbps) ❒ A and B hear each other ❒ A and C can’t hear each other ❒ B and C hear each other QAM16 (4 Mbps) ❒ thus A and C are unaware of ❒ A and C can’t hear each other their interference at B BPSK (1 Mbps) 15 Infrastructure Mode network infrastructure B A 10-3 BER n 14 interfering at B 16 Ad hoc Mode Infrastructure 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 17 18 3