From patchwork Wed Feb 27 07:13:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Surabhi Vishnoi X-Patchwork-Id: 10831311 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 80A811390 for ; Wed, 27 Feb 2019 07:13:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 645222AF87 for ; Wed, 27 Feb 2019 07:13:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 569C72A652; Wed, 27 Feb 2019 07:13:57 +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 F1D612CADE for ; Wed, 27 Feb 2019 07:13:56 +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=pzJlUR+kfSo0WoqffK6gnmGtw/ABEx+5SRN+qQ9nBAc=; b=enI 8dna/wvv/H49S8LopTE/WohhRKwZbgoZfXUDLKeimBU9RNHwFVZTJvF+aqjScEJ2pLI4cAxagDo31 I0+gMbPGuFMclZtrJ0Aw0spSDDpa19tngXLDNj2y2z72Vh+9b6RtKzO4NeLpCYgAatG+59tcE27vZ ccHmKPI0miQv0oFW8FgHmWOx/raES7S3Hr/vMvgN4kXD8qhM/JqQC4Wl2k7GyZKznRmuBGlo4i6Wk uS6UVS067z9XTMBinhMFH3xX2hIh6BHfGt8KBK8C92tqQ2oujqBZ7HNfjqDplUdUeVXLHK1sKu+BN i/h293DF/v0P4zHw3ejus5Yw0FOXZFg==; 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 1gytPg-00067n-4f; Wed, 27 Feb 2019 07:13:56 +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 1gytPd-00067S-KP for ath10k@lists.infradead.org; Wed, 27 Feb 2019 07:13:55 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 5FC3360CED; Wed, 27 Feb 2019 07:13:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1551251633; bh=jMSTB891BGiQPsZwNirO71sWe9kv0OkFQmBIGi4Ws+k=; h=From:To:Cc:Subject:Date:From; b=H5Ey7vHDVZ2x9LkCyHRMHmcqe9k5RwYJI9nMpUT1gL33yxhwSDR3GWvs2kuaYRpTV MM3wU+bE5AX62ngma8hn7DicEtMFArg8lH+22FlmL7B5av+KXHHpbU4Fi0Jjuq16OG EQGBtoO4r+aWIQfukM7/3xypYUAbizEx6FSBD5ao= Received: from svishnoi-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: svishnoi@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id C83C160AA3; Wed, 27 Feb 2019 07:13:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1551251633; bh=jMSTB891BGiQPsZwNirO71sWe9kv0OkFQmBIGi4Ws+k=; h=From:To:Cc:Subject:Date:From; b=H5Ey7vHDVZ2x9LkCyHRMHmcqe9k5RwYJI9nMpUT1gL33yxhwSDR3GWvs2kuaYRpTV MM3wU+bE5AX62ngma8hn7DicEtMFArg8lH+22FlmL7B5av+KXHHpbU4Fi0Jjuq16OG EQGBtoO4r+aWIQfukM7/3xypYUAbizEx6FSBD5ao= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C83C160AA3 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=svishnoi@codeaurora.org From: Surabhi Vishnoi To: ath10k@lists.infradead.org Subject: [PATCH 0/2] Add support for per peer HTT tx stats for WCN3990 Date: Wed, 27 Feb 2019 12:43:46 +0530 Message-Id: <1551251628-22518-1-git-send-email-svishnoi@codeaurora.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190226_231353_681727_BFF08916 X-CRM114-Status: UNSURE ( 7.26 ) 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: linux-wireless@vger.kernel.org, Surabhi Vishnoi 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 firmware sends the HTT_TLV_T2H_MSG_TYPE_PEER_STATS in tlv format so the handling of this message has to be done in different manner. This patchset adds support to attach rx_ops based on htt version and adds the handling of HTT_TLV_T2H_MSG_TYPE_PEER_STATS message based on HTT version. Surabhi Vishnoi (2): ath10k: Add support for adding htt_rx_ops based on htt_version ath10k: Add support for per peer HTT tx stats for WCN3990 drivers/net/wireless/ath/ath10k/htt.c | 2 + drivers/net/wireless/ath/ath10k/htt.h | 67 +++++++++++- drivers/net/wireless/ath/ath10k/htt_rx.c | 165 ++++++++++++++++++++++++++++-- drivers/net/wireless/ath/ath10k/hw.c | 45 +++++++- drivers/net/wireless/ath/ath10k/hw.h | 34 ++++++ drivers/net/wireless/ath/ath10k/wmi-tlv.c | 3 + drivers/net/wireless/ath/ath10k/wmi-tlv.h | 33 ++++++ drivers/net/wireless/ath/ath10k/wmi.h | 3 - 8 files changed, 340 insertions(+), 12 deletions(-)