From: Johannes Berg <johannes@sipsolutions.net>
To: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Q: how to update platform power state for the network driver
Date: Wed, 09 Jan 2013 18:31:26 +0100 [thread overview]
Message-ID: <1357752686.9757.18.camel@jlt4.sipsolutions.net> (raw)
In-Reply-To: <6929081.7c7blFVDp4@lx-vladimir> (sfid-20130109_182029_783210_FC7FE104)
On Wed, 2013-01-09 at 19:20 +0200, Vladimir Kondratiev wrote:
> Hi,
>
> in 60g spec (802.11ad, references to this doc.), station should set "power source" bit in the:
>
> 8.4.2.130.3 DMG PCP/AP Capability Information field
>
> This information used to construct "PCP factor" that used in:
>
> 10.1.4.3.4 PCP selection in a PBSS
>
> This procedure replaces GO negotiation in P2P. "power source" bit above specified as:
>
> The Power Source field is set to 0 if the STA is battery powered, and is set to 1 otherwise.
>
> What is the best way to obtain this info in the network driver?
You can't really do that very well. Set it in wpa_supplicant according
to the configuration. It might even query the power source on a laptop,
but I suspect this is a somewhat different use case anyway.
johannes
next prev parent reply other threads:[~2013-01-09 17:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-09 17:20 Q: how to update platform power state for the network driver Vladimir Kondratiev
2013-01-09 17:31 ` Johannes Berg [this message]
2013-01-10 12:06 ` Vladimir Kondratiev
2013-01-11 0:45 ` Julian Calaby
2013-01-13 7:34 ` Vladimir Kondratiev
2013-01-14 7:07 ` Kalle Valo
2013-01-10 21:39 ` Kalle Valo
2013-01-13 7:33 ` Vladimir Kondratiev
2013-01-14 7:01 ` Kalle Valo
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=1357752686.9757.18.camel@jlt4.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=qca_vkondrat@qca.qualcomm.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox