Commit | Line | Data |
---|---|---|
e1228374 JS |
1 | /****************************************************************************** |
2 | * | |
4e318262 | 3 | * Copyright(c) 2008 - 2012 Intel Corporation. All rights reserved. |
e1228374 JS |
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 | ||
e1228374 | 27 | #include <linux/module.h> |
8fcbd4dc | 28 | #include <linux/stringify.h> |
e9676695 | 29 | #include "iwl-config.h" |
0db19cde | 30 | #include "iwl-agn-hw.h" |
6468a01a | 31 | #include "cfg.h" |
1023fdc4 | 32 | #include "dvm/commands.h" /* needed for BT for now */ |
e1228374 JS |
33 | |
34 | /* Highest firmware API version supported */ | |
b9148115 | 35 | #define IWL6000_UCODE_API_MAX 6 |
62cb3c6a | 36 | #define IWL6050_UCODE_API_MAX 5 |
ca9a4605 | 37 | #define IWL6000G2_UCODE_API_MAX 6 |
d2c8b15d | 38 | #define IWL6035_UCODE_API_MAX 6 |
ca9a4605 JB |
39 | |
40 | /* Oldest version we won't warn about */ | |
b9148115 | 41 | #define IWL6000_UCODE_API_OK 4 |
ca9a4605 | 42 | #define IWL6000G2_UCODE_API_OK 5 |
78cbcf2b MV |
43 | #define IWL6050_UCODE_API_OK 5 |
44 | #define IWL6000G2B_UCODE_API_OK 6 | |
d2c8b15d | 45 | #define IWL6035_UCODE_API_OK 6 |
e1228374 JS |
46 | |
47 | /* Lowest firmware API version supported */ | |
44246421 WYG |
48 | #define IWL6000_UCODE_API_MIN 4 |
49 | #define IWL6050_UCODE_API_MIN 4 | |
d2c8b15d MV |
50 | #define IWL6000G2_UCODE_API_MIN 5 |
51 | #define IWL6035_UCODE_API_MIN 6 | |
e1228374 | 52 | |
586aed96 JB |
53 | /* EEPROM versions */ |
54 | #define EEPROM_6000_TX_POWER_VERSION (4) | |
55 | #define EEPROM_6000_EEPROM_VERSION (0x423) | |
56 | #define EEPROM_6050_TX_POWER_VERSION (4) | |
57 | #define EEPROM_6050_EEPROM_VERSION (0x532) | |
58 | #define EEPROM_6150_TX_POWER_VERSION (6) | |
59 | #define EEPROM_6150_EEPROM_VERSION (0x553) | |
60 | #define EEPROM_6005_TX_POWER_VERSION (6) | |
61 | #define EEPROM_6005_EEPROM_VERSION (0x709) | |
62 | #define EEPROM_6030_TX_POWER_VERSION (6) | |
63 | #define EEPROM_6030_EEPROM_VERSION (0x709) | |
64 | #define EEPROM_6035_TX_POWER_VERSION (6) | |
65 | #define EEPROM_6035_EEPROM_VERSION (0x753) | |
66 | ||
e1228374 | 67 | #define IWL6000_FW_PRE "iwlwifi-6000-" |
8fcbd4dc | 68 | #define IWL6000_MODULE_FIRMWARE(api) IWL6000_FW_PRE __stringify(api) ".ucode" |
e1228374 JS |
69 | |
70 | #define IWL6050_FW_PRE "iwlwifi-6050-" | |
8fcbd4dc | 71 | #define IWL6050_MODULE_FIRMWARE(api) IWL6050_FW_PRE __stringify(api) ".ucode" |
e1228374 | 72 | |
1956e1ad | 73 | #define IWL6005_FW_PRE "iwlwifi-6000g2a-" |
8fcbd4dc | 74 | #define IWL6005_MODULE_FIRMWARE(api) IWL6005_FW_PRE __stringify(api) ".ucode" |
95b13014 | 75 | |
1956e1ad | 76 | #define IWL6030_FW_PRE "iwlwifi-6000g2b-" |
8fcbd4dc | 77 | #define IWL6030_MODULE_FIRMWARE(api) IWL6030_FW_PRE __stringify(api) ".ucode" |
1808972f | 78 | |
6794f3ee | 79 | static const struct iwl_base_params iwl6000_base_params = { |
0b5af201 | 80 | .eeprom_size = OTP_LOW_IMAGE_SIZE, |
0b5af201 | 81 | .num_of_queues = IWLAGN_NUM_QUEUES, |
0b5af201 | 82 | .pll_cfg_val = 0, |
0b5af201 JS |
83 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, |
84 | .shadow_ram_support = true, | |
0b5af201 | 85 | .led_compensation = 51, |
0b5af201 JS |
86 | .adv_thermal_throttle = true, |
87 | .support_ct_kill_exit = true, | |
88 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | |
89 | .chain_noise_scale = 1000, | |
22de94de | 90 | .wd_timeout = IWL_DEF_WD_TIMEOUT, |
95b13014 | 91 | .max_event_log_size = 512, |
66a77072 | 92 | .shadow_reg_enable = false, /* TODO: fix bugs using this feature */ |
0b5af201 JS |
93 | }; |
94 | ||
6794f3ee | 95 | static const struct iwl_base_params iwl6050_base_params = { |
1808972f | 96 | .eeprom_size = OTP_LOW_IMAGE_SIZE, |
1808972f | 97 | .num_of_queues = IWLAGN_NUM_QUEUES, |
1808972f | 98 | .pll_cfg_val = 0, |
7cb1b088 | 99 | .max_ll_items = OTP_MAX_LL_ITEMS_6x50, |
1808972f SZ |
100 | .shadow_ram_support = true, |
101 | .led_compensation = 51, | |
1808972f SZ |
102 | .adv_thermal_throttle = true, |
103 | .support_ct_kill_exit = true, | |
104 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | |
7cb1b088 | 105 | .chain_noise_scale = 1500, |
22de94de | 106 | .wd_timeout = IWL_DEF_WD_TIMEOUT, |
7cb1b088 | 107 | .max_event_log_size = 1024, |
66a77072 | 108 | .shadow_reg_enable = false, /* TODO: fix bugs using this feature */ |
7cb1b088 | 109 | }; |
6794f3ee JB |
110 | |
111 | static const struct iwl_base_params iwl6000_g2_base_params = { | |
de05ead8 WYG |
112 | .eeprom_size = OTP_LOW_IMAGE_SIZE, |
113 | .num_of_queues = IWLAGN_NUM_QUEUES, | |
de05ead8 | 114 | .pll_cfg_val = 0, |
de05ead8 WYG |
115 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, |
116 | .shadow_ram_support = true, | |
4fb33244 | 117 | .led_compensation = 57, |
de05ead8 WYG |
118 | .adv_thermal_throttle = true, |
119 | .support_ct_kill_exit = true, | |
120 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | |
121 | .chain_noise_scale = 1000, | |
22de94de | 122 | .wd_timeout = IWL_LONG_WD_TIMEOUT, |
de05ead8 | 123 | .max_event_log_size = 512, |
66a77072 | 124 | .shadow_reg_enable = false, /* TODO: fix bugs using this feature */ |
de05ead8 | 125 | }; |
7cb1b088 | 126 | |
6794f3ee | 127 | static const struct iwl_ht_params iwl6000_ht_params = { |
7cb1b088 WYG |
128 | .ht_greenfield_support = true, |
129 | .use_rts_for_aggregation = true, /* use rts/cts protection */ | |
d370493f | 130 | .ht40_bands = BIT(IEEE80211_BAND_2GHZ) | BIT(IEEE80211_BAND_5GHZ), |
7cb1b088 WYG |
131 | }; |
132 | ||
6794f3ee | 133 | static const struct iwl_bt_params iwl6000_bt_params = { |
7cb1b088 WYG |
134 | /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */ |
135 | .advanced_bt_coexist = true, | |
66e863a5 | 136 | .agg_time_limit = BT_AGG_THRESHOLD_DEF, |
7cb1b088 WYG |
137 | .bt_init_traffic_load = IWL_BT_COEX_TRAFFIC_LOAD_NONE, |
138 | .bt_prio_boost = IWLAGN_BT_PRIO_BOOST_DEFAULT, | |
e366176e | 139 | .bt_sco_disable = true, |
7cb1b088 WYG |
140 | }; |
141 | ||
26a7ca9a JB |
142 | static const struct iwl_eeprom_params iwl6000_eeprom_params = { |
143 | .regulatory_bands = { | |
144 | EEPROM_REG_BAND_1_CHANNELS, | |
145 | EEPROM_REG_BAND_2_CHANNELS, | |
146 | EEPROM_REG_BAND_3_CHANNELS, | |
147 | EEPROM_REG_BAND_4_CHANNELS, | |
148 | EEPROM_REG_BAND_5_CHANNELS, | |
149 | EEPROM_6000_REG_BAND_24_HT40_CHANNELS, | |
150 | EEPROM_REG_BAND_52_HT40_CHANNELS | |
151 | }, | |
152 | .enhanced_txpower = true, | |
153 | }; | |
154 | ||
65af8dea | 155 | #define IWL_DEVICE_6005 \ |
ca9a4605 | 156 | .fw_name_pre = IWL6005_FW_PRE, \ |
65af8dea | 157 | .ucode_api_max = IWL6000G2_UCODE_API_MAX, \ |
ca9a4605 | 158 | .ucode_api_ok = IWL6000G2_UCODE_API_OK, \ |
65af8dea | 159 | .ucode_api_min = IWL6000G2_UCODE_API_MIN, \ |
2d771cb6 | 160 | .device_family = IWL_DEVICE_FAMILY_6005, \ |
dae66d0d EG |
161 | .max_inst_size = IWL60_RTC_INST_SIZE, \ |
162 | .max_data_size = IWL60_RTC_DATA_SIZE, \ | |
1956e1ad WYG |
163 | .eeprom_ver = EEPROM_6005_EEPROM_VERSION, \ |
164 | .eeprom_calib_ver = EEPROM_6005_TX_POWER_VERSION, \ | |
65af8dea | 165 | .base_params = &iwl6000_g2_base_params, \ |
26a7ca9a | 166 | .eeprom_params = &iwl6000_eeprom_params, \ |
65af8dea WYG |
167 | .need_temp_offset_calib = true, \ |
168 | .led_mode = IWL_LED_RF_STATE | |
169 | ||
706c4ff6 | 170 | const struct iwl_cfg iwl6005_2agn_cfg = { |
55017ab8 | 171 | .name = "Intel(R) Centrino(R) Advanced-N 6205 AGN", |
65af8dea | 172 | IWL_DEVICE_6005, |
7cb1b088 | 173 | .ht_params = &iwl6000_ht_params, |
7cb1b088 WYG |
174 | }; |
175 | ||
706c4ff6 | 176 | const struct iwl_cfg iwl6005_2abg_cfg = { |
55017ab8 | 177 | .name = "Intel(R) Centrino(R) Advanced-N 6205 ABG", |
65af8dea | 178 | IWL_DEVICE_6005, |
1808972f SZ |
179 | }; |
180 | ||
706c4ff6 | 181 | const struct iwl_cfg iwl6005_2bg_cfg = { |
55017ab8 | 182 | .name = "Intel(R) Centrino(R) Advanced-N 6205 BG", |
65af8dea WYG |
183 | IWL_DEVICE_6005, |
184 | }; | |
185 | ||
706c4ff6 | 186 | const struct iwl_cfg iwl6005_2agn_sff_cfg = { |
6a9ae0dc WYG |
187 | .name = "Intel(R) Centrino(R) Advanced-N 6205S AGN", |
188 | IWL_DEVICE_6005, | |
189 | .ht_params = &iwl6000_ht_params, | |
190 | }; | |
191 | ||
706c4ff6 | 192 | const struct iwl_cfg iwl6005_2agn_d_cfg = { |
5131a600 WYG |
193 | .name = "Intel(R) Centrino(R) Advanced-N 6205D AGN", |
194 | IWL_DEVICE_6005, | |
195 | .ht_params = &iwl6000_ht_params, | |
196 | }; | |
197 | ||
706c4ff6 | 198 | const struct iwl_cfg iwl6005_2agn_mow1_cfg = { |
37891123 WYG |
199 | .name = "Intel(R) Centrino(R) Advanced-N 6206 AGN", |
200 | IWL_DEVICE_6005, | |
201 | .ht_params = &iwl6000_ht_params, | |
202 | }; | |
706c4ff6 JB |
203 | |
204 | const struct iwl_cfg iwl6005_2agn_mow2_cfg = { | |
37891123 WYG |
205 | .name = "Intel(R) Centrino(R) Advanced-N 6207 AGN", |
206 | IWL_DEVICE_6005, | |
207 | .ht_params = &iwl6000_ht_params, | |
208 | }; | |
209 | ||
65af8dea | 210 | #define IWL_DEVICE_6030 \ |
ca9a4605 | 211 | .fw_name_pre = IWL6030_FW_PRE, \ |
65af8dea | 212 | .ucode_api_max = IWL6000G2_UCODE_API_MAX, \ |
1ed2ec37 | 213 | .ucode_api_ok = IWL6000G2B_UCODE_API_OK, \ |
65af8dea | 214 | .ucode_api_min = IWL6000G2_UCODE_API_MIN, \ |
2d771cb6 | 215 | .device_family = IWL_DEVICE_FAMILY_6030, \ |
dae66d0d EG |
216 | .max_inst_size = IWL60_RTC_INST_SIZE, \ |
217 | .max_data_size = IWL60_RTC_DATA_SIZE, \ | |
1956e1ad WYG |
218 | .eeprom_ver = EEPROM_6030_EEPROM_VERSION, \ |
219 | .eeprom_calib_ver = EEPROM_6030_TX_POWER_VERSION, \ | |
65af8dea WYG |
220 | .base_params = &iwl6000_g2_base_params, \ |
221 | .bt_params = &iwl6000_bt_params, \ | |
26a7ca9a | 222 | .eeprom_params = &iwl6000_eeprom_params, \ |
65af8dea WYG |
223 | .need_temp_offset_calib = true, \ |
224 | .led_mode = IWL_LED_RF_STATE, \ | |
cd017f25 | 225 | .adv_pm = true \ |
1808972f | 226 | |
706c4ff6 | 227 | const struct iwl_cfg iwl6030_2agn_cfg = { |
d2eceef0 | 228 | .name = "Intel(R) Centrino(R) Advanced-N 6230 AGN", |
65af8dea | 229 | IWL_DEVICE_6030, |
7cb1b088 | 230 | .ht_params = &iwl6000_ht_params, |
1808972f SZ |
231 | }; |
232 | ||
706c4ff6 | 233 | const struct iwl_cfg iwl6030_2abg_cfg = { |
d2eceef0 | 234 | .name = "Intel(R) Centrino(R) Advanced-N 6230 ABG", |
65af8dea | 235 | IWL_DEVICE_6030, |
1808972f SZ |
236 | }; |
237 | ||
706c4ff6 | 238 | const struct iwl_cfg iwl6030_2bgn_cfg = { |
d2eceef0 | 239 | .name = "Intel(R) Centrino(R) Advanced-N 6230 BGN", |
65af8dea | 240 | IWL_DEVICE_6030, |
7cb1b088 | 241 | .ht_params = &iwl6000_ht_params, |
9f6e1baf SZ |
242 | }; |
243 | ||
706c4ff6 | 244 | const struct iwl_cfg iwl6030_2bg_cfg = { |
d2eceef0 | 245 | .name = "Intel(R) Centrino(R) Advanced-N 6230 BG", |
65af8dea | 246 | IWL_DEVICE_6030, |
1808972f SZ |
247 | }; |
248 | ||
d2c8b15d MV |
249 | #define IWL_DEVICE_6035 \ |
250 | .fw_name_pre = IWL6030_FW_PRE, \ | |
251 | .ucode_api_max = IWL6035_UCODE_API_MAX, \ | |
252 | .ucode_api_ok = IWL6035_UCODE_API_OK, \ | |
253 | .ucode_api_min = IWL6035_UCODE_API_MIN, \ | |
254 | .device_family = IWL_DEVICE_FAMILY_6030, \ | |
255 | .max_inst_size = IWL60_RTC_INST_SIZE, \ | |
256 | .max_data_size = IWL60_RTC_DATA_SIZE, \ | |
257 | .eeprom_ver = EEPROM_6030_EEPROM_VERSION, \ | |
258 | .eeprom_calib_ver = EEPROM_6030_TX_POWER_VERSION, \ | |
259 | .base_params = &iwl6000_g2_base_params, \ | |
260 | .bt_params = &iwl6000_bt_params, \ | |
261 | .need_temp_offset_calib = true, \ | |
262 | .led_mode = IWL_LED_RF_STATE, \ | |
263 | .adv_pm = true | |
264 | ||
706c4ff6 | 265 | const struct iwl_cfg iwl6035_2agn_cfg = { |
6195d135 | 266 | .name = "Intel(R) Centrino(R) Advanced-N 6235 AGN", |
d2c8b15d | 267 | IWL_DEVICE_6035, |
d103e344 WYG |
268 | .ht_params = &iwl6000_ht_params, |
269 | }; | |
270 | ||
706c4ff6 | 271 | const struct iwl_cfg iwl1030_bgn_cfg = { |
d2eceef0 | 272 | .name = "Intel(R) Centrino(R) Wireless-N 1030 BGN", |
65af8dea | 273 | IWL_DEVICE_6030, |
7cb1b088 | 274 | .ht_params = &iwl6000_ht_params, |
1808972f SZ |
275 | }; |
276 | ||
706c4ff6 | 277 | const struct iwl_cfg iwl1030_bg_cfg = { |
d2eceef0 | 278 | .name = "Intel(R) Centrino(R) Wireless-N 1030 BG", |
65af8dea WYG |
279 | IWL_DEVICE_6030, |
280 | }; | |
281 | ||
706c4ff6 | 282 | const struct iwl_cfg iwl130_bgn_cfg = { |
65af8dea WYG |
283 | .name = "Intel(R) Centrino(R) Wireless-N 130 BGN", |
284 | IWL_DEVICE_6030, | |
285 | .ht_params = &iwl6000_ht_params, | |
286 | .rx_with_siso_diversity = true, | |
287 | }; | |
288 | ||
706c4ff6 | 289 | const struct iwl_cfg iwl130_bg_cfg = { |
65af8dea WYG |
290 | .name = "Intel(R) Centrino(R) Wireless-N 130 BG", |
291 | IWL_DEVICE_6030, | |
292 | .rx_with_siso_diversity = true, | |
1808972f SZ |
293 | }; |
294 | ||
95b13014 SZ |
295 | /* |
296 | * "i": Internal configuration, use internal Power Amplifier | |
297 | */ | |
65af8dea WYG |
298 | #define IWL_DEVICE_6000i \ |
299 | .fw_name_pre = IWL6000_FW_PRE, \ | |
300 | .ucode_api_max = IWL6000_UCODE_API_MAX, \ | |
b9148115 | 301 | .ucode_api_ok = IWL6000_UCODE_API_OK, \ |
65af8dea | 302 | .ucode_api_min = IWL6000_UCODE_API_MIN, \ |
2d771cb6 | 303 | .device_family = IWL_DEVICE_FAMILY_6000i, \ |
dae66d0d EG |
304 | .max_inst_size = IWL60_RTC_INST_SIZE, \ |
305 | .max_data_size = IWL60_RTC_DATA_SIZE, \ | |
65af8dea WYG |
306 | .valid_tx_ant = ANT_BC, /* .cfg overwrite */ \ |
307 | .valid_rx_ant = ANT_BC, /* .cfg overwrite */ \ | |
308 | .eeprom_ver = EEPROM_6000_EEPROM_VERSION, \ | |
309 | .eeprom_calib_ver = EEPROM_6000_TX_POWER_VERSION, \ | |
65af8dea | 310 | .base_params = &iwl6000_base_params, \ |
26a7ca9a | 311 | .eeprom_params = &iwl6000_eeprom_params, \ |
65af8dea WYG |
312 | .led_mode = IWL_LED_BLINK |
313 | ||
706c4ff6 | 314 | const struct iwl_cfg iwl6000i_2agn_cfg = { |
c11362c0 | 315 | .name = "Intel(R) Centrino(R) Advanced-N 6200 AGN", |
65af8dea | 316 | IWL_DEVICE_6000i, |
7cb1b088 | 317 | .ht_params = &iwl6000_ht_params, |
e1228374 JS |
318 | }; |
319 | ||
706c4ff6 | 320 | const struct iwl_cfg iwl6000i_2abg_cfg = { |
c11362c0 | 321 | .name = "Intel(R) Centrino(R) Advanced-N 6200 ABG", |
65af8dea | 322 | IWL_DEVICE_6000i, |
5953a62e WYG |
323 | }; |
324 | ||
706c4ff6 | 325 | const struct iwl_cfg iwl6000i_2bg_cfg = { |
c11362c0 | 326 | .name = "Intel(R) Centrino(R) Advanced-N 6200 BG", |
65af8dea WYG |
327 | IWL_DEVICE_6000i, |
328 | }; | |
329 | ||
330 | #define IWL_DEVICE_6050 \ | |
331 | .fw_name_pre = IWL6050_FW_PRE, \ | |
332 | .ucode_api_max = IWL6050_UCODE_API_MAX, \ | |
333 | .ucode_api_min = IWL6050_UCODE_API_MIN, \ | |
2d771cb6 | 334 | .device_family = IWL_DEVICE_FAMILY_6050, \ |
dae66d0d EG |
335 | .max_inst_size = IWL60_RTC_INST_SIZE, \ |
336 | .max_data_size = IWL60_RTC_DATA_SIZE, \ | |
ff458edc WYG |
337 | .valid_tx_ant = ANT_AB, /* .cfg overwrite */ \ |
338 | .valid_rx_ant = ANT_AB, /* .cfg overwrite */ \ | |
65af8dea WYG |
339 | .eeprom_ver = EEPROM_6050_EEPROM_VERSION, \ |
340 | .eeprom_calib_ver = EEPROM_6050_TX_POWER_VERSION, \ | |
65af8dea | 341 | .base_params = &iwl6050_base_params, \ |
26a7ca9a | 342 | .eeprom_params = &iwl6000_eeprom_params, \ |
65af8dea WYG |
343 | .led_mode = IWL_LED_BLINK, \ |
344 | .internal_wimax_coex = true | |
5953a62e | 345 | |
706c4ff6 | 346 | const struct iwl_cfg iwl6050_2agn_cfg = { |
c11362c0 | 347 | .name = "Intel(R) Centrino(R) Advanced-N + WiMAX 6250 AGN", |
65af8dea | 348 | IWL_DEVICE_6050, |
7cb1b088 | 349 | .ht_params = &iwl6000_ht_params, |
65af8dea WYG |
350 | }; |
351 | ||
706c4ff6 | 352 | const struct iwl_cfg iwl6050_2abg_cfg = { |
65af8dea WYG |
353 | .name = "Intel(R) Centrino(R) Advanced-N + WiMAX 6250 ABG", |
354 | IWL_DEVICE_6050, | |
03264339 SZ |
355 | }; |
356 | ||
1144181c WYG |
357 | #define IWL_DEVICE_6150 \ |
358 | .fw_name_pre = IWL6050_FW_PRE, \ | |
359 | .ucode_api_max = IWL6050_UCODE_API_MAX, \ | |
360 | .ucode_api_min = IWL6050_UCODE_API_MIN, \ | |
2d771cb6 | 361 | .device_family = IWL_DEVICE_FAMILY_6150, \ |
dae66d0d EG |
362 | .max_inst_size = IWL60_RTC_INST_SIZE, \ |
363 | .max_data_size = IWL60_RTC_DATA_SIZE, \ | |
1144181c WYG |
364 | .eeprom_ver = EEPROM_6150_EEPROM_VERSION, \ |
365 | .eeprom_calib_ver = EEPROM_6150_TX_POWER_VERSION, \ | |
366 | .base_params = &iwl6050_base_params, \ | |
26a7ca9a | 367 | .eeprom_params = &iwl6000_eeprom_params, \ |
1144181c WYG |
368 | .led_mode = IWL_LED_BLINK, \ |
369 | .internal_wimax_coex = true | |
370 | ||
706c4ff6 | 371 | const struct iwl_cfg iwl6150_bgn_cfg = { |
f9dc6467 | 372 | .name = "Intel(R) Centrino(R) Wireless-N + WiMAX 6150 BGN", |
1144181c | 373 | IWL_DEVICE_6150, |
7cb1b088 | 374 | .ht_params = &iwl6000_ht_params, |
1144181c WYG |
375 | }; |
376 | ||
706c4ff6 | 377 | const struct iwl_cfg iwl6150_bg_cfg = { |
1144181c WYG |
378 | .name = "Intel(R) Centrino(R) Wireless-N + WiMAX 6150 BG", |
379 | IWL_DEVICE_6150, | |
e1228374 JS |
380 | }; |
381 | ||
706c4ff6 | 382 | const struct iwl_cfg iwl6000_3agn_cfg = { |
c11362c0 | 383 | .name = "Intel(R) Centrino(R) Ultimate-N 6300 AGN", |
e1228374 JS |
384 | .fw_name_pre = IWL6000_FW_PRE, |
385 | .ucode_api_max = IWL6000_UCODE_API_MAX, | |
b9148115 | 386 | .ucode_api_ok = IWL6000_UCODE_API_OK, |
e1228374 | 387 | .ucode_api_min = IWL6000_UCODE_API_MIN, |
2d771cb6 | 388 | .device_family = IWL_DEVICE_FAMILY_6000, |
dae66d0d EG |
389 | .max_inst_size = IWL60_RTC_INST_SIZE, |
390 | .max_data_size = IWL60_RTC_DATA_SIZE, | |
1f4b9665 | 391 | .eeprom_ver = EEPROM_6000_EEPROM_VERSION, |
00e70590 | 392 | .eeprom_calib_ver = EEPROM_6000_TX_POWER_VERSION, |
7cb1b088 | 393 | .base_params = &iwl6000_base_params, |
26a7ca9a | 394 | .eeprom_params = &iwl6000_eeprom_params, |
7cb1b088 | 395 | .ht_params = &iwl6000_ht_params, |
564b344c | 396 | .led_mode = IWL_LED_BLINK, |
e1228374 JS |
397 | }; |
398 | ||
b9148115 | 399 | MODULE_FIRMWARE(IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_OK)); |
78cbcf2b MV |
400 | MODULE_FIRMWARE(IWL6050_MODULE_FIRMWARE(IWL6050_UCODE_API_OK)); |
401 | MODULE_FIRMWARE(IWL6005_MODULE_FIRMWARE(IWL6000G2_UCODE_API_OK)); | |
402 | MODULE_FIRMWARE(IWL6030_MODULE_FIRMWARE(IWL6000G2B_UCODE_API_OK)); |