Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:32947 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752407Ab1CXJGg (ORCPT ); Thu, 24 Mar 2011 05:06:36 -0400 Subject: Re: Update on Android PM enhancements - CONFIG_HAS_EARLYSUSPEND and friends From: Johannes Berg To: Arve =?ISO-8859-1?Q?Hj=F8nnev=E5g?= Cc: "Luis R. Rodriguez" , linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , devel@linuxdriverproject.org, Naveen Singh , Kalle Valo , Benjamin Herrenschmidt , Jouni Malinen , Vipin Mehta , linux-wireless In-Reply-To: <1300957495.3807.7.camel@jlt3.sipsolutions.net> References: <1300957495.3807.7.camel@jlt3.sipsolutions.net> Content-Type: text/plain; charset="UTF-8" Date: Thu, 24 Mar 2011 10:06:30 +0100 Message-ID: <1300957590.3807.8.camel@jlt3.sipsolutions.net> Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, 2011-03-24 at 10:04 +0100, Johannes Berg wrote: > On Wed, 2011-03-23 at 17:47 -0700, Arve Hjønnevåg wrote: > > > There is no planned replacement for early suspend, and it will > > probably be dropped form the android kernel at some point. The wifi > > driver use it to enter a lower operating state when the screen is off. > > If you driver does have any other way to put the driver in this state > > you need to add an interface that lets user-space select that state > > directly. > > The interface is called "ip link set wlan0 down". Or, in fact, just powersaving mode. But I don't think for a wifi driver there's any need for special driver specific states. johannes