iwlwifi: mvm: rs: fix TLC statistics collection
commit87f55616f81bf6c82f0e94cf4661151399d2a7b6
authorGregory Greenman <gregory.greenman@intel.com>
Thu, 6 Jul 2017 02:27:55 +0000 (6 05:27 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 1 Aug 2017 08:51:02 +0000 (1 11:51 +0300)
tree086cd3fb1c06559588421b1806ab64303af6c751
parent9465c3f8ba67cff697c0529de5a03cc5e1509d41
iwlwifi: mvm: rs: fix TLC statistics collection

Statistics should be collected according to the actual rate a
frame/aggregation was transmitted and not according to the initial rate
from the last LQ command (these rates are different if the frames were
retransmitted at a lower rate from the rate scale table).

This is needed to remove throughput degradation.

Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rs.c