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 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html