From patchwork Sun Jan 18 05:11:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: warmcat X-Patchwork-Id: 43276 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EE685240BA for ; Sun, 18 Jan 2015 05:11:27 +0000 (UTC) Received: by mail-wi0-f199.google.com with SMTP id r20sf441460wiv.2 for ; Sat, 17 Jan 2015 21:11:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:subject:from:to:cc:date:message-id :in-reply-to:references:user-agent:mime-version:content-type :content-transfer-encoding:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=HF66Pk+Ew6ON+CdLGGIyEP62Cek5n6H/LuoVTTLCIgw=; b=Q5dfj7ZXDjVroPz4Fd3AHRnEOGoiesbMtcV2DciJYod6Q0ESqbHwShfYEM2GR2FA2Q 5L7lKQUJjCNtZyJ34kMJ+BBCqV0RkbieRfxsCBLb5S90aKM4Z0K4as0sDyoghGG96MSO pGjkRMDF57yQNpndHNnG+1W54Y6vD7HTOzvuDl6asufFxGhlgEn2yb+bnxFi27PhCUV2 vcZR7FIsBe5ciKVC9AwMik7yoW+9wsJivkNmxkUhTLSqLM0fFQiiz1Zr5go9pndLVZZu +YnO4OCmPUZUOq25tYLMOtCZwH7unKaDsu99SZmqlhtEKwnJol3XfWZppAacbAYgYYfH B67g== X-Gm-Message-State: ALoCoQlBWQdlwEcCK9YGHSVlpTiPd3hGN5cUSM9p70rDDqrvzBgh9jFYTvmKg0F/8oQoaVLCF5Sf X-Received: by 10.152.8.67 with SMTP id p3mr3178laa.4.1421557887176; Sat, 17 Jan 2015 21:11:27 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.9 with SMTP id o9ls495282lao.83.gmail; Sat, 17 Jan 2015 21:11:27 -0800 (PST) X-Received: by 10.152.30.6 with SMTP id o6mr23773469lah.64.1421557887008; Sat, 17 Jan 2015 21:11:27 -0800 (PST) Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com. [2a00:1450:4010:c04::230]) by mx.google.com with ESMTPS id kv10si8575216lac.131.2015.01.17.21.11.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 17 Jan 2015 21:11:26 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::230 as permitted sender) client-ip=2a00:1450:4010:c04::230; Received: by mail-lb0-f176.google.com with SMTP id z12so3213331lbi.7 for ; Sat, 17 Jan 2015 21:11:26 -0800 (PST) X-Received: by 10.112.159.136 with SMTP id xc8mr23249894lbb.98.1421557886888; Sat, 17 Jan 2015 21:11:26 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.9.200 with SMTP id c8csp740501lbb; Sat, 17 Jan 2015 21:11:26 -0800 (PST) X-Received: by 10.70.89.105 with SMTP id bn9mr34275829pdb.155.1421557885225; Sat, 17 Jan 2015 21:11:25 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ry9si11059051pbc.147.2015.01.17.21.11.24; Sat, 17 Jan 2015 21:11:25 -0800 (PST) Received-SPF: none (google.com: netdev-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752166AbbARFLV (ORCPT + 3 others); Sun, 18 Jan 2015 00:11:21 -0500 Received: from mail-pd0-f169.google.com ([209.85.192.169]:35506 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751577AbbARFLS (ORCPT ); Sun, 18 Jan 2015 00:11:18 -0500 Received: by mail-pd0-f169.google.com with SMTP id z10so30212110pdj.0; Sat, 17 Jan 2015 21:11:17 -0800 (PST) X-Received: by 10.70.64.197 with SMTP id q5mr34139775pds.129.1421557877930; Sat, 17 Jan 2015 21:11:17 -0800 (PST) Received: from warmcat.com (114-36-241-182.dynamic.hinet.net. [114.36.241.182]) by mx.google.com with ESMTPSA id kv4sm8116409pab.22.2015.01.17.21.11.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 17 Jan 2015 21:11:16 -0800 (PST) Subject: [PATCH 6/7] net: wireless: wcn36xx: remove powersaving for wcn3620 From: Andy Green To: Kalle Valo , Eugene Krasnikov Cc: wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org Date: Sun, 18 Jan 2015 13:11:11 +0800 Message-ID: <20150118051111.31866.39208.stgit@114-36-241-182.dynamic.hinet.net> In-Reply-To: <20150118050741.31866.36490.stgit@114-36-241-182.dynamic.hinet.net> References: <20150118050741.31866.36490.stgit@114-36-241-182.dynamic.hinet.net> User-Agent: StGit/0.17-dirty MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: netdev@vger.kernel.org X-Original-Sender: andy.green@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::230 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=neutral (body hash did not verify) header.i=@ Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , WCN3620 powersaving mode is not stable. Disable it if we're on a wcn3620 chip type. Signed-off-by: Andy Green --- drivers/net/wireless/ath/wcn36xx/main.c | 4 ++++ 1 file changed, 4 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c index c4178c7..569d45b 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c @@ -924,6 +924,10 @@ static int wcn36xx_init_ieee80211(struct wcn36xx *wcn) IEEE80211_HW_AMPDU_AGGREGATION | IEEE80211_HW_TIMING_BEACON_ONLY; + /* 3620 powersaving currently unstable */ + if (wcn->chip_version == WCN36XX_CHIP_3620) + wcn->hw->flags &= ~IEEE80211_HW_SUPPORTS_PS; + wcn->hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | BIT(NL80211_IFTYPE_AP) | BIT(NL80211_IFTYPE_ADHOC) |