From: "Franky Lin" <frankyl@broadcom.com>
To: "Dani Camps" <danicamps81@yahoo.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: Forcing wi-fi chipset to sleep from bcm4329 driver
Date: Thu, 16 Aug 2012 10:54:46 -0700 [thread overview]
Message-ID: <502D33E6.4050106@broadcom.com> (raw)
In-Reply-To: <1345115328.54417.YahooMailNeo@web29702.mail.ird.yahoo.com>
On 08/16/2012 04:08 AM, Dani Camps wrote:
> Dear all,
>
> I would like to be able to control the power state (i.e. sleep/awake) of a broadcom wi-fi chipset controlled by the bcm4329 driver. My understanding of sleep/awake is the following: wi-fi chipsets support power saving protocols that allow them to enter into a low power state in order to save energy, this is what I understand as the sleep state. On the other hand when the chipset is fully powered and can directly receive data from the AP, this is what I understand as the chipset being in awake state.
>
> Now, in the bcm4329 driver I have seen that the power mode of the wi-fi chipset can be configured with the parameters PM_MAX, PM_FAST and PM_OFF. My understanding though is that these are simply parameters to configure an internal power saving algorithm that is implemented in the chipset itself, e.g. if I configure PM_MAX it does not mean that the chipset will enter sleep mode immediately, but it will only do it according to a certain particular algorithm that I cannot conttol. Therefore, my question is whether it is possible to control the power state (sleep/awake) of the wi-fi chipset directly from within bcm4329.
>
Hi Dani,
By bcm4329 I assume you are referring to the host driver could be found
in Android's tree.
Anyway, bcm4329 and brcmfmac don't provide the capability to fully
control the chip. As a fullmac mechanism the chip firmware handles the
MAC stuff and knows the best timing of power management. Current PM
implementation does quiet a good job. You can adjust some settings to
further reduce the wake up frequency of the chip. But if you want
anything better than that I am afraid cutting off the power supply is
the only option.
Regards,
Franky
next prev parent reply other threads:[~2012-08-16 17:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-16 11:08 Forcing wi-fi chipset to sleep from bcm4329 driver Dani Camps
2012-08-16 17:54 ` Franky Lin [this message]
2012-08-17 7:19 ` Dani Camps
2012-08-17 17:38 ` Franky Lin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=502D33E6.4050106@broadcom.com \
--to=frankyl@broadcom.com \
--cc=danicamps81@yahoo.com \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.