From patchwork Sun Sep 27 08:17:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 7273141 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A0135BEEA4 for ; Sun, 27 Sep 2015 08:18:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CDC522095F for ; Sun, 27 Sep 2015 08:18:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ED3342090E for ; Sun, 27 Sep 2015 08:18:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755038AbbI0ISt (ORCPT ); Sun, 27 Sep 2015 04:18:49 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:33274 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753822AbbI0IS2 (ORCPT ); Sun, 27 Sep 2015 04:18:28 -0400 Received: by wiclk2 with SMTP id lk2so68253943wic.0 for ; Sun, 27 Sep 2015 01:18:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=VFIowW22xlV9D8MvmK3sBLSJCwTOfp6Z6btw/L6TTiE=; b=X5G2ri8FHoL6ypWDU2Nwb7rWybgSGYNHRT/UMCg242qfdF7tEhE1o2C3qcmTyxv9Qf W9r4YMQx37XcTh8/6hevVYtwit/m2S3wTZ+vJ69W9/hI9PZVD2TMj2aCILoA48tTDRsp KeNCuuR1GE3Sw8UhCRzZySg1vizX5AtpqcSzMmoWb0f3pAz62A849XOxkendA+rUenV6 HmoPJe3nUzUEY+nxlu1bL0VrNKcCIuIjFY0Xj0xXXo9+bhlIfJ20vBywMeeFgXdD+oWA 3EaleqLMqMnkubOyKFoM9Xgo2TlmhmJ0qbNEAs+bfg9+tC3Cl0aLxmIAFJXwYPld8Fya c5Bg== X-Received: by 10.180.10.170 with SMTP id j10mr12812204wib.77.1443341907535; Sun, 27 Sep 2015 01:18:27 -0700 (PDT) Received: from tipsey.3.home (188.31.176.126.threembb.co.uk. [188.31.176.126]) by smtp.gmail.com with ESMTPSA id o10sm11949040wia.4.2015.09.27.01.18.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 27 Sep 2015 01:18:26 -0700 (PDT) From: Malcolm Priestley To: gregkh@linuxfoundation.org Cc: linux-wireless@vger.kernel.org, Malcolm Priestley Subject: [PATCH 4/6] staging: vt6656: implement power saving. Date: Sun, 27 Sep 2015 09:17:42 +0100 Message-Id: <1443341864-2756-4-git-send-email-tvboxspy@gmail.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1443341864-2756-1-git-send-email-tvboxspy@gmail.com> References: <1443341864-2756-1-git-send-email-tvboxspy@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The device can now operate in low power mode Signed-off-by: Malcolm Priestley --- drivers/staging/vt6656/main_usb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index 7246c76..3fc6862 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -1002,6 +1002,7 @@ vt6656_probe(struct usb_interface *intf, const struct usb_device_id *id) ieee80211_hw_set(priv->hw, SIGNAL_DBM); ieee80211_hw_set(priv->hw, RX_INCLUDES_FCS); ieee80211_hw_set(priv->hw, REPORTS_TX_ACK_STATUS); + ieee80211_hw_set(priv->hw, SUPPORTS_PS); priv->hw->max_signal = 100;