From patchwork Sat Jul 17 14:55:15 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Guy, Wey-Yi W" X-Patchwork-Id: 112563 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o6HErhGY014789 for ; Sat, 17 Jul 2010 14:53:43 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759972Ab0GQOxj (ORCPT ); Sat, 17 Jul 2010 10:53:39 -0400 Received: from mga02.intel.com ([134.134.136.20]:26340 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755932Ab0GQOxi (ORCPT ); Sat, 17 Jul 2010 10:53:38 -0400 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 17 Jul 2010 07:52:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.55,219,1278313200"; d="scan'208";a="536382728" Received: from wwguy-huron.jf.intel.com (HELO localhost.localdomain) ([134.134.163.194]) by orsmga002.jf.intel.com with ESMTP; 17 Jul 2010 07:54:07 -0700 From: Wey-Yi Guy To: linville@tuxdriver.com Cc: linux-wireless@vger.kernel.org, ipw3945-devel@lists.sourceforge.net, Wey-Yi Guy Subject: [PATCH 2/3] iwlwifi: more statistics counter for agn in debugfs Date: Sat, 17 Jul 2010 07:55:15 -0700 Message-Id: <1279378516-31290-3-git-send-email-wey-yi.w.guy@intel.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1279378516-31290-1-git-send-email-wey-yi.w.guy@intel.com> References: <1279378516-31290-1-git-send-email-wey-yi.w.guy@intel.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sat, 17 Jul 2010 14:53:43 +0000 (UTC) diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-debugfs.c b/drivers/net/wireless/iwlwifi/iwl-agn-debugfs.c index 75d6bfc..5e5c512 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-debugfs.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-debugfs.c @@ -813,6 +813,13 @@ ssize_t iwl_ucode_general_stats_read(struct file *file, char __user *user_buf, delta_dbg->burst_count, max_dbg->burst_count); pos += scnprintf(buf + pos, bufsz - pos, " %-30s %10u %10u %10u %10u\n", + "wait_for_silence_timeout_count:", + le32_to_cpu(dbg->wait_for_silence_timeout_cnt), + accum_dbg->wait_for_silence_timeout_cnt, + delta_dbg->wait_for_silence_timeout_cnt, + max_dbg->wait_for_silence_timeout_cnt); + pos += scnprintf(buf + pos, bufsz - pos, + " %-30s %10u %10u %10u %10u\n", "sleep_time:", le32_to_cpu(general->sleep_time), accum_general->sleep_time,