iwlwifi: fix searching for best rate in new search column
authorGuy Cohen <guy.cohen@intel.com>
Tue, 9 Sep 2008 02:54:53 +0000 (10:54 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 11 Sep 2008 19:53:39 +0000 (15:53 -0400)
commit90d7795e152f9b7095adef77b71a4448f092e3b6
treec7c92298411edd5c42b01eb564a5a0711709285d
parent12e5e22d38577a5a16dd47e7144722817a55e52e
iwlwifi: fix searching for best rate in new search column

This patch fixes a bug in Rate Scaling. When moving from SISO to MIMO we
need to choose the lowest higher rate, instead of choosing the highest in MIMO.
No doing this can lead to a high packet loss in the highest rate in MIMO,
leading not to move MIMO although lower in MIMO could give a better TPT.

Signed-off-by: Guy Cohen <guy.cohen@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-rs.c