diff options
author | Shanyu Zhao <shanyu.zhao@intel.com> | 2010-04-21 14:46:33 -0400 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-05-10 18:08:45 -0400 |
commit | 95b13014bb761a267db8bc1a47cbb35ddde587ef (patch) | |
tree | 974d62b587625f8e89bdf214865f4472c1978ef3 /drivers/net/wireless | |
parent | a15707d80ee9a0e0812c5f1a1ed8e41e0a6e52f3 (diff) |
iwlwifi: rename 6000 series Gen2 devices to Gen2a
Rename the current 6000 series Gen2 devices to Gen2a.
Rename the ucode name prefix to iwlwifi-6000g2a.
Also corrected the device IDs for Gen2a series devices.
Signed-off-by: Jay Sternberg <jay.e.sternberg@intel.com>
Signed-off-by: Shanyu Zhao <shanyu.zhao@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 | 24 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 9 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 2 |
3 files changed, 18 insertions, 17 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-6000.c b/drivers/net/wireless/iwlwifi/iwl-6000.c index 7acef703253a..f0570871fbb0 100644 --- a/drivers/net/wireless/iwlwifi/iwl-6000.c +++ b/drivers/net/wireless/iwlwifi/iwl-6000.c | |||
@@ -67,9 +67,10 @@ | |||
67 | #define _IWL6050_MODULE_FIRMWARE(api) IWL6050_FW_PRE #api ".ucode" | 67 | #define _IWL6050_MODULE_FIRMWARE(api) IWL6050_FW_PRE #api ".ucode" |
68 | #define IWL6050_MODULE_FIRMWARE(api) _IWL6050_MODULE_FIRMWARE(api) | 68 | #define IWL6050_MODULE_FIRMWARE(api) _IWL6050_MODULE_FIRMWARE(api) |
69 | 69 | ||
70 | #define IWL6000G2_FW_PRE "iwlwifi-6005-" | 70 | #define IWL6000G2A_FW_PRE "iwlwifi-6000g2a-" |
71 | #define _IWL6000G2_MODULE_FIRMWARE(api) IWL6000G2_FW_PRE #api ".ucode" | 71 | #define _IWL6000G2A_MODULE_FIRMWARE(api) IWL6000G2A_FW_PRE #api ".ucode" |
72 | #define IWL6000G2_MODULE_FIRMWARE(api) _IWL6000G2_MODULE_FIRMWARE(api) | 72 | #define IWL6000G2A_MODULE_FIRMWARE(api) _IWL6000G2A_MODULE_FIRMWARE(api) |
73 | |||
73 | 74 | ||
74 | static void iwl6000_set_ct_threshold(struct iwl_priv *priv) | 75 | static void iwl6000_set_ct_threshold(struct iwl_priv *priv) |
75 | { | 76 | { |
@@ -408,12 +409,10 @@ static const struct iwl_ops iwl6050_ops = { | |||
408 | .led = &iwlagn_led_ops, | 409 | .led = &iwlagn_led_ops, |
409 | }; | 410 | }; |
410 | 411 | ||
411 | /* | 412 | |
412 | * "i": Internal configuration, use internal Power Amplifier | 413 | struct iwl_cfg iwl6000g2a_2agn_cfg = { |
413 | */ | 414 | .name = "6000 Series 2x2 AGN Gen2a", |
414 | struct iwl_cfg iwl6000g2_2agn_cfg = { | 415 | .fw_name_pre = IWL6000G2A_FW_PRE, |
415 | .name = "6000 Series 2x2 AGN Gen2", | ||
416 | .fw_name_pre = IWL6000G2_FW_PRE, | ||
417 | .ucode_api_max = IWL6000G2_UCODE_API_MAX, | 416 | .ucode_api_max = IWL6000G2_UCODE_API_MAX, |
418 | .ucode_api_min = IWL6000G2_UCODE_API_MIN, | 417 | .ucode_api_min = IWL6000G2_UCODE_API_MIN, |
419 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, | 418 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, |
@@ -442,9 +441,12 @@ struct iwl_cfg iwl6000g2_2agn_cfg = { | |||
442 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | 441 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, |
443 | .chain_noise_scale = 1000, | 442 | .chain_noise_scale = 1000, |
444 | .monitor_recover_period = IWL_MONITORING_PERIOD, | 443 | .monitor_recover_period = IWL_MONITORING_PERIOD, |
445 | .max_event_log_size = 1024, | 444 | .max_event_log_size = 512, |
446 | }; | 445 | }; |
447 | 446 | ||
447 | /* | ||
448 | * "i": Internal configuration, use internal Power Amplifier | ||
449 | */ | ||
448 | struct iwl_cfg iwl6000i_2agn_cfg = { | 450 | struct iwl_cfg iwl6000i_2agn_cfg = { |
449 | .name = "Intel(R) Centrino(R) Advanced-N 6200 AGN", | 451 | .name = "Intel(R) Centrino(R) Advanced-N 6200 AGN", |
450 | .fw_name_pre = IWL6000_FW_PRE, | 452 | .fw_name_pre = IWL6000_FW_PRE, |
@@ -645,4 +647,4 @@ struct iwl_cfg iwl6000_3agn_cfg = { | |||
645 | 647 | ||
646 | MODULE_FIRMWARE(IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_MAX)); | 648 | MODULE_FIRMWARE(IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_MAX)); |
647 | MODULE_FIRMWARE(IWL6050_MODULE_FIRMWARE(IWL6050_UCODE_API_MAX)); | 649 | MODULE_FIRMWARE(IWL6050_MODULE_FIRMWARE(IWL6050_UCODE_API_MAX)); |
648 | MODULE_FIRMWARE(IWL6000G2_MODULE_FIRMWARE(IWL6000G2_UCODE_API_MAX)); | 650 | MODULE_FIRMWARE(IWL6000G2A_MODULE_FIRMWARE(IWL6000G2_UCODE_API_MAX)); |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index dc283769780e..5cf38227c6c7 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -3789,11 +3789,10 @@ static DEFINE_PCI_DEVICE_TABLE(iwl_hw_card_ids) = { | |||
3789 | {IWL_PCI_DEVICE(0x4239, 0x1311, iwl6000i_2agn_cfg)}, | 3789 | {IWL_PCI_DEVICE(0x4239, 0x1311, iwl6000i_2agn_cfg)}, |
3790 | {IWL_PCI_DEVICE(0x4239, 0x1316, iwl6000i_2abg_cfg)}, | 3790 | {IWL_PCI_DEVICE(0x4239, 0x1316, iwl6000i_2abg_cfg)}, |
3791 | 3791 | ||
3792 | /* 6x00 Series Gen2 */ | 3792 | /* 6x00 Series Gen2a */ |
3793 | {IWL_PCI_DEVICE(0x0082, 0x1201, iwl6000g2_2agn_cfg)}, | 3793 | {IWL_PCI_DEVICE(0x0082, 0x1201, iwl6000g2a_2agn_cfg)}, |
3794 | {IWL_PCI_DEVICE(0x0082, 0x1301, iwl6000g2_2agn_cfg)}, | 3794 | {IWL_PCI_DEVICE(0x0085, 0x1211, iwl6000g2a_2agn_cfg)}, |
3795 | {IWL_PCI_DEVICE(0x0082, 0x1321, iwl6000g2_2agn_cfg)}, | 3795 | {IWL_PCI_DEVICE(0x0082, 0x1221, iwl6000g2a_2agn_cfg)}, |
3796 | {IWL_PCI_DEVICE(0x0085, 0x1311, iwl6000g2_2agn_cfg)}, | ||
3797 | 3796 | ||
3798 | /* 6x50 WiFi/WiMax Series */ | 3797 | /* 6x50 WiFi/WiMax Series */ |
3799 | {IWL_PCI_DEVICE(0x0087, 0x1301, iwl6050_2agn_cfg)}, | 3798 | {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 cd3b932ae808..e485465e4d56 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -57,8 +57,8 @@ extern struct iwl_cfg iwl5100_bgn_cfg; | |||
57 | extern struct iwl_cfg iwl5100_abg_cfg; | 57 | 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 iwl6000g2a_2agn_cfg; | ||
60 | extern struct iwl_cfg iwl6000i_2agn_cfg; | 61 | extern struct iwl_cfg iwl6000i_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; |