iwlwifi: mvm: rs: update expected TPT tables if aggregation changed
authorEyal Shapira <eyal@wizery.com>
Wed, 20 Nov 2013 23:12:11 +0000 (01:12 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 9 Dec 2013 20:29:47 +0000 (22:29 +0200)
commit9d015a03345d54d8de0339b2137deb96524766e0
tree86e0cf274433dc9c342bc645f19a3445d7063e3a
parentd17334c4405951e326d6c393a357d3cb937a090e
iwlwifi: mvm: rs: update expected TPT tables if aggregation changed

Expected TPT table was updated only when switching to a new
modulation. This is wrong as toggling aggregation changes
the expected TPT signficantly.
This leads to scenarios where turning aggregation on after
being in MIMO sends us back to SISO despite a perfect success
ratio.
This occurred because the TPT of the SISO mode was being
estimated based on aggregation while the MIMO one wasn't.

Also remove an error print which isn't an error anymore
since we might be updating the expected TPT table due
to aggregation changes.

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