Date: Thu, 24 Apr 2014 18:26:01 -0700 From: Adrian Chadd <adrian@freebsd.org> To: "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org> Subject: [rfc] station mode powersave for ath(4) Message-ID: <CAJ-Vmo=a4LmWioNptu8TeJ8Zc=EoXsU=sQ33zUuvHEETvig9-A@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, This is close to my final first cut of this station mode powersave stuff for the atheros hardware. Combined with the net80211 changes that are now in HEAD, the driver can be put into network sleep in order to conserve power and only wake up when it needs to. http://people.freebsd.org/~adrian/ath/20140424-net80211-ath-sleep-11.diff Now, this is the first cut. It works on the AR5211, AR5212, AR5416. I haven't tested it on the AR9160, AR9280 and later hardware (but I will before I commit it.) It isn't going to support the aggressive power save stuff yet (like uapsd and ps-poll.) It just puts the NIC into network-sleep if there's been no active transmit work for 500ms. It also puts the NIC to sleep if all the VAPs are down. It also isn't on by default - you need to add 'powersave' to the ifconfig create line. It does save up to a couple of watts of power at idle, so it's worthwhile to start testing. I would however like some wider testing. Please have ATH_DEBUG and AH_DEBUG defined before using this. -a
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=a4LmWioNptu8TeJ8Zc=EoXsU=sQ33zUuvHEETvig9-A>