iwlwifi: more RS improvements
authorGuy Cohen <guy.cohen@intel.com>
Thu, 24 Apr 2008 00:15:03 +0000 (17:15 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 May 2008 19:02:19 +0000 (15:02 -0400)
commit07bc28ed87424af13f622b7c4e2a1bff06112d94
tree316d92d2f65fcfa9b85b0f1e26b133f3dbc3b47e
parentf935a6daa07ac78a35d1513fc61c88774b628a4c
iwlwifi: more RS improvements

Main changes:
1. no need to re-calculate expected_tpt when only toggling antenna
2. changing the code to be more strict on input and status of variables
3. enhanced debug prints
4. move to search table only if improving tpt
       (don't move if SR is improved but tpt is not)

Signed-off-by: Guy Cohen <guy.cohen@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-4965-rs.c
drivers/net/wireless/iwlwifi/iwl4965-base.c