From patchwork Tue Aug 28 04:36:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Govind Singh X-Patchwork-Id: 10577861 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 EE1C71390 for ; Tue, 28 Aug 2018 04:37:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF1B1205FB for ; Tue, 28 Aug 2018 04:37:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D34A029BBB; Tue, 28 Aug 2018 04:37:20 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 67D2F205FB for ; Tue, 28 Aug 2018 04:37:20 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=QJx7co8WViV0LAHbKhgfMwkYZlMr7oknJBoHyQjfPYw=; b=nP1 sm9cakDxNdSUZIKgQwuAFequuvyQl9F5dN218vEl+zSyTF/xKHs3ssD4HNYdZKPCKrNjKOSBjHvx5 ai5g4W6gZqguSvhzCQW69BBaXTzQCAgRrnMWWBRtmrCegBdVzNXt6J0tbfyY9cKU1rOe9Y8f9BfDd db0Y70crYYLmWD51SyStGRkhdDMts4jcAtlQVpO69er82V4wvhMvFu/qGjQfDLNT/SSYYAzRmhD6t byEhtWDaClxDP+TWlD3gYa2VaAssDQ2qS1A+n6A/yeYh1mHfyhAauDGUzsFRqqJ1e1z/KzeMTPe+d R66A72mcsOFgdWfIvkSalza3i+EtoAA==; 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 1fuVkc-00072Y-8t; Tue, 28 Aug 2018 04:37:10 +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 1fuVkY-00070B-SM for ath10k@lists.infradead.org; Tue, 28 Aug 2018 04:37:08 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 8EBFD60445; Tue, 28 Aug 2018 04:36:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1535431015; bh=OvtlsspbAT+e/u8FLeO/RZqDanHf7VrwCkwxWPm8F3Y=; h=From:To:Cc:Subject:Date:From; b=PSDMMCMpu38H1lPYAE3v421oHeCeqvjcygE8NEJ32EMg4Yog7KnWwP+N+fjZvcQBA DPcsy8J52CidUh7PvdpyHIy/EpDjBSvz1iBeopZcCb/O3i/r3Dc+aunkzKWUjpijTE 3uhSNPKAsespCMBozcmwMIKkcH1HUgSJVVJbNtDg= 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 00637602AE; Tue, 28 Aug 2018 04:36:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1535431015; bh=OvtlsspbAT+e/u8FLeO/RZqDanHf7VrwCkwxWPm8F3Y=; h=From:To:Cc:Subject:Date:From; b=PSDMMCMpu38H1lPYAE3v421oHeCeqvjcygE8NEJ32EMg4Yog7KnWwP+N+fjZvcQBA DPcsy8J52CidUh7PvdpyHIy/EpDjBSvz1iBeopZcCb/O3i/r3Dc+aunkzKWUjpijTE 3uhSNPKAsespCMBozcmwMIKkcH1HUgSJVVJbNtDg= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 00637602AE 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 0/2] ath10k: Enable pktlog for WCN3990 chipset Date: Tue, 28 Aug 2018 10:06:40 +0530 Message-Id: <20180828043642.14890-1-govinds@codeaurora.org> X-Mailer: git-send-email 2.17.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180827_213706_967570_AB973714 X-CRM114-Status: UNSURE ( 5.85 ) X-CRM114-Notice: Please train this message. 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 MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP WCN3990 target uses separate htc service(ATH10K_HTC_SVC_ID_HTT_LOG_MSG) for pktlog. Add pktlog service request and support for pktlog rx path handling. Tested HW: WCN3990 and QCA6174. Tested FW: WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1, WLAN.RM.4.4.1-00109-QCARMSWPZ-1 Govind Singh (2): ath10k: Introduce CE_ATTR_POLL attribute for polling pipe ath10k: Enable pktlog for WCN3990 target drivers/net/wireless/ath/ath10k/ce.c | 18 ++++++-- drivers/net/wireless/ath/ath10k/ce.h | 11 +++-- drivers/net/wireless/ath/ath10k/htc.c | 63 +++++++++++++++++++++++++- drivers/net/wireless/ath/ath10k/pci.c | 4 +- drivers/net/wireless/ath/ath10k/snoc.c | 13 +++++- 5 files changed, 96 insertions(+), 13 deletions(-)