iwlwifi: mvm: add per rate tx stats
authorEyal Shapira <eyal@wizery.com>
Mon, 24 Mar 2014 00:12:00 +0000 (02:12 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 13 Apr 2014 06:36:03 +0000 (09:36 +0300)
commit757cf23b4b4bcede8ffb40947536fbc8722567ab
tree8cd18fe792bc37e0553ff9d380e101244d144b7c
parentc531c77150693759ca0b886a80973d6ae6a1a0d5
iwlwifi: mvm: add per rate tx stats

Collect accumulated stats of tx attempts and successes
per rate and column for debugging purposes.
These stats can be read via debugfs file drv_tx_stats
and can also be reset by writing to this file.

Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/rs.c
drivers/net/wireless/iwlwifi/mvm/rs.h