blob: 6db0a4067b8d3884e757c8e1df43dca192244b77 [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 Berge9676692012-04-10 14:10:28 -070031#include "iwl-dev.h" /* still needed */
Jay Sternberge1228372009-01-19 15:30:34 -080032
33/* Highest firmware API version supported */
Johannes Bergb9148112011-11-04 07:22:37 -070034#define IWL6000_UCODE_API_MAX 6
Wey-Yi Guy62cb3c62010-09-28 17:43:10 -070035#define IWL6050_UCODE_API_MAX 5
Johannes Bergca9a4602011-07-23 10:24:45 -070036#define IWL6000G2_UCODE_API_MAX 6
37
38/* Oldest version we won't warn about */
Johannes Bergb9148112011-11-04 07:22:37 -070039#define IWL6000_UCODE_API_OK 4
Johannes Bergca9a4602011-07-23 10:24:45 -070040#define IWL6000G2_UCODE_API_OK 5
Jay Sternberge1228372009-01-19 15:30:34 -080041
42/* Lowest firmware API version supported */
Wey-Yi Guy44246422009-10-23 13:42:34 -070043#define IWL6000_UCODE_API_MIN 4
44#define IWL6050_UCODE_API_MIN 4
Shanyu Zhao4b3e8062010-04-07 18:06:36 -070045#define IWL6000G2_UCODE_API_MIN 4
Jay Sternberge1228372009-01-19 15:30:34 -080046
Johannes Berg586aed92012-04-03 20:41:07 +020047/* EEPROM versions */
48#define EEPROM_6000_TX_POWER_VERSION (4)
49#define EEPROM_6000_EEPROM_VERSION (0x423)
50#define EEPROM_6050_TX_POWER_VERSION (4)
51#define EEPROM_6050_EEPROM_VERSION (0x532)
52#define EEPROM_6150_TX_POWER_VERSION (6)
53#define EEPROM_6150_EEPROM_VERSION (0x553)
54#define EEPROM_6005_TX_POWER_VERSION (6)
55#define EEPROM_6005_EEPROM_VERSION (0x709)
56#define EEPROM_6030_TX_POWER_VERSION (6)
57#define EEPROM_6030_EEPROM_VERSION (0x709)
58#define EEPROM_6035_TX_POWER_VERSION (6)
59#define EEPROM_6035_EEPROM_VERSION (0x753)
60
Jay Sternberge1228372009-01-19 15:30:34 -080061#define IWL6000_FW_PRE "iwlwifi-6000-"
Evgeni Golov8fcbd4dc2011-06-12 05:34:31 -070062#define IWL6000_MODULE_FIRMWARE(api) IWL6000_FW_PRE __stringify(api) ".ucode"
Jay Sternberge1228372009-01-19 15:30:34 -080063
64#define IWL6050_FW_PRE "iwlwifi-6050-"
Evgeni Golov8fcbd4dc2011-06-12 05:34:31 -070065#define IWL6050_MODULE_FIRMWARE(api) IWL6050_FW_PRE __stringify(api) ".ucode"
Jay Sternberge1228372009-01-19 15:30:34 -080066
Wey-Yi Guy1956e1a2011-01-08 10:25:14 -080067#define IWL6005_FW_PRE "iwlwifi-6000g2a-"
Evgeni Golov8fcbd4dc2011-06-12 05:34:31 -070068#define IWL6005_MODULE_FIRMWARE(api) IWL6005_FW_PRE __stringify(api) ".ucode"
Shanyu Zhao95b13012010-04-21 11:46:33 -070069
Wey-Yi Guy1956e1a2011-01-08 10:25:14 -080070#define IWL6030_FW_PRE "iwlwifi-6000g2b-"
Evgeni Golov8fcbd4dc2011-06-12 05:34:31 -070071#define IWL6030_MODULE_FIRMWARE(api) IWL6030_FW_PRE __stringify(api) ".ucode"
Shanyu Zhao18089722010-05-06 10:15:21 -070072
Johannes Berg6794f3e2012-03-06 13:30:56 -080073static const struct iwl_base_params iwl6000_base_params = {
Jay Sternberg0b5af202010-03-17 16:16:12 -070074 .eeprom_size = OTP_LOW_IMAGE_SIZE,
Jay Sternberg0b5af202010-03-17 16:16:12 -070075 .num_of_queues = IWLAGN_NUM_QUEUES,
Jay Sternberg0b5af202010-03-17 16:16:12 -070076 .pll_cfg_val = 0,
Jay Sternberg0b5af202010-03-17 16:16:12 -070077 .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
78 .shadow_ram_support = true,
Jay Sternberg0b5af202010-03-17 16:16:12 -070079 .led_compensation = 51,
Jay Sternberg0b5af202010-03-17 16:16:12 -070080 .adv_thermal_throttle = true,
81 .support_ct_kill_exit = true,
82 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF,
83 .chain_noise_scale = 1000,
Stanislaw Gruszka22de94d2010-12-03 15:41:48 +010084 .wd_timeout = IWL_DEF_WD_TIMEOUT,
Shanyu Zhao95b13012010-04-21 11:46:33 -070085 .max_event_log_size = 512,
Wey-Yi Guyf81c1f42010-11-10 09:56:50 -080086 .shadow_reg_enable = true,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -070087};
88
Johannes Berg6794f3e2012-03-06 13:30:56 -080089static const struct iwl_base_params iwl6050_base_params = {
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -070090 .eeprom_size = OTP_LOW_IMAGE_SIZE,
91 .num_of_queues = IWLAGN_NUM_QUEUES,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -070092 .pll_cfg_val = 0,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -070093 .max_ll_items = OTP_MAX_LL_ITEMS_6x50,
94 .shadow_ram_support = true,
95 .led_compensation = 51,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -070096 .adv_thermal_throttle = true,
97 .support_ct_kill_exit = true,
98 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF,
99 .chain_noise_scale = 1500,
Stanislaw Gruszka22de94d2010-12-03 15:41:48 +0100100 .wd_timeout = IWL_DEF_WD_TIMEOUT,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700101 .max_event_log_size = 1024,
Wey-Yi Guyf81c1f42010-11-10 09:56:50 -0800102 .shadow_reg_enable = true,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700103};
Johannes Berg6794f3e2012-03-06 13:30:56 -0800104
105static const struct iwl_base_params iwl6000_g2_base_params = {
Wey-Yi Guyde05ead2010-09-23 15:24:22 -0700106 .eeprom_size = OTP_LOW_IMAGE_SIZE,
107 .num_of_queues = IWLAGN_NUM_QUEUES,
Wey-Yi Guyde05ead2010-09-23 15:24:22 -0700108 .pll_cfg_val = 0,
Wey-Yi Guyde05ead2010-09-23 15:24:22 -0700109 .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
110 .shadow_ram_support = true,
Wey-Yi Guy4fb33242010-11-29 10:45:16 -0800111 .led_compensation = 57,
Wey-Yi Guyde05ead2010-09-23 15:24:22 -0700112 .adv_thermal_throttle = true,
113 .support_ct_kill_exit = true,
114 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF,
115 .chain_noise_scale = 1000,
Stanislaw Gruszka22de94d2010-12-03 15:41:48 +0100116 .wd_timeout = IWL_LONG_WD_TIMEOUT,
Wey-Yi Guyde05ead2010-09-23 15:24:22 -0700117 .max_event_log_size = 512,
Wey-Yi Guyf81c1f42010-11-10 09:56:50 -0800118 .shadow_reg_enable = true,
Wey-Yi Guyde05ead2010-09-23 15:24:22 -0700119};
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700120
Johannes Berg6794f3e2012-03-06 13:30:56 -0800121static const struct iwl_ht_params iwl6000_ht_params = {
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700122 .ht_greenfield_support = true,
123 .use_rts_for_aggregation = true, /* use rts/cts protection */
124};
125
Johannes Berg6794f3e2012-03-06 13:30:56 -0800126static const struct iwl_bt_params iwl6000_bt_params = {
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700127 /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */
128 .advanced_bt_coexist = true,
Wey-Yi Guy66e863a52010-11-08 14:54:37 -0800129 .agg_time_limit = BT_AGG_THRESHOLD_DEF,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700130 .bt_init_traffic_load = IWL_BT_COEX_TRAFFIC_LOAD_NONE,
131 .bt_prio_boost = IWLAGN_BT_PRIO_BOOST_DEFAULT,
Wey-Yi Guye3661762010-11-23 10:58:54 -0800132 .bt_sco_disable = true,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700133};
134
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800135#define IWL_DEVICE_6005 \
Johannes Bergca9a4602011-07-23 10:24:45 -0700136 .fw_name_pre = IWL6005_FW_PRE, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800137 .ucode_api_max = IWL6000G2_UCODE_API_MAX, \
Johannes Bergca9a4602011-07-23 10:24:45 -0700138 .ucode_api_ok = IWL6000G2_UCODE_API_OK, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800139 .ucode_api_min = IWL6000G2_UCODE_API_MIN, \
Johannes Berg2d771cb2012-04-09 17:47:00 -0700140 .device_family = IWL_DEVICE_FAMILY_6005, \
Emmanuel Grumbachdae66d02012-02-07 12:56:26 +0200141 .max_inst_size = IWL60_RTC_INST_SIZE, \
142 .max_data_size = IWL60_RTC_DATA_SIZE, \
Wey-Yi Guy1956e1a2011-01-08 10:25:14 -0800143 .eeprom_ver = EEPROM_6005_EEPROM_VERSION, \
144 .eeprom_calib_ver = EEPROM_6005_TX_POWER_VERSION, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800145 .base_params = &iwl6000_g2_base_params, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800146 .need_temp_offset_calib = true, \
147 .led_mode = IWL_LED_RF_STATE
148
Johannes Berg706c4ff2012-03-05 11:24:33 -0800149const struct iwl_cfg iwl6005_2agn_cfg = {
Wey-Yi Guy55017ab2010-11-17 12:13:53 -0800150 .name = "Intel(R) Centrino(R) Advanced-N 6205 AGN",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800151 IWL_DEVICE_6005,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700152 .ht_params = &iwl6000_ht_params,
Jay Sternberg0b5af202010-03-17 16:16:12 -0700153};
154
Johannes Berg706c4ff2012-03-05 11:24:33 -0800155const struct iwl_cfg iwl6005_2abg_cfg = {
Wey-Yi Guy55017ab2010-11-17 12:13:53 -0800156 .name = "Intel(R) Centrino(R) Advanced-N 6205 ABG",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800157 IWL_DEVICE_6005,
Shanyu Zhao18089722010-05-06 10:15:21 -0700158};
159
Johannes Berg706c4ff2012-03-05 11:24:33 -0800160const struct iwl_cfg iwl6005_2bg_cfg = {
Wey-Yi Guy55017ab2010-11-17 12:13:53 -0800161 .name = "Intel(R) Centrino(R) Advanced-N 6205 BG",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800162 IWL_DEVICE_6005,
Shanyu Zhao18089722010-05-06 10:15:21 -0700163};
164
Johannes Berg706c4ff2012-03-05 11:24:33 -0800165const struct iwl_cfg iwl6005_2agn_sff_cfg = {
Wey-Yi Guy6a9ae0d2011-08-25 23:10:56 -0700166 .name = "Intel(R) Centrino(R) Advanced-N 6205S AGN",
167 IWL_DEVICE_6005,
168 .ht_params = &iwl6000_ht_params,
169};
170
Johannes Berg706c4ff2012-03-05 11:24:33 -0800171const struct iwl_cfg iwl6005_2agn_d_cfg = {
Wey-Yi Guy5131a602011-10-10 07:27:00 -0700172 .name = "Intel(R) Centrino(R) Advanced-N 6205D AGN",
173 IWL_DEVICE_6005,
174 .ht_params = &iwl6000_ht_params,
175};
176
Johannes Berg706c4ff2012-03-05 11:24:33 -0800177const struct iwl_cfg iwl6005_2agn_mow1_cfg = {
Wey-Yi Guy37891122012-02-22 10:21:09 -0800178 .name = "Intel(R) Centrino(R) Advanced-N 6206 AGN",
179 IWL_DEVICE_6005,
180 .ht_params = &iwl6000_ht_params,
181};
Johannes Berg706c4ff2012-03-05 11:24:33 -0800182
183const struct iwl_cfg iwl6005_2agn_mow2_cfg = {
Wey-Yi Guy37891122012-02-22 10:21:09 -0800184 .name = "Intel(R) Centrino(R) Advanced-N 6207 AGN",
185 IWL_DEVICE_6005,
186 .ht_params = &iwl6000_ht_params,
187};
188
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800189#define IWL_DEVICE_6030 \
Johannes Bergca9a4602011-07-23 10:24:45 -0700190 .fw_name_pre = IWL6030_FW_PRE, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800191 .ucode_api_max = IWL6000G2_UCODE_API_MAX, \
Johannes Bergca9a4602011-07-23 10:24:45 -0700192 .ucode_api_ok = IWL6000G2_UCODE_API_OK, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800193 .ucode_api_min = IWL6000G2_UCODE_API_MIN, \
Johannes Berg2d771cb2012-04-09 17:47:00 -0700194 .device_family = IWL_DEVICE_FAMILY_6030, \
Emmanuel Grumbachdae66d02012-02-07 12:56:26 +0200195 .max_inst_size = IWL60_RTC_INST_SIZE, \
196 .max_data_size = IWL60_RTC_DATA_SIZE, \
Wey-Yi Guy1956e1a2011-01-08 10:25:14 -0800197 .eeprom_ver = EEPROM_6030_EEPROM_VERSION, \
198 .eeprom_calib_ver = EEPROM_6030_TX_POWER_VERSION, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800199 .base_params = &iwl6000_g2_base_params, \
200 .bt_params = &iwl6000_bt_params, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800201 .need_temp_offset_calib = true, \
202 .led_mode = IWL_LED_RF_STATE, \
Stanislaw Gruszkacd017f22010-12-23 15:12:30 +0100203 .adv_pm = true \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800204
Johannes Berg706c4ff2012-03-05 11:24:33 -0800205const struct iwl_cfg iwl6030_2agn_cfg = {
Wey-Yi Guyd2eceef2010-11-17 12:13:54 -0800206 .name = "Intel(R) Centrino(R) Advanced-N 6230 AGN",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800207 IWL_DEVICE_6030,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700208 .ht_params = &iwl6000_ht_params,
Shanyu Zhao18089722010-05-06 10:15:21 -0700209};
210
Johannes Berg706c4ff2012-03-05 11:24:33 -0800211const struct iwl_cfg iwl6030_2abg_cfg = {
Wey-Yi Guyd2eceef2010-11-17 12:13:54 -0800212 .name = "Intel(R) Centrino(R) Advanced-N 6230 ABG",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800213 IWL_DEVICE_6030,
Shanyu Zhao18089722010-05-06 10:15:21 -0700214};
215
Johannes Berg706c4ff2012-03-05 11:24:33 -0800216const struct iwl_cfg iwl6030_2bgn_cfg = {
Wey-Yi Guyd2eceef2010-11-17 12:13:54 -0800217 .name = "Intel(R) Centrino(R) Advanced-N 6230 BGN",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800218 IWL_DEVICE_6030,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700219 .ht_params = &iwl6000_ht_params,
Shanyu Zhao9f6e1ba2010-05-11 15:21:54 -0700220};
221
Johannes Berg706c4ff2012-03-05 11:24:33 -0800222const struct iwl_cfg iwl6030_2bg_cfg = {
Wey-Yi Guyd2eceef2010-11-17 12:13:54 -0800223 .name = "Intel(R) Centrino(R) Advanced-N 6230 BG",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800224 IWL_DEVICE_6030,
Shanyu Zhao18089722010-05-06 10:15:21 -0700225};
226
Johannes Berg706c4ff2012-03-05 11:24:33 -0800227const struct iwl_cfg iwl6035_2agn_cfg = {
Don Fry6195d132011-12-06 10:42:41 -0800228 .name = "Intel(R) Centrino(R) Advanced-N 6235 AGN",
Wey-Yi Guyd103e342011-03-10 03:17:16 -0800229 IWL_DEVICE_6030,
230 .ht_params = &iwl6000_ht_params,
231};
232
Johannes Berg706c4ff2012-03-05 11:24:33 -0800233const struct iwl_cfg iwl1030_bgn_cfg = {
Wey-Yi Guyd2eceef2010-11-17 12:13:54 -0800234 .name = "Intel(R) Centrino(R) Wireless-N 1030 BGN",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800235 IWL_DEVICE_6030,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700236 .ht_params = &iwl6000_ht_params,
Shanyu Zhao18089722010-05-06 10:15:21 -0700237};
238
Johannes Berg706c4ff2012-03-05 11:24:33 -0800239const struct iwl_cfg iwl1030_bg_cfg = {
Wey-Yi Guyd2eceef2010-11-17 12:13:54 -0800240 .name = "Intel(R) Centrino(R) Wireless-N 1030 BG",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800241 IWL_DEVICE_6030,
242};
243
Johannes Berg706c4ff2012-03-05 11:24:33 -0800244const struct iwl_cfg iwl130_bgn_cfg = {
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800245 .name = "Intel(R) Centrino(R) Wireless-N 130 BGN",
246 IWL_DEVICE_6030,
247 .ht_params = &iwl6000_ht_params,
248 .rx_with_siso_diversity = true,
249};
250
Johannes Berg706c4ff2012-03-05 11:24:33 -0800251const struct iwl_cfg iwl130_bg_cfg = {
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800252 .name = "Intel(R) Centrino(R) Wireless-N 130 BG",
253 IWL_DEVICE_6030,
254 .rx_with_siso_diversity = true,
Shanyu Zhao18089722010-05-06 10:15:21 -0700255};
256
Shanyu Zhao95b13012010-04-21 11:46:33 -0700257/*
258 * "i": Internal configuration, use internal Power Amplifier
259 */
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800260#define IWL_DEVICE_6000i \
261 .fw_name_pre = IWL6000_FW_PRE, \
262 .ucode_api_max = IWL6000_UCODE_API_MAX, \
Johannes Bergb9148112011-11-04 07:22:37 -0700263 .ucode_api_ok = IWL6000_UCODE_API_OK, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800264 .ucode_api_min = IWL6000_UCODE_API_MIN, \
Johannes Berg2d771cb2012-04-09 17:47:00 -0700265 .device_family = IWL_DEVICE_FAMILY_6000i, \
Emmanuel Grumbachdae66d02012-02-07 12:56:26 +0200266 .max_inst_size = IWL60_RTC_INST_SIZE, \
267 .max_data_size = IWL60_RTC_DATA_SIZE, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800268 .valid_tx_ant = ANT_BC, /* .cfg overwrite */ \
269 .valid_rx_ant = ANT_BC, /* .cfg overwrite */ \
270 .eeprom_ver = EEPROM_6000_EEPROM_VERSION, \
271 .eeprom_calib_ver = EEPROM_6000_TX_POWER_VERSION, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800272 .base_params = &iwl6000_base_params, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800273 .led_mode = IWL_LED_BLINK
274
Johannes Berg706c4ff2012-03-05 11:24:33 -0800275const struct iwl_cfg iwl6000i_2agn_cfg = {
Shanyu Zhaoc11362c2010-03-05 17:05:20 -0800276 .name = "Intel(R) Centrino(R) Advanced-N 6200 AGN",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800277 IWL_DEVICE_6000i,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700278 .ht_params = &iwl6000_ht_params,
Jay Sternberge1228372009-01-19 15:30:34 -0800279};
280
Johannes Berg706c4ff2012-03-05 11:24:33 -0800281const struct iwl_cfg iwl6000i_2abg_cfg = {
Shanyu Zhaoc11362c2010-03-05 17:05:20 -0800282 .name = "Intel(R) Centrino(R) Advanced-N 6200 ABG",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800283 IWL_DEVICE_6000i,
Wey-Yi Guy5953a622009-09-17 10:43:53 -0700284};
285
Johannes Berg706c4ff2012-03-05 11:24:33 -0800286const struct iwl_cfg iwl6000i_2bg_cfg = {
Shanyu Zhaoc11362c2010-03-05 17:05:20 -0800287 .name = "Intel(R) Centrino(R) Advanced-N 6200 BG",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800288 IWL_DEVICE_6000i,
Wey-Yi Guy5953a622009-09-17 10:43:53 -0700289};
290
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800291#define IWL_DEVICE_6050 \
292 .fw_name_pre = IWL6050_FW_PRE, \
293 .ucode_api_max = IWL6050_UCODE_API_MAX, \
294 .ucode_api_min = IWL6050_UCODE_API_MIN, \
Johannes Berg2d771cb2012-04-09 17:47:00 -0700295 .device_family = IWL_DEVICE_FAMILY_6050, \
Emmanuel Grumbachdae66d02012-02-07 12:56:26 +0200296 .max_inst_size = IWL60_RTC_INST_SIZE, \
297 .max_data_size = IWL60_RTC_DATA_SIZE, \
Wey-Yi Guyff458ed2011-01-31 13:56:03 -0800298 .valid_tx_ant = ANT_AB, /* .cfg overwrite */ \
299 .valid_rx_ant = ANT_AB, /* .cfg overwrite */ \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800300 .eeprom_ver = EEPROM_6050_EEPROM_VERSION, \
301 .eeprom_calib_ver = EEPROM_6050_TX_POWER_VERSION, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800302 .base_params = &iwl6050_base_params, \
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800303 .led_mode = IWL_LED_BLINK, \
304 .internal_wimax_coex = true
305
Johannes Berg706c4ff2012-03-05 11:24:33 -0800306const struct iwl_cfg iwl6050_2agn_cfg = {
Shanyu Zhaoc11362c2010-03-05 17:05:20 -0800307 .name = "Intel(R) Centrino(R) Advanced-N + WiMAX 6250 AGN",
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800308 IWL_DEVICE_6050,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700309 .ht_params = &iwl6000_ht_params,
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800310};
311
Johannes Berg706c4ff2012-03-05 11:24:33 -0800312const struct iwl_cfg iwl6050_2abg_cfg = {
Wey-Yi Guy65af8de2010-12-08 07:51:50 -0800313 .name = "Intel(R) Centrino(R) Advanced-N + WiMAX 6250 ABG",
314 IWL_DEVICE_6050,
Jay Sternberge1228372009-01-19 15:30:34 -0800315};
316
Wey-Yi Guy11441812011-05-30 09:32:52 -0700317#define IWL_DEVICE_6150 \
318 .fw_name_pre = IWL6050_FW_PRE, \
319 .ucode_api_max = IWL6050_UCODE_API_MAX, \
320 .ucode_api_min = IWL6050_UCODE_API_MIN, \
Johannes Berg2d771cb2012-04-09 17:47:00 -0700321 .device_family = IWL_DEVICE_FAMILY_6150, \
Emmanuel Grumbachdae66d02012-02-07 12:56:26 +0200322 .max_inst_size = IWL60_RTC_INST_SIZE, \
323 .max_data_size = IWL60_RTC_DATA_SIZE, \
Wey-Yi Guy11441812011-05-30 09:32:52 -0700324 .eeprom_ver = EEPROM_6150_EEPROM_VERSION, \
325 .eeprom_calib_ver = EEPROM_6150_TX_POWER_VERSION, \
326 .base_params = &iwl6050_base_params, \
Wey-Yi Guy11441812011-05-30 09:32:52 -0700327 .led_mode = IWL_LED_BLINK, \
328 .internal_wimax_coex = true
329
Johannes Berg706c4ff2012-03-05 11:24:33 -0800330const struct iwl_cfg iwl6150_bgn_cfg = {
Wey-Yi Guyf9dc6462010-11-17 12:13:52 -0800331 .name = "Intel(R) Centrino(R) Wireless-N + WiMAX 6150 BGN",
Wey-Yi Guy11441812011-05-30 09:32:52 -0700332 IWL_DEVICE_6150,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700333 .ht_params = &iwl6000_ht_params,
Wey-Yi Guy11441812011-05-30 09:32:52 -0700334};
335
Johannes Berg706c4ff2012-03-05 11:24:33 -0800336const struct iwl_cfg iwl6150_bg_cfg = {
Wey-Yi Guy11441812011-05-30 09:32:52 -0700337 .name = "Intel(R) Centrino(R) Wireless-N + WiMAX 6150 BG",
338 IWL_DEVICE_6150,
Shanyu Zhao03264332010-06-29 17:27:27 -0700339};
340
Johannes Berg706c4ff2012-03-05 11:24:33 -0800341const struct iwl_cfg iwl6000_3agn_cfg = {
Shanyu Zhaoc11362c2010-03-05 17:05:20 -0800342 .name = "Intel(R) Centrino(R) Ultimate-N 6300 AGN",
Jay Sternberge1228372009-01-19 15:30:34 -0800343 .fw_name_pre = IWL6000_FW_PRE,
344 .ucode_api_max = IWL6000_UCODE_API_MAX,
Johannes Bergb9148112011-11-04 07:22:37 -0700345 .ucode_api_ok = IWL6000_UCODE_API_OK,
Jay Sternberge1228372009-01-19 15:30:34 -0800346 .ucode_api_min = IWL6000_UCODE_API_MIN,
Johannes Berg2d771cb2012-04-09 17:47:00 -0700347 .device_family = IWL_DEVICE_FAMILY_6000,
Emmanuel Grumbachdae66d02012-02-07 12:56:26 +0200348 .max_inst_size = IWL60_RTC_INST_SIZE,
349 .max_data_size = IWL60_RTC_DATA_SIZE,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700350 .eeprom_ver = EEPROM_6000_EEPROM_VERSION,
351 .eeprom_calib_ver = EEPROM_6000_TX_POWER_VERSION,
Wey-Yi Guy7cb1b082010-10-06 08:10:00 -0700352 .base_params = &iwl6000_base_params,
353 .ht_params = &iwl6000_ht_params,
Wey-Yi Guy564b3442010-11-09 09:21:34 -0800354 .led_mode = IWL_LED_BLINK,
Jay Sternberge1228372009-01-19 15:30:34 -0800355};
356
Johannes Bergb9148112011-11-04 07:22:37 -0700357MODULE_FIRMWARE(IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_OK));
Jay Sternberge1228372009-01-19 15:30:34 -0800358MODULE_FIRMWARE(IWL6050_MODULE_FIRMWARE(IWL6050_UCODE_API_MAX));
Wey-Yi Guy1956e1a2011-01-08 10:25:14 -0800359MODULE_FIRMWARE(IWL6005_MODULE_FIRMWARE(IWL6000G2_UCODE_API_MAX));
360MODULE_FIRMWARE(IWL6030_MODULE_FIRMWARE(IWL6000G2_UCODE_API_MAX));