1 /******************************************************************************
3 * Copyright(c) 2008 - 2010 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/pci.h>
31 #include <linux/dma-mapping.h>
32 #include <linux/delay.h>
33 #include <linux/skbuff.h>
34 #include <linux/netdevice.h>
35 #include <linux/wireless.h>
36 #include <net/mac80211.h>
37 #include <linux/etherdevice.h>
38 #include <asm/unaligned.h>
40 #include "iwl-eeprom.h"
46 #include "iwl-helpers.h"
47 #include "iwl-agn-hw.h"
48 #include "iwl-6000-hw.h"
49 #include "iwl-agn-led.h"
50 #include "iwl-agn-debugfs.h"
52 /* Highest firmware API version supported */
53 #define IWL6000_UCODE_API_MAX 4
54 #define IWL6050_UCODE_API_MAX 4
55 #define IWL6000G2_UCODE_API_MAX 5
57 /* Lowest firmware API version supported */
58 #define IWL6000_UCODE_API_MIN 4
59 #define IWL6050_UCODE_API_MIN 4
60 #define IWL6000G2_UCODE_API_MIN 4
62 #define IWL6000_FW_PRE "iwlwifi-6000-"
63 #define _IWL6000_MODULE_FIRMWARE(api) IWL6000_FW_PRE #api ".ucode"
64 #define IWL6000_MODULE_FIRMWARE(api) _IWL6000_MODULE_FIRMWARE(api)
66 #define IWL6050_FW_PRE "iwlwifi-6050-"
67 #define _IWL6050_MODULE_FIRMWARE(api) IWL6050_FW_PRE #api ".ucode"
68 #define IWL6050_MODULE_FIRMWARE(api) _IWL6050_MODULE_FIRMWARE(api)
70 #define IWL6000G2A_FW_PRE "iwlwifi-6000g2a-"
71 #define _IWL6000G2A_MODULE_FIRMWARE(api) IWL6000G2A_FW_PRE #api ".ucode"
72 #define IWL6000G2A_MODULE_FIRMWARE(api) _IWL6000G2A_MODULE_FIRMWARE(api)
74 #define IWL6000G2B_FW_PRE "iwlwifi-6000g2b-"
75 #define _IWL6000G2B_MODULE_FIRMWARE(api) IWL6000G2B_FW_PRE #api ".ucode"
76 #define IWL6000G2B_MODULE_FIRMWARE(api) _IWL6000G2B_MODULE_FIRMWARE(api)
79 static void iwl6000_set_ct_threshold(struct iwl_priv *priv)
82 priv->hw_params.ct_kill_threshold = CT_KILL_THRESHOLD;
83 priv->hw_params.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 (priv->cfg->ops->lib->eeprom_ops.calib_version(priv) >= 6)
90 iwl_set_bit(priv, CSR_GP_DRIVER_REG,
91 CSR_GP_DRIVER_REG_BIT_CALIB_VERSION6);
94 static void iwl6050g2_additional_nic_config(struct iwl_priv *priv)
96 /* Indicate calibration version to uCode. */
97 if (priv->cfg->ops->lib->eeprom_ops.calib_version(priv) >= 6)
98 iwl_set_bit(priv, CSR_GP_DRIVER_REG,
99 CSR_GP_DRIVER_REG_BIT_CALIB_VERSION6);
100 iwl_set_bit(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 radio_cfg = iwl_eeprom_query16(priv, EEPROM_RADIO_CONFIG);
111 /* write radio config values to register */
112 if (EEPROM_RF_CFG_TYPE_MSK(radio_cfg) <= EEPROM_RF_CONFIG_TYPE_MAX)
113 iwl_set_bit(priv, CSR_HW_IF_CONFIG_REG,
114 EEPROM_RF_CFG_TYPE_MSK(radio_cfg) |
115 EEPROM_RF_CFG_STEP_MSK(radio_cfg) |
116 EEPROM_RF_CFG_DASH_MSK(radio_cfg));
118 /* set CSR_HW_CONFIG_REG for uCode use */
119 iwl_set_bit(priv, CSR_HW_IF_CONFIG_REG,
120 CSR_HW_IF_CONFIG_REG_BIT_RADIO_SI |
121 CSR_HW_IF_CONFIG_REG_BIT_MAC_SI);
123 /* no locking required for register write */
124 if (priv->cfg->pa_type == IWL_PA_INTERNAL) {
125 /* 2x2 IPA phy type */
126 iwl_write32(priv, CSR_GP_DRIVER_REG,
127 CSR_GP_DRIVER_REG_BIT_RADIO_SKU_2x2_IPA);
129 /* do additional nic configuration if needed */
130 if (priv->cfg->ops->nic &&
131 priv->cfg->ops->nic->additional_nic_config) {
132 priv->cfg->ops->nic->additional_nic_config(priv);
136 static struct iwl_sensitivity_ranges iwl6000_sensitivity = {
138 .max_nrg_cck = 0, /* not used, set to 0 */
139 .auto_corr_min_ofdm = 80,
140 .auto_corr_min_ofdm_mrc = 128,
141 .auto_corr_min_ofdm_x1 = 105,
142 .auto_corr_min_ofdm_mrc_x1 = 192,
144 .auto_corr_max_ofdm = 145,
145 .auto_corr_max_ofdm_mrc = 232,
146 .auto_corr_max_ofdm_x1 = 110,
147 .auto_corr_max_ofdm_mrc_x1 = 232,
149 .auto_corr_min_cck = 125,
150 .auto_corr_max_cck = 175,
151 .auto_corr_min_cck_mrc = 160,
152 .auto_corr_max_cck_mrc = 310,
156 .barker_corr_th_min = 190,
157 .barker_corr_th_min_mrc = 390,
161 static int iwl6000_hw_set_hw_params(struct iwl_priv *priv)
163 if (priv->cfg->mod_params->num_of_queues >= IWL_MIN_NUM_QUEUES &&
164 priv->cfg->mod_params->num_of_queues <= IWLAGN_NUM_QUEUES)
165 priv->cfg->num_of_queues =
166 priv->cfg->mod_params->num_of_queues;
168 priv->hw_params.max_txq_num = priv->cfg->num_of_queues;
169 priv->hw_params.dma_chnl_num = FH50_TCSR_CHNL_NUM;
170 priv->hw_params.scd_bc_tbls_size =
171 priv->cfg->num_of_queues *
172 sizeof(struct iwlagn_scd_bc_tbl);
173 priv->hw_params.tfd_size = sizeof(struct iwl_tfd);
174 priv->hw_params.max_stations = IWLAGN_STATION_COUNT;
175 priv->contexts[IWL_RXON_CTX_BSS].bcast_sta_id = IWLAGN_BROADCAST_ID;
177 priv->hw_params.max_data_size = IWL60_RTC_DATA_SIZE;
178 priv->hw_params.max_inst_size = IWL60_RTC_INST_SIZE;
180 priv->hw_params.max_bsm_size = 0;
181 priv->hw_params.ht40_channel = BIT(IEEE80211_BAND_2GHZ) |
182 BIT(IEEE80211_BAND_5GHZ);
183 priv->hw_params.rx_wrt_ptr_reg = FH_RSCSR_CHNL0_WPTR;
185 priv->hw_params.tx_chains_num = num_of_ant(priv->cfg->valid_tx_ant);
186 priv->hw_params.rx_chains_num = num_of_ant(priv->cfg->valid_rx_ant);
187 priv->hw_params.valid_tx_ant = priv->cfg->valid_tx_ant;
188 priv->hw_params.valid_rx_ant = priv->cfg->valid_rx_ant;
190 if (priv->cfg->ops->lib->temp_ops.set_ct_kill)
191 priv->cfg->ops->lib->temp_ops.set_ct_kill(priv);
193 /* Set initial sensitivity parameters */
194 /* Set initial calibration set */
195 priv->hw_params.sens = &iwl6000_sensitivity;
196 priv->hw_params.calib_init_cfg =
197 BIT(IWL_CALIB_XTAL) |
199 BIT(IWL_CALIB_TX_IQ) |
200 BIT(IWL_CALIB_BASE_BAND);
201 if (priv->cfg->need_dc_calib)
202 priv->hw_params.calib_init_cfg |= BIT(IWL_CALIB_DC);
204 priv->hw_params.beacon_time_tsf_bits = IWLAGN_EXT_BEACON_TIME_POS;
209 static int iwl6000_hw_channel_switch(struct iwl_priv *priv,
210 struct ieee80211_channel_switch *ch_switch)
214 * See iwl_mac_channel_switch.
216 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS];
217 struct iwl6000_channel_switch_cmd cmd;
218 const struct iwl_channel_info *ch_info;
219 u32 switch_time_in_usec, ucode_switch_time;
223 u16 beacon_interval = le16_to_cpu(ctx->timing.beacon_interval);
224 struct ieee80211_vif *vif = ctx->vif;
225 struct iwl_host_cmd hcmd = {
226 .id = REPLY_CHANNEL_SWITCH,
232 cmd.band = priv->band == IEEE80211_BAND_2GHZ;
233 ch = ch_switch->channel->hw_value;
234 IWL_DEBUG_11H(priv, "channel switch from %u to %u\n",
235 ctx->active.channel, ch);
236 cmd.channel = cpu_to_le16(ch);
237 cmd.rxon_flags = ctx->staging.flags;
238 cmd.rxon_filter_flags = ctx->staging.filter_flags;
239 switch_count = ch_switch->count;
240 tsf_low = ch_switch->timestamp & 0x0ffffffff;
242 * calculate the ucode channel switch time
243 * adding TSF as one of the factor for when to switch
245 if ((priv->ucode_beacon_time > tsf_low) && beacon_interval) {
246 if (switch_count > ((priv->ucode_beacon_time - tsf_low) /
248 switch_count -= (priv->ucode_beacon_time -
249 tsf_low) / beacon_interval;
253 if (switch_count <= 1)
254 cmd.switch_time = cpu_to_le32(priv->ucode_beacon_time);
256 switch_time_in_usec =
257 vif->bss_conf.beacon_int * switch_count * TIME_UNIT;
258 ucode_switch_time = iwl_usecs_to_beacons(priv,
261 cmd.switch_time = iwl_add_beacon_time(priv,
262 priv->ucode_beacon_time,
266 IWL_DEBUG_11H(priv, "uCode time for the switch is 0x%x\n",
268 ch_info = iwl_get_channel_info(priv, priv->band, ch);
270 cmd.expect_beacon = is_channel_radar(ch_info);
272 IWL_ERR(priv, "invalid channel switch from %u to %u\n",
273 ctx->active.channel, ch);
276 priv->switch_rxon.channel = cmd.channel;
277 priv->switch_rxon.switch_in_progress = true;
279 return iwl_send_cmd_sync(priv, &hcmd);
282 static struct iwl_lib_ops iwl6000_lib = {
283 .set_hw_params = iwl6000_hw_set_hw_params,
284 .txq_update_byte_cnt_tbl = iwlagn_txq_update_byte_cnt_tbl,
285 .txq_inval_byte_cnt_tbl = iwlagn_txq_inval_byte_cnt_tbl,
286 .txq_set_sched = iwlagn_txq_set_sched,
287 .txq_agg_enable = iwlagn_txq_agg_enable,
288 .txq_agg_disable = iwlagn_txq_agg_disable,
289 .txq_attach_buf_to_tfd = iwl_hw_txq_attach_buf_to_tfd,
290 .txq_free_tfd = iwl_hw_txq_free_tfd,
291 .txq_init = iwl_hw_tx_queue_init,
292 .rx_handler_setup = iwlagn_rx_handler_setup,
293 .setup_deferred_work = iwlagn_setup_deferred_work,
294 .is_valid_rtc_data_addr = iwlagn_hw_valid_rtc_data_addr,
295 .load_ucode = iwlagn_load_ucode,
296 .dump_nic_event_log = iwl_dump_nic_event_log,
297 .dump_nic_error_log = iwl_dump_nic_error_log,
298 .dump_csr = iwl_dump_csr,
299 .dump_fh = iwl_dump_fh,
300 .init_alive_start = iwlagn_init_alive_start,
301 .alive_notify = iwlagn_alive_notify,
302 .send_tx_power = iwlagn_send_tx_power,
303 .update_chain_flags = iwl_update_chain_flags,
304 .set_channel_switch = iwl6000_hw_channel_switch,
306 .init = iwl_apm_init,
307 .stop = iwl_apm_stop,
308 .config = iwl6000_nic_config,
309 .set_pwr_src = iwl_set_pwr_src,
312 .regulatory_bands = {
313 EEPROM_REG_BAND_1_CHANNELS,
314 EEPROM_REG_BAND_2_CHANNELS,
315 EEPROM_REG_BAND_3_CHANNELS,
316 EEPROM_REG_BAND_4_CHANNELS,
317 EEPROM_REG_BAND_5_CHANNELS,
318 EEPROM_6000_REG_BAND_24_HT40_CHANNELS,
319 EEPROM_REG_BAND_52_HT40_CHANNELS
321 .verify_signature = iwlcore_eeprom_verify_signature,
322 .acquire_semaphore = iwlcore_eeprom_acquire_semaphore,
323 .release_semaphore = iwlcore_eeprom_release_semaphore,
324 .calib_version = iwlagn_eeprom_calib_version,
325 .query_addr = iwlagn_eeprom_query_addr,
326 .update_enhanced_txpower = iwlcore_eeprom_enhanced_txpower,
328 .post_associate = iwl_post_associate,
330 .config_ap = iwl_config_ap,
332 .temperature = iwlagn_temperature,
333 .set_ct_kill = iwl6000_set_ct_threshold,
335 .manage_ibss_station = iwlagn_manage_ibss_station,
336 .update_bcast_stations = iwl_update_bcast_stations,
338 .rx_stats_read = iwl_ucode_rx_stats_read,
339 .tx_stats_read = iwl_ucode_tx_stats_read,
340 .general_stats_read = iwl_ucode_general_stats_read,
341 .bt_stats_read = iwl_ucode_bt_stats_read,
342 .reply_tx_error = iwl_reply_tx_error_read,
344 .recover_from_tx_stall = iwl_bg_monitor_recover,
345 .check_plcp_health = iwl_good_plcp_health,
346 .check_ack_health = iwl_good_ack_health,
347 .txfifo_flush = iwlagn_txfifo_flush,
348 .dev_txfifo_flush = iwlagn_dev_txfifo_flush,
350 .lower_power_detection = iwl_tt_is_low_power_state,
351 .tt_power_mode = iwl_tt_current_power_mode,
352 .ct_kill_check = iwl_check_for_ct_kill,
356 static struct iwl_lib_ops iwl6000g2b_lib = {
357 .set_hw_params = iwl6000_hw_set_hw_params,
358 .txq_update_byte_cnt_tbl = iwlagn_txq_update_byte_cnt_tbl,
359 .txq_inval_byte_cnt_tbl = iwlagn_txq_inval_byte_cnt_tbl,
360 .txq_set_sched = iwlagn_txq_set_sched,
361 .txq_agg_enable = iwlagn_txq_agg_enable,
362 .txq_agg_disable = iwlagn_txq_agg_disable,
363 .txq_attach_buf_to_tfd = iwl_hw_txq_attach_buf_to_tfd,
364 .txq_free_tfd = iwl_hw_txq_free_tfd,
365 .txq_init = iwl_hw_tx_queue_init,
366 .rx_handler_setup = iwlagn_bt_rx_handler_setup,
367 .setup_deferred_work = iwlagn_bt_setup_deferred_work,
368 .cancel_deferred_work = iwlagn_bt_cancel_deferred_work,
369 .is_valid_rtc_data_addr = iwlagn_hw_valid_rtc_data_addr,
370 .load_ucode = iwlagn_load_ucode,
371 .dump_nic_event_log = iwl_dump_nic_event_log,
372 .dump_nic_error_log = iwl_dump_nic_error_log,
373 .dump_csr = iwl_dump_csr,
374 .dump_fh = iwl_dump_fh,
375 .init_alive_start = iwlagn_init_alive_start,
376 .alive_notify = iwlagn_alive_notify,
377 .send_tx_power = iwlagn_send_tx_power,
378 .update_chain_flags = iwl_update_chain_flags,
379 .set_channel_switch = iwl6000_hw_channel_switch,
381 .init = iwl_apm_init,
382 .stop = iwl_apm_stop,
383 .config = iwl6000_nic_config,
384 .set_pwr_src = iwl_set_pwr_src,
387 .regulatory_bands = {
388 EEPROM_REG_BAND_1_CHANNELS,
389 EEPROM_REG_BAND_2_CHANNELS,
390 EEPROM_REG_BAND_3_CHANNELS,
391 EEPROM_REG_BAND_4_CHANNELS,
392 EEPROM_REG_BAND_5_CHANNELS,
393 EEPROM_6000_REG_BAND_24_HT40_CHANNELS,
394 EEPROM_REG_BAND_52_HT40_CHANNELS
396 .verify_signature = iwlcore_eeprom_verify_signature,
397 .acquire_semaphore = iwlcore_eeprom_acquire_semaphore,
398 .release_semaphore = iwlcore_eeprom_release_semaphore,
399 .calib_version = iwlagn_eeprom_calib_version,
400 .query_addr = iwlagn_eeprom_query_addr,
401 .update_enhanced_txpower = iwlcore_eeprom_enhanced_txpower,
403 .post_associate = iwl_post_associate,
405 .config_ap = iwl_config_ap,
407 .temperature = iwlagn_temperature,
408 .set_ct_kill = iwl6000_set_ct_threshold,
410 .manage_ibss_station = iwlagn_manage_ibss_station,
411 .update_bcast_stations = iwl_update_bcast_stations,
413 .rx_stats_read = iwl_ucode_rx_stats_read,
414 .tx_stats_read = iwl_ucode_tx_stats_read,
415 .general_stats_read = iwl_ucode_general_stats_read,
416 .bt_stats_read = iwl_ucode_bt_stats_read,
417 .reply_tx_error = iwl_reply_tx_error_read,
419 .recover_from_tx_stall = iwl_bg_monitor_recover,
420 .check_plcp_health = iwl_good_plcp_health,
421 .check_ack_health = iwl_good_ack_health,
422 .txfifo_flush = iwlagn_txfifo_flush,
423 .dev_txfifo_flush = iwlagn_dev_txfifo_flush,
425 .lower_power_detection = iwl_tt_is_low_power_state,
426 .tt_power_mode = iwl_tt_current_power_mode,
427 .ct_kill_check = iwl_check_for_ct_kill,
431 static struct iwl_nic_ops iwl6050_nic_ops = {
432 .additional_nic_config = &iwl6050_additional_nic_config,
435 static struct iwl_nic_ops iwl6050g2_nic_ops = {
436 .additional_nic_config = &iwl6050g2_additional_nic_config,
439 static const struct iwl_ops iwl6000_ops = {
441 .hcmd = &iwlagn_hcmd,
442 .utils = &iwlagn_hcmd_utils,
443 .led = &iwlagn_led_ops,
446 static const struct iwl_ops iwl6050_ops = {
448 .hcmd = &iwlagn_hcmd,
449 .utils = &iwlagn_hcmd_utils,
450 .led = &iwlagn_led_ops,
451 .nic = &iwl6050_nic_ops,
454 static const struct iwl_ops iwl6050g2_ops = {
456 .hcmd = &iwlagn_hcmd,
457 .utils = &iwlagn_hcmd_utils,
458 .led = &iwlagn_led_ops,
459 .nic = &iwl6050g2_nic_ops,
462 static const struct iwl_ops iwl6000g2b_ops = {
463 .lib = &iwl6000g2b_lib,
464 .hcmd = &iwlagn_bt_hcmd,
465 .utils = &iwlagn_hcmd_utils,
466 .led = &iwlagn_led_ops,
469 struct iwl_cfg iwl6000g2a_2agn_cfg = {
470 .name = "6000 Series 2x2 AGN Gen2a",
471 .fw_name_pre = IWL6000G2A_FW_PRE,
472 .ucode_api_max = IWL6000G2_UCODE_API_MAX,
473 .ucode_api_min = IWL6000G2_UCODE_API_MIN,
474 .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N,
476 .eeprom_size = OTP_LOW_IMAGE_SIZE,
477 .eeprom_ver = EEPROM_6000G2_EEPROM_VERSION,
478 .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION,
479 .num_of_queues = IWLAGN_NUM_QUEUES,
480 .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES,
481 .mod_params = &iwlagn_mod_params,
482 .valid_tx_ant = ANT_AB,
483 .valid_rx_ant = ANT_AB,
487 .pa_type = IWL_PA_SYSTEM,
488 .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
489 .shadow_ram_support = true,
490 .ht_greenfield_support = true,
491 .led_compensation = 51,
492 .use_rts_for_aggregation = true, /* use rts/cts protection */
493 .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS,
494 .supports_idle = true,
495 .adv_thermal_throttle = true,
496 .support_ct_kill_exit = true,
497 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF,
498 .chain_noise_scale = 1000,
499 .monitor_recover_period = IWL_DEF_MONITORING_PERIOD,
500 .max_event_log_size = 512,
501 .ucode_tracing = true,
502 .sensitivity_calib_by_driver = true,
503 .chain_noise_calib_by_driver = true,
504 .need_dc_calib = true,
507 struct iwl_cfg iwl6000g2a_2abg_cfg = {
508 .name = "6000 Series 2x2 ABG Gen2a",
509 .fw_name_pre = IWL6000G2A_FW_PRE,
510 .ucode_api_max = IWL6000G2_UCODE_API_MAX,
511 .ucode_api_min = IWL6000G2_UCODE_API_MIN,
512 .sku = IWL_SKU_A|IWL_SKU_G,
514 .eeprom_size = OTP_LOW_IMAGE_SIZE,
515 .eeprom_ver = EEPROM_6000G2_EEPROM_VERSION,
516 .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION,
517 .num_of_queues = IWLAGN_NUM_QUEUES,
518 .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES,
519 .mod_params = &iwlagn_mod_params,
520 .valid_tx_ant = ANT_AB,
521 .valid_rx_ant = ANT_AB,
525 .pa_type = IWL_PA_SYSTEM,
526 .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
527 .shadow_ram_support = true,
528 .led_compensation = 51,
529 .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS,
530 .supports_idle = true,
531 .adv_thermal_throttle = true,
532 .support_ct_kill_exit = true,
533 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF,
534 .chain_noise_scale = 1000,
535 .monitor_recover_period = IWL_DEF_MONITORING_PERIOD,
536 .max_event_log_size = 512,
537 .sensitivity_calib_by_driver = true,
538 .chain_noise_calib_by_driver = true,
539 .need_dc_calib = true,
542 struct iwl_cfg iwl6000g2a_2bg_cfg = {
543 .name = "6000 Series 2x2 BG Gen2a",
544 .fw_name_pre = IWL6000G2A_FW_PRE,
545 .ucode_api_max = IWL6000G2_UCODE_API_MAX,
546 .ucode_api_min = IWL6000G2_UCODE_API_MIN,
549 .eeprom_size = OTP_LOW_IMAGE_SIZE,
550 .eeprom_ver = EEPROM_6000G2_EEPROM_VERSION,
551 .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION,
552 .num_of_queues = IWLAGN_NUM_QUEUES,
553 .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES,
554 .mod_params = &iwlagn_mod_params,
555 .valid_tx_ant = ANT_AB,
556 .valid_rx_ant = ANT_AB,
560 .pa_type = IWL_PA_SYSTEM,
561 .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
562 .shadow_ram_support = true,
563 .led_compensation = 51,
564 .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS,
565 .supports_idle = true,
566 .adv_thermal_throttle = true,
567 .support_ct_kill_exit = true,
568 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF,
569 .chain_noise_scale = 1000,
570 .monitor_recover_period = IWL_DEF_MONITORING_PERIOD,
571 .max_event_log_size = 512,
572 .sensitivity_calib_by_driver = true,
573 .chain_noise_calib_by_driver = true,
574 .need_dc_calib = true,
577 struct iwl_cfg iwl6000g2b_2agn_cfg = {
578 .name = "6000 Series 2x2 AGN Gen2b",
579 .fw_name_pre = IWL6000G2B_FW_PRE,
580 .ucode_api_max = IWL6000G2_UCODE_API_MAX,
581 .ucode_api_min = IWL6000G2_UCODE_API_MIN,
582 .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N,
583 .ops = &iwl6000g2b_ops,
584 .eeprom_size = OTP_LOW_IMAGE_SIZE,
585 .eeprom_ver = EEPROM_6000G2_EEPROM_VERSION,
586 .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION,
587 .num_of_queues = IWLAGN_NUM_QUEUES,
588 .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES,
589 .mod_params = &iwlagn_mod_params,
590 .valid_tx_ant = ANT_AB,
591 .valid_rx_ant = ANT_AB,
595 .pa_type = IWL_PA_SYSTEM,
596 .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
597 .shadow_ram_support = true,
598 .ht_greenfield_support = true,
599 .led_compensation = 51,
600 .use_rts_for_aggregation = true, /* use rts/cts protection */
601 .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS,
602 .supports_idle = true,
603 .adv_thermal_throttle = true,
604 .support_ct_kill_exit = true,
605 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DISABLE,
606 .chain_noise_scale = 1000,
607 .monitor_recover_period = IWL_LONG_MONITORING_PERIOD,
608 .max_event_log_size = 512,
609 .sensitivity_calib_by_driver = true,
610 .chain_noise_calib_by_driver = true,
611 .need_dc_calib = true,
612 .bt_statistics = true,
613 /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */
614 .scan_tx_antennas[IEEE80211_BAND_2GHZ] = ANT_A,
615 .advanced_bt_coexist = true,
616 .bt_init_traffic_load = IWL_BT_COEX_TRAFFIC_LOAD_NONE,
617 .bt_prio_boost = IWLAGN_BT_PRIO_BOOST_DEFAULT,
620 struct iwl_cfg iwl6000g2b_2abg_cfg = {
621 .name = "6000 Series 2x2 ABG Gen2b",
622 .fw_name_pre = IWL6000G2B_FW_PRE,
623 .ucode_api_max = IWL6000G2_UCODE_API_MAX,
624 .ucode_api_min = IWL6000G2_UCODE_API_MIN,
625 .sku = IWL_SKU_A|IWL_SKU_G,
626 .ops = &iwl6000g2b_ops,
627 .eeprom_size = OTP_LOW_IMAGE_SIZE,
628 .eeprom_ver = EEPROM_6000G2_EEPROM_VERSION,
629 .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION,
630 .num_of_queues = IWLAGN_NUM_QUEUES,
631 .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES,
632 .mod_params = &iwlagn_mod_params,
633 .valid_tx_ant = ANT_AB,
634 .valid_rx_ant = ANT_AB,
638 .pa_type = IWL_PA_SYSTEM,
639 .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
640 .shadow_ram_support = true,
641 .led_compensation = 51,
642 .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS,
643 .supports_idle = true,
644 .adv_thermal_throttle = true,
645 .support_ct_kill_exit = true,
646 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DISABLE,
647 .chain_noise_scale = 1000,
648 .monitor_recover_period = IWL_LONG_MONITORING_PERIOD,
649 .max_event_log_size = 512,
650 .sensitivity_calib_by_driver = true,
651 .chain_noise_calib_by_driver = true,
652 .need_dc_calib = true,
653 .bt_statistics = true,
654 /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */
655 .scan_tx_antennas[IEEE80211_BAND_2GHZ] = ANT_A,
656 .advanced_bt_coexist = true,
657 .bt_init_traffic_load = IWL_BT_COEX_TRAFFIC_LOAD_NONE,
658 .bt_prio_boost = IWLAGN_BT_PRIO_BOOST_DEFAULT,
661 struct iwl_cfg iwl6000g2b_2bgn_cfg = {
662 .name = "6000 Series 2x2 BGN Gen2b",
663 .fw_name_pre = IWL6000G2B_FW_PRE,
664 .ucode_api_max = IWL6000G2_UCODE_API_MAX,
665 .ucode_api_min = IWL6000G2_UCODE_API_MIN,
666 .sku = IWL_SKU_G|IWL_SKU_N,
667 .ops = &iwl6000g2b_ops,
668 .eeprom_size = OTP_LOW_IMAGE_SIZE,
669 .eeprom_ver = EEPROM_6000G2_EEPROM_VERSION,
670 .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION,
671 .num_of_queues = IWLAGN_NUM_QUEUES,
672 .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES,
673 .mod_params = &iwlagn_mod_params,
674 .valid_tx_ant = ANT_AB,
675 .valid_rx_ant = ANT_AB,
679 .pa_type = IWL_PA_SYSTEM,
680 .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
681 .shadow_ram_support = true,
682 .ht_greenfield_support = true,
683 .led_compensation = 51,
684 .use_rts_for_aggregation = true, /* use rts/cts protection */
685 .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS,
686 .supports_idle = true,
687 .adv_thermal_throttle = true,
688 .support_ct_kill_exit = true,
689 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DISABLE,
690 .chain_noise_scale = 1000,
691 .monitor_recover_period = IWL_LONG_MONITORING_PERIOD,
692 .max_event_log_size = 512,
693 .sensitivity_calib_by_driver = true,
694 .chain_noise_calib_by_driver = true,
695 .need_dc_calib = true,
696 .bt_statistics = true,
697 /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */
698 .scan_tx_antennas[IEEE80211_BAND_2GHZ] = ANT_A,
699 .advanced_bt_coexist = true,
700 .bt_init_traffic_load = IWL_BT_COEX_TRAFFIC_LOAD_NONE,
701 .bt_prio_boost = IWLAGN_BT_PRIO_BOOST_DEFAULT,
704 struct iwl_cfg iwl6000g2b_2bg_cfg = {
705 .name = "6000 Series 2x2 BG Gen2b",
706 .fw_name_pre = IWL6000G2B_FW_PRE,
707 .ucode_api_max = IWL6000G2_UCODE_API_MAX,
708 .ucode_api_min = IWL6000G2_UCODE_API_MIN,
710 .ops = &iwl6000g2b_ops,
711 .eeprom_size = OTP_LOW_IMAGE_SIZE,
712 .eeprom_ver = EEPROM_6000G2_EEPROM_VERSION,
713 .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION,
714 .num_of_queues = IWLAGN_NUM_QUEUES,
715 .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES,
716 .mod_params = &iwlagn_mod_params,
717 .valid_tx_ant = ANT_AB,
718 .valid_rx_ant = ANT_AB,
722 .pa_type = IWL_PA_SYSTEM,
723 .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
724 .shadow_ram_support = true,
725 .led_compensation = 51,
726 .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS,
727 .supports_idle = true,
728 .adv_thermal_throttle = true,
729 .support_ct_kill_exit = true,
730 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DISABLE,
731 .chain_noise_scale = 1000,
732 .monitor_recover_period = IWL_LONG_MONITORING_PERIOD,
733 .max_event_log_size = 512,
734 .sensitivity_calib_by_driver = true,
735 .chain_noise_calib_by_driver = true,
736 .need_dc_calib = true,
737 .bt_statistics = true,
738 /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */
739 .scan_tx_antennas[IEEE80211_BAND_2GHZ] = ANT_A,
740 .advanced_bt_coexist = true,
741 .bt_init_traffic_load = IWL_BT_COEX_TRAFFIC_LOAD_NONE,
742 .bt_prio_boost = IWLAGN_BT_PRIO_BOOST_DEFAULT,
745 struct iwl_cfg iwl6000g2b_bgn_cfg = {
746 .name = "6000 Series 1x2 BGN Gen2b",
747 .fw_name_pre = IWL6000G2B_FW_PRE,
748 .ucode_api_max = IWL6000G2_UCODE_API_MAX,
749 .ucode_api_min = IWL6000G2_UCODE_API_MIN,
750 .sku = IWL_SKU_G|IWL_SKU_N,
751 .ops = &iwl6000g2b_ops,
752 .eeprom_size = OTP_LOW_IMAGE_SIZE,
753 .eeprom_ver = EEPROM_6000G2_EEPROM_VERSION,
754 .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION,
755 .num_of_queues = IWLAGN_NUM_QUEUES,
756 .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES,
757 .mod_params = &iwlagn_mod_params,
758 .valid_tx_ant = ANT_A,
759 .valid_rx_ant = ANT_AB,
763 .pa_type = IWL_PA_SYSTEM,
764 .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
765 .shadow_ram_support = true,
766 .ht_greenfield_support = true,
767 .led_compensation = 51,
768 .use_rts_for_aggregation = true, /* use rts/cts protection */
769 .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS,
770 .supports_idle = true,
771 .adv_thermal_throttle = true,
772 .support_ct_kill_exit = true,
773 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DISABLE,
774 .chain_noise_scale = 1000,
775 .monitor_recover_period = IWL_LONG_MONITORING_PERIOD,
776 .max_event_log_size = 512,
777 .sensitivity_calib_by_driver = true,
778 .chain_noise_calib_by_driver = true,
779 .need_dc_calib = true,
780 .bt_statistics = true,
781 /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */
782 .scan_tx_antennas[IEEE80211_BAND_2GHZ] = ANT_A,
783 .advanced_bt_coexist = true,
784 .bt_init_traffic_load = IWL_BT_COEX_TRAFFIC_LOAD_NONE,
785 .bt_prio_boost = IWLAGN_BT_PRIO_BOOST_DEFAULT,
788 struct iwl_cfg iwl6000g2b_bg_cfg = {
789 .name = "6000 Series 1x2 BG Gen2b",
790 .fw_name_pre = IWL6000G2B_FW_PRE,
791 .ucode_api_max = IWL6000G2_UCODE_API_MAX,
792 .ucode_api_min = IWL6000G2_UCODE_API_MIN,
794 .ops = &iwl6000g2b_ops,
795 .eeprom_size = OTP_LOW_IMAGE_SIZE,
796 .eeprom_ver = EEPROM_6000G2_EEPROM_VERSION,
797 .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION,
798 .num_of_queues = IWLAGN_NUM_QUEUES,
799 .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES,
800 .mod_params = &iwlagn_mod_params,
801 .valid_tx_ant = ANT_A,
802 .valid_rx_ant = ANT_AB,
806 .pa_type = IWL_PA_SYSTEM,
807 .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
808 .shadow_ram_support = true,
809 .led_compensation = 51,
810 .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS,
811 .supports_idle = true,
812 .adv_thermal_throttle = true,
813 .support_ct_kill_exit = true,
814 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DISABLE,
815 .chain_noise_scale = 1000,
816 .monitor_recover_period = IWL_LONG_MONITORING_PERIOD,
817 .max_event_log_size = 512,
818 .sensitivity_calib_by_driver = true,
819 .chain_noise_calib_by_driver = true,
820 .need_dc_calib = true,
821 .bt_statistics = true,
822 /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */
823 .scan_tx_antennas[IEEE80211_BAND_2GHZ] = ANT_A,
824 .advanced_bt_coexist = true,
825 .bt_init_traffic_load = IWL_BT_COEX_TRAFFIC_LOAD_NONE,
826 .bt_prio_boost = IWLAGN_BT_PRIO_BOOST_DEFAULT,
830 * "i": Internal configuration, use internal Power Amplifier
832 struct iwl_cfg iwl6000i_2agn_cfg = {
833 .name = "Intel(R) Centrino(R) Advanced-N 6200 AGN",
834 .fw_name_pre = IWL6000_FW_PRE,
835 .ucode_api_max = IWL6000_UCODE_API_MAX,
836 .ucode_api_min = IWL6000_UCODE_API_MIN,
837 .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N,
839 .eeprom_size = OTP_LOW_IMAGE_SIZE,
840 .eeprom_ver = EEPROM_6000_EEPROM_VERSION,
841 .eeprom_calib_ver = EEPROM_6000_TX_POWER_VERSION,
842 .num_of_queues = IWLAGN_NUM_QUEUES,
843 .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES,
844 .mod_params = &iwlagn_mod_params,
845 .valid_tx_ant = ANT_BC,
846 .valid_rx_ant = ANT_BC,
850 .pa_type = IWL_PA_INTERNAL,
851 .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
852 .shadow_ram_support = true,
853 .ht_greenfield_support = true,
854 .led_compensation = 51,
855 .use_rts_for_aggregation = true, /* use rts/cts protection */
856 .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS,
857 .supports_idle = true,
858 .adv_thermal_throttle = true,
859 .support_ct_kill_exit = true,
860 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF,
861 .chain_noise_scale = 1000,
862 .monitor_recover_period = IWL_DEF_MONITORING_PERIOD,
863 .max_event_log_size = 1024,
864 .ucode_tracing = true,
865 .sensitivity_calib_by_driver = true,
866 .chain_noise_calib_by_driver = true,
869 struct iwl_cfg iwl6000i_2abg_cfg = {
870 .name = "Intel(R) Centrino(R) Advanced-N 6200 ABG",
871 .fw_name_pre = IWL6000_FW_PRE,
872 .ucode_api_max = IWL6000_UCODE_API_MAX,
873 .ucode_api_min = IWL6000_UCODE_API_MIN,
874 .sku = IWL_SKU_A|IWL_SKU_G,
876 .eeprom_size = OTP_LOW_IMAGE_SIZE,
877 .eeprom_ver = EEPROM_6000_EEPROM_VERSION,
878 .eeprom_calib_ver = EEPROM_6000_TX_POWER_VERSION,
879 .num_of_queues = IWLAGN_NUM_QUEUES,
880 .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES,
881 .mod_params = &iwlagn_mod_params,
882 .valid_tx_ant = ANT_BC,
883 .valid_rx_ant = ANT_BC,
887 .pa_type = IWL_PA_INTERNAL,
888 .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
889 .shadow_ram_support = true,
890 .led_compensation = 51,
891 .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS,
892 .supports_idle = true,
893 .adv_thermal_throttle = true,
894 .support_ct_kill_exit = true,
895 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF,
896 .chain_noise_scale = 1000,
897 .monitor_recover_period = IWL_DEF_MONITORING_PERIOD,
898 .max_event_log_size = 1024,
899 .ucode_tracing = true,
900 .sensitivity_calib_by_driver = true,
901 .chain_noise_calib_by_driver = true,
904 struct iwl_cfg iwl6000i_2bg_cfg = {
905 .name = "Intel(R) Centrino(R) Advanced-N 6200 BG",
906 .fw_name_pre = IWL6000_FW_PRE,
907 .ucode_api_max = IWL6000_UCODE_API_MAX,
908 .ucode_api_min = IWL6000_UCODE_API_MIN,
911 .eeprom_size = OTP_LOW_IMAGE_SIZE,
912 .eeprom_ver = EEPROM_6000_EEPROM_VERSION,
913 .eeprom_calib_ver = EEPROM_6000_TX_POWER_VERSION,
914 .num_of_queues = IWLAGN_NUM_QUEUES,
915 .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES,
916 .mod_params = &iwlagn_mod_params,
917 .valid_tx_ant = ANT_BC,
918 .valid_rx_ant = ANT_BC,
922 .pa_type = IWL_PA_INTERNAL,
923 .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
924 .shadow_ram_support = true,
925 .led_compensation = 51,
926 .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS,
927 .supports_idle = true,
928 .adv_thermal_throttle = true,
929 .support_ct_kill_exit = true,
930 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF,
931 .chain_noise_scale = 1000,
932 .monitor_recover_period = IWL_DEF_MONITORING_PERIOD,
933 .max_event_log_size = 1024,
934 .ucode_tracing = true,
935 .sensitivity_calib_by_driver = true,
936 .chain_noise_calib_by_driver = true,
939 struct iwl_cfg iwl6050_2agn_cfg = {
940 .name = "Intel(R) Centrino(R) Advanced-N + WiMAX 6250 AGN",
941 .fw_name_pre = IWL6050_FW_PRE,
942 .ucode_api_max = IWL6050_UCODE_API_MAX,
943 .ucode_api_min = IWL6050_UCODE_API_MIN,
944 .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N,
946 .eeprom_size = OTP_LOW_IMAGE_SIZE,
947 .eeprom_ver = EEPROM_6050_EEPROM_VERSION,
948 .eeprom_calib_ver = EEPROM_6050_TX_POWER_VERSION,
949 .num_of_queues = IWLAGN_NUM_QUEUES,
950 .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES,
951 .mod_params = &iwlagn_mod_params,
952 .valid_tx_ant = ANT_AB,
953 .valid_rx_ant = ANT_AB,
957 .pa_type = IWL_PA_SYSTEM,
958 .max_ll_items = OTP_MAX_LL_ITEMS_6x50,
959 .shadow_ram_support = true,
960 .ht_greenfield_support = true,
961 .led_compensation = 51,
962 .use_rts_for_aggregation = true, /* use rts/cts protection */
963 .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS,
964 .supports_idle = true,
965 .adv_thermal_throttle = true,
966 .support_ct_kill_exit = true,
967 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF,
968 .chain_noise_scale = 1500,
969 .monitor_recover_period = IWL_DEF_MONITORING_PERIOD,
970 .max_event_log_size = 1024,
971 .ucode_tracing = true,
972 .sensitivity_calib_by_driver = true,
973 .chain_noise_calib_by_driver = true,
974 .need_dc_calib = true,
977 struct iwl_cfg iwl6050g2_bgn_cfg = {
978 .name = "6050 Series 1x2 BGN Gen2",
979 .fw_name_pre = IWL6050_FW_PRE,
980 .ucode_api_max = IWL6050_UCODE_API_MAX,
981 .ucode_api_min = IWL6050_UCODE_API_MIN,
982 .sku = IWL_SKU_G|IWL_SKU_N,
983 .ops = &iwl6050g2_ops,
984 .eeprom_size = OTP_LOW_IMAGE_SIZE,
985 .eeprom_ver = EEPROM_6050G2_EEPROM_VERSION,
986 .eeprom_calib_ver = EEPROM_6050G2_TX_POWER_VERSION,
987 .num_of_queues = IWLAGN_NUM_QUEUES,
988 .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES,
989 .mod_params = &iwlagn_mod_params,
990 .valid_tx_ant = ANT_A,
991 .valid_rx_ant = ANT_AB,
995 .pa_type = IWL_PA_SYSTEM,
996 .max_ll_items = OTP_MAX_LL_ITEMS_6x50,
997 .shadow_ram_support = true,
998 .ht_greenfield_support = true,
999 .led_compensation = 51,
1000 .use_rts_for_aggregation = true, /* use rts/cts protection */
1001 .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS,
1002 .supports_idle = true,
1003 .adv_thermal_throttle = true,
1004 .support_ct_kill_exit = true,
1005 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF,
1006 .chain_noise_scale = 1500,
1007 .monitor_recover_period = IWL_DEF_MONITORING_PERIOD,
1008 .max_event_log_size = 1024,
1009 .ucode_tracing = true,
1010 .sensitivity_calib_by_driver = true,
1011 .chain_noise_calib_by_driver = true,
1012 .need_dc_calib = true,
1015 struct iwl_cfg iwl6050_2abg_cfg = {
1016 .name = "Intel(R) Centrino(R) Advanced-N + WiMAX 6250 ABG",
1017 .fw_name_pre = IWL6050_FW_PRE,
1018 .ucode_api_max = IWL6050_UCODE_API_MAX,
1019 .ucode_api_min = IWL6050_UCODE_API_MIN,
1020 .sku = IWL_SKU_A|IWL_SKU_G,
1021 .ops = &iwl6050_ops,
1022 .eeprom_size = OTP_LOW_IMAGE_SIZE,
1023 .eeprom_ver = EEPROM_6050_EEPROM_VERSION,
1024 .eeprom_calib_ver = EEPROM_6050_TX_POWER_VERSION,
1025 .num_of_queues = IWLAGN_NUM_QUEUES,
1026 .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES,
1027 .mod_params = &iwlagn_mod_params,
1028 .valid_tx_ant = ANT_AB,
1029 .valid_rx_ant = ANT_AB,
1033 .pa_type = IWL_PA_SYSTEM,
1034 .max_ll_items = OTP_MAX_LL_ITEMS_6x50,
1035 .shadow_ram_support = true,
1036 .led_compensation = 51,
1037 .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS,
1038 .supports_idle = true,
1039 .adv_thermal_throttle = true,
1040 .support_ct_kill_exit = true,
1041 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF,
1042 .chain_noise_scale = 1500,
1043 .monitor_recover_period = IWL_DEF_MONITORING_PERIOD,
1044 .max_event_log_size = 1024,
1045 .ucode_tracing = true,
1046 .sensitivity_calib_by_driver = true,
1047 .chain_noise_calib_by_driver = true,
1048 .need_dc_calib = true,
1051 struct iwl_cfg iwl6000_3agn_cfg = {
1052 .name = "Intel(R) Centrino(R) Ultimate-N 6300 AGN",
1053 .fw_name_pre = IWL6000_FW_PRE,
1054 .ucode_api_max = IWL6000_UCODE_API_MAX,
1055 .ucode_api_min = IWL6000_UCODE_API_MIN,
1056 .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N,
1057 .ops = &iwl6000_ops,
1058 .eeprom_size = OTP_LOW_IMAGE_SIZE,
1059 .eeprom_ver = EEPROM_6000_EEPROM_VERSION,
1060 .eeprom_calib_ver = EEPROM_6000_TX_POWER_VERSION,
1061 .num_of_queues = IWLAGN_NUM_QUEUES,
1062 .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES,
1063 .mod_params = &iwlagn_mod_params,
1064 .valid_tx_ant = ANT_ABC,
1065 .valid_rx_ant = ANT_ABC,
1069 .pa_type = IWL_PA_SYSTEM,
1070 .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
1071 .shadow_ram_support = true,
1072 .ht_greenfield_support = true,
1073 .led_compensation = 51,
1074 .use_rts_for_aggregation = true, /* use rts/cts protection */
1075 .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS,
1076 .supports_idle = true,
1077 .adv_thermal_throttle = true,
1078 .support_ct_kill_exit = true,
1079 .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF,
1080 .chain_noise_scale = 1000,
1081 .monitor_recover_period = IWL_DEF_MONITORING_PERIOD,
1082 .max_event_log_size = 1024,
1083 .ucode_tracing = true,
1084 .sensitivity_calib_by_driver = true,
1085 .chain_noise_calib_by_driver = true,
1088 MODULE_FIRMWARE(IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_MAX));
1089 MODULE_FIRMWARE(IWL6050_MODULE_FIRMWARE(IWL6050_UCODE_API_MAX));
1090 MODULE_FIRMWARE(IWL6000G2A_MODULE_FIRMWARE(IWL6000G2_UCODE_API_MAX));
1091 MODULE_FIRMWARE(IWL6000G2B_MODULE_FIRMWARE(IWL6000G2_UCODE_API_MAX));