blob: 19f7ee84ae89e2b76ba493016cb508745eaae173 [file] [log] [blame]
Jay Sternberge1228372009-01-19 15:30:34 -08001/******************************************************************************
2 *
Wey-Yi Guy4e318262011-12-27 11:21:32 -08003 * Copyright(c) 2008 - 2012 Intel Corporation. All rights reserved.
Jay Sternberge1228372009-01-19 15:30:34 -08004 *
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 Sternberge1228372009-01-19 15:30:34 -080027#include <linux/module.h>
Evgeni Golov8fcbd4dc2011-06-12 05:34:31 -070028#include <linux/stringify.h>
Johannes Berge9676692012-04-10 14:10:28 -070029#include "iwl-config.h"
Johannes Bergcebcbd72011-09-15 11:46:46 -070030#include "iwl-cfg.h"
Johannes Berg0db19cd2012-04-03 20:57:59 +020031#include "iwl-agn-hw.h"
32#include "iwl-commands.h" /* needed for BT for now */
Jay Sternberge1228372009-01-19 15:30:34 -080033
34/* Highest firmware API version supported */
Johannes Bergb9148112011-11-04 07:22:37 -070035#define IWL6000_UCODE_API_MAX 6
Wey-Yi Guy62cb3c62010-09-28 17:43:10 -070036#define IWL6050_UCODE_API_MAX 5
Johannes Bergca9a4602011-07-23 10:24:45 -070037#define IWL6000G2_UCODE_API_MAX 6
38
39/* Oldest version we won't warn about */
Johannes Bergb9148112011-11-04 07:22:37 -070040#define IWL6000_UCODE_API_OK 4
Johannes Bergca9a4602011-07-23 10:24:45 -070041#define IWL6000G2_UCODE_API_OK 5
Meenakshi Venkataraman78cbcf22012-04-22 07:55:27 -070042#define IWL6050_UCODE_API_OK 5
43#define IWL6000G2B_UCODE_API_OK 6
Jay Sternberge1228372009-01-19 15:30:34 -080044
45/* Lowest firmware API version supported */
Wey-Yi Guy44246422009-10-23 13:42:34 -070046#define IWL6000_UCODE_API_MIN 4
47#define IWL6050_UCODE_API_MIN 4
Shanyu Zhao4b3e8062010-04-07 18:06:36 -070048#define IWL6000G2_UCODE_API_MIN 4
Jay Sternberge1228372009-01-19 15:30:34 -080049
Johannes Berg586aed92012-04-03 20:41:07 +020050/* EEPROM versions */
51#define EEPROM_6000_TX_POWER_VERSION (4)
52#define EEPROM_6000_EEPROM_VERSION (0x423)
53#define EEPROM_6050_TX_POWER_VERSION (4)
54#define EEPROM_6050_EEPROM_VERSION (0x532)
55#define EEPROM_6150_TX_POWER_VERSION (6)
56#define EEPROM_6150_EEPROM_VERSION (0x553)
57#define EEPROM_6005_TX_POWER_VERSION (6)
58#define EEPROM_6005_EEPROM_VERSION (0x709)
59#define EEPROM_6030_TX_POWER_VERSION (6)
60#define EEPROM_6030_EEPROM_VERSION (0x709)
61#define EEPROM_6035_TX_POWER_VERSION (6)
62#define EEPROM_6035_EEPROM_VERSION (0x753)
63
Jay Sternberge1228372009-01-19 15:30:34 -080064#define IWL6000_FW_PRE "iwlwifi-6000-"
Evgeni Golov8fcbd4dc2011-06-12 05:34:31 -070065#define IWL6000_MODULE_FIRMWARE(api) IWL6000_FW_PRE __stringify(api) ".ucode"
Jay Sternberge1228372009-01-19 15:30:34 -080066
67#define IWL6050_FW_PRE "iwlwifi-6050-"
Evgeni Golov8fcbd4dc2011-06-12 05:34:31 -070068#define IWL6050_MODULE_FIRMWARE(api) IWL6050_FW_PRE __stringify(api) ".ucode"
Jay Sternberge1228372009-01-19 15:30:34 -080069
Wey-Yi Guy1956e1a2011-01-08 10:25:14 -080070#define IWL6005_FW_PRE "iwlwifi-6000g2a-"
Evgeni Golov8fcbd4dc2011-06-12 05:34:31 -070071#define IWL6005_MODULE_FIRMWARE(api) IWL6005_FW_PRE __stringify(api) ".ucode"
Shanyu Zhao95b13012010-04-21 11:46:33 -070072
Wey-Yi Guy1956e1a2011-01-08 10:25:14 -080073#define IWL6030_FW_PRE "iwlwifi-6000g2b-"
Evgeni Golov8fcbd4dc2011-06-12 05:34:31 -070074#define IWL6030_MODULE_FIRMWARE(api) IWL6030_FW_PRE __stringify(api) ".ucode"
Shanyu Zhao18089722010-05-06 10:15:21 -070075
Johannes Berg6794f3e2012-03-06 13:30:56 -080076static const struct iwl_base_params iwl6000_base_params = {
Jay Sternberg0b5af202010-03-17 16:16:12 -070077 .eeprom_size = OTP_LOW_IMAGE_SIZE,
Jay Sternberg0b5af202010-03-17 16:16:12 -070078 .num_of_queues = IWLAGN_NUM_QUEUES,
Jay Sternberg0b5af202010-03-17 16:16:12 -070079 .pll_cfg_val = 0,
Jay Sternberg0b5af202010-03-17 16:16:12 -070080 .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
81 .shadow_ram_support = true,
Jay Sternberg0b5af202010-03-17 16:16:12 -070082 .led_compensation = 51,
Jay Sternberg0b5af202010-03-17 16:16:12 -070083 .adv_thermal_throttle = true,
84 .support_ct_kill_exit = true,
85 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF,
86 .chain_noise_scale = 1000,
Stanislaw Gruszka22de94d2010-12-03 15:41:48 +010087 .wd_timeout = IWL_DEF_WD_TIMEOUT,
Shanyu Zhao95b13012010-04-21 11:46:33 -070088 .max_event_log_size = 512,
Meenakshi Venkataraman66a77072012-05-16 22:35:59 +020089 .shadow_reg_enable = false, /* TODO: fix bugs using this feature */
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -070090};
91
Johannes Berg6794f3e2012-03-06 13:30:56 -080092static const struct iwl_base_params iwl6050_base_params = {
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -070093 .eeprom_size = OTP_LOW_IMAGE_SIZE,
94 .num_of_queues = IWLAGN_NUM_QUEUES,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -070095 .pll_cfg_val = 0,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -070096 .max_ll_items = OTP_MAX_LL_ITEMS_6x50,
97 .shadow_ram_support = true,
98 .led_compensation = 51,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -070099 .adv_thermal_throttle = true,
100 .support_ct_kill_exit = true,
101 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF,
102 .chain_noise_scale = 1500,
Stanislaw Gruszka22de94d2010-12-03 15:41:48 +0100103 .wd_timeout = IWL_DEF_WD_TIMEOUT,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700104 .max_event_log_size = 1024,
Meenakshi Venkataraman66a77072012-05-16 22:35:59 +0200105 .shadow_reg_enable = false, /* TODO: fix bugs using this feature */
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700106};
Johannes Berg6794f3e2012-03-06 13:30:56 -0800107
108static const struct iwl_base_params iwl6000_g2_base_params = {
Wey-Yi Guyde05ead2010-09-23 15:24:22 -0700109 .eeprom_size = OTP_LOW_IMAGE_SIZE,
110 .num_of_queues = IWLAGN_NUM_QUEUES,
Wey-Yi Guyde05ead2010-09-23 15:24:22 -0700111 .pll_cfg_val = 0,
Wey-Yi Guyde05ead2010-09-23 15:24:22 -0700112 .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
113 .shadow_ram_support = true,
Wey-Yi Guy4fb33242010-11-29 10:45:16 -0800114 .led_compensation = 57,
Wey-Yi Guyde05ead2010-09-23 15:24:22 -0700115 .adv_thermal_throttle = true,
116 .support_ct_kill_exit = true,
117 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF,
118 .chain_noise_scale = 1000,
Stanislaw Gruszka22de94d2010-12-03 15:41:48 +0100119 .wd_timeout = IWL_LONG_WD_TIMEOUT,
Wey-Yi Guyde05ead2010-09-23 15:24:22 -0700120 .max_event_log_size = 512,
Meenakshi Venkataraman66a77072012-05-16 22:35:59 +0200121 .shadow_reg_enable = false, /* TODO: fix bugs using this feature */
Wey-Yi Guyde05ead2010-09-23 15:24:22 -0700122};
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700123
Johannes Berg6794f3e2012-03-06 13:30:56 -0800124static const struct iwl_ht_params iwl6000_ht_params = {
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700125 .ht_greenfield_support = true,
126 .use_rts_for_aggregation = true, /* use rts/cts protection */
127};
128
Johannes Berg6794f3e2012-03-06 13:30:56 -0800129static const struct iwl_bt_params iwl6000_bt_params = {
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700130 /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */
131 .advanced_bt_coexist = true,
Wey-Yi Guy66e863a52010-11-08 14:54:37 -0800132 .agg_time_limit = BT_AGG_THRESHOLD_DEF,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700133 .bt_init_traffic_load = IWL_BT_COEX_TRAFFIC_LOAD_NONE,
134 .bt_prio_boost = IWLAGN_BT_PRIO_BOOST_DEFAULT,
Wey-Yi Guye3661762010-11-23 10:58:54 -0800135 .bt_sco_disable = true,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700136};
137
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800138#define IWL_DEVICE_6005 \
Johannes Bergca9a4602011-07-23 10:24:45 -0700139 .fw_name_pre = IWL6005_FW_PRE, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800140 .ucode_api_max = IWL6000G2_UCODE_API_MAX, \
Johannes Bergca9a4602011-07-23 10:24:45 -0700141 .ucode_api_ok = IWL6000G2_UCODE_API_OK, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800142 .ucode_api_min = IWL6000G2_UCODE_API_MIN, \
Johannes Berg2d771cb2012-04-09 17:47:00 -0700143 .device_family = IWL_DEVICE_FAMILY_6005, \
Emmanuel Grumbachdae66d02012-02-07 12:56:26 +0200144 .max_inst_size = IWL60_RTC_INST_SIZE, \
145 .max_data_size = IWL60_RTC_DATA_SIZE, \
Wey-Yi Guy1956e1a2011-01-08 10:25:14 -0800146 .eeprom_ver = EEPROM_6005_EEPROM_VERSION, \
147 .eeprom_calib_ver = EEPROM_6005_TX_POWER_VERSION, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800148 .base_params = &iwl6000_g2_base_params, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800149 .need_temp_offset_calib = true, \
150 .led_mode = IWL_LED_RF_STATE
151
Johannes Berg706c4ff2012-03-05 11:24:33 -0800152const struct iwl_cfg iwl6005_2agn_cfg = {
Wey-Yi Guy55017ab2010-11-17 12:13:53 -0800153 .name = "Intel(R) Centrino(R) Advanced-N 6205 AGN",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800154 IWL_DEVICE_6005,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700155 .ht_params = &iwl6000_ht_params,
Jay Sternberg0b5af202010-03-17 16:16:12 -0700156};
157
Johannes Berg706c4ff2012-03-05 11:24:33 -0800158const struct iwl_cfg iwl6005_2abg_cfg = {
Wey-Yi Guy55017ab2010-11-17 12:13:53 -0800159 .name = "Intel(R) Centrino(R) Advanced-N 6205 ABG",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800160 IWL_DEVICE_6005,
Shanyu Zhao18089722010-05-06 10:15:21 -0700161};
162
Johannes Berg706c4ff2012-03-05 11:24:33 -0800163const struct iwl_cfg iwl6005_2bg_cfg = {
Wey-Yi Guy55017ab2010-11-17 12:13:53 -0800164 .name = "Intel(R) Centrino(R) Advanced-N 6205 BG",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800165 IWL_DEVICE_6005,
Shanyu Zhao18089722010-05-06 10:15:21 -0700166};
167
Johannes Berg706c4ff2012-03-05 11:24:33 -0800168const struct iwl_cfg iwl6005_2agn_sff_cfg = {
Wey-Yi Guy6a9ae0d2011-08-25 23:10:56 -0700169 .name = "Intel(R) Centrino(R) Advanced-N 6205S AGN",
170 IWL_DEVICE_6005,
171 .ht_params = &iwl6000_ht_params,
172};
173
Johannes Berg706c4ff2012-03-05 11:24:33 -0800174const struct iwl_cfg iwl6005_2agn_d_cfg = {
Wey-Yi Guy5131a602011-10-10 07:27:00 -0700175 .name = "Intel(R) Centrino(R) Advanced-N 6205D AGN",
176 IWL_DEVICE_6005,
177 .ht_params = &iwl6000_ht_params,
178};
179
Johannes Berg706c4ff2012-03-05 11:24:33 -0800180const struct iwl_cfg iwl6005_2agn_mow1_cfg = {
Wey-Yi Guy37891122012-02-22 10:21:09 -0800181 .name = "Intel(R) Centrino(R) Advanced-N 6206 AGN",
182 IWL_DEVICE_6005,
183 .ht_params = &iwl6000_ht_params,
184};
Johannes Berg706c4ff2012-03-05 11:24:33 -0800185
186const struct iwl_cfg iwl6005_2agn_mow2_cfg = {
Wey-Yi Guy37891122012-02-22 10:21:09 -0800187 .name = "Intel(R) Centrino(R) Advanced-N 6207 AGN",
188 IWL_DEVICE_6005,
189 .ht_params = &iwl6000_ht_params,
190};
191
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800192#define IWL_DEVICE_6030 \
Johannes Bergca9a4602011-07-23 10:24:45 -0700193 .fw_name_pre = IWL6030_FW_PRE, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800194 .ucode_api_max = IWL6000G2_UCODE_API_MAX, \
Wey-Yi Guy1ed2ec32012-04-25 08:10:08 -0700195 .ucode_api_ok = IWL6000G2B_UCODE_API_OK, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800196 .ucode_api_min = IWL6000G2_UCODE_API_MIN, \
Johannes Berg2d771cb2012-04-09 17:47:00 -0700197 .device_family = IWL_DEVICE_FAMILY_6030, \
Emmanuel Grumbachdae66d02012-02-07 12:56:26 +0200198 .max_inst_size = IWL60_RTC_INST_SIZE, \
199 .max_data_size = IWL60_RTC_DATA_SIZE, \
Wey-Yi Guy1956e1a2011-01-08 10:25:14 -0800200 .eeprom_ver = EEPROM_6030_EEPROM_VERSION, \
201 .eeprom_calib_ver = EEPROM_6030_TX_POWER_VERSION, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800202 .base_params = &iwl6000_g2_base_params, \
203 .bt_params = &iwl6000_bt_params, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800204 .need_temp_offset_calib = true, \
205 .led_mode = IWL_LED_RF_STATE, \
Stanislaw Gruszkacd017f22010-12-23 15:12:30 +0100206 .adv_pm = true \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800207
Johannes Berg706c4ff2012-03-05 11:24:33 -0800208const struct iwl_cfg iwl6030_2agn_cfg = {
Wey-Yi Guyd2eceef2010-11-17 12:13:54 -0800209 .name = "Intel(R) Centrino(R) Advanced-N 6230 AGN",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800210 IWL_DEVICE_6030,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700211 .ht_params = &iwl6000_ht_params,
Shanyu Zhao18089722010-05-06 10:15:21 -0700212};
213
Johannes Berg706c4ff2012-03-05 11:24:33 -0800214const struct iwl_cfg iwl6030_2abg_cfg = {
Wey-Yi Guyd2eceef2010-11-17 12:13:54 -0800215 .name = "Intel(R) Centrino(R) Advanced-N 6230 ABG",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800216 IWL_DEVICE_6030,
Shanyu Zhao18089722010-05-06 10:15:21 -0700217};
218
Johannes Berg706c4ff2012-03-05 11:24:33 -0800219const struct iwl_cfg iwl6030_2bgn_cfg = {
Wey-Yi Guyd2eceef2010-11-17 12:13:54 -0800220 .name = "Intel(R) Centrino(R) Advanced-N 6230 BGN",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800221 IWL_DEVICE_6030,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700222 .ht_params = &iwl6000_ht_params,
Shanyu Zhao9f6e1ba2010-05-11 15:21:54 -0700223};
224
Johannes Berg706c4ff2012-03-05 11:24:33 -0800225const struct iwl_cfg iwl6030_2bg_cfg = {
Wey-Yi Guyd2eceef2010-11-17 12:13:54 -0800226 .name = "Intel(R) Centrino(R) Advanced-N 6230 BG",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800227 IWL_DEVICE_6030,
Shanyu Zhao18089722010-05-06 10:15:21 -0700228};
229
Johannes Berg706c4ff2012-03-05 11:24:33 -0800230const struct iwl_cfg iwl6035_2agn_cfg = {
Don Fry6195d132011-12-06 10:42:41 -0800231 .name = "Intel(R) Centrino(R) Advanced-N 6235 AGN",
Wey-Yi Guyd103e342011-03-10 03:17:16 -0800232 IWL_DEVICE_6030,
233 .ht_params = &iwl6000_ht_params,
234};
235
Johannes Berg706c4ff2012-03-05 11:24:33 -0800236const struct iwl_cfg iwl1030_bgn_cfg = {
Wey-Yi Guyd2eceef2010-11-17 12:13:54 -0800237 .name = "Intel(R) Centrino(R) Wireless-N 1030 BGN",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800238 IWL_DEVICE_6030,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700239 .ht_params = &iwl6000_ht_params,
Shanyu Zhao18089722010-05-06 10:15:21 -0700240};
241
Johannes Berg706c4ff2012-03-05 11:24:33 -0800242const struct iwl_cfg iwl1030_bg_cfg = {
Wey-Yi Guyd2eceef2010-11-17 12:13:54 -0800243 .name = "Intel(R) Centrino(R) Wireless-N 1030 BG",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800244 IWL_DEVICE_6030,
245};
246
Johannes Berg706c4ff2012-03-05 11:24:33 -0800247const struct iwl_cfg iwl130_bgn_cfg = {
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800248 .name = "Intel(R) Centrino(R) Wireless-N 130 BGN",
249 IWL_DEVICE_6030,
250 .ht_params = &iwl6000_ht_params,
251 .rx_with_siso_diversity = true,
252};
253
Johannes Berg706c4ff2012-03-05 11:24:33 -0800254const struct iwl_cfg iwl130_bg_cfg = {
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800255 .name = "Intel(R) Centrino(R) Wireless-N 130 BG",
256 IWL_DEVICE_6030,
257 .rx_with_siso_diversity = true,
Shanyu Zhao18089722010-05-06 10:15:21 -0700258};
259
Shanyu Zhao95b13012010-04-21 11:46:33 -0700260/*
261 * "i": Internal configuration, use internal Power Amplifier
262 */
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800263#define IWL_DEVICE_6000i \
264 .fw_name_pre = IWL6000_FW_PRE, \
265 .ucode_api_max = IWL6000_UCODE_API_MAX, \
Johannes Bergb9148112011-11-04 07:22:37 -0700266 .ucode_api_ok = IWL6000_UCODE_API_OK, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800267 .ucode_api_min = IWL6000_UCODE_API_MIN, \
Johannes Berg2d771cb2012-04-09 17:47:00 -0700268 .device_family = IWL_DEVICE_FAMILY_6000i, \
Emmanuel Grumbachdae66d02012-02-07 12:56:26 +0200269 .max_inst_size = IWL60_RTC_INST_SIZE, \
270 .max_data_size = IWL60_RTC_DATA_SIZE, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800271 .valid_tx_ant = ANT_BC, /* .cfg overwrite */ \
272 .valid_rx_ant = ANT_BC, /* .cfg overwrite */ \
273 .eeprom_ver = EEPROM_6000_EEPROM_VERSION, \
274 .eeprom_calib_ver = EEPROM_6000_TX_POWER_VERSION, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800275 .base_params = &iwl6000_base_params, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800276 .led_mode = IWL_LED_BLINK
277
Johannes Berg706c4ff2012-03-05 11:24:33 -0800278const struct iwl_cfg iwl6000i_2agn_cfg = {
Shanyu Zhaoc11362c2010-03-05 17:05:20 -0800279 .name = "Intel(R) Centrino(R) Advanced-N 6200 AGN",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800280 IWL_DEVICE_6000i,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700281 .ht_params = &iwl6000_ht_params,
Jay Sternberge1228372009-01-19 15:30:34 -0800282};
283
Johannes Berg706c4ff2012-03-05 11:24:33 -0800284const struct iwl_cfg iwl6000i_2abg_cfg = {
Shanyu Zhaoc11362c2010-03-05 17:05:20 -0800285 .name = "Intel(R) Centrino(R) Advanced-N 6200 ABG",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800286 IWL_DEVICE_6000i,
Wey-Yi Guy5953a622009-09-17 10:43:53 -0700287};
288
Johannes Berg706c4ff2012-03-05 11:24:33 -0800289const struct iwl_cfg iwl6000i_2bg_cfg = {
Shanyu Zhaoc11362c2010-03-05 17:05:20 -0800290 .name = "Intel(R) Centrino(R) Advanced-N 6200 BG",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800291 IWL_DEVICE_6000i,
Wey-Yi Guy5953a622009-09-17 10:43:53 -0700292};
293
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800294#define IWL_DEVICE_6050 \
295 .fw_name_pre = IWL6050_FW_PRE, \
296 .ucode_api_max = IWL6050_UCODE_API_MAX, \
297 .ucode_api_min = IWL6050_UCODE_API_MIN, \
Johannes Berg2d771cb2012-04-09 17:47:00 -0700298 .device_family = IWL_DEVICE_FAMILY_6050, \
Emmanuel Grumbachdae66d02012-02-07 12:56:26 +0200299 .max_inst_size = IWL60_RTC_INST_SIZE, \
300 .max_data_size = IWL60_RTC_DATA_SIZE, \
Wey-Yi Guyff458ed2011-01-31 13:56:03 -0800301 .valid_tx_ant = ANT_AB, /* .cfg overwrite */ \
302 .valid_rx_ant = ANT_AB, /* .cfg overwrite */ \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800303 .eeprom_ver = EEPROM_6050_EEPROM_VERSION, \
304 .eeprom_calib_ver = EEPROM_6050_TX_POWER_VERSION, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800305 .base_params = &iwl6050_base_params, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800306 .led_mode = IWL_LED_BLINK, \
307 .internal_wimax_coex = true
308
Johannes Berg706c4ff2012-03-05 11:24:33 -0800309const struct iwl_cfg iwl6050_2agn_cfg = {
Shanyu Zhaoc11362c2010-03-05 17:05:20 -0800310 .name = "Intel(R) Centrino(R) Advanced-N + WiMAX 6250 AGN",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800311 IWL_DEVICE_6050,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700312 .ht_params = &iwl6000_ht_params,
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800313};
314
Johannes Berg706c4ff2012-03-05 11:24:33 -0800315const struct iwl_cfg iwl6050_2abg_cfg = {
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800316 .name = "Intel(R) Centrino(R) Advanced-N + WiMAX 6250 ABG",
317 IWL_DEVICE_6050,
Jay Sternberge1228372009-01-19 15:30:34 -0800318};
319
Wey-Yi Guy11441812011-05-30 09:32:52 -0700320#define IWL_DEVICE_6150 \
321 .fw_name_pre = IWL6050_FW_PRE, \
322 .ucode_api_max = IWL6050_UCODE_API_MAX, \
323 .ucode_api_min = IWL6050_UCODE_API_MIN, \
Johannes Berg2d771cb2012-04-09 17:47:00 -0700324 .device_family = IWL_DEVICE_FAMILY_6150, \
Emmanuel Grumbachdae66d02012-02-07 12:56:26 +0200325 .max_inst_size = IWL60_RTC_INST_SIZE, \
326 .max_data_size = IWL60_RTC_DATA_SIZE, \
Wey-Yi Guy11441812011-05-30 09:32:52 -0700327 .eeprom_ver = EEPROM_6150_EEPROM_VERSION, \
328 .eeprom_calib_ver = EEPROM_6150_TX_POWER_VERSION, \
329 .base_params = &iwl6050_base_params, \
Wey-Yi Guy11441812011-05-30 09:32:52 -0700330 .led_mode = IWL_LED_BLINK, \
331 .internal_wimax_coex = true
332
Johannes Berg706c4ff2012-03-05 11:24:33 -0800333const struct iwl_cfg iwl6150_bgn_cfg = {
Wey-Yi Guyf9dc6462010-11-17 12:13:52 -0800334 .name = "Intel(R) Centrino(R) Wireless-N + WiMAX 6150 BGN",
Wey-Yi Guy11441812011-05-30 09:32:52 -0700335 IWL_DEVICE_6150,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700336 .ht_params = &iwl6000_ht_params,
Wey-Yi Guy11441812011-05-30 09:32:52 -0700337};
338
Johannes Berg706c4ff2012-03-05 11:24:33 -0800339const struct iwl_cfg iwl6150_bg_cfg = {
Wey-Yi Guy11441812011-05-30 09:32:52 -0700340 .name = "Intel(R) Centrino(R) Wireless-N + WiMAX 6150 BG",
341 IWL_DEVICE_6150,
Shanyu Zhao03264332010-06-29 17:27:27 -0700342};
343
Johannes Berg706c4ff2012-03-05 11:24:33 -0800344const struct iwl_cfg iwl6000_3agn_cfg = {
Shanyu Zhaoc11362c2010-03-05 17:05:20 -0800345 .name = "Intel(R) Centrino(R) Ultimate-N 6300 AGN",
Jay Sternberge1228372009-01-19 15:30:34 -0800346 .fw_name_pre = IWL6000_FW_PRE,
347 .ucode_api_max = IWL6000_UCODE_API_MAX,
Johannes Bergb9148112011-11-04 07:22:37 -0700348 .ucode_api_ok = IWL6000_UCODE_API_OK,
Jay Sternberge1228372009-01-19 15:30:34 -0800349 .ucode_api_min = IWL6000_UCODE_API_MIN,
Johannes Berg2d771cb2012-04-09 17:47:00 -0700350 .device_family = IWL_DEVICE_FAMILY_6000,
Emmanuel Grumbachdae66d02012-02-07 12:56:26 +0200351 .max_inst_size = IWL60_RTC_INST_SIZE,
352 .max_data_size = IWL60_RTC_DATA_SIZE,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700353 .eeprom_ver = EEPROM_6000_EEPROM_VERSION,
354 .eeprom_calib_ver = EEPROM_6000_TX_POWER_VERSION,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700355 .base_params = &iwl6000_base_params,
356 .ht_params = &iwl6000_ht_params,
Wey-Yi Guy564b3442010-11-09 09:21:34 -0800357 .led_mode = IWL_LED_BLINK,
Jay Sternberge1228372009-01-19 15:30:34 -0800358};
359
Johannes Bergb9148112011-11-04 07:22:37 -0700360MODULE_FIRMWARE(IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_OK));
Meenakshi Venkataraman78cbcf22012-04-22 07:55:27 -0700361MODULE_FIRMWARE(IWL6050_MODULE_FIRMWARE(IWL6050_UCODE_API_OK));
362MODULE_FIRMWARE(IWL6005_MODULE_FIRMWARE(IWL6000G2_UCODE_API_OK));
363MODULE_FIRMWARE(IWL6030_MODULE_FIRMWARE(IWL6000G2B_UCODE_API_OK));