iwlwifi: mvm: rs: use correct max expected throughput figures
authorEyal Shapira <eyal@wizery.com>
Mon, 31 Mar 2014 19:37:39 +0000 (22:37 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 13 Apr 2014 13:51:03 +0000 (16:51 +0300)
commit198266a3c110e8a68895a24e937003f5da0c5f60
tree05f862de53c0a649906785f7de1b7f3295002e16
parent08a732f4e4a842f0101e5ea03d79e9d613ffadbe
iwlwifi: mvm: rs: use correct max expected throughput figures

The selection of the max expected throughput for a column
didn't take into account the maximal allowed rate for the current
peer. This can cause unnecessary switches during the search cycle
to columns which have no chance of beating the current throughput.

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