aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl4965-base.c
diff options
context:
space:
mode:
authorRon Rindjunsky <ron.rindjunsky@intel.com>2008-05-15 01:53:55 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-05-21 21:47:52 -0400
commitedcdf8b21ac920e06b4180246123fe43b022e020 (patch)
treef24622a574e9f8a2746339ae0460f555a6bdd3b0 /drivers/net/wireless/iwlwifi/iwl4965-base.c
parent0b794d63c5db8d010d1584c694eba97f0391fca6 (diff)
mac80211: separate Tx and Rx MCS when configuring HT
This patch follows the 11n spec in separation between Tx and Rx MCS capabilities. Up until now, when configuring the HT possible set of Tx MCS only Rx MCS were considered, assuming they are the same as the Tx MCS. This patch fixed this by looking at low level driver Tx capabilities. Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl4965-base.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl4965-base.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c
index 1a2d3768867d..c713b27ec653 100644
--- a/drivers/net/wireless/iwlwifi/iwl4965-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c
@@ -3958,6 +3958,13 @@ static void iwl4965_dealloc_ucode_pci(struct iwl_priv *priv)
3958 iwl_free_fw_desc(priv->pci_dev, &priv->ucode_boot); 3958 iwl_free_fw_desc(priv->pci_dev, &priv->ucode_boot);
3959} 3959}
3960 3960
3961static void iwl4965_nic_start(struct iwl_priv *priv)
3962{
3963 /* Remove all resets to allow NIC to operate */
3964 iwl_write32(priv, CSR_RESET, 0);
3965}
3966
3967
3961/** 3968/**
3962 * iwl4965_read_ucode - Read uCode images from disk file. 3969 * iwl4965_read_ucode - Read uCode images from disk file.
3963 * 3970 *
@@ -4447,8 +4454,7 @@ static int __iwl4965_up(struct iwl_priv *priv)
4447 } 4454 }
4448 4455
4449 /* start card; "initialize" will load runtime ucode */ 4456 /* start card; "initialize" will load runtime ucode */
4450 /* Remove all resets to allow NIC to operate */ 4457 iwl4965_nic_start(priv);
4451 iwl_write32(priv, CSR_RESET, 0);
4452 4458
4453 IWL_DEBUG_INFO(DRV_NAME " is coming up\n"); 4459 IWL_DEBUG_INFO(DRV_NAME " is coming up\n");
4454 4460
@@ -6842,10 +6848,6 @@ static int __init iwl4965_init(void)
6842 6848
6843 return ret; 6849 return ret;
6844 6850
6845
6846#ifdef CONFIG_IWLWIFI_DEBUG
6847 pci_unregister_driver(&iwl_driver);
6848#endif
6849error_register: 6851error_register:
6850 iwl4965_rate_control_unregister(); 6852 iwl4965_rate_control_unregister();
6851 return ret; 6853 return ret;