Re: power off ath0: <Atheros AR946x/AR948x>

Lars Engels <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
On Mon, Jan 12, 2015 at 11:20:07AM -0800, Adrian Chadd wrote:
> On 12 January 2015 at 08:56, Warner Losh <[email protected]> wrote:
> >
> >> On Jan 12, 2015, at 9:54 AM, John Baldwin <[email protected]> wrote:
> >>
> >> On 1/11/15 3:05 AM, Matthias Apitz wrote:
> >>>
> >>> Hello,
> >>>
> >>> Is there a way to completely power-off the Wifi chip in my Acer C720?
> >>> I tried 'ifconfig ath0 down' which saves around 20 mA. But the LED stays
> >>> on, which let me think it is still someow on-air.
> >>
> >> Not yet.  You could try setting the tunable to disable power for PCI
> >> devices without a driver and not include 'ath' in your kernel config.  I
> >> will (soon) commit a new 'devctl' tool to HEAD that would let you do
> >> 'devctl suspend ath0' to do this.
> >
> > I’d love to see this tied into the forthcoming work on PCIe hot plug as well,
> > which is one way to power off the slot. But that work seems to be stalled…
> 
> Right. So, the driver in -HEAD should be powering off almost all of
> the chip when no vap (ie, wlanX) is active. The only parts of the chip
> that stay on is the PCIe PHY and the GPIO/RTC block. AFAIK we don't
> support PCIe power save state management at the moment, so we can't
> keep the PCIe PHY off.
> 
> But yeah, most of the chip is off. The chip doesn't take all that much
> power unless it's actively transmitting/receiving. The LEDs are on
> because the GPIO block is on and it's likely holding the LED up.

Is that only true for this chip, all ath ones or even all wireless
devices?
signature.asc (application/pgp-signature, 603 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAEBCgBmBQJUtOHBXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF
NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1t61EH/RI48mqgx6Ju7p1EmfXq1bB5
B1buZLDWvIwGJ5VUt874K8F9o3QphC8Yt69QlQAFqx0lkuRrGwAZMgTMlodmjruM
PEf227BEC4tOM9LpKJmiFmFofKUWjO7y85sj3V6yfuFzfiPO/P+r+FiVYPfZUv+Y
vzKdzTSY5ggmiukiy7Gx1TylbPOg/IirjX4CbSuTTFhlHXm8CHl6FbwFt9cMBVL0
E1aGUfoTp7gvdToPP5vp6FttFiyFuIJtVzI2DA6m+R2DaLEDcVpAfcczouNYBqW5
OecKvnxk0drGBGCMvg+7LL2Boh+1Aj3Cpxra/OlsMucDJa+OHKOS+WGbJRqcE/8=
=N0cS
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.