Skip to content

Commit

Permalink
iwlwifi: showing accumulative ucode statistics counters
Browse files Browse the repository at this point in the history
Adding accumulative statistics counters in iwlwifi driver.
Statistics counters are reported by uCode every beacon interval; but can
be reset by uCode when needed. The accumulative statistics counters is
maintained by driver to keep track of the history of all the counters.

Update the ucode stats files in debugfs to display both latest and
accumulative counters.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Wey-Yi Guy authored and John W. Linville committed Oct 27, 2009
1 parent 88804e2 commit 92a35bd
Show file tree
Hide file tree
Showing 4 changed files with 447 additions and 229 deletions.
2 changes: 0 additions & 2 deletions drivers/net/wireless/iwlwifi/iwl-3945.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,6 @@ void iwl3945_hw_rx_statistics(struct iwl_priv *priv,
memcpy(&priv->statistics_39, pkt->u.raw, sizeof(priv->statistics_39));

iwl_leds_background(priv);

priv->last_statistics_time = jiffies;
}

/******************************************************************************
Expand Down
Loading

0 comments on commit 92a35bd

Please sign in to comment.