The subject matter described herein relates generally to the field of electronics and more particularly to power management for wireless devices.
Power management schemes are used in conjunction with wireless devices, e.g., to extend the battery lifetime of mobile networking devices. It is becoming increasingly common to find broadband wireless networking capabilities in mobile platform using technologies like IEEE 802.11, 802.16e, etc. In such wireless networks a wireless base station connects at least one wireless device to the network infrastructure. Wireless adaptors in mobile devices have multiple power states, e.g., transmit, receive, idle, sleep and off. In the idle mode, there is no transmit or receive but the transceiver is still on. When there is no data to transmit or receive, the wireless adaptor goes into sleep mode while being still connected to the network. In the sleep mode, the transceiver is turned off for fixed amounts of time that has been pre-negotiated with the base station or access point. During this time, data directed to the mobile device is buffered by the base station. After the sleep duration expires, the transceiver is turned on to check if the base station has buffered any data for the device. The mobile device exits sleep mode if there is buffered data, or if at any time data is to be transmitted to the base station.
In current mobile platforms, there is no notification from the wireless adaptor to the CPU host platform indicating when the adaptor is going into sleep states. This limits the availability of additional power management mechanisms on the host mobile platform.
The detailed description is described with reference to the accompanying figures.
Described herein are exemplary systems and methods for power management for wireless devices. In the following description, numerous specific details are set forth to provide a thorough understanding of various embodiments. However, it will be understood by those skilled in the art that the various embodiments may be practiced without the specific details. In other instances, well-known methods, procedures, components, and circuits have not been illustrated or described in detail so as not to obscure the particular embodiments.
The traffic indication map may also indicate a presence of buffered broadcast or multicast data. The access point transmits a traffic indication map every beacon interval. Every DTIM (Delivery TIM) period (DTIMPeriod), a DTIM is transmitted instead of a TIM. The DTIM period in an access point can also be set to be multiples of BP for power savings. The wireless adaptor operating in a power saving mode listens for beacons periodically based on the listening interval and the media access controller's (MAC) receiveDTIM parameter. In a basic service set (BSS) using the distributed coordination function (DCF), when the adaptor in power saving mode has determined that there is data buffered for it by the access point, it sends a power save poll frame to the access point, which responds with the buffered data. If any station in its BSS is in power saving mode, the access point buffers all broadcast and multicast data and delivers it to all stations immediately following the next DTIM.
Some wireless local area network (WLAN) protocols support as many as five different power saving states, each of which has a different listening interval. For example, a user can select between a protocol that maximizes battery life and a protocol that maximized performance. For example, a protocol that maximizes battery life, uses approximately 10 beacon periods as the listening interval. A beacon period may be approximately 100 milliseconds.
For example, for a wireless network that operates according to an 802.11 standard, if the receiver is being turned on to receive a beacon with a DTIM, a notification is sent to the host platform that the adaptor is going out of sleep state. The notification may be sent sufficiently ahead of time of the DTIM reception such that there is sufficient time for platform components to wake up. If there is buffered broadcast or multicast data, then the notice immediately follows the beacon so the adaptor must inform the platform prior to every DTIM reception regardless of whether it is followed by buffered data or not.
If the receiver is being turned on to receive a beacon with a traffic indication map, then a notification is sent to the host platform that the adaptor is going out of sleep state after the traffic indication map is interpreted and there is data buffered by the access point for the adaptor. There may be additional delay before the host platform can process the notification and prepare itself to receive data, but the delay is acceptable because the access point does not send the data until it receives a PS-POLL message from the wireless networking adaptor. The wireless networking adaptor should send the PS-POLL message after it has received indication from the host that it is ready to receive data.
The wireless networking adaptor then sends a notification to the host platform to inform the platform that the wireless networking adaptor is changing states back to a sleep state according to its internal policies. The sleep notification includes a sleep duration parameter which allows the platform to determine a power management scheme based at least in part on the duration.
If the adaptor has data to transmit to the base station, the adaptor terminates sleep mode. The base station maintains one or more contexts (relating to different power saving class) for each station. Power saving class may be repeatedly activated and deactivated. Activation of a certain power savings class means starting sleep/listening windows sequence associated with this class. There are three types of power savings classes. Type I is for best effort (BE) and non-real-time variable rate (NRT-VR), type II is for unsolicited grant service (UGS) and real-time variable rate (RT-VR), and type III is for management operations and multicast connections. The sleep window may be determined as follows:
Type I: Sleep window=min (2*(Previous sleep window), Final sleep window)
Type II: Sleep window=Initial sleep window
Type III: Sleep window=Final sleep window (inactive after single sleep window)
Parameters for an 802.16e protocol may be as follows:
Minimum sleep interval: 2 frames
Maximum sleep interval: 1024 frames
Maximum listening interval: 64 frames
Minimum frame duration: 2 msec
Maximum frame duration: 20 msec
Based on different applications and usage models, different parameters and power classes may be selected. For example, in a best efforts mode, during idle times, the adaptor may increment its sleep window from minimum to maximum and stay at maximum sleep window. To change state into sleep mode, the wireless networking adaptor sends a MOB_SLP_REQ message to the base station. The MOB_SLP_REQ contains the power saving class, initial sleep window, final sleep window and listening window. The base station responds with a MOB_SLP_RSP message containing the approved parameters. At the listening window, the adaptor will wake up and listen for the MOB_TRF_IND message from the BS, which indicates if the station should stay awake or go back to sleep mode. During listening windows the adaptor is expected to receive all downlink traffic as in the awake state.
Prior to the listening window when the mobile station turns on the transceiver, the wireless networking adaptor sends a notification to the host platform. The notification may be sent sufficiently ahead of time to allow for the platform to be fully functional for data reception. When the mobile station decides to go into sleep mode, a notification is sent to the host platform along with the sleep duration parameter.
When the wireless networking adaptor sends a notification to the platform about going into sleep state either via the bulk IN endpoint or interrupt IN endpoint, the 802.11/802.16e platform determines how to power manage the USB link based on the duration of sleep parameter. At operation 320 it is determined whether the sleep time specified in the sleep mode message exceeds the time consumed by a selective suspend operation. A selective suspend operation on a USB bus takes about 5 milliseconds and resume takes about 30 milliseconds.
If, at operation 320, there is not enough time to implement a selective suspend mode, then control passes to operation 325 and the pending bulk IN buffers are flushed. Control then passes to operation 330 and the host driver monitors for a wake event. For example, wake events may include the expiration of the sleep duration time specified in the sleep mode message transmitted by the wireless adapter, the receipt of a message indicating that the wireless adapter has inbound messages to receive, or that there is data to be transmitted. Upon receipt of a wake event, control passes to operation 350 and one or more bulk IN data buffers are posted for data reception. In addition, one or more bulk OUT data buffers may be posted for data transmission.
By contrast, if at operation 320 there is enough time to implement a selective suspend, then control passes to operation 335 and the device is put into a selective suspend mode. Control then passes to operation 340 and the host driver monitors for a wake event. For example, wake events may include the expiration of the sleep duration time specified in the sleep mode message transmitted by the wireless adapter, the receipt of a message indicating that the wireless adapter has inbound messages to receive, or that there is data to be transmitted. Upon receipt of a wake event, control passes to operation 345 and the adapter is brought out of a selective suspend mode. At operation 350 one or more bulk IN data buffers are posted for data reception. In addition, one or more bulk OUT data buffers may be posted for data transmission. If, at operation 355 the adapter is to go to a sleep or power save mode, then control passes back to operation 310.
Electrical power may be provided to various components of the computing device 402 (e.g., through a computing device power supply 406) from one or more of the following sources: one or more battery packs, an alternating current (AC) outlet (e.g., through a transformer and/or adaptor such as a power adaptor 404), automotive power supplies, airplane power supplies, and the like. In some embodiments, the power adaptor 404 may transform the power supply source output (e.g., the AC outlet voltage of about 110 VAC to 240 VAC) to a direct current (DC) voltage ranging between about 7 VDC to 12.6 VDC. Accordingly, the power adaptor 404 may be an AC/DC adaptor.
The computing device 402 may also include one or more central processing unit(s) (CPUs) 408 coupled to a bus 410. In some embodiments, the CPU 408 may be one or more processors in the Pentium® family of processors including, but not limited to, the Pentium® II processor family, Pentium® III processors, Pentium® IV processors available from Intel® Corporation of Santa Clara, Calif. Alternatively, other CPUs may be used, such as Intel's Itanium®, XEON™, and Celeron® processors, or Core™ processors. Also, one or more processors from other manufactures may be utilized. Moreover, the processors may have a single or multi core design.
A chipset 412 may be coupled to the bus 410. The chipset 412 may include a memory control hub (MCH) 414. The MCH 414 may include a memory controller 416 that is coupled to a main system memory 418. The main system memory 418 stores data and sequences of instructions that are executed by the CPU 408, or any other device included in the system 400. In some embodiments, the main system memory 418 includes random access memory (RAM); however, the main system memory 418 may be implemented using other memory types such as dynamic RAM (DRAM), synchronous DRAM (SDRAM), and the like. Additional devices may also be coupled to the bus 410, such as multiple CPUs and/or multiple system memories.
The MCH 414 may also include a graphics interface 420 coupled to a graphics accelerator 422. In some embodiments, the graphics interface 420 is coupled to the graphics accelerator 422 via an accelerated graphics port (AGP). In some embodiments, a display (such as a flat panel display) 440 may be coupled to the graphics interface 420 through, for example, a signal converter that translates a digital representation of an image stored in a storage device such as video memory or system memory into display signals that are interpreted and displayed by the display. The display 440 signals produced by the display device may pass through various control devices before being interpreted by and subsequently displayed on the display.
A hub interface 424 couples the MCH 414 to an input/output control hub (ICH) 426. The ICH 426 provides an interface to input/output (I/O) devices coupled to the computer system 400. The ICH 426 may be coupled to a peripheral component interconnect (PCI) bus. Hence, the ICH 426 includes a PCI bridge 428 that provides an interface to a PCI bus 430. The PCI bridge 428 provides a data path between the CPU 408 and peripheral devices. Additionally, other types of I/O interconnect topologies may be utilized such as the PCI Express™ architecture, available through Intel® Corporation of Santa Clara, Calif.
The PCI bus 430 may be coupled to an audio device 432 and one or more disk drive(s) 434. Other devices may be coupled to the PCI bus 430. In addition, the CPU 408 and the MCH 414 may be combined to form a single chip. Furthermore, the graphics accelerator 422 may be included within the MCH 414 in other embodiments.
Additionally, other peripherals coupled to the ICH 426 may include, in various embodiments, integrated drive electronics (IDE) or small computer system interface (SCSI) hard drive(s), universal serial bus (USB) port(s), a keyboard, a mouse, parallel port(s), serial port(s), floppy disk drive(s), digital output support (e.g., digital video interface (DVI)), and the like. Hence, the computing device 402 may include volatile and/or nonvolatile memory.
In some embodiments, the operations of
In the description and claims, the terms coupled and connected, along with their derivatives, may be used. In particular embodiments, connected may be used to indicate that two or more elements are in direct physical or electrical contact with each other. Coupled may mean that two or more elements are in direct physical or electrical contact. However, coupled may also mean that two or more elements may not be in direct contact with each other, but yet may still cooperate or interact with each other.
Reference in the specification to “one embodiment” or “some embodiments” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least an implementation. The appearances of the phrase “in one embodiment” in various places in the specification may or may not be all referring to the same embodiment.
Although embodiments have been described in language specific to structural features and/or methodological acts, it is to be understood that claimed subject matter may not be limited to the specific features or acts described. Rather, the specific features and acts are disclosed as sample forms of implementing the claimed subject matter.
Number | Name | Date | Kind |
---|---|---|---|
20030131227 | Gardiner et al. | Jul 2003 | A1 |
20050190799 | Coffin et al. | Sep 2005 | A1 |
20060043208 | Graham | Mar 2006 | A1 |
Number | Date | Country | |
---|---|---|---|
20080298289 A1 | Dec 2008 | US |