From patchwork Wed Feb 6 12:14:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Govind Singh X-Patchwork-Id: 10799249 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 28C036C2 for ; Wed, 6 Feb 2019 12:14:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 174522AA4A for ; Wed, 6 Feb 2019 12:14:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0AD9D2AA62; Wed, 6 Feb 2019 12:14:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 089372AA4A for ; Wed, 6 Feb 2019 12:14:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=iP1TTptpRyw5yLEGWMn2RuRhZETfDVN1F+s9S9PWxmM=; b=gu6UoB87RtHRVk i8Ny1Jm0bU4dBaMaH05yJA58Ky7ncLHbHvq9D9VNp6tTuW5uKrpKm1MMdtiSw65AzUfCijP1fF/1M ///WIWTbCV2cjAFL1x2yw3bBn45o3n3j+pbqnpr5Es50I1V9Gs4aqSOg+SuRvqUkHiXprw2KnGSRc bq+ijD90pQLOFJg9Y0P7BGyEQkWTdQ0p2xn6VHK2r29WgbYiu5I7CpzKtIWfH4hyey18wYG3JmRgL cM37olH3mpvfer8jLaPwsHMscN65OtmBd9E1FZuU4BN5ZeHz1re2+ot9nGNoK/zIm19voC5NlfMnJ 4kwRm0fugXNvFsiNvGAA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1grM6L-0006jV-SG; Wed, 06 Feb 2019 12:14:49 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1grM6I-0006ik-Te for ath10k@lists.infradead.org; Wed, 06 Feb 2019 12:14:48 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 314EB608CF; Wed, 6 Feb 2019 12:14:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1549455285; bh=xIZG6tB6lwjd99zst8xlGgoVSpvs2WMWCOcW2tQLEzw=; h=From:To:Cc:Subject:Date:From; b=nxm2OTtdcngPbQCgKXqULItTGw4hokE2s7dhZaeJEeCRDfYZWdfUCM5ZDft9WbRC+ KnPsUBrRee9DtA5eUTzkor4/RBbtuYnhgiTa8LF/CtT0wpafor773MUIFJKC3bpun1 llGoS2vqJInl3gfZA+VRPM7wvWWxyFZO9TT/d+kY= Received: from govinds-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: govinds@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 7809C60734; Wed, 6 Feb 2019 12:14:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1549455284; bh=xIZG6tB6lwjd99zst8xlGgoVSpvs2WMWCOcW2tQLEzw=; h=From:To:Cc:Subject:Date:From; b=W2fvMfT+Louu+Cwn2pFXLxPcAdH5GQ5Lnpmo4wug0YIw1kN8xyIU4Ri14lmcB5H0u Y6ga8WSyPFFHOnEmPqFzgRZVTa5w/b2eWM3cbz5TjIX5VfvK1bgnZHs7cwqTDxDp2D xbnKf4+ZbTlR6hMyzqTGYp7FDiZ1JrUI3XObqFcg= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 7809C60734 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=govinds@codeaurora.org From: Govind Singh To: ath10k@lists.infradead.org Subject: [PATCH v3 0/3] Add support for suspend/resume and WOW for WCN3990 chipset Date: Wed, 6 Feb 2019 17:44:30 +0530 Message-Id: <20190206121433.11606-1-govinds@codeaurora.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190206_041446_979351_E51378C7 X-CRM114-Status: GOOD ( 10.07 ) X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Govind Singh , linux-wireless@vger.kernel.org Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This series adds support for driver suspend/resume and wake over wlan support for WCN3990 chipset. CE2 is configured as wakeup source before driver suspend and FW can wake up application processor on Magic packet/Deauth/AP lost. Changes since v2: * Removed BUS TYPE check and introduced bus param at struct ath10k level for scalability. Changes since v1: * dropped ath10k: configure the vdev listen interval before wow suspend patch from the series. This can be send later after refactoring/tuning. * updated commit text in ath10k: Disable interface pause wow config for integrated chipset patch. Govind Singh (3): ath10k: Enable bus layer suspend/resume for WCN3990 ath10k: Disable interface pause wow config for integrated chipset ath10k: Request credit report if flow control enabled on ep drivers/net/wireless/ath/ath10k/core.c | 5 ++- drivers/net/wireless/ath/ath10k/core.h | 2 + drivers/net/wireless/ath/ath10k/coredump.c | 2 +- drivers/net/wireless/ath/ath10k/debug.c | 4 +- drivers/net/wireless/ath/ath10k/htc.c | 9 +++-- drivers/net/wireless/ath/ath10k/htt_rx.c | 10 ++--- drivers/net/wireless/ath/ath10k/htt_tx.c | 6 +-- drivers/net/wireless/ath/ath10k/pci.c | 3 +- drivers/net/wireless/ath/ath10k/snoc.c | 45 ++++++++++++++++++++++ drivers/net/wireless/ath/ath10k/txrx.c | 2 +- drivers/net/wireless/ath/ath10k/wmi-tlv.c | 2 + drivers/net/wireless/ath/ath10k/wmi-tlv.h | 7 ++++ 12 files changed, 78 insertions(+), 19 deletions(-)