diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-04-09 12:36:11 -0400 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-04-16 16:52:57 -0400 |
commit | 33e6f816105b5cfaafbbf42682807cc317e87cb5 (patch) | |
tree | 562c93fbaa2c533f207e72bf03e02022cac66d1f /drivers/net/wireless | |
parent | 1780221141047c83c99f9d02b504700080cc35c9 (diff) |
iwlwifi: PA type for 6000g2 series
For 6000g2 series of NICs, PA type is determined by uCode, driver do not
have to set the register for internal/external PA. It is a workaround
just for 6000 series NICs.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-6000.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 8 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-6000.c b/drivers/net/wireless/iwlwifi/iwl-6000.c index 7b695e757a2a..7da23d3ff7b6 100644 --- a/drivers/net/wireless/iwlwifi/iwl-6000.c +++ b/drivers/net/wireless/iwlwifi/iwl-6000.c | |||
@@ -379,7 +379,7 @@ static const struct iwl_ops iwl6050_ops = { | |||
379 | /* | 379 | /* |
380 | * "i": Internal configuration, use internal Power Amplifier | 380 | * "i": Internal configuration, use internal Power Amplifier |
381 | */ | 381 | */ |
382 | struct iwl_cfg iwl6000g2i_2agn_cfg = { | 382 | struct iwl_cfg iwl6000g2_2agn_cfg = { |
383 | .name = "6000 Series 2x2 AGN Gen2", | 383 | .name = "6000 Series 2x2 AGN Gen2", |
384 | .fw_name_pre = IWL6000G2_FW_PRE, | 384 | .fw_name_pre = IWL6000G2_FW_PRE, |
385 | .ucode_api_max = IWL6000G2_UCODE_API_MAX, | 385 | .ucode_api_max = IWL6000G2_UCODE_API_MAX, |
@@ -397,7 +397,7 @@ struct iwl_cfg iwl6000g2i_2agn_cfg = { | |||
397 | .pll_cfg_val = 0, | 397 | .pll_cfg_val = 0, |
398 | .set_l0s = true, | 398 | .set_l0s = true, |
399 | .use_bsm = false, | 399 | .use_bsm = false, |
400 | .pa_type = IWL_PA_INTERNAL, | 400 | .pa_type = IWL_PA_SYSTEM, |
401 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, | 401 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, |
402 | .shadow_ram_support = true, | 402 | .shadow_ram_support = true, |
403 | .ht_greenfield_support = true, | 403 | .ht_greenfield_support = true, |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index 8ac154680af1..1f3c5d5860a4 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -3798,10 +3798,10 @@ static DEFINE_PCI_DEVICE_TABLE(iwl_hw_card_ids) = { | |||
3798 | {IWL_PCI_DEVICE(0x4239, 0x1316, iwl6000i_2abg_cfg)}, | 3798 | {IWL_PCI_DEVICE(0x4239, 0x1316, iwl6000i_2abg_cfg)}, |
3799 | 3799 | ||
3800 | /* 6x00 Series Gen2 */ | 3800 | /* 6x00 Series Gen2 */ |
3801 | {IWL_PCI_DEVICE(0x0082, 0x1201, iwl6000g2i_2agn_cfg)}, | 3801 | {IWL_PCI_DEVICE(0x0082, 0x1201, iwl6000g2_2agn_cfg)}, |
3802 | {IWL_PCI_DEVICE(0x0082, 0x1301, iwl6000g2i_2agn_cfg)}, | 3802 | {IWL_PCI_DEVICE(0x0082, 0x1301, iwl6000g2_2agn_cfg)}, |
3803 | {IWL_PCI_DEVICE(0x0082, 0x1321, iwl6000g2i_2agn_cfg)}, | 3803 | {IWL_PCI_DEVICE(0x0082, 0x1321, iwl6000g2_2agn_cfg)}, |
3804 | {IWL_PCI_DEVICE(0x0085, 0x1311, iwl6000g2i_2agn_cfg)}, | 3804 | {IWL_PCI_DEVICE(0x0085, 0x1311, iwl6000g2_2agn_cfg)}, |
3805 | 3805 | ||
3806 | /* 6x50 WiFi/WiMax Series */ | 3806 | /* 6x50 WiFi/WiMax Series */ |
3807 | {IWL_PCI_DEVICE(0x0087, 0x1301, iwl6050_2agn_cfg)}, | 3807 | {IWL_PCI_DEVICE(0x0087, 0x1301, iwl6050_2agn_cfg)}, |
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index ff4b47ceafd2..bdc60aae75ec 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -58,7 +58,7 @@ extern struct iwl_cfg iwl5100_abg_cfg; | |||
58 | extern struct iwl_cfg iwl5150_agn_cfg; | 58 | extern struct iwl_cfg iwl5150_agn_cfg; |
59 | extern struct iwl_cfg iwl5150_abg_cfg; | 59 | extern struct iwl_cfg iwl5150_abg_cfg; |
60 | extern struct iwl_cfg iwl6000i_2agn_cfg; | 60 | extern struct iwl_cfg iwl6000i_2agn_cfg; |
61 | extern struct iwl_cfg iwl6000g2i_2agn_cfg; | 61 | extern struct iwl_cfg iwl6000g2_2agn_cfg; |
62 | extern struct iwl_cfg iwl6000i_2abg_cfg; | 62 | extern struct iwl_cfg iwl6000i_2abg_cfg; |
63 | extern struct iwl_cfg iwl6000i_2bg_cfg; | 63 | extern struct iwl_cfg iwl6000i_2bg_cfg; |
64 | extern struct iwl_cfg iwl6000_3agn_cfg; | 64 | extern struct iwl_cfg iwl6000_3agn_cfg; |