iwlwifi: use the results from disconnected antenna algorithm
authorGrumbach, Emmanuel <emmanuel.grumbach@intel.com>
Wed, 3 Sep 2008 03:26:53 +0000 (11:26 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 11 Sep 2008 19:53:31 +0000 (15:53 -0400)
commit04816448d8b77551834c9ea01e407ef5f0042f0f
treee3c1e019045e0d275f67f79b32ca3fae5e74c2ae
parent12837be1c127e6fba2e3f916a18fc202a9889af2
iwlwifi: use the results from disconnected antenna algorithm

This patch makes usage of the results from disconnected antenna alg to
know how many antennas are connected.

It also synchronizes between the chain noise alg and the W/A that
disables power management during association. All the antennas must be
enables during the chain noise algorithm. Hence, power management is
restored only after the completion of the algorithm.

In the future, we will need to update the AP that we don't support MIMO
if there is only one antenna connected. We also need to update the rate
scaling algorithm.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@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.c
drivers/net/wireless/iwlwifi/iwl-calib.c
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl-power.c
drivers/net/wireless/iwlwifi/iwl-power.h