From patchwork Tue Sep 3 08:21:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Markowski X-Patchwork-Id: 2853135 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A3EC39F499 for ; Tue, 3 Sep 2013 08:21:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9E3F0202FE for ; Tue, 3 Sep 2013 08:21:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 43EC22037E for ; Tue, 3 Sep 2013 08:21:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759757Ab3ICIVk (ORCPT ); Tue, 3 Sep 2013 04:21:40 -0400 Received: from ebb05.tieto.com ([131.207.168.36]:63107 "EHLO ebb05.tieto.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759749Ab3ICIVh (ORCPT ); Tue, 3 Sep 2013 04:21:37 -0400 X-AuditID: 83cfa824-b7f348e000004c45-19-52259c0cd213 Received: from FIVLA-EXHUB02.eu.tieto.com ( [131.207.136.42]) by ebb05.tieto.com (SMTP Mailer) with SMTP id E9.72.19525.C0C95225; Tue, 3 Sep 2013 11:21:32 +0300 (EEST) Received: from uw000975.eu.tieto.com (10.28.19.100) by inbound.tieto.com (131.207.136.49) with Microsoft SMTP Server id 8.3.298.1; Tue, 3 Sep 2013 11:21:28 +0300 From: Bartosz Markowski To: CC: , Bartosz Markowski Subject: [PATCH v4 1/2] ath10k: update wal_dbg_tx_stats structure with missing parameter. Date: Tue, 3 Sep 2013 10:21:20 +0200 Message-ID: <1378196481-13983-2-git-send-email-bartosz.markowski@tieto.com> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1378196481-13983-1-git-send-email-bartosz.markowski@tieto.com> References: <1378196481-13983-1-git-send-email-bartosz.markowski@tieto.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrJIsWRmVeSWpSXmKPExsXSfL5DS5dnjmqQQc8ceYtHl44xWzyZ/J3F 4s2KO+wOzB6fZ95l89i8pN7j8ya5AOYoLpuU1JzMstQifbsErozuX5/ZC56xVWz6sY2tgfEc axcjB4eEgInE1V9ZXYycQKaYxIV769m6GLk4hARWMUp8ujeFBcJZyijRsLidBaSKTcBU4v6G FawgtoiAgsSvSR/ZQGxmgXCJV1t/gdUIC0RKbFz6lBHEZhFQkbi28RtYPa+At0Tn1s2sENvk JZ7e7wPr5RTwkWjetZUdxBYCqrn++SE7RL2gxMmZT1gg5ktIHHzxghmiRkNizs6XLBMYBWYh KZuFpGwBI9MqRv7UpCQDU72SzNSSfL3k/NxNjOAQXKGyg/HsA6lDjAIcjEo8vBnHVIKEWBPL iitzDzFKcjApifKKzlQNEuJLyk+pzEgszogvKs1JLT7EKMHBrCTCK/QNqJw3JbGyKrUoHyYl zcGiJM6bqygWJCSQnliSmp2aWpBaBJOV4eBQkuA9NAtoqGBRanpqRVpmTglCmomDE2Q4D9Dw tSA1vMUFibnFmekQ+VOMilLivOdAEgIgiYzSPLheWIp4xSgO9Iow7yuQKh5geoHrfgU0mAlo 8LWJiiCDSxIRUlINjKvfTvuyKWBf3l21Donlk7OeFLfOnS28TvHLK1utLSqq+8pftnypYjAR v+J5K/qk3YXoC378zV/3Wh9OvHr5YElNcc2TbRdeeest5lp7pPxCQNAn2a08WfZ35Oo+nLl1 5t+Bg4meOisPRf4K2ZtyZ0VteO6dkJnOVwUnXtyT0cwlnD3R/6hW4U0lluKMREMt5qLiRADW 7IMe7AIAAA== Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 The filed has been missing (missmatched with FW ABI) since 1.0.0.629 firmware release. It's very imporatant to keep these structs up to date with FW, due to the arithmetic we use while read the fw_stats. Signed-off-by: Bartosz Markowski --- 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 08860c4..5b94707 100644 --- a/drivers/net/wireless/ath/ath10k/wmi.h +++ b/drivers/net/wireless/ath/ath10k/wmi.h @@ -1767,6 +1767,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 */