From patchwork Tue Feb 26 09:27:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Surabhi Vishnoi X-Patchwork-Id: 10829763 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 25F9C1399 for ; Tue, 26 Feb 2019 09:28:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 129442B35B for ; Tue, 26 Feb 2019 09:28:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 06ABF29A1C; Tue, 26 Feb 2019 09:28:16 +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 B56D12B35B for ; Tue, 26 Feb 2019 09:28:15 +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=I3LY/JnoJQffOW66m5H9CWFdmB9tkkCcEt0sRVH/lV4=; b=M5I z3YVtgntMB5rwseI6duCKFRZnW4OUVxlfbTsPNev92iihpU/hoQ409BrvK7ZlbMxtGPjSTVleQ2JB w1rRhqf6uXSihahFeVx8yNE3MK8xHFerVlWTepJ4M34DarkoTRf0evtVj3K5h/+KaYCNCUie6Vj5n 7NqBa6kzAI6j7Z0Yt0LDKqwXjVDqilRcKh/R0SDkDh9FBFc5sPInQ//F+/4LmR+TbdvwNParGTj45 80WWTmS3lMTeU/eQqFHrWlOe7AKLuaohOZo/8d5fVwJeVpaZcbmClUucS0+pWRtBCIhPL6VcaJE48 jF1+CWnwCx6O2POJUKdcWloESyKMhmA==; 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 1gyZ26-0001M5-DX; Tue, 26 Feb 2019 09:28:14 +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 1gyZ23-0001Ll-C8 for ath10k@lists.infradead.org; Tue, 26 Feb 2019 09:28:12 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 7C6C160E42; Tue, 26 Feb 2019 09:28:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1551173290; bh=VQLEWaLvpFhmeyRn+DYXOaJoZ0DT8PYj2TgSVjJyzd0=; h=From:To:Cc:Subject:Date:From; b=kT5a3vbL0GJ79Ozc7gN++4lisxsjC8kpoJqbqYa4DX1MV2vMjQ/LCh9L2AJM6dPS/ qCQHzowtatxR8obaSw1gBvEuM6A2k+lFLiHrv6KeMKAcwfkw0NhNHQIhOpuys/d0gb vp0+wg/wlXSHRQGzbcyRpf1SxWQVRwHFFyB2oBq0= 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 7569160767; Tue, 26 Feb 2019 09:28:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1551173289; bh=VQLEWaLvpFhmeyRn+DYXOaJoZ0DT8PYj2TgSVjJyzd0=; h=From:To:Cc:Subject:Date:From; b=fpOsCM7UENYCaLDNQj1PaHcEnHkmDrgyzAPWPwDP9FOU432Btp5YQo2rfKQGiXXTa 0yuKt9VszyA4/vZJ153FZEsGr+qE1ejdoeWOoVIcYlI2qkGHCRzhdHR+krzgPpR0hb Tjcej/81lylp9qOyu/q/5sZvrzrA8dUs3O4Gs/pI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 7569160767 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 v2 0/4] Fix inconsistencies observed in population of tx_stats in debugfs Date: Tue, 26 Feb 2019 14:57:54 +0530 Message-Id: <1551173278-20926-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_012811_433340_A281C602 X-CRM114-Status: UNSURE ( 6.76 ) 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 There are some inconsistencies observed while filling various peer tx stats in tx_stats debugfs entry per sta. This patchset fixes the wrong updation of NSS, SGI, Bandwidth and rate_table in tx_stats debugfs entry per sta. Changes from v1: -Initialized the uninitialized variable flags in [Patch 3/4] Surabhi Vishnoi (4): ath10k: Fix the incorrect updation of NSS data in tx stats ath10k: Fix the wrong updation of BW in tx_stats debugfs entry ath10k: Fix the wrong updation of SGI in tx_stats debugfs ath10k: Fix the wrong calculation ht_idx and idx of rate table for tx_stats drivers/net/wireless/ath/ath10k/debugfs_sta.c | 7 ++++--- drivers/net/wireless/ath/ath10k/htt_rx.c | 26 ++++++++++++++------------ drivers/net/wireless/ath/ath10k/wmi.h | 3 ++- 3 files changed, 20 insertions(+), 16 deletions(-)