Return-path: Received: from mail-lf0-f48.google.com ([209.85.215.48]:41181 "EHLO mail-lf0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752622AbeDLREd (ORCPT ); Thu, 12 Apr 2018 13:04:33 -0400 Received: by mail-lf0-f48.google.com with SMTP id o102-v6so8726919lfg.8 for ; Thu, 12 Apr 2018 10:04:33 -0700 (PDT) MIME-Version: 1.0 References: <20180411184156.167978-1-rkir@google.com> <87bmepjbna.fsf@purkki.adurom.net> In-Reply-To: <87bmepjbna.fsf@purkki.adurom.net> From: Roman Kiryanov Date: Thu, 12 Apr 2018 17:04:21 +0000 Message-ID: (sfid-20180412_190437_174616_29042D22) Subject: Re: [PATCH] ANDROID: mac80211_hwsim: support/ignore power state changes To: kvalo@codeaurora.org Cc: Johannes Berg , linux-wireless@vger.kernel.org, Bjoern Johansson , Lingfeng Yang Content-Type: text/plain; charset="UTF-8" Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Kalle, thank you for reviewing our patch. I am ok with applying this patch without "ANDROID:" prefix. Do you want me to send an updated patch? Regards, Roman. On Wed, Apr 11, 2018 at 9:23 PM Kalle Valo wrote: > rkir@google.com writes: > > From: Bjoern Johansson > > > > Indicate support for power state changes and handle them by calling an > > empty function. > > The important part is "ieee80211_hw_set(hw, SUPPORTS_PS);" at the > > bottom of the diff. Without this upper layers in the kernel will return an > > error code when trying to set the power state because the driver doesn't > > indicate power state support. This in turn causes VTS > > (Android Vendor Test Suite) failures because the WiFi HAL can't enable > > power saving mode. The remaining code is just there to deal with the > > incoming state change request. > > > > Signed-off-by: Bjoern Johansson > > Signed-off-by: Lingfeng Yang > > Signed-off-by: Roman Kiryanov > Why the odd "ANDROID:" prefix? > -- > Kalle Valo