iwlwifi: mvm: rs: fix search cycle rules
authorEyal Shapira <eyal@wizery.com>
Sun, 16 Mar 2014 03:23:21 +0000 (05:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Apr 2014 13:50:05 +0000 (06:50 -0700)
commitb025cf09a2c93108eb527f55f62f42e9d2291ffd
treed93bf88c01056476c6281413741dee02cbca4153
parent661f2c959342dd73e679adba75b2f8ddbe276981
iwlwifi: mvm: rs: fix search cycle rules

commit 8930b05090acd321b1fc7c642528c697cb105c42 upstream.

We should explore all possible columns when searching to be
as resilient as possible to changing conditions. This fixes
for example a scenario where even after a sudden creation of
rssi difference between the 2 antennas we would keep doing MIMO
at a low rate instead of switching to SISO at a higher rate using
the better antenna which was the optimal configuration.

Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/iwlwifi/mvm/rs.c