]> git.baikalelectronics.ru Git - kernel.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)
commit0e60a9d42c3486e179bd4aea7bb6a27c293729ee
tree81610adcf2d587486517262e8c14c3e34d0fb26e
parente996924adcfc26e4939a0ef7c36b1e1ae22a4c66
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