iwlwifi: mvm: rs: don't zero tx stats after idle
authorEyal Shapira <eyal@wizery.com>
Fri, 15 Aug 2014 22:30:30 +0000 (01:30 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 14 Sep 2014 09:56:38 +0000 (12:56 +0300)
commitf58220f6b9ba69c782eafbfe703be8c4bca6b33d
tree2b34f32766f85a1607d7a8ac7f5204c92230e8e4
parentf3bd58f486acd954ca8d90f8733d752dbd98eec6
iwlwifi: mvm: rs: don't zero tx stats after idle

Move the tx stats to the persistent area of lq_sta to
avoid them being zeroed out every time rs reinitializes
which happens after tx idle for 5 secs for example.
The automatic zeroing out made them difficult to use.

Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@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