1 /******************************************************************************
3 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
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.
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
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
18 * The full GNU General Public License is included in this distribution in the
19 * file called LICENSE.
21 * Contact Information:
22 * Intel Linux Wireless <ilw@linux.intel.com>
23 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
25 *****************************************************************************/
27 #include <linux/kernel.h>
28 #include <linux/module.h>
29 #include <linux/init.h>
30 #include <linux/delay.h>
31 #include <linux/skbuff.h>
32 #include <linux/netdevice.h>
33 #include <net/mac80211.h>
34 #include <linux/etherdevice.h>
35 #include <asm/unaligned.h>
36 #include <linux/stringify.h>
38 #include "iwl-eeprom.h"
43 #include "iwl-agn-hw.h"
44 #include "iwl-trans.h"
45 #include "iwl-shared.h"
48 /* Highest firmware API version supported */
49 #define IWL6000_UCODE_API_MAX 6
50 #define IWL6050_UCODE_API_MAX 5
51 #define IWL6000G2_UCODE_API_MAX 6
52 #define IWL6035_UCODE_API_MAX 6
54 /* Oldest version we won't warn about */
55 #define IWL6000_UCODE_API_OK 4
56 #define IWL6000G2_UCODE_API_OK 5
57 #define IWL6050_UCODE_API_OK 5
58 #define IWL6000G2B_UCODE_API_OK 6
59 #define IWL6035_UCODE_API_OK 6
61 /* Lowest firmware API version supported */
62 #define IWL6000_UCODE_API_MIN 4
63 #define IWL6050_UCODE_API_MIN 4
64 #define IWL6000G2_UCODE_API_MIN 5
65 #define IWL6035_UCODE_API_MIN 6
67 #define IWL6000_FW_PRE "iwlwifi-6000-"
68 #define IWL6000_MODULE_FIRMWARE(api) IWL6000_FW_PRE __stringify(api) ".ucode"
70 #define IWL6050_FW_PRE "iwlwifi-6050-"
71 #define IWL6050_MODULE_FIRMWARE(api) IWL6050_FW_PRE __stringify(api) ".ucode"
73 #define IWL6005_FW_PRE "iwlwifi-6000g2a-"
74 #define IWL6005_MODULE_FIRMWARE(api) IWL6005_FW_PRE __stringify(api) ".ucode"
76 #define IWL6030_FW_PRE "iwlwifi-6000g2b-"
77 #define IWL6030_MODULE_FIRMWARE(api) IWL6030_FW_PRE __stringify(api) ".ucode"
79 static void iwl6000_set_ct_threshold(struct iwl_priv *priv)
82 hw_params(priv).ct_kill_threshold = CT_KILL_THRESHOLD;
83 hw_params(priv).ct_kill_exit_threshold = CT_KILL_EXIT_THRESHOLD;
86 static void iwl6050_additional_nic_config(struct iwl_priv *priv)
88 /* Indicate calibration version to uCode. */
89 if (iwlagn_eeprom_calib_version(priv) >= 6)
90 iwl_set_bit(bus(priv), CSR_GP_DRIVER_REG,
91 CSR_GP_DRIVER_REG_BIT_CALIB_VERSION6);
94 static void iwl6150_additional_nic_config(struct iwl_priv *priv)
96 /* Indicate calibration version to uCode. */
97 if (iwlagn_eeprom_calib_version(priv) >= 6)
98 iwl_set_bit(bus(priv), CSR_GP_DRIVER_REG,
99 CSR_GP_DRIVER_REG_BIT_CALIB_VERSION6);
100 iwl_set_bit(bus(priv), CSR_GP_DRIVER_REG,
101 CSR_GP_DRIVER_REG_BIT_6050_1x2);
104 /* NIC configuration for 6000 series */
105 static void iwl6000_nic_config(struct iwl_priv *priv)
109 /* no locking required for register write */
110 if (priv->cfg->pa_type == IWL_PA_INTERNAL) {
111 /* 2x2 IPA phy type */
112 iwl_write32(bus(priv), CSR_GP_DRIVER_REG,
113 CSR_GP_DRIVER_REG_BIT_RADIO_SKU_2x2_IPA);
115 /* do additional nic configuration if needed */
116 if (priv->cfg->additional_nic_config)
117 priv->cfg->additional_nic_config(priv);
120 static struct iwl_sensitivity_ranges iwl6000_sensitivity = {
122 .max_nrg_cck = 0, /* not used, set to 0 */
123 .auto_corr_min_ofdm = 80,
124 .auto_corr_min_ofdm_mrc = 128,
125 .auto_corr_min_ofdm_x1 = 105,
126 .auto_corr_min_ofdm_mrc_x1 = 192,
128 .auto_corr_max_ofdm = 145,
129 .auto_corr_max_ofdm_mrc = 232,
130 .auto_corr_max_ofdm_x1 = 110,
131 .auto_corr_max_ofdm_mrc_x1 = 232,
133 .auto_corr_min_cck = 125,
134 .auto_corr_max_cck = 175,
135 .auto_corr_min_cck_mrc = 160,
136 .auto_corr_max_cck_mrc = 310,
140 .barker_corr_th_min = 190,
141 .barker_corr_th_min_mrc = 336,
145 static int iwl6000_hw_set_hw_params(struct iwl_priv *priv)
147 if (iwlagn_mod_params.num_of_queues >= IWL_MIN_NUM_QUEUES &&
148 iwlagn_mod_params.num_of_queues <= IWLAGN_NUM_QUEUES)
149 priv->cfg->base_params->num_of_queues =
150 iwlagn_mod_params.num_of_queues;
152 hw_params(priv).max_txq_num = priv->cfg->base_params->num_of_queues;
153 priv->contexts[IWL_RXON_CTX_BSS].bcast_sta_id = IWLAGN_BROADCAST_ID;
155 hw_params(priv).max_data_size = IWL60_RTC_DATA_SIZE;
156 hw_params(priv).max_inst_size = IWL60_RTC_INST_SIZE;
158 hw_params(priv).ht40_channel = BIT(IEEE80211_BAND_2GHZ) |
159 BIT(IEEE80211_BAND_5GHZ);
161 hw_params(priv).tx_chains_num = num_of_ant(priv->cfg->valid_tx_ant);
162 if (priv->cfg->rx_with_siso_diversity)
163 hw_params(priv).rx_chains_num = 1;
165 hw_params(priv).rx_chains_num =
166 num_of_ant(priv->cfg->valid_rx_ant);
167 hw_params(priv).valid_tx_ant = priv->cfg->valid_tx_ant;
168 hw_params(priv).valid_rx_ant = priv->cfg->valid_rx_ant;
170 iwl6000_set_ct_threshold(priv);
172 /* Set initial sensitivity parameters */
173 /* Set initial calibration set */
174 hw_params(priv).sens = &iwl6000_sensitivity;
175 hw_params(priv).calib_init_cfg =
176 BIT(IWL_CALIB_XTAL) |
178 BIT(IWL_CALIB_TX_IQ) |
179 BIT(IWL_CALIB_BASE_BAND);
180 if (priv->cfg->need_dc_calib)
181 hw_params(priv).calib_rt_cfg |= IWL_CALIB_CFG_DC_IDX;
182 if (priv->cfg->need_temp_offset_calib)
183 hw_params(priv).calib_init_cfg |= BIT(IWL_CALIB_TEMP_OFFSET);
188 static int iwl6000_hw_channel_switch(struct iwl_priv *priv,
189 struct ieee80211_channel_switch *ch_switch)
193 * See iwlagn_mac_channel_switch.
195 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS];
196 struct iwl6000_channel_switch_cmd *cmd;
197 const struct iwl_channel_info *ch_info;
198 u32 switch_time_in_usec, ucode_switch_time;
202 u16 beacon_interval = le16_to_cpu(ctx->timing.beacon_interval);
203 struct ieee80211_vif *vif = ctx->vif;
204 struct iwl_host_cmd hcmd = {
205 .id = REPLY_CHANNEL_SWITCH,
206 .len = { sizeof(*cmd), },
208 .dataflags[0] = IWL_HCMD_DFL_NOCOPY,
212 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL);
218 cmd->band = priv->band == IEEE80211_BAND_2GHZ;
219 ch = ch_switch->channel->hw_value;
220 IWL_DEBUG_11H(priv, "channel switch from %u to %u\n",
221 ctx->active.channel, ch);
222 cmd->channel = cpu_to_le16(ch);
223 cmd->rxon_flags = ctx->staging.flags;
224 cmd->rxon_filter_flags = ctx->staging.filter_flags;
225 switch_count = ch_switch->count;
226 tsf_low = ch_switch->timestamp & 0x0ffffffff;
228 * calculate the ucode channel switch time
229 * adding TSF as one of the factor for when to switch
231 if ((priv->ucode_beacon_time > tsf_low) && beacon_interval) {
232 if (switch_count > ((priv->ucode_beacon_time - tsf_low) /
234 switch_count -= (priv->ucode_beacon_time -
235 tsf_low) / beacon_interval;
239 if (switch_count <= 1)
240 cmd->switch_time = cpu_to_le32(priv->ucode_beacon_time);
242 switch_time_in_usec =
243 vif->bss_conf.beacon_int * switch_count * TIME_UNIT;
244 ucode_switch_time = iwl_usecs_to_beacons(priv,
247 cmd->switch_time = iwl_add_beacon_time(priv,
248 priv->ucode_beacon_time,
252 IWL_DEBUG_11H(priv, "uCode time for the switch is 0x%x\n",
254 ch_info = iwl_get_channel_info(priv, priv->band, ch);
256 cmd->expect_beacon = is_channel_radar(ch_info);
258 IWL_ERR(priv, "invalid channel switch from %u to %u\n",
259 ctx->active.channel, ch);
263 err = iwl_trans_send_cmd(trans(priv), &hcmd);
268 static struct iwl_lib_ops iwl6000_lib = {
269 .set_hw_params = iwl6000_hw_set_hw_params,
270 .set_channel_switch = iwl6000_hw_channel_switch,
271 .nic_config = iwl6000_nic_config,
273 .regulatory_bands = {
274 EEPROM_REG_BAND_1_CHANNELS,
275 EEPROM_REG_BAND_2_CHANNELS,
276 EEPROM_REG_BAND_3_CHANNELS,
277 EEPROM_REG_BAND_4_CHANNELS,
278 EEPROM_REG_BAND_5_CHANNELS,
279 EEPROM_6000_REG_BAND_24_HT40_CHANNELS,
280 EEPROM_REG_BAND_52_HT40_CHANNELS
282 .update_enhanced_txpower = iwl_eeprom_enhanced_txpower,
284 .temperature = iwlagn_temperature,
287 static struct iwl_lib_ops iwl6030_lib = {
288 .set_hw_params = iwl6000_hw_set_hw_params,
289 .bt_rx_handler_setup = iwlagn_bt_rx_handler_setup,
290 .bt_setup_deferred_work = iwlagn_bt_setup_deferred_work,
291 .cancel_deferred_work = iwlagn_bt_cancel_deferred_work,
292 .set_channel_switch = iwl6000_hw_channel_switch,
293 .nic_config = iwl6000_nic_config,
295 .regulatory_bands = {
296 EEPROM_REG_BAND_1_CHANNELS,
297 EEPROM_REG_BAND_2_CHANNELS,
298 EEPROM_REG_BAND_3_CHANNELS,
299 EEPROM_REG_BAND_4_CHANNELS,
300 EEPROM_REG_BAND_5_CHANNELS,
301 EEPROM_6000_REG_BAND_24_HT40_CHANNELS,
302 EEPROM_REG_BAND_52_HT40_CHANNELS
304 .update_enhanced_txpower = iwl_eeprom_enhanced_txpower,
306 .temperature = iwlagn_temperature,
309 static struct iwl_base_params iwl6000_base_params = {
310 .eeprom_size = OTP_LOW_IMAGE_SIZE,
311 .num_of_queues = IWLAGN_NUM_QUEUES,
312 .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES,
314 .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
315 .shadow_ram_support = true,
316 .led_compensation = 51,
317 .adv_thermal_throttle = true,
318 .support_ct_kill_exit = true,
319 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF,
320 .chain_noise_scale = 1000,
321 .wd_timeout = IWL_DEF_WD_TIMEOUT,
322 .max_event_log_size = 512,
323 .shadow_reg_enable = false, /* TODO: fix bugs using this feature */
326 static struct iwl_base_params iwl6050_base_params = {
327 .eeprom_size = OTP_LOW_IMAGE_SIZE,
328 .num_of_queues = IWLAGN_NUM_QUEUES,
329 .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES,
331 .max_ll_items = OTP_MAX_LL_ITEMS_6x50,
332 .shadow_ram_support = true,
333 .led_compensation = 51,
334 .adv_thermal_throttle = true,
335 .support_ct_kill_exit = true,
336 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF,
337 .chain_noise_scale = 1500,
338 .wd_timeout = IWL_DEF_WD_TIMEOUT,
339 .max_event_log_size = 1024,
340 .shadow_reg_enable = false, /* TODO: fix bugs using this feature */
342 static struct iwl_base_params iwl6000_g2_base_params = {
343 .eeprom_size = OTP_LOW_IMAGE_SIZE,
344 .num_of_queues = IWLAGN_NUM_QUEUES,
345 .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES,
347 .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
348 .shadow_ram_support = true,
349 .led_compensation = 57,
350 .adv_thermal_throttle = true,
351 .support_ct_kill_exit = true,
352 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF,
353 .chain_noise_scale = 1000,
354 .wd_timeout = IWL_LONG_WD_TIMEOUT,
355 .max_event_log_size = 512,
356 .shadow_reg_enable = false, /* TODO: fix bugs using this feature */
359 static struct iwl_ht_params iwl6000_ht_params = {
360 .ht_greenfield_support = true,
361 .use_rts_for_aggregation = true, /* use rts/cts protection */
364 static struct iwl_bt_params iwl6000_bt_params = {
365 /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */
366 .advanced_bt_coexist = true,
367 .agg_time_limit = BT_AGG_THRESHOLD_DEF,
368 .bt_init_traffic_load = IWL_BT_COEX_TRAFFIC_LOAD_NONE,
369 .bt_prio_boost = IWLAGN_BT_PRIO_BOOST_DEFAULT,
370 .bt_sco_disable = true,
373 #define IWL_DEVICE_6005 \
374 .fw_name_pre = IWL6005_FW_PRE, \
375 .ucode_api_max = IWL6000G2_UCODE_API_MAX, \
376 .ucode_api_ok = IWL6000G2_UCODE_API_OK, \
377 .ucode_api_min = IWL6000G2_UCODE_API_MIN, \
378 .eeprom_ver = EEPROM_6005_EEPROM_VERSION, \
379 .eeprom_calib_ver = EEPROM_6005_TX_POWER_VERSION, \
380 .lib = &iwl6000_lib, \
381 .base_params = &iwl6000_g2_base_params, \
382 .need_dc_calib = true, \
383 .need_temp_offset_calib = true, \
384 .led_mode = IWL_LED_RF_STATE
386 struct iwl_cfg iwl6005_2agn_cfg = {
387 .name = "Intel(R) Centrino(R) Advanced-N 6205 AGN",
389 .ht_params = &iwl6000_ht_params,
392 struct iwl_cfg iwl6005_2abg_cfg = {
393 .name = "Intel(R) Centrino(R) Advanced-N 6205 ABG",
397 struct iwl_cfg iwl6005_2bg_cfg = {
398 .name = "Intel(R) Centrino(R) Advanced-N 6205 BG",
402 struct iwl_cfg iwl6005_2agn_sff_cfg = {
403 .name = "Intel(R) Centrino(R) Advanced-N 6205S AGN",
405 .ht_params = &iwl6000_ht_params,
408 struct iwl_cfg iwl6005_2agn_d_cfg = {
409 .name = "Intel(R) Centrino(R) Advanced-N 6205D AGN",
411 .ht_params = &iwl6000_ht_params,
414 #define IWL_DEVICE_6030 \
415 .fw_name_pre = IWL6030_FW_PRE, \
416 .ucode_api_max = IWL6000G2_UCODE_API_MAX, \
417 .ucode_api_ok = IWL6000G2B_UCODE_API_OK, \
418 .ucode_api_min = IWL6000G2_UCODE_API_MIN, \
419 .eeprom_ver = EEPROM_6030_EEPROM_VERSION, \
420 .eeprom_calib_ver = EEPROM_6030_TX_POWER_VERSION, \
421 .lib = &iwl6030_lib, \
422 .base_params = &iwl6000_g2_base_params, \
423 .bt_params = &iwl6000_bt_params, \
424 .need_dc_calib = true, \
425 .need_temp_offset_calib = true, \
426 .led_mode = IWL_LED_RF_STATE, \
429 struct iwl_cfg iwl6030_2agn_cfg = {
430 .name = "Intel(R) Centrino(R) Advanced-N 6230 AGN",
432 .ht_params = &iwl6000_ht_params,
435 struct iwl_cfg iwl6030_2abg_cfg = {
436 .name = "Intel(R) Centrino(R) Advanced-N 6230 ABG",
440 struct iwl_cfg iwl6030_2bgn_cfg = {
441 .name = "Intel(R) Centrino(R) Advanced-N 6230 BGN",
443 .ht_params = &iwl6000_ht_params,
446 struct iwl_cfg iwl6030_2bg_cfg = {
447 .name = "Intel(R) Centrino(R) Advanced-N 6230 BG",
451 #define IWL_DEVICE_6035 \
452 .fw_name_pre = IWL6030_FW_PRE, \
453 .ucode_api_max = IWL6035_UCODE_API_MAX, \
454 .ucode_api_ok = IWL6035_UCODE_API_OK, \
455 .ucode_api_min = IWL6035_UCODE_API_MIN, \
456 .eeprom_ver = EEPROM_6030_EEPROM_VERSION, \
457 .eeprom_calib_ver = EEPROM_6030_TX_POWER_VERSION, \
458 .lib = &iwl6030_lib, \
459 .base_params = &iwl6000_g2_base_params, \
460 .bt_params = &iwl6000_bt_params, \
461 .need_dc_calib = true, \
462 .need_temp_offset_calib = true, \
463 .led_mode = IWL_LED_RF_STATE, \
466 struct iwl_cfg iwl6035_2agn_cfg = {
467 .name = "6035 Series 2x2 AGN/BT",
469 .ht_params = &iwl6000_ht_params,
472 struct iwl_cfg iwl1030_bgn_cfg = {
473 .name = "Intel(R) Centrino(R) Wireless-N 1030 BGN",
475 .ht_params = &iwl6000_ht_params,
478 struct iwl_cfg iwl1030_bg_cfg = {
479 .name = "Intel(R) Centrino(R) Wireless-N 1030 BG",
483 struct iwl_cfg iwl130_bgn_cfg = {
484 .name = "Intel(R) Centrino(R) Wireless-N 130 BGN",
486 .ht_params = &iwl6000_ht_params,
487 .rx_with_siso_diversity = true,
490 struct iwl_cfg iwl130_bg_cfg = {
491 .name = "Intel(R) Centrino(R) Wireless-N 130 BG",
493 .rx_with_siso_diversity = true,
497 * "i": Internal configuration, use internal Power Amplifier
499 #define IWL_DEVICE_6000i \
500 .fw_name_pre = IWL6000_FW_PRE, \
501 .ucode_api_max = IWL6000_UCODE_API_MAX, \
502 .ucode_api_ok = IWL6000_UCODE_API_OK, \
503 .ucode_api_min = IWL6000_UCODE_API_MIN, \
504 .valid_tx_ant = ANT_BC, /* .cfg overwrite */ \
505 .valid_rx_ant = ANT_BC, /* .cfg overwrite */ \
506 .eeprom_ver = EEPROM_6000_EEPROM_VERSION, \
507 .eeprom_calib_ver = EEPROM_6000_TX_POWER_VERSION, \
508 .lib = &iwl6000_lib, \
509 .base_params = &iwl6000_base_params, \
510 .pa_type = IWL_PA_INTERNAL, \
511 .led_mode = IWL_LED_BLINK
513 struct iwl_cfg iwl6000i_2agn_cfg = {
514 .name = "Intel(R) Centrino(R) Advanced-N 6200 AGN",
516 .ht_params = &iwl6000_ht_params,
519 struct iwl_cfg iwl6000i_2abg_cfg = {
520 .name = "Intel(R) Centrino(R) Advanced-N 6200 ABG",
524 struct iwl_cfg iwl6000i_2bg_cfg = {
525 .name = "Intel(R) Centrino(R) Advanced-N 6200 BG",
529 #define IWL_DEVICE_6050 \
530 .fw_name_pre = IWL6050_FW_PRE, \
531 .ucode_api_max = IWL6050_UCODE_API_MAX, \
532 .ucode_api_min = IWL6050_UCODE_API_MIN, \
533 .valid_tx_ant = ANT_AB, /* .cfg overwrite */ \
534 .valid_rx_ant = ANT_AB, /* .cfg overwrite */ \
535 .lib = &iwl6000_lib, \
536 .additional_nic_config = iwl6050_additional_nic_config, \
537 .eeprom_ver = EEPROM_6050_EEPROM_VERSION, \
538 .eeprom_calib_ver = EEPROM_6050_TX_POWER_VERSION, \
539 .base_params = &iwl6050_base_params, \
540 .need_dc_calib = true, \
541 .led_mode = IWL_LED_BLINK, \
542 .internal_wimax_coex = true
544 struct iwl_cfg iwl6050_2agn_cfg = {
545 .name = "Intel(R) Centrino(R) Advanced-N + WiMAX 6250 AGN",
547 .ht_params = &iwl6000_ht_params,
550 struct iwl_cfg iwl6050_2abg_cfg = {
551 .name = "Intel(R) Centrino(R) Advanced-N + WiMAX 6250 ABG",
555 #define IWL_DEVICE_6150 \
556 .fw_name_pre = IWL6050_FW_PRE, \
557 .ucode_api_max = IWL6050_UCODE_API_MAX, \
558 .ucode_api_min = IWL6050_UCODE_API_MIN, \
559 .lib = &iwl6000_lib, \
560 .additional_nic_config = iwl6150_additional_nic_config, \
561 .eeprom_ver = EEPROM_6150_EEPROM_VERSION, \
562 .eeprom_calib_ver = EEPROM_6150_TX_POWER_VERSION, \
563 .base_params = &iwl6050_base_params, \
564 .need_dc_calib = true, \
565 .led_mode = IWL_LED_BLINK, \
566 .internal_wimax_coex = true
568 struct iwl_cfg iwl6150_bgn_cfg = {
569 .name = "Intel(R) Centrino(R) Wireless-N + WiMAX 6150 BGN",
571 .ht_params = &iwl6000_ht_params,
574 struct iwl_cfg iwl6150_bg_cfg = {
575 .name = "Intel(R) Centrino(R) Wireless-N + WiMAX 6150 BG",
579 struct iwl_cfg iwl6000_3agn_cfg = {
580 .name = "Intel(R) Centrino(R) Ultimate-N 6300 AGN",
581 .fw_name_pre = IWL6000_FW_PRE,
582 .ucode_api_max = IWL6000_UCODE_API_MAX,
583 .ucode_api_ok = IWL6000_UCODE_API_OK,
584 .ucode_api_min = IWL6000_UCODE_API_MIN,
585 .eeprom_ver = EEPROM_6000_EEPROM_VERSION,
586 .eeprom_calib_ver = EEPROM_6000_TX_POWER_VERSION,
588 .base_params = &iwl6000_base_params,
589 .ht_params = &iwl6000_ht_params,
590 .need_dc_calib = true,
591 .led_mode = IWL_LED_BLINK,
594 MODULE_FIRMWARE(IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_OK));
595 MODULE_FIRMWARE(IWL6050_MODULE_FIRMWARE(IWL6050_UCODE_API_OK));
596 MODULE_FIRMWARE(IWL6005_MODULE_FIRMWARE(IWL6000G2_UCODE_API_OK));
597 MODULE_FIRMWARE(IWL6030_MODULE_FIRMWARE(IWL6000G2B_UCODE_API_OK));