Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4985383imu; Tue, 8 Jan 2019 09:30:23 -0800 (PST) X-Google-Smtp-Source: ALg8bN7CxhUOJHfWvsv9CnaH+m9f/VeA8PVsYVcW0GNGrqDvayIEjGGhHeknV4UtoeSeUEUEdnlh X-Received: by 2002:a63:60cf:: with SMTP id u198mr2303906pgb.323.1546968623672; Tue, 08 Jan 2019 09:30:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546968623; cv=none; d=google.com; s=arc-20160816; b=u9DixB+i4Qp4dvskWaDKA3UYCzc3XpDpJ0w/Woi3vAV+B3unsFtSrFZ6zXvJPjyd77 O3hPX2QQFy/Gj8H9SH4k6yQQKACcc1XB/IWPxGvc81YMAbvv3HEbl2e42i6tTNJeGzZJ dlfGnpcuAyVBNLPpgaeBbQv7tINkNkDNzeci9RSp9giPzALvzK9ZWMLc2lXdN9G/hex6 Jz4RnzwkQJ+yoAwux5PtZZiT56pmXxGnubZVfREGx1dL9nuVT02eoXtoxGOK1m/v6qW/ Ny9S/0TAqI26/VZ2jN3leWrnn1qD5BB7W4x8GPHRgRYH3uXV/t4OFYtb/Vr9ROh2l60B lLJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:dmarc-filter :dkim-signature:dkim-signature; bh=X2oOVQsYqnxri8QonwIj0+snFYingnhDt2nD0QC6DRY=; b=T9LbXS5VX07SIZYoSW2M5cQAO3H77zlDotrRKY+AXxN5IZv2tEzhgBxdwkVg4lWQVu esQiTqJ/Hhb3zKAJ8JVCtjxuhmqRRo5oBf9kZkrCFY15+HcI97kf/bqJ+50p9RHV1451 uTEtuOz+Mn026eA2cfL11Qg1zVexZGHJ3Dr9XxsUVh+EXXfl2S8MRX1BSWMtKUMqL0qB i2M+MSAACe8hU6hESSJzJNos+faNlcI8oxvUPesNdRB/Xo4RliMT5tI0eS5hT94rKsfD 0eKhne0GqMAuD9Tt7KFEU0WR1EMoj5J5FsQ18jmLtHCeq+AaQpMfmvGqpF7H+g4O41m5 3ZvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="ARuEOSt/"; dkim=pass header.i=@codeaurora.org header.s=default header.b=I+WYWXpn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h19si64211470plr.67.2019.01.08.09.30.07; Tue, 08 Jan 2019 09:30:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="ARuEOSt/"; dkim=pass header.i=@codeaurora.org header.s=default header.b=I+WYWXpn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728950AbfAHR2F (ORCPT + 99 others); Tue, 8 Jan 2019 12:28:05 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:46348 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727484AbfAHR2F (ORCPT ); Tue, 8 Jan 2019 12:28:05 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 2E23C6089D; Tue, 8 Jan 2019 17:28:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1546968484; bh=IcB9O/UziZNCHaA5vWJotzNGqU1gbZezZBS8BHEzx+Y=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=ARuEOSt/GE92TJgBrxPRXOXk8q2Hp9km29YHgllGIVNYwj9QwHumFpIj5EwUtnFWO bBjGIcCFd9ttNhFdc24d4ZHLKa/HBulnui1DG7XTZdwNcfXDgcBBt30Fbiqgh5lzRd GBI5fAgBj9QSFoZtq3JgMfFbUMBcOMhd5PCBUKMI= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 99CFB60132; Tue, 8 Jan 2019 17:28:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1546968483; bh=IcB9O/UziZNCHaA5vWJotzNGqU1gbZezZBS8BHEzx+Y=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=I+WYWXpnA6Tp7GrxDMGHGFa2f9ZcWOWFuh8+4WjGTzE9YfPMMLuyfnBGnqtfFRe4m YCzRY8HVkyc5HBuELDjJdByIzd4IKw91CDC4f+aG7igYf5L22hAMnPUjsGRhCksLPx SxeQBrQE2IsxJuKDRO2/KSkUEk4DOgDt6VeV4lP8= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 99CFB60132 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: Bernd Edlinger Cc: Ping-Ke Shih , Larry Finger , "linux-wireless\@vger.kernel.org" , "netdev\@vger.kernel.org" , "linux-kernel\@vger.kernel.org" , Andrew Lunn Subject: Re: [PATCH v3 1/4] rtl8723ae: Take the FW LPS mode handling out References: Date: Tue, 08 Jan 2019 19:27:59 +0200 In-Reply-To: (Bernd Edlinger's message of "Sun, 6 Jan 2019 00:02:18 +0000") Message-ID: <875zuzqctc.fsf@kamboji.qca.qualcomm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Bernd Edlinger writes: > This appears to trigger a firmware bug and causes severe > problems with rtl8723ae PCI devices. > > When the power save mode is activated for longer periods > of time the firmware stops to receive any packets. > > This problem was exposed by commit 873ffe154ae0 ("rtlwifi: > Fix logic error in enter/exit power-save mode"). > > Previously the power save mode was only active rarely and > only for a short time so that the problem was not noticeable. > > Signed-off-by: Bernd Edlinger > --- > v2: Adjust the defaults of swlps and fwlps module > parameters to match the firmware capabilities instead of removing > the whole code, so it can be easily re-activated once a firmware > update is available. > > v3: Make the title fit in one line. hotmail.de made me suspicious and indeed my Spidey sense was right: Applying: rtl8723ae: Take the FW LPS mode handling out Using index info to reconstruct a base tree... .git/rebase-apply/patch:22: trailing whitespace. .swctrl_lps = true, .git/rebase-apply/patch:23: trailing whitespace. .fwctrl_lps = false, .git/rebase-apply/patch:33: trailing whitespace. MODULE_PARM_DESC(swlps, "Set to 1 to use SW control power save (default 1)\n"); .git/rebase-apply/patch:34: trailing whitespace. MODULE_PARM_DESC(fwlps, "Set to 1 to use FW control power save (default 0)\n"); error: patch failed: drivers/net/wireless/realtek/rtlwifi/rtl8723ae/sw.c:266 error: drivers/net/wireless/realtek/rtlwifi/rtl8723ae/sw.c: patch does not apply error: Did you hand edit your patch? It does not apply to blobs recorded in its index. Patch failed at 0001 rtl8723ae: Take the FW LPS mode handling out Did you use Outlook to send this patch or what? Anyway, it's strongly suggested to use git to submit the patches (and not use Outlook servers either as they are notorious in breaking our patches): https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches#format_issues -- Kalle Valo