Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 1 | /****************************************************************************** |
| 2 | * |
Wey-Yi Guy | 4e31826 | 2011-12-27 11:21:32 -0800 | [diff] [blame] | 3 | * Copyright(c) 2008 - 2012 Intel Corporation. All rights reserved. |
Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify it |
| 6 | * under the terms of version 2 of the GNU General Public License as |
| 7 | * published by the Free Software Foundation. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, but WITHOUT |
| 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
| 12 | * more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU General Public License along with |
| 15 | * this program; if not, write to the Free Software Foundation, Inc., |
| 16 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA |
| 17 | * |
| 18 | * The full GNU General Public License is included in this distribution in the |
| 19 | * file called LICENSE. |
| 20 | * |
| 21 | * Contact Information: |
| 22 | * Intel Linux Wireless <ilw@linux.intel.com> |
| 23 | * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 |
| 24 | * |
| 25 | *****************************************************************************/ |
| 26 | |
Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 27 | #include <linux/module.h> |
Evgeni Golov | 8fcbd4dc | 2011-06-12 05:34:31 -0700 | [diff] [blame] | 28 | #include <linux/stringify.h> |
Johannes Berg | e967669 | 2012-04-10 14:10:28 -0700 | [diff] [blame^] | 29 | #include "iwl-config.h" |
Johannes Berg | cebcbd7 | 2011-09-15 11:46:46 -0700 | [diff] [blame] | 30 | #include "iwl-cfg.h" |
Johannes Berg | e967669 | 2012-04-10 14:10:28 -0700 | [diff] [blame^] | 31 | #include "iwl-dev.h" /* still needed */ |
Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 32 | |
| 33 | /* Highest firmware API version supported */ |
Johannes Berg | b914811 | 2011-11-04 07:22:37 -0700 | [diff] [blame] | 34 | #define IWL6000_UCODE_API_MAX 6 |
Wey-Yi Guy | 62cb3c6 | 2010-09-28 17:43:10 -0700 | [diff] [blame] | 35 | #define IWL6050_UCODE_API_MAX 5 |
Johannes Berg | ca9a460 | 2011-07-23 10:24:45 -0700 | [diff] [blame] | 36 | #define IWL6000G2_UCODE_API_MAX 6 |
| 37 | |
| 38 | /* Oldest version we won't warn about */ |
Johannes Berg | b914811 | 2011-11-04 07:22:37 -0700 | [diff] [blame] | 39 | #define IWL6000_UCODE_API_OK 4 |
Johannes Berg | ca9a460 | 2011-07-23 10:24:45 -0700 | [diff] [blame] | 40 | #define IWL6000G2_UCODE_API_OK 5 |
Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 41 | |
| 42 | /* Lowest firmware API version supported */ |
Wey-Yi Guy | 4424642 | 2009-10-23 13:42:34 -0700 | [diff] [blame] | 43 | #define IWL6000_UCODE_API_MIN 4 |
| 44 | #define IWL6050_UCODE_API_MIN 4 |
Shanyu Zhao | 4b3e806 | 2010-04-07 18:06:36 -0700 | [diff] [blame] | 45 | #define IWL6000G2_UCODE_API_MIN 4 |
Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 46 | |
| 47 | #define IWL6000_FW_PRE "iwlwifi-6000-" |
Evgeni Golov | 8fcbd4dc | 2011-06-12 05:34:31 -0700 | [diff] [blame] | 48 | #define IWL6000_MODULE_FIRMWARE(api) IWL6000_FW_PRE __stringify(api) ".ucode" |
Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 49 | |
| 50 | #define IWL6050_FW_PRE "iwlwifi-6050-" |
Evgeni Golov | 8fcbd4dc | 2011-06-12 05:34:31 -0700 | [diff] [blame] | 51 | #define IWL6050_MODULE_FIRMWARE(api) IWL6050_FW_PRE __stringify(api) ".ucode" |
Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 52 | |
Wey-Yi Guy | 1956e1a | 2011-01-08 10:25:14 -0800 | [diff] [blame] | 53 | #define IWL6005_FW_PRE "iwlwifi-6000g2a-" |
Evgeni Golov | 8fcbd4dc | 2011-06-12 05:34:31 -0700 | [diff] [blame] | 54 | #define IWL6005_MODULE_FIRMWARE(api) IWL6005_FW_PRE __stringify(api) ".ucode" |
Shanyu Zhao | 95b1301 | 2010-04-21 11:46:33 -0700 | [diff] [blame] | 55 | |
Wey-Yi Guy | 1956e1a | 2011-01-08 10:25:14 -0800 | [diff] [blame] | 56 | #define IWL6030_FW_PRE "iwlwifi-6000g2b-" |
Evgeni Golov | 8fcbd4dc | 2011-06-12 05:34:31 -0700 | [diff] [blame] | 57 | #define IWL6030_MODULE_FIRMWARE(api) IWL6030_FW_PRE __stringify(api) ".ucode" |
Shanyu Zhao | 1808972 | 2010-05-06 10:15:21 -0700 | [diff] [blame] | 58 | |
Johannes Berg | 6794f3e | 2012-03-06 13:30:56 -0800 | [diff] [blame] | 59 | static const struct iwl_base_params iwl6000_base_params = { |
Jay Sternberg | 0b5af20 | 2010-03-17 16:16:12 -0700 | [diff] [blame] | 60 | .eeprom_size = OTP_LOW_IMAGE_SIZE, |
Jay Sternberg | 0b5af20 | 2010-03-17 16:16:12 -0700 | [diff] [blame] | 61 | .num_of_queues = IWLAGN_NUM_QUEUES, |
Jay Sternberg | 0b5af20 | 2010-03-17 16:16:12 -0700 | [diff] [blame] | 62 | .pll_cfg_val = 0, |
Jay Sternberg | 0b5af20 | 2010-03-17 16:16:12 -0700 | [diff] [blame] | 63 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, |
| 64 | .shadow_ram_support = true, |
Jay Sternberg | 0b5af20 | 2010-03-17 16:16:12 -0700 | [diff] [blame] | 65 | .led_compensation = 51, |
Jay Sternberg | 0b5af20 | 2010-03-17 16:16:12 -0700 | [diff] [blame] | 66 | .adv_thermal_throttle = true, |
| 67 | .support_ct_kill_exit = true, |
| 68 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, |
| 69 | .chain_noise_scale = 1000, |
Stanislaw Gruszka | 22de94d | 2010-12-03 15:41:48 +0100 | [diff] [blame] | 70 | .wd_timeout = IWL_DEF_WD_TIMEOUT, |
Shanyu Zhao | 95b1301 | 2010-04-21 11:46:33 -0700 | [diff] [blame] | 71 | .max_event_log_size = 512, |
Wey-Yi Guy | f81c1f4 | 2010-11-10 09:56:50 -0800 | [diff] [blame] | 72 | .shadow_reg_enable = true, |
Wey-Yi Guy | 7cb1b08 | 2010-10-06 08:10:00 -0700 | [diff] [blame] | 73 | }; |
| 74 | |
Johannes Berg | 6794f3e | 2012-03-06 13:30:56 -0800 | [diff] [blame] | 75 | static const struct iwl_base_params iwl6050_base_params = { |
Wey-Yi Guy | 7cb1b08 | 2010-10-06 08:10:00 -0700 | [diff] [blame] | 76 | .eeprom_size = OTP_LOW_IMAGE_SIZE, |
| 77 | .num_of_queues = IWLAGN_NUM_QUEUES, |
Wey-Yi Guy | 7cb1b08 | 2010-10-06 08:10:00 -0700 | [diff] [blame] | 78 | .pll_cfg_val = 0, |
Wey-Yi Guy | 7cb1b08 | 2010-10-06 08:10:00 -0700 | [diff] [blame] | 79 | .max_ll_items = OTP_MAX_LL_ITEMS_6x50, |
| 80 | .shadow_ram_support = true, |
| 81 | .led_compensation = 51, |
Wey-Yi Guy | 7cb1b08 | 2010-10-06 08:10:00 -0700 | [diff] [blame] | 82 | .adv_thermal_throttle = true, |
| 83 | .support_ct_kill_exit = true, |
| 84 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, |
| 85 | .chain_noise_scale = 1500, |
Stanislaw Gruszka | 22de94d | 2010-12-03 15:41:48 +0100 | [diff] [blame] | 86 | .wd_timeout = IWL_DEF_WD_TIMEOUT, |
Wey-Yi Guy | 7cb1b08 | 2010-10-06 08:10:00 -0700 | [diff] [blame] | 87 | .max_event_log_size = 1024, |
Wey-Yi Guy | f81c1f4 | 2010-11-10 09:56:50 -0800 | [diff] [blame] | 88 | .shadow_reg_enable = true, |
Wey-Yi Guy | 7cb1b08 | 2010-10-06 08:10:00 -0700 | [diff] [blame] | 89 | }; |
Johannes Berg | 6794f3e | 2012-03-06 13:30:56 -0800 | [diff] [blame] | 90 | |
| 91 | static const struct iwl_base_params iwl6000_g2_base_params = { |
Wey-Yi Guy | de05ead | 2010-09-23 15:24:22 -0700 | [diff] [blame] | 92 | .eeprom_size = OTP_LOW_IMAGE_SIZE, |
| 93 | .num_of_queues = IWLAGN_NUM_QUEUES, |
Wey-Yi Guy | de05ead | 2010-09-23 15:24:22 -0700 | [diff] [blame] | 94 | .pll_cfg_val = 0, |
Wey-Yi Guy | de05ead | 2010-09-23 15:24:22 -0700 | [diff] [blame] | 95 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, |
| 96 | .shadow_ram_support = true, |
Wey-Yi Guy | 4fb3324 | 2010-11-29 10:45:16 -0800 | [diff] [blame] | 97 | .led_compensation = 57, |
Wey-Yi Guy | de05ead | 2010-09-23 15:24:22 -0700 | [diff] [blame] | 98 | .adv_thermal_throttle = true, |
| 99 | .support_ct_kill_exit = true, |
| 100 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, |
| 101 | .chain_noise_scale = 1000, |
Stanislaw Gruszka | 22de94d | 2010-12-03 15:41:48 +0100 | [diff] [blame] | 102 | .wd_timeout = IWL_LONG_WD_TIMEOUT, |
Wey-Yi Guy | de05ead | 2010-09-23 15:24:22 -0700 | [diff] [blame] | 103 | .max_event_log_size = 512, |
Wey-Yi Guy | f81c1f4 | 2010-11-10 09:56:50 -0800 | [diff] [blame] | 104 | .shadow_reg_enable = true, |
Wey-Yi Guy | de05ead | 2010-09-23 15:24:22 -0700 | [diff] [blame] | 105 | }; |
Wey-Yi Guy | 7cb1b08 | 2010-10-06 08:10:00 -0700 | [diff] [blame] | 106 | |
Johannes Berg | 6794f3e | 2012-03-06 13:30:56 -0800 | [diff] [blame] | 107 | static const struct iwl_ht_params iwl6000_ht_params = { |
Wey-Yi Guy | 7cb1b08 | 2010-10-06 08:10:00 -0700 | [diff] [blame] | 108 | .ht_greenfield_support = true, |
| 109 | .use_rts_for_aggregation = true, /* use rts/cts protection */ |
| 110 | }; |
| 111 | |
Johannes Berg | 6794f3e | 2012-03-06 13:30:56 -0800 | [diff] [blame] | 112 | static const struct iwl_bt_params iwl6000_bt_params = { |
Wey-Yi Guy | 7cb1b08 | 2010-10-06 08:10:00 -0700 | [diff] [blame] | 113 | /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */ |
| 114 | .advanced_bt_coexist = true, |
Wey-Yi Guy | 66e863a5 | 2010-11-08 14:54:37 -0800 | [diff] [blame] | 115 | .agg_time_limit = BT_AGG_THRESHOLD_DEF, |
Wey-Yi Guy | 7cb1b08 | 2010-10-06 08:10:00 -0700 | [diff] [blame] | 116 | .bt_init_traffic_load = IWL_BT_COEX_TRAFFIC_LOAD_NONE, |
| 117 | .bt_prio_boost = IWLAGN_BT_PRIO_BOOST_DEFAULT, |
Wey-Yi Guy | e366176 | 2010-11-23 10:58:54 -0800 | [diff] [blame] | 118 | .bt_sco_disable = true, |
Wey-Yi Guy | 7cb1b08 | 2010-10-06 08:10:00 -0700 | [diff] [blame] | 119 | }; |
| 120 | |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 121 | #define IWL_DEVICE_6005 \ |
Johannes Berg | ca9a460 | 2011-07-23 10:24:45 -0700 | [diff] [blame] | 122 | .fw_name_pre = IWL6005_FW_PRE, \ |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 123 | .ucode_api_max = IWL6000G2_UCODE_API_MAX, \ |
Johannes Berg | ca9a460 | 2011-07-23 10:24:45 -0700 | [diff] [blame] | 124 | .ucode_api_ok = IWL6000G2_UCODE_API_OK, \ |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 125 | .ucode_api_min = IWL6000G2_UCODE_API_MIN, \ |
Johannes Berg | 2d771cb | 2012-04-09 17:47:00 -0700 | [diff] [blame] | 126 | .device_family = IWL_DEVICE_FAMILY_6005, \ |
Emmanuel Grumbach | dae66d0 | 2012-02-07 12:56:26 +0200 | [diff] [blame] | 127 | .max_inst_size = IWL60_RTC_INST_SIZE, \ |
| 128 | .max_data_size = IWL60_RTC_DATA_SIZE, \ |
Wey-Yi Guy | 1956e1a | 2011-01-08 10:25:14 -0800 | [diff] [blame] | 129 | .eeprom_ver = EEPROM_6005_EEPROM_VERSION, \ |
| 130 | .eeprom_calib_ver = EEPROM_6005_TX_POWER_VERSION, \ |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 131 | .base_params = &iwl6000_g2_base_params, \ |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 132 | .need_temp_offset_calib = true, \ |
| 133 | .led_mode = IWL_LED_RF_STATE |
| 134 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 135 | const struct iwl_cfg iwl6005_2agn_cfg = { |
Wey-Yi Guy | 55017ab | 2010-11-17 12:13:53 -0800 | [diff] [blame] | 136 | .name = "Intel(R) Centrino(R) Advanced-N 6205 AGN", |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 137 | IWL_DEVICE_6005, |
Wey-Yi Guy | 7cb1b08 | 2010-10-06 08:10:00 -0700 | [diff] [blame] | 138 | .ht_params = &iwl6000_ht_params, |
Jay Sternberg | 0b5af20 | 2010-03-17 16:16:12 -0700 | [diff] [blame] | 139 | }; |
| 140 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 141 | const struct iwl_cfg iwl6005_2abg_cfg = { |
Wey-Yi Guy | 55017ab | 2010-11-17 12:13:53 -0800 | [diff] [blame] | 142 | .name = "Intel(R) Centrino(R) Advanced-N 6205 ABG", |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 143 | IWL_DEVICE_6005, |
Shanyu Zhao | 1808972 | 2010-05-06 10:15:21 -0700 | [diff] [blame] | 144 | }; |
| 145 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 146 | const struct iwl_cfg iwl6005_2bg_cfg = { |
Wey-Yi Guy | 55017ab | 2010-11-17 12:13:53 -0800 | [diff] [blame] | 147 | .name = "Intel(R) Centrino(R) Advanced-N 6205 BG", |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 148 | IWL_DEVICE_6005, |
Shanyu Zhao | 1808972 | 2010-05-06 10:15:21 -0700 | [diff] [blame] | 149 | }; |
| 150 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 151 | const struct iwl_cfg iwl6005_2agn_sff_cfg = { |
Wey-Yi Guy | 6a9ae0d | 2011-08-25 23:10:56 -0700 | [diff] [blame] | 152 | .name = "Intel(R) Centrino(R) Advanced-N 6205S AGN", |
| 153 | IWL_DEVICE_6005, |
| 154 | .ht_params = &iwl6000_ht_params, |
| 155 | }; |
| 156 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 157 | const struct iwl_cfg iwl6005_2agn_d_cfg = { |
Wey-Yi Guy | 5131a60 | 2011-10-10 07:27:00 -0700 | [diff] [blame] | 158 | .name = "Intel(R) Centrino(R) Advanced-N 6205D AGN", |
| 159 | IWL_DEVICE_6005, |
| 160 | .ht_params = &iwl6000_ht_params, |
| 161 | }; |
| 162 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 163 | const struct iwl_cfg iwl6005_2agn_mow1_cfg = { |
Wey-Yi Guy | 3789112 | 2012-02-22 10:21:09 -0800 | [diff] [blame] | 164 | .name = "Intel(R) Centrino(R) Advanced-N 6206 AGN", |
| 165 | IWL_DEVICE_6005, |
| 166 | .ht_params = &iwl6000_ht_params, |
| 167 | }; |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 168 | |
| 169 | const struct iwl_cfg iwl6005_2agn_mow2_cfg = { |
Wey-Yi Guy | 3789112 | 2012-02-22 10:21:09 -0800 | [diff] [blame] | 170 | .name = "Intel(R) Centrino(R) Advanced-N 6207 AGN", |
| 171 | IWL_DEVICE_6005, |
| 172 | .ht_params = &iwl6000_ht_params, |
| 173 | }; |
| 174 | |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 175 | #define IWL_DEVICE_6030 \ |
Johannes Berg | ca9a460 | 2011-07-23 10:24:45 -0700 | [diff] [blame] | 176 | .fw_name_pre = IWL6030_FW_PRE, \ |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 177 | .ucode_api_max = IWL6000G2_UCODE_API_MAX, \ |
Johannes Berg | ca9a460 | 2011-07-23 10:24:45 -0700 | [diff] [blame] | 178 | .ucode_api_ok = IWL6000G2_UCODE_API_OK, \ |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 179 | .ucode_api_min = IWL6000G2_UCODE_API_MIN, \ |
Johannes Berg | 2d771cb | 2012-04-09 17:47:00 -0700 | [diff] [blame] | 180 | .device_family = IWL_DEVICE_FAMILY_6030, \ |
Emmanuel Grumbach | dae66d0 | 2012-02-07 12:56:26 +0200 | [diff] [blame] | 181 | .max_inst_size = IWL60_RTC_INST_SIZE, \ |
| 182 | .max_data_size = IWL60_RTC_DATA_SIZE, \ |
Wey-Yi Guy | 1956e1a | 2011-01-08 10:25:14 -0800 | [diff] [blame] | 183 | .eeprom_ver = EEPROM_6030_EEPROM_VERSION, \ |
| 184 | .eeprom_calib_ver = EEPROM_6030_TX_POWER_VERSION, \ |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 185 | .base_params = &iwl6000_g2_base_params, \ |
| 186 | .bt_params = &iwl6000_bt_params, \ |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 187 | .need_temp_offset_calib = true, \ |
| 188 | .led_mode = IWL_LED_RF_STATE, \ |
Stanislaw Gruszka | cd017f2 | 2010-12-23 15:12:30 +0100 | [diff] [blame] | 189 | .adv_pm = true \ |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 190 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 191 | const struct iwl_cfg iwl6030_2agn_cfg = { |
Wey-Yi Guy | d2eceef | 2010-11-17 12:13:54 -0800 | [diff] [blame] | 192 | .name = "Intel(R) Centrino(R) Advanced-N 6230 AGN", |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 193 | IWL_DEVICE_6030, |
Wey-Yi Guy | 7cb1b08 | 2010-10-06 08:10:00 -0700 | [diff] [blame] | 194 | .ht_params = &iwl6000_ht_params, |
Shanyu Zhao | 1808972 | 2010-05-06 10:15:21 -0700 | [diff] [blame] | 195 | }; |
| 196 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 197 | const struct iwl_cfg iwl6030_2abg_cfg = { |
Wey-Yi Guy | d2eceef | 2010-11-17 12:13:54 -0800 | [diff] [blame] | 198 | .name = "Intel(R) Centrino(R) Advanced-N 6230 ABG", |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 199 | IWL_DEVICE_6030, |
Shanyu Zhao | 1808972 | 2010-05-06 10:15:21 -0700 | [diff] [blame] | 200 | }; |
| 201 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 202 | const struct iwl_cfg iwl6030_2bgn_cfg = { |
Wey-Yi Guy | d2eceef | 2010-11-17 12:13:54 -0800 | [diff] [blame] | 203 | .name = "Intel(R) Centrino(R) Advanced-N 6230 BGN", |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 204 | IWL_DEVICE_6030, |
Wey-Yi Guy | 7cb1b08 | 2010-10-06 08:10:00 -0700 | [diff] [blame] | 205 | .ht_params = &iwl6000_ht_params, |
Shanyu Zhao | 9f6e1ba | 2010-05-11 15:21:54 -0700 | [diff] [blame] | 206 | }; |
| 207 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 208 | const struct iwl_cfg iwl6030_2bg_cfg = { |
Wey-Yi Guy | d2eceef | 2010-11-17 12:13:54 -0800 | [diff] [blame] | 209 | .name = "Intel(R) Centrino(R) Advanced-N 6230 BG", |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 210 | IWL_DEVICE_6030, |
Shanyu Zhao | 1808972 | 2010-05-06 10:15:21 -0700 | [diff] [blame] | 211 | }; |
| 212 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 213 | const struct iwl_cfg iwl6035_2agn_cfg = { |
Don Fry | 6195d13 | 2011-12-06 10:42:41 -0800 | [diff] [blame] | 214 | .name = "Intel(R) Centrino(R) Advanced-N 6235 AGN", |
Wey-Yi Guy | d103e34 | 2011-03-10 03:17:16 -0800 | [diff] [blame] | 215 | IWL_DEVICE_6030, |
| 216 | .ht_params = &iwl6000_ht_params, |
| 217 | }; |
| 218 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 219 | const struct iwl_cfg iwl1030_bgn_cfg = { |
Wey-Yi Guy | d2eceef | 2010-11-17 12:13:54 -0800 | [diff] [blame] | 220 | .name = "Intel(R) Centrino(R) Wireless-N 1030 BGN", |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 221 | IWL_DEVICE_6030, |
Wey-Yi Guy | 7cb1b08 | 2010-10-06 08:10:00 -0700 | [diff] [blame] | 222 | .ht_params = &iwl6000_ht_params, |
Shanyu Zhao | 1808972 | 2010-05-06 10:15:21 -0700 | [diff] [blame] | 223 | }; |
| 224 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 225 | const struct iwl_cfg iwl1030_bg_cfg = { |
Wey-Yi Guy | d2eceef | 2010-11-17 12:13:54 -0800 | [diff] [blame] | 226 | .name = "Intel(R) Centrino(R) Wireless-N 1030 BG", |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 227 | IWL_DEVICE_6030, |
| 228 | }; |
| 229 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 230 | const struct iwl_cfg iwl130_bgn_cfg = { |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 231 | .name = "Intel(R) Centrino(R) Wireless-N 130 BGN", |
| 232 | IWL_DEVICE_6030, |
| 233 | .ht_params = &iwl6000_ht_params, |
| 234 | .rx_with_siso_diversity = true, |
| 235 | }; |
| 236 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 237 | const struct iwl_cfg iwl130_bg_cfg = { |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 238 | .name = "Intel(R) Centrino(R) Wireless-N 130 BG", |
| 239 | IWL_DEVICE_6030, |
| 240 | .rx_with_siso_diversity = true, |
Shanyu Zhao | 1808972 | 2010-05-06 10:15:21 -0700 | [diff] [blame] | 241 | }; |
| 242 | |
Shanyu Zhao | 95b1301 | 2010-04-21 11:46:33 -0700 | [diff] [blame] | 243 | /* |
| 244 | * "i": Internal configuration, use internal Power Amplifier |
| 245 | */ |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 246 | #define IWL_DEVICE_6000i \ |
| 247 | .fw_name_pre = IWL6000_FW_PRE, \ |
| 248 | .ucode_api_max = IWL6000_UCODE_API_MAX, \ |
Johannes Berg | b914811 | 2011-11-04 07:22:37 -0700 | [diff] [blame] | 249 | .ucode_api_ok = IWL6000_UCODE_API_OK, \ |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 250 | .ucode_api_min = IWL6000_UCODE_API_MIN, \ |
Johannes Berg | 2d771cb | 2012-04-09 17:47:00 -0700 | [diff] [blame] | 251 | .device_family = IWL_DEVICE_FAMILY_6000i, \ |
Emmanuel Grumbach | dae66d0 | 2012-02-07 12:56:26 +0200 | [diff] [blame] | 252 | .max_inst_size = IWL60_RTC_INST_SIZE, \ |
| 253 | .max_data_size = IWL60_RTC_DATA_SIZE, \ |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 254 | .valid_tx_ant = ANT_BC, /* .cfg overwrite */ \ |
| 255 | .valid_rx_ant = ANT_BC, /* .cfg overwrite */ \ |
| 256 | .eeprom_ver = EEPROM_6000_EEPROM_VERSION, \ |
| 257 | .eeprom_calib_ver = EEPROM_6000_TX_POWER_VERSION, \ |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 258 | .base_params = &iwl6000_base_params, \ |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 259 | .led_mode = IWL_LED_BLINK |
| 260 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 261 | const struct iwl_cfg iwl6000i_2agn_cfg = { |
Shanyu Zhao | c11362c | 2010-03-05 17:05:20 -0800 | [diff] [blame] | 262 | .name = "Intel(R) Centrino(R) Advanced-N 6200 AGN", |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 263 | IWL_DEVICE_6000i, |
Wey-Yi Guy | 7cb1b08 | 2010-10-06 08:10:00 -0700 | [diff] [blame] | 264 | .ht_params = &iwl6000_ht_params, |
Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 265 | }; |
| 266 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 267 | const struct iwl_cfg iwl6000i_2abg_cfg = { |
Shanyu Zhao | c11362c | 2010-03-05 17:05:20 -0800 | [diff] [blame] | 268 | .name = "Intel(R) Centrino(R) Advanced-N 6200 ABG", |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 269 | IWL_DEVICE_6000i, |
Wey-Yi Guy | 5953a62 | 2009-09-17 10:43:53 -0700 | [diff] [blame] | 270 | }; |
| 271 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 272 | const struct iwl_cfg iwl6000i_2bg_cfg = { |
Shanyu Zhao | c11362c | 2010-03-05 17:05:20 -0800 | [diff] [blame] | 273 | .name = "Intel(R) Centrino(R) Advanced-N 6200 BG", |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 274 | IWL_DEVICE_6000i, |
Wey-Yi Guy | 5953a62 | 2009-09-17 10:43:53 -0700 | [diff] [blame] | 275 | }; |
| 276 | |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 277 | #define IWL_DEVICE_6050 \ |
| 278 | .fw_name_pre = IWL6050_FW_PRE, \ |
| 279 | .ucode_api_max = IWL6050_UCODE_API_MAX, \ |
| 280 | .ucode_api_min = IWL6050_UCODE_API_MIN, \ |
Johannes Berg | 2d771cb | 2012-04-09 17:47:00 -0700 | [diff] [blame] | 281 | .device_family = IWL_DEVICE_FAMILY_6050, \ |
Emmanuel Grumbach | dae66d0 | 2012-02-07 12:56:26 +0200 | [diff] [blame] | 282 | .max_inst_size = IWL60_RTC_INST_SIZE, \ |
| 283 | .max_data_size = IWL60_RTC_DATA_SIZE, \ |
Wey-Yi Guy | ff458ed | 2011-01-31 13:56:03 -0800 | [diff] [blame] | 284 | .valid_tx_ant = ANT_AB, /* .cfg overwrite */ \ |
| 285 | .valid_rx_ant = ANT_AB, /* .cfg overwrite */ \ |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 286 | .eeprom_ver = EEPROM_6050_EEPROM_VERSION, \ |
| 287 | .eeprom_calib_ver = EEPROM_6050_TX_POWER_VERSION, \ |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 288 | .base_params = &iwl6050_base_params, \ |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 289 | .led_mode = IWL_LED_BLINK, \ |
| 290 | .internal_wimax_coex = true |
| 291 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 292 | const struct iwl_cfg iwl6050_2agn_cfg = { |
Shanyu Zhao | c11362c | 2010-03-05 17:05:20 -0800 | [diff] [blame] | 293 | .name = "Intel(R) Centrino(R) Advanced-N + WiMAX 6250 AGN", |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 294 | IWL_DEVICE_6050, |
Wey-Yi Guy | 7cb1b08 | 2010-10-06 08:10:00 -0700 | [diff] [blame] | 295 | .ht_params = &iwl6000_ht_params, |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 296 | }; |
| 297 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 298 | const struct iwl_cfg iwl6050_2abg_cfg = { |
Wey-Yi Guy | 65af8de | 2010-12-08 07:51:50 -0800 | [diff] [blame] | 299 | .name = "Intel(R) Centrino(R) Advanced-N + WiMAX 6250 ABG", |
| 300 | IWL_DEVICE_6050, |
Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 301 | }; |
| 302 | |
Wey-Yi Guy | 1144181 | 2011-05-30 09:32:52 -0700 | [diff] [blame] | 303 | #define IWL_DEVICE_6150 \ |
| 304 | .fw_name_pre = IWL6050_FW_PRE, \ |
| 305 | .ucode_api_max = IWL6050_UCODE_API_MAX, \ |
| 306 | .ucode_api_min = IWL6050_UCODE_API_MIN, \ |
Johannes Berg | 2d771cb | 2012-04-09 17:47:00 -0700 | [diff] [blame] | 307 | .device_family = IWL_DEVICE_FAMILY_6150, \ |
Emmanuel Grumbach | dae66d0 | 2012-02-07 12:56:26 +0200 | [diff] [blame] | 308 | .max_inst_size = IWL60_RTC_INST_SIZE, \ |
| 309 | .max_data_size = IWL60_RTC_DATA_SIZE, \ |
Wey-Yi Guy | 1144181 | 2011-05-30 09:32:52 -0700 | [diff] [blame] | 310 | .eeprom_ver = EEPROM_6150_EEPROM_VERSION, \ |
| 311 | .eeprom_calib_ver = EEPROM_6150_TX_POWER_VERSION, \ |
| 312 | .base_params = &iwl6050_base_params, \ |
Wey-Yi Guy | 1144181 | 2011-05-30 09:32:52 -0700 | [diff] [blame] | 313 | .led_mode = IWL_LED_BLINK, \ |
| 314 | .internal_wimax_coex = true |
| 315 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 316 | const struct iwl_cfg iwl6150_bgn_cfg = { |
Wey-Yi Guy | f9dc646 | 2010-11-17 12:13:52 -0800 | [diff] [blame] | 317 | .name = "Intel(R) Centrino(R) Wireless-N + WiMAX 6150 BGN", |
Wey-Yi Guy | 1144181 | 2011-05-30 09:32:52 -0700 | [diff] [blame] | 318 | IWL_DEVICE_6150, |
Wey-Yi Guy | 7cb1b08 | 2010-10-06 08:10:00 -0700 | [diff] [blame] | 319 | .ht_params = &iwl6000_ht_params, |
Wey-Yi Guy | 1144181 | 2011-05-30 09:32:52 -0700 | [diff] [blame] | 320 | }; |
| 321 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 322 | const struct iwl_cfg iwl6150_bg_cfg = { |
Wey-Yi Guy | 1144181 | 2011-05-30 09:32:52 -0700 | [diff] [blame] | 323 | .name = "Intel(R) Centrino(R) Wireless-N + WiMAX 6150 BG", |
| 324 | IWL_DEVICE_6150, |
Shanyu Zhao | 0326433 | 2010-06-29 17:27:27 -0700 | [diff] [blame] | 325 | }; |
| 326 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 327 | const struct iwl_cfg iwl6000_3agn_cfg = { |
Shanyu Zhao | c11362c | 2010-03-05 17:05:20 -0800 | [diff] [blame] | 328 | .name = "Intel(R) Centrino(R) Ultimate-N 6300 AGN", |
Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 329 | .fw_name_pre = IWL6000_FW_PRE, |
| 330 | .ucode_api_max = IWL6000_UCODE_API_MAX, |
Johannes Berg | b914811 | 2011-11-04 07:22:37 -0700 | [diff] [blame] | 331 | .ucode_api_ok = IWL6000_UCODE_API_OK, |
Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 332 | .ucode_api_min = IWL6000_UCODE_API_MIN, |
Johannes Berg | 2d771cb | 2012-04-09 17:47:00 -0700 | [diff] [blame] | 333 | .device_family = IWL_DEVICE_FAMILY_6000, |
Emmanuel Grumbach | dae66d0 | 2012-02-07 12:56:26 +0200 | [diff] [blame] | 334 | .max_inst_size = IWL60_RTC_INST_SIZE, |
| 335 | .max_data_size = IWL60_RTC_DATA_SIZE, |
Wey-Yi Guy | 7cb1b08 | 2010-10-06 08:10:00 -0700 | [diff] [blame] | 336 | .eeprom_ver = EEPROM_6000_EEPROM_VERSION, |
| 337 | .eeprom_calib_ver = EEPROM_6000_TX_POWER_VERSION, |
Wey-Yi Guy | 7cb1b08 | 2010-10-06 08:10:00 -0700 | [diff] [blame] | 338 | .base_params = &iwl6000_base_params, |
| 339 | .ht_params = &iwl6000_ht_params, |
Wey-Yi Guy | 564b344 | 2010-11-09 09:21:34 -0800 | [diff] [blame] | 340 | .led_mode = IWL_LED_BLINK, |
Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 341 | }; |
| 342 | |
Johannes Berg | b914811 | 2011-11-04 07:22:37 -0700 | [diff] [blame] | 343 | MODULE_FIRMWARE(IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_OK)); |
Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 344 | MODULE_FIRMWARE(IWL6050_MODULE_FIRMWARE(IWL6050_UCODE_API_MAX)); |
Wey-Yi Guy | 1956e1a | 2011-01-08 10:25:14 -0800 | [diff] [blame] | 345 | MODULE_FIRMWARE(IWL6005_MODULE_FIRMWARE(IWL6000G2_UCODE_API_MAX)); |
| 346 | MODULE_FIRMWARE(IWL6030_MODULE_FIRMWARE(IWL6000G2_UCODE_API_MAX)); |