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/iwlwifi/iwl-6000.c | |
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/iwlwifi/iwl-6000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-6000.c | 24 |
1 files changed, 13 insertions, 11 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)); |