]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
iwlagn: improve rate scale table search
authorMohamed Abbas <mohamed.abbas@intel.com>
Fri, 8 May 2009 20:44:39 +0000 (13:44 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 May 2009 19:24:01 +0000 (15:24 -0400)
commitd6e933993fdad4a270c557fa5317f668bef1d824
tree81610adcf2d587486517262e8c14c3e34d0fb26e
parent7af2c460789a78d9c0d4dc7776fcb87acdc71052
iwlagn: improve rate scale table search

iwlagn rate scaling will periodically search other rate scale
tables to switch to the best table regarding performance. In the past
the number of search tables were 3. Every time the rate scale algorithm
goes through these available tables in will stay in current table for
some time before start searching again. Recent driver support more
feature and antenna, so we have more tables to search. This patch make
sure we go through all available tables.

Signed-off-by: Mohamed Abbas <mohamed.abbas@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-rs.c
drivers/net/wireless/iwlwifi/iwl-agn-rs.h