Saving Power with Wi-Fi: How to prolong your battery life and still stay connected Vitaly Wool Senior Consultant, SonyEricsson Mobile Communications.

Slides:



Advertisements
Similar presentations
SEMINAR ON Wi-Fi.
Advertisements

Application Guide For Mesh AP – MAP-3120
Wi-Fi Technology.
By Abdullah Al-Dossary Ahmad Al-Suhaibani
20 – Collision Avoidance, : Wireless and Mobile Networks6-1.
5-1 Data Link Layer r Today, we will study the data link layer… r This is the last layer in the network protocol stack we will study in this class…
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Wireless Networking WAN Design Module-06
5-1 Data Link Layer r What is Data Link Layer? r Wireless Networks m Wi-Fi (Wireless LAN) r Comparison with Ethernet.
1 © 2004, Cisco Systems, Inc. All rights reserved. Wireless Access Points (WAPs) or (APs)
By: Matthew Follett. Introduction  A Wireless local area network (WLAN) links two or more devices using some wireless distribution method and usually.
EXPLOITING VOIP SILENCE FOR WIFI ENERGY SAVINGS IN SMART PHONES Andrew J. Pyles 1, Zhen Ren 1, Gang Zhou 1, Xue Liu 2 1 College of William and Mary, 2.
CS 423 – Operating Systems Design Lecture 22 – Power Management Klara Nahrstedt and Raoul Rivas Spring 2013 CS Spring 2013.
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.
CECS 5460 – Assignment 3 Stacey VanderHeiden Güney.
Adapted from: Computer Networking, Kurose/Ross 1DT066 Distributed Information Systems Chapter 6 Wireless, WiFi and mobility.
Network Components 101 Travis Hill.
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.
IEEE Wireless LAN Part II Access Point, Power Management, Polling, and Frame Format 14-1.
Maintaining Performance while Saving Energy on Wireless LANs Ronny Krashinsky Term Project
Wireless Communication Methods
The University of Bolton School of Business & Creative Technologies Wireless Networks Introduction 1.
MAHARANA PRATAP COLLEGE OF TECHNOLOGY, GWALIOR
Wireless Access avoid collisions: 2 + nodes transmitting at same time CSMA - sense before transmitting –don’t collide with ongoing transmission by other.
PRESENTATION ON WI-FI TECHNOLOGY
Wi-Fi Technology. Agenda Introduction Introduction History History Wi-Fi Technologies Wi-Fi Technologies Wi-Fi Network Elements Wi-Fi Network Elements.
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.
Zero - G CONNECTING THE INTERNET OF THINGS. Introduction to Zero -G.
WIRELESS COMMUNICATION Husnain Sherazi Lecture 1.
NETWORK COMPONENTS BY REYNALDO ZAMORA. HUB Hubs are devices that serve as the central connection for a network. Its job is to send data from one computer.
Wi-Fi Technology PRESENTED BY:- PRIYA AGRAWAL.
IEEE Wireless LAN Standard
IEEE Wireless LAN. Wireless LANs: Characteristics Types –Infrastructure based –Ad-hoc Advantages –Flexible deployment –Minimal wiring difficulties.
IEEE : High-rate WPAN Overview
Assignment 3 Jacob Seiz. Hub A hub provides a central access point for a network. Through multiple I/O ports a hub can connect multiple Ethernet devices.
WIRELESS GATEWAY SHAHIDRUL BIN MAT RASHID 3 TSK 2 MAAM SITI HAJAR BINTI ZAINAL RASHID WIRELESS NETWORK SECURITY.
Wi-Fi Technology.
After Construction Name: Per #:.
Unit Communication Hardware
Windows Forms for mobile development
Nara, Japan, June 27th -June 30th, 2016
Multiple Access Methods
Chapter Objectives In this chapter, you will learn:
Instructor Materials Chapter 6 Building a Home Network
Intro to MIS – MGS351 Network Basics
Overall MAC Procedure for WUR
Chapter 6 Wireless and Mobile Networks
SUBMITTED BY DINEEJ A 28 S3 EC
WUR-based Broadcast Reference Signal
Wireless Fidelity 1 1.
Wireless Local Area Network (WLAN)
On AP Power Saving Usage Model
Three types of wireless technology
How To Set Up A Wireless Network
Instructor: Mr. Malik Zaib
Group 2: Qiuxi Zhu, Buchao Yu, Guoxi Wang
CS 457 – Lecture 7 Wireless Networks
Wireless ATM PRESENTED BY : NIPURBA KONAR.
Topic 5: Communication and the Internet
Wireless LAN Security 4.3 Wireless LAN Security.
Bluetooth Based Smart Sensor Network
Computer communications
AP re-discovery by WUR STA
Wireless Embedded Systems
Embedded XINU and WRT54GL
E-MiLi: Energy-Minimizing Idle Listening in Wireless Networks
Multiple Access Methods
Networking 101.
On AP Power Saving Usage Model
Mobile Computing Lecture Materials By Bintang Eka Putera.
Presentation transcript:

Saving Power with Wi-Fi: How to prolong your battery life and still stay connected Vitaly Wool Senior Consultant, SonyEricsson Mobile Communications

WiFi and power saving What WiFi is WiFi in embedded devices WiFi power saving overview WiFi software architecture Hands-on Android WiFi powersave

WiFi: Wireless LAN What it does links two or more devices using some wireless distribution method provides a connection to Internet gives users the mobility to move around within a local coverage area and still be connected to the network Standards – a huge family of standards

WiFi: Wireless LAN Roles Ad-hoc Used in gaming devices, now obsolete Station “normal” operating mode Access Point (AP) Used to connect stations to wired networks Less of an interest for embedded devices Wi-Fi Direct (P2P) Peer-to-peer

WiFi: Wireless LAN Frequency ranges 2.4 GHz (802.11bgn), 5 GHz (802.11an) Channels Speed Varies from 1 to 600 Mbit/s Operation range ≈30 m indoors, ≈100 m outdoors Power consumption High, as the speed is high and the range is long

WiFi: Wireless LAN Why so popular is basically “Ethernet over the air” Common hardware Standard TCP/IP stack All LAN services work Wi-Fi for embedded Provides internet connectivity without cables Big power consumer Battery life is therefore a big concern

WiFi: Wireless LAN Wi-Fi station operation modes Tx/Rx Both transmit and receive frames Rx Only receive frames, transmitter may be off Listen Receiver operating on low frequency PS Most of the time off, only wakes up to check for data

WiFi and power saving What WiFi is WiFi in embedded devices WiFi power saving overview WiFi software architecture Hands-on Android WiFi powersave

WiFi in embedded devices Mainly Tablet devices Mobile phones / smartphones But not only Digital Home TV sets and STBs May even be deployed in a fridge :-)

WiFi in embedded devices Internet connection Wi-Fi is either the only way to or is a preferable alternative to 3G User's view We want to stay connected when we don't use the phone Receive s, Skype calls etc. We don't want to switch to 3G Additional costs involved Bah, we want the battery life to still be long

WiFi and power saving What WiFi is WiFi in embedded devices WiFi power saving overview WiFi software architecture Hands-on Android WiFi powersave

WiFi power figures WiFi is very power consuming Up to 80% overall for embedded device Power saving is crucial for longer battery life power save NB! Real operation over time is always a combination of these modes

WiFi Power save objectives Can't be saving when transmitting data Waiting to receive data most of the time Power saving in this state is crucial The main consumer is WiFi radio Switching it off is the best power saving option But how will it receive packets then?!

Power Save Stations connected to an AP Must notify it before switching the radio off Must wake up at the same time to check for data Receive DTIM from the AP If there's data for station in PS mode Either poll the packets one by one...or move back to radio on and notify the AP Synchronization is the key AP and station should be in very good sync for the latter to receive beacons

WiFi keep-alive Station should send the AP Null packets once in a while AP knows we're alive May help synchronizing Worst case we'll get the disassociation On disassociation Re-establish the connection to the AP May not be possible without waking up the host

WiFi and power saving What WiFi is WiFi in embedded devices WiFi power saving overview WiFi software architecture Hands-on Android WiFi powersave

WiFi software architecture “Soft MAC” MLME implemented in the driver “Thick MAC” MLME implemented in the firmware Hybrid models Basically Soft MAC with some functionality moved to the firmware How do those models differ when it comes to power saving?

WiFi chip and host Driver runs on host CPU and firmware runs on WiFi chip processor WiFi chip has to wake up host CPU when the firmware can't handle things autonomously e. g. to poll for a data packet Or to handle disassociation Wake-ups may be very frequent NetBIOS SharePort Other perversions

Linux kernel WiFi support cfg80211: Configuration API Uses nl80211 Suitable both for SoftMAC and ThickMAC Mac80211 Implements cfg80211 interface Allows for the driver to be thin Only provides hardware backend

Android WiFi architecture Looks neat but... wpa_supplicant uses obsolete interface to the kernel (wext) Not much control of PM from the framework No Runtime PM support in the userspace Driver has to do a tough job FRAMEWORK WifiManager WifiMonitorWifiService JNI HAL wpa_supplicant KERNEL

Android WiFi powersaving ”WiFi sleep policy” Never When screen goes blank Why would we need that? There was no Runtime PM in Android historically The kernel driver used was obsolete So it was a mitigation for host wakeups from WiFi That's all folks! ©

Android WiFi powersaving Setting to “when screen turns off” is evil Saving the power at a cost of connectivity loss Setting to “Never” may not solve all the problems Keeping the connection is much more complicated Android framework is not that good at controlling the Wi-Fi power We'll try to get more of it in the driver :-(

WiFi and power saving What WiFi is WiFi in embedded devices WiFi power saving overview WiFi software architecture in Android Hands-on Android WiFi powersave Keeping the connection Minimizing power consumption

Keeping the connection The AP should know we're still here Send Null frames once in a while to keep the connection alive Reconnect on disconnection Detect and handle More complicated for SoftMAC drivers Happens in WifiStateTracker May be interrupted by PowerManager

Conserving power Limit the amount of host wake-ups from Wi-Fi Filter ARP in the firmware Filter out uPnP Filter out things like SharePort Do not switch on the radio on each beacon Do it on each N-th DTIM Do not wake up the host unless really necessary e. g. if there is data pending

Result varies on the AP WiFi input to power consumption can be really huge Very dependent on the AP used

Why so sad? Bogus wakeups Cranky traffic from APs Disassociations Ignoring DTIMs increase this unfortunate chance Especially in “noisy” environments Buggy AP software cause frequent disassociations Android architecture Runtime PM unaware Disassociation is handled in WifiStateTracker Too far above, wakes up everything

WiFi power saving: moving forward Improvements Better power saving in the chip Delegate more to the firmware Yes, even for Soft MAC Runtime PM Better integration with Android More control from the framework Set power states, Tx Power etc. Use newer wpa_supplicant and nl80211 interface

Q&A?

Thanks for your attention!