From patchwork Mon Mar 24 08:02:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chun-Yeow Yeoh X-Patchwork-Id: 3881551 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 03504BF540 for ; Mon, 24 Mar 2014 08:02:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3A5C82020E for ; Mon, 24 Mar 2014 08:02:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6502D201F4 for ; Mon, 24 Mar 2014 08:02:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750893AbaCXICS (ORCPT ); Mon, 24 Mar 2014 04:02:18 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:49213 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750850AbaCXICQ (ORCPT ); Mon, 24 Mar 2014 04:02:16 -0400 Received: by mail-pa0-f49.google.com with SMTP id lj1so5080035pab.22 for ; Mon, 24 Mar 2014 01:02:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=A2adEzFr0lAlzlhmGaNzmQFnY6mcgalJ1d22OuBul7Y=; b=jWQwvP+gawd3GLCO6pjJYkbn46NRv5bGaSNkbDSFyYt/MY5nHTwCmv8YSo7Xb9JG1C HNvaZzLHHuZirsEuT40qJHF155aPTP51We3H7mMzII2a6RxcXcB3dX/vo5ubBIZV6TXg xBEwrW3RuCLEXKcZ2vd8+uoOs0ewBRI8THqoAtw3PBbO3e6o2mVYbtV8Spb2ezCk2wmP 0BqG2c3e7o5qmq/1KnoA0AOsUDBkEUjMZokToqL9R7rSeeMXXwU1I9EkDnSVVa1TX/XH 6oInWIespSqLsWiEI1a2liGzdhvo8DRN5+Fa6PD75R3o24rbUTPFHXxrJHJqLUZLEt2s LbUQ== X-Received: by 10.66.136.103 with SMTP id pz7mr2057801pab.140.1395648135225; Mon, 24 Mar 2014 01:02:15 -0700 (PDT) Received: from localhost.localdomain ([58.26.233.145]) by mx.google.com with ESMTPSA id qw8sm31582959pbb.27.2014.03.24.01.02.13 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 24 Mar 2014 01:02:14 -0700 (PDT) From: Chun-Yeow Yeoh To: ath10k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, kvalo@qca.qualcomm.com, Chun-Yeow Yeoh Subject: [PATCH] ath10k: update wal_dbg_tx_stats structure with missing parameter Date: Mon, 24 Mar 2014 16:02:02 +0800 Message-Id: <1395648122-2125-1-git-send-email-yeohchunyeow@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch is introduced by Bartosz Markowski but never upstream. By using this patch, 636 firmware is able to print out the peer stats correctly and have caused no regression to the latest AP firmware as well. The original patch from Bartosz Markowski can be found at: http://lists.infradead.org/pipermail/ath10k/2013-September/000318.html Signed-off-by: Chun-Yeow Yeoh --- drivers/net/wireless/ath/ath10k/wmi.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/wmi.h b/drivers/net/wireless/ath/ath10k/wmi.h index 2b2f0b7..d1275a3 100644 --- a/drivers/net/wireless/ath/ath10k/wmi.h +++ b/drivers/net/wireless/ath/ath10k/wmi.h @@ -2685,6 +2685,9 @@ struct wal_dbg_tx_stats { /* wal pdev resets */ __le32 pdev_resets; + /* frames dropped due to non-availability of stateless TIDs */ + __le32 stateless_tid_alloc_failure; + __le32 phy_underrun; /* MPDU is more than txop limit */