热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

WiFi节电的两种机制

Powerconsumptiononthereceivepathisaboutathirdlowerthanonthetransmitpath.Itismorepowereffic

Power consumption on the receive path is about a third lower than on the transmit path. It is more power efficient to shutdown the transmit path and just listen when no outgoing frames are present. Further power savings can be achieved by the STA when it indicates to the AP that it is entering power save mode and shutdown its receive path. The AP stores frames destined to an STA in power save mode and sends them to the STA when requested to do so. During association, an STA uses the Listen Interval parameter to indicate to the AP how many beacon intervals it shall sleep before it retrieves the queued frames from the AP. The AP shall not drop any queued frames until the STA's Listen Interval elapses.

 


Legacy Power Save Polling

In this scheme, an STA enters power-save mode by sending a Null frame to the AP with the Power Management bit set. From then on, the AP stores all packets destined to the STA in a per-STA queue and sets the TIM field in the beacon frame to indicate that packets destined for the STA have been queued at the AP. An STA wakes up from sleep every Listen Interval to receive the beacon frame and when it detects that the TIM field for it has been set, it sends a PS-Poll frame to the AP. In response, the AP sends the first queued frame to the STA. The STA receives the queued data frame and if the More Data field in this frame is set, it sends another PS-Poll frame to the AP. The STA continues to send PS-Poll frames to receive all the queued frames and when none are left, it goes back to sleep until the next Listen Interval.

It is apparent that this method is not a very efficient method of data transfer as polling is used and is suitable for light traffic conditions. An improvement over this method is to exit power-save mode upon detecting queued frames by sending a Null frame with Power Management bit turned off. The AP can then send all the queued frames to the STA. The STA can then re-enter power-save mode by sending a Null frame with Power Management bit turned on. The STA waits for a short period of time during which it has not received any frames from the AP to deduce that there are no outstanding queued frames for it at the AP.



 


Unscheduled Asynchronous Power Save Delivery (U-APSD)

Legacy power-save methods do not provide good power savings for periodic bi-directional data traffic consisting of short frames like in VoIP. The time to deduce that there are no outstanding queued frames from the AP is usually much longer than the time period between successive VoIP frames so that the STA does not go to power-save mode during the VoIP call. To handle this situation better, U-APSD mechanism was formulated as part of 802.11e.

U-APSD allows for an client to schedule in advance the communication pattern between the STA and AP based on the predictable traffic pattern of VoIP calls. For example, the client can negotiate with the AP to exchange VoIP frames every 20ms which is typical. Once this is negotiated, the client may sleep between the packet exchanges without notifying the AP. For non-VoIP traffic, an STA retrieves unicast traffic queued in the AP by sending trigger frames.

The AP indicates support for this mechanism by advertising this capability in beacon and probe response and association/reassociation response frames.

As in legacy power-save mode, an STA sets the Power Management bit in a Null frame to indicate to the AP that it is in power-save mode. An STA in power-save mode sends a QoS Null or QoS Data frame to trigger the AP to send queued frames. The AP acknowledges the trigger and then follows it up with up to a negotiated maximum number of frames. If there are no queued frames on the AP when the trigger is received, the AP will respond with a QoS NULL frame. The advantage of U-APSD over legacy power-save mode is that the exchange of frames occurs with SIFS separation so that the medium remains locked during the exchange. In legacy power-save mode, the frames are exchanged with DIFS separation so that other STAs can take over the medium.





  • 点赞



  • 收藏



  • 分享




    • 文章举报






流风回雪1988
发布了65 篇原创文章 · 获赞 98 · 访问量 43万+
他的留言板

关注

推荐阅读
  • 本文介绍了为什么要使用多进程处理TCP服务端,多进程的好处包括可靠性高和处理大量数据时速度快。然而,多进程不能共享进程空间,因此有一些变量不能共享。文章还提供了使用多进程实现TCP服务端的代码,并对代码进行了详细注释。 ... [详细]
  • FeatureRequestIsyourfeaturerequestrelatedtoaproblem?Please ... [详细]
  • 本文讨论了一个数列求和问题,该数列按照一定规律生成。通过观察数列的规律,我们可以得出求解该问题的算法。具体算法为计算前n项i*f[i]的和,其中f[i]表示数列中有i个数字。根据参考的思路,我们可以将算法的时间复杂度控制在O(n),即计算到5e5即可满足1e9的要求。 ... [详细]
  • 解决nginx启动报错epoll_wait() reported that client prematurely closed connection的方法
    本文介绍了解决nginx启动报错epoll_wait() reported that client prematurely closed connection的方法,包括检查location配置是否正确、pass_proxy是否需要加“/”等。同时,还介绍了修改nginx的error.log日志级别为debug,以便查看详细日志信息。 ... [详细]
  • 移动端常用单位——rem的使用方法和注意事项
    本文介绍了移动端常用的单位rem的使用方法和注意事项,包括px、%、em、vw、vh等其他常用单位的比较。同时还介绍了如何通过JS获取视口宽度并动态调整rem的值,以适应不同设备的屏幕大小。此外,还提到了rem目前在移动端的主流地位。 ... [详细]
  • http:my.oschina.netleejun2005blog136820刚看到群里又有同学在说HTTP协议下的Get请求参数长度是有大小限制的,最大不能超过XX ... [详细]
  • Android开发实现的计时器功能示例
    本文分享了Android开发实现的计时器功能示例,包括效果图、布局和按钮的使用。通过使用Chronometer控件,可以实现计时器功能。该示例适用于Android平台,供开发者参考。 ... [详细]
  • Linux如何安装Mongodb的详细步骤和注意事项
    本文介绍了Linux如何安装Mongodb的详细步骤和注意事项,同时介绍了Mongodb的特点和优势。Mongodb是一个开源的数据库,适用于各种规模的企业和各类应用程序。它具有灵活的数据模式和高性能的数据读写操作,能够提高企业的敏捷性和可扩展性。文章还提供了Mongodb的下载安装包地址。 ... [详细]
  • 深入理解Kafka服务端请求队列中请求的处理
    本文深入分析了Kafka服务端请求队列中请求的处理过程,详细介绍了请求的封装和放入请求队列的过程,以及处理请求的线程池的创建和容量设置。通过场景分析、图示说明和源码分析,帮助读者更好地理解Kafka服务端的工作原理。 ... [详细]
  • 重入锁(ReentrantLock)学习及实现原理
    本文介绍了重入锁(ReentrantLock)的学习及实现原理。在学习synchronized的基础上,重入锁提供了更多的灵活性和功能。文章详细介绍了重入锁的特性、使用方法和实现原理,并提供了类图和测试代码供读者参考。重入锁支持重入和公平与非公平两种实现方式,通过对比和分析,读者可以更好地理解和应用重入锁。 ... [详细]
  • 如何在HTML中获取鼠标的当前位置
    本文介绍了在HTML中获取鼠标当前位置的三种方法,分别是相对于屏幕的位置、相对于窗口的位置以及考虑了页面滚动因素的位置。通过这些方法可以准确获取鼠标的坐标信息。 ... [详细]
  • 本文介绍了Codeforces Round #321 (Div. 2)比赛中的问题Kefa and Dishes,通过状压和spfa算法解决了这个问题。给定一个有向图,求在不超过m步的情况下,能获得的最大权值和。点不能重复走。文章详细介绍了问题的题意、解题思路和代码实现。 ... [详细]
  • 设计模式——模板方法模式的应用和优缺点
    本文介绍了设计模式中的模板方法模式,包括其定义、应用、优点、缺点和使用场景。模板方法模式是一种基于继承的代码复用技术,通过将复杂流程的实现步骤封装在基本方法中,并在抽象父类中定义模板方法的执行次序,子类可以覆盖某些步骤,实现相同的算法框架的不同功能。该模式在软件开发中具有广泛的应用价值。 ... [详细]
  • 第七课主要内容:多进程多线程FIFO,LIFO,优先队列线程局部变量进程与线程的选择线程池异步IO概念及twisted案例股票数据抓取 ... [详细]
  • 给出一群女孩的重量和颜值和她们的朋友关系现在有一个舞台ab是朋友bc是朋友ac就是朋友给出最大承重可以邀请这些女孩来玩对于每一个朋友团体全邀请or邀请一个or不邀请问能邀请的女孩的 ... [详细]
author-avatar
helenheling2007895
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有