| Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 1 | /****************************************************************************** | 
|  | 2 | * | 
| Reinette Chatre | 1f44780 | 2010-01-15 13:43:41 -0800 | [diff] [blame] | 3 | * Copyright(c) 2008 - 2010 Intel Corporation. All rights reserved. | 
| Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 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 |  | 
|  | 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> | 
|  | 39 |  | 
|  | 40 | #include "iwl-eeprom.h" | 
|  | 41 | #include "iwl-dev.h" | 
|  | 42 | #include "iwl-core.h" | 
|  | 43 | #include "iwl-io.h" | 
|  | 44 | #include "iwl-sta.h" | 
|  | 45 | #include "iwl-helpers.h" | 
|  | 46 | #include "iwl-5000-hw.h" | 
| Wey-Yi Guy | f3a2a42 | 2009-09-11 10:38:11 -0700 | [diff] [blame] | 47 | #include "iwl-6000-hw.h" | 
| Johannes Berg | e932a60 | 2009-10-02 13:44:03 -0700 | [diff] [blame] | 48 | #include "iwl-agn-led.h" | 
| Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 49 |  | 
|  | 50 | /* Highest firmware API version supported */ | 
| Wey-Yi Guy | fcbaf8b | 2009-08-21 13:34:18 -0700 | [diff] [blame] | 51 | #define IWL6000_UCODE_API_MAX 4 | 
|  | 52 | #define IWL6050_UCODE_API_MAX 4 | 
| Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 53 |  | 
|  | 54 | /* Lowest firmware API version supported */ | 
| Wey-Yi Guy | 4424642 | 2009-10-23 13:42:34 -0700 | [diff] [blame] | 55 | #define IWL6000_UCODE_API_MIN 4 | 
|  | 56 | #define IWL6050_UCODE_API_MIN 4 | 
| Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 57 |  | 
|  | 58 | #define IWL6000_FW_PRE "iwlwifi-6000-" | 
|  | 59 | #define _IWL6000_MODULE_FIRMWARE(api) IWL6000_FW_PRE #api ".ucode" | 
|  | 60 | #define IWL6000_MODULE_FIRMWARE(api) _IWL6000_MODULE_FIRMWARE(api) | 
|  | 61 |  | 
|  | 62 | #define IWL6050_FW_PRE "iwlwifi-6050-" | 
|  | 63 | #define _IWL6050_MODULE_FIRMWARE(api) IWL6050_FW_PRE #api ".ucode" | 
|  | 64 | #define IWL6050_MODULE_FIRMWARE(api) _IWL6050_MODULE_FIRMWARE(api) | 
|  | 65 |  | 
| Wey-Yi Guy | 672639d | 2009-07-24 11:13:01 -0700 | [diff] [blame] | 66 | static void iwl6000_set_ct_threshold(struct iwl_priv *priv) | 
|  | 67 | { | 
|  | 68 | /* want Celsius */ | 
|  | 69 | priv->hw_params.ct_kill_threshold = CT_KILL_THRESHOLD; | 
|  | 70 | priv->hw_params.ct_kill_exit_threshold = CT_KILL_EXIT_THRESHOLD; | 
|  | 71 | } | 
|  | 72 |  | 
| Wey-Yi Guy | 65b7998 | 2009-07-31 14:28:07 -0700 | [diff] [blame] | 73 | /* NIC configuration for 6000 series */ | 
|  | 74 | static void iwl6000_nic_config(struct iwl_priv *priv) | 
|  | 75 | { | 
| Wey-Yi Guy | 9371d4e | 2009-09-11 10:38:10 -0700 | [diff] [blame] | 76 | u16 radio_cfg; | 
|  | 77 |  | 
|  | 78 | radio_cfg = iwl_eeprom_query16(priv, EEPROM_RADIO_CONFIG); | 
|  | 79 |  | 
|  | 80 | /* write radio config values to register */ | 
|  | 81 | if (EEPROM_RF_CFG_TYPE_MSK(radio_cfg) <= EEPROM_RF_CONFIG_TYPE_MAX) | 
|  | 82 | iwl_set_bit(priv, CSR_HW_IF_CONFIG_REG, | 
|  | 83 | EEPROM_RF_CFG_TYPE_MSK(radio_cfg) | | 
|  | 84 | EEPROM_RF_CFG_STEP_MSK(radio_cfg) | | 
|  | 85 | EEPROM_RF_CFG_DASH_MSK(radio_cfg)); | 
|  | 86 |  | 
|  | 87 | /* set CSR_HW_CONFIG_REG for uCode use */ | 
|  | 88 | iwl_set_bit(priv, CSR_HW_IF_CONFIG_REG, | 
|  | 89 | CSR_HW_IF_CONFIG_REG_BIT_RADIO_SI | | 
|  | 90 | CSR_HW_IF_CONFIG_REG_BIT_MAC_SI); | 
| Wey-Yi Guy | 65b7998 | 2009-07-31 14:28:07 -0700 | [diff] [blame] | 91 |  | 
|  | 92 | /* no locking required for register write */ | 
| Wey-Yi Guy | 740e7f5 | 2009-11-06 14:52:55 -0800 | [diff] [blame] | 93 | if (priv->cfg->pa_type == IWL_PA_INTERNAL) { | 
| Wey-Yi Guy | 65b7998 | 2009-07-31 14:28:07 -0700 | [diff] [blame] | 94 | /* 2x2 IPA phy type */ | 
|  | 95 | iwl_write32(priv, CSR_GP_DRIVER_REG, | 
|  | 96 | CSR_GP_DRIVER_REG_BIT_RADIO_SKU_2x2_IPA); | 
|  | 97 | } | 
|  | 98 | /* else do nothing, uCode configured */ | 
|  | 99 | } | 
|  | 100 |  | 
| Wey-Yi Guy | f3a2a42 | 2009-09-11 10:38:11 -0700 | [diff] [blame] | 101 | static struct iwl_sensitivity_ranges iwl6000_sensitivity = { | 
|  | 102 | .min_nrg_cck = 97, | 
|  | 103 | .max_nrg_cck = 0, /* not used, set to 0 */ | 
|  | 104 | .auto_corr_min_ofdm = 80, | 
|  | 105 | .auto_corr_min_ofdm_mrc = 128, | 
|  | 106 | .auto_corr_min_ofdm_x1 = 105, | 
|  | 107 | .auto_corr_min_ofdm_mrc_x1 = 192, | 
|  | 108 |  | 
|  | 109 | .auto_corr_max_ofdm = 145, | 
|  | 110 | .auto_corr_max_ofdm_mrc = 232, | 
| Wey-Yi Guy | 2494f63 | 2010-01-20 12:22:52 -0800 | [diff] [blame] | 111 | .auto_corr_max_ofdm_x1 = 110, | 
| Wey-Yi Guy | f3a2a42 | 2009-09-11 10:38:11 -0700 | [diff] [blame] | 112 | .auto_corr_max_ofdm_mrc_x1 = 232, | 
|  | 113 |  | 
|  | 114 | .auto_corr_min_cck = 125, | 
|  | 115 | .auto_corr_max_cck = 175, | 
|  | 116 | .auto_corr_min_cck_mrc = 160, | 
|  | 117 | .auto_corr_max_cck_mrc = 310, | 
|  | 118 | .nrg_th_cck = 97, | 
|  | 119 | .nrg_th_ofdm = 100, | 
| Wey-Yi Guy | 55036d6 | 2009-10-09 13:20:24 -0700 | [diff] [blame] | 120 |  | 
|  | 121 | .barker_corr_th_min = 190, | 
|  | 122 | .barker_corr_th_min_mrc = 390, | 
|  | 123 | .nrg_th_cca = 62, | 
| Wey-Yi Guy | f3a2a42 | 2009-09-11 10:38:11 -0700 | [diff] [blame] | 124 | }; | 
|  | 125 |  | 
|  | 126 | static int iwl6000_hw_set_hw_params(struct iwl_priv *priv) | 
|  | 127 | { | 
| Wey-Yi Guy | 88804e2 | 2009-10-09 13:20:28 -0700 | [diff] [blame] | 128 | if (priv->cfg->mod_params->num_of_queues >= IWL_MIN_NUM_QUEUES && | 
|  | 129 | priv->cfg->mod_params->num_of_queues <= IWL50_NUM_QUEUES) | 
|  | 130 | priv->cfg->num_of_queues = | 
|  | 131 | priv->cfg->mod_params->num_of_queues; | 
| Wey-Yi Guy | f3a2a42 | 2009-09-11 10:38:11 -0700 | [diff] [blame] | 132 |  | 
| Wey-Yi Guy | 88804e2 | 2009-10-09 13:20:28 -0700 | [diff] [blame] | 133 | priv->hw_params.max_txq_num = priv->cfg->num_of_queues; | 
| Wey-Yi Guy | f3a2a42 | 2009-09-11 10:38:11 -0700 | [diff] [blame] | 134 | priv->hw_params.dma_chnl_num = FH50_TCSR_CHNL_NUM; | 
|  | 135 | priv->hw_params.scd_bc_tbls_size = | 
| Wey-Yi Guy | 88804e2 | 2009-10-09 13:20:28 -0700 | [diff] [blame] | 136 | priv->cfg->num_of_queues * | 
|  | 137 | sizeof(struct iwl5000_scd_bc_tbl); | 
| Wey-Yi Guy | f3a2a42 | 2009-09-11 10:38:11 -0700 | [diff] [blame] | 138 | priv->hw_params.tfd_size = sizeof(struct iwl_tfd); | 
|  | 139 | priv->hw_params.max_stations = IWL5000_STATION_COUNT; | 
|  | 140 | priv->hw_params.bcast_sta_id = IWL5000_BROADCAST_ID; | 
|  | 141 |  | 
|  | 142 | priv->hw_params.max_data_size = IWL60_RTC_DATA_SIZE; | 
|  | 143 | priv->hw_params.max_inst_size = IWL60_RTC_INST_SIZE; | 
|  | 144 |  | 
|  | 145 | priv->hw_params.max_bsm_size = 0; | 
|  | 146 | priv->hw_params.ht40_channel =  BIT(IEEE80211_BAND_2GHZ) | | 
|  | 147 | BIT(IEEE80211_BAND_5GHZ); | 
|  | 148 | priv->hw_params.rx_wrt_ptr_reg = FH_RSCSR_CHNL0_WPTR; | 
|  | 149 |  | 
|  | 150 | priv->hw_params.tx_chains_num = num_of_ant(priv->cfg->valid_tx_ant); | 
|  | 151 | priv->hw_params.rx_chains_num = num_of_ant(priv->cfg->valid_rx_ant); | 
|  | 152 | priv->hw_params.valid_tx_ant = priv->cfg->valid_tx_ant; | 
|  | 153 | priv->hw_params.valid_rx_ant = priv->cfg->valid_rx_ant; | 
|  | 154 |  | 
|  | 155 | if (priv->cfg->ops->lib->temp_ops.set_ct_kill) | 
|  | 156 | priv->cfg->ops->lib->temp_ops.set_ct_kill(priv); | 
|  | 157 |  | 
|  | 158 | /* Set initial sensitivity parameters */ | 
|  | 159 | /* Set initial calibration set */ | 
|  | 160 | priv->hw_params.sens = &iwl6000_sensitivity; | 
| Abhijeet Kolekar | 07f33f9 | 2010-01-22 14:22:47 -0800 | [diff] [blame] | 161 | switch (priv->hw_rev & CSR_HW_REV_TYPE_MSK) { | 
|  | 162 | case CSR_HW_REV_TYPE_6x50: | 
|  | 163 | priv->hw_params.calib_init_cfg = | 
|  | 164 | BIT(IWL_CALIB_XTAL)		| | 
|  | 165 | BIT(IWL_CALIB_DC)		| | 
|  | 166 | BIT(IWL_CALIB_LO)		| | 
|  | 167 | BIT(IWL_CALIB_TX_IQ) 		| | 
|  | 168 | BIT(IWL_CALIB_BASE_BAND); | 
|  | 169 |  | 
|  | 170 | break; | 
|  | 171 | default: | 
|  | 172 | priv->hw_params.calib_init_cfg = | 
| Wey-Yi Guy | f3a2a42 | 2009-09-11 10:38:11 -0700 | [diff] [blame] | 173 | BIT(IWL_CALIB_XTAL)		| | 
|  | 174 | BIT(IWL_CALIB_LO)		| | 
|  | 175 | BIT(IWL_CALIB_TX_IQ) 		| | 
| Wey-Yi Guy | f3a2a42 | 2009-09-11 10:38:11 -0700 | [diff] [blame] | 176 | BIT(IWL_CALIB_BASE_BAND); | 
| Abhijeet Kolekar | 07f33f9 | 2010-01-22 14:22:47 -0800 | [diff] [blame] | 177 | break; | 
|  | 178 | } | 
|  | 179 |  | 
| Wey-Yi Guy | f3a2a42 | 2009-09-11 10:38:11 -0700 | [diff] [blame] | 180 | return 0; | 
|  | 181 | } | 
|  | 182 |  | 
| Wey-Yi Guy | 4a56e96 | 2009-10-23 13:42:29 -0700 | [diff] [blame] | 183 | static int iwl6000_hw_channel_switch(struct iwl_priv *priv, u16 channel) | 
|  | 184 | { | 
|  | 185 | struct iwl6000_channel_switch_cmd cmd; | 
|  | 186 | const struct iwl_channel_info *ch_info; | 
|  | 187 | struct iwl_host_cmd hcmd = { | 
|  | 188 | .id = REPLY_CHANNEL_SWITCH, | 
|  | 189 | .len = sizeof(cmd), | 
|  | 190 | .flags = CMD_SIZE_HUGE, | 
|  | 191 | .data = &cmd, | 
|  | 192 | }; | 
|  | 193 |  | 
|  | 194 | IWL_DEBUG_11H(priv, "channel switch from %d to %d\n", | 
|  | 195 | priv->active_rxon.channel, channel); | 
|  | 196 |  | 
|  | 197 | cmd.band = priv->band == IEEE80211_BAND_2GHZ; | 
|  | 198 | cmd.channel = cpu_to_le16(channel); | 
| Wey-Yi Guy | 0924e519 | 2009-11-06 14:52:54 -0800 | [diff] [blame] | 199 | cmd.rxon_flags = priv->staging_rxon.flags; | 
|  | 200 | cmd.rxon_filter_flags = priv->staging_rxon.filter_flags; | 
| Wey-Yi Guy | 4a56e96 | 2009-10-23 13:42:29 -0700 | [diff] [blame] | 201 | cmd.switch_time = cpu_to_le32(priv->ucode_beacon_time); | 
|  | 202 | ch_info = iwl_get_channel_info(priv, priv->band, channel); | 
|  | 203 | if (ch_info) | 
|  | 204 | cmd.expect_beacon = is_channel_radar(ch_info); | 
|  | 205 | else { | 
|  | 206 | IWL_ERR(priv, "invalid channel switch from %u to %u\n", | 
|  | 207 | priv->active_rxon.channel, channel); | 
|  | 208 | return -EFAULT; | 
|  | 209 | } | 
| Wey-Yi Guy | 0924e519 | 2009-11-06 14:52:54 -0800 | [diff] [blame] | 210 | priv->switch_rxon.channel = cpu_to_le16(channel); | 
|  | 211 | priv->switch_rxon.switch_in_progress = true; | 
| Wey-Yi Guy | 4a56e96 | 2009-10-23 13:42:29 -0700 | [diff] [blame] | 212 |  | 
|  | 213 | return iwl_send_cmd_sync(priv, &hcmd); | 
|  | 214 | } | 
|  | 215 |  | 
| Wey-Yi Guy | 672639d | 2009-07-24 11:13:01 -0700 | [diff] [blame] | 216 | static struct iwl_lib_ops iwl6000_lib = { | 
| Wey-Yi Guy | f3a2a42 | 2009-09-11 10:38:11 -0700 | [diff] [blame] | 217 | .set_hw_params = iwl6000_hw_set_hw_params, | 
| Wey-Yi Guy | 672639d | 2009-07-24 11:13:01 -0700 | [diff] [blame] | 218 | .txq_update_byte_cnt_tbl = iwl5000_txq_update_byte_cnt_tbl, | 
|  | 219 | .txq_inval_byte_cnt_tbl = iwl5000_txq_inval_byte_cnt_tbl, | 
|  | 220 | .txq_set_sched = iwl5000_txq_set_sched, | 
|  | 221 | .txq_agg_enable = iwl5000_txq_agg_enable, | 
|  | 222 | .txq_agg_disable = iwl5000_txq_agg_disable, | 
|  | 223 | .txq_attach_buf_to_tfd = iwl_hw_txq_attach_buf_to_tfd, | 
|  | 224 | .txq_free_tfd = iwl_hw_txq_free_tfd, | 
|  | 225 | .txq_init = iwl_hw_tx_queue_init, | 
|  | 226 | .rx_handler_setup = iwl5000_rx_handler_setup, | 
|  | 227 | .setup_deferred_work = iwl5000_setup_deferred_work, | 
|  | 228 | .is_valid_rtc_data_addr = iwl5000_hw_valid_rtc_data_addr, | 
|  | 229 | .load_ucode = iwl5000_load_ucode, | 
| Reinette Chatre | b7a7940 | 2009-09-25 14:24:23 -0700 | [diff] [blame] | 230 | .dump_nic_event_log = iwl_dump_nic_event_log, | 
|  | 231 | .dump_nic_error_log = iwl_dump_nic_error_log, | 
| Wey-Yi Guy | 696bdee | 2009-12-10 14:37:25 -0800 | [diff] [blame] | 232 | .dump_csr = iwl_dump_csr, | 
| Wey-Yi Guy | 1b3eb82 | 2010-01-15 13:43:39 -0800 | [diff] [blame] | 233 | .dump_fh = iwl_dump_fh, | 
| Wey-Yi Guy | 672639d | 2009-07-24 11:13:01 -0700 | [diff] [blame] | 234 | .init_alive_start = iwl5000_init_alive_start, | 
|  | 235 | .alive_notify = iwl5000_alive_notify, | 
|  | 236 | .send_tx_power = iwl5000_send_tx_power, | 
|  | 237 | .update_chain_flags = iwl_update_chain_flags, | 
| Wey-Yi Guy | 4a56e96 | 2009-10-23 13:42:29 -0700 | [diff] [blame] | 238 | .set_channel_switch = iwl6000_hw_channel_switch, | 
| Wey-Yi Guy | 672639d | 2009-07-24 11:13:01 -0700 | [diff] [blame] | 239 | .apm_ops = { | 
| Ben Cahill | fadb358 | 2009-10-23 13:42:21 -0700 | [diff] [blame] | 240 | .init = iwl_apm_init, | 
| Abhijeet Kolekar | d68b603 | 2009-10-02 13:44:04 -0700 | [diff] [blame] | 241 | .stop = iwl_apm_stop, | 
| Wey-Yi Guy | 65b7998 | 2009-07-31 14:28:07 -0700 | [diff] [blame] | 242 | .config = iwl6000_nic_config, | 
| Wey-Yi Guy | 672639d | 2009-07-24 11:13:01 -0700 | [diff] [blame] | 243 | .set_pwr_src = iwl_set_pwr_src, | 
|  | 244 | }, | 
|  | 245 | .eeprom_ops = { | 
|  | 246 | .regulatory_bands = { | 
|  | 247 | EEPROM_5000_REG_BAND_1_CHANNELS, | 
|  | 248 | EEPROM_5000_REG_BAND_2_CHANNELS, | 
|  | 249 | EEPROM_5000_REG_BAND_3_CHANNELS, | 
|  | 250 | EEPROM_5000_REG_BAND_4_CHANNELS, | 
|  | 251 | EEPROM_5000_REG_BAND_5_CHANNELS, | 
| Wey-Yi Guy | 7aafef1 | 2009-08-07 15:41:38 -0700 | [diff] [blame] | 252 | EEPROM_5000_REG_BAND_24_HT40_CHANNELS, | 
|  | 253 | EEPROM_5000_REG_BAND_52_HT40_CHANNELS | 
| Wey-Yi Guy | 672639d | 2009-07-24 11:13:01 -0700 | [diff] [blame] | 254 | }, | 
|  | 255 | .verify_signature  = iwlcore_eeprom_verify_signature, | 
|  | 256 | .acquire_semaphore = iwlcore_eeprom_acquire_semaphore, | 
|  | 257 | .release_semaphore = iwlcore_eeprom_release_semaphore, | 
|  | 258 | .calib_version	= iwl5000_eeprom_calib_version, | 
|  | 259 | .query_addr = iwl5000_eeprom_query_addr, | 
| Wey-Yi Guy | ab9fd1b | 2009-08-21 13:34:23 -0700 | [diff] [blame] | 260 | .update_enhanced_txpower = iwlcore_eeprom_enhanced_txpower, | 
| Wey-Yi Guy | 672639d | 2009-07-24 11:13:01 -0700 | [diff] [blame] | 261 | }, | 
|  | 262 | .post_associate = iwl_post_associate, | 
|  | 263 | .isr = iwl_isr_ict, | 
|  | 264 | .config_ap = iwl_config_ap, | 
|  | 265 | .temp_ops = { | 
|  | 266 | .temperature = iwl5000_temperature, | 
|  | 267 | .set_ct_kill = iwl6000_set_ct_threshold, | 
|  | 268 | }, | 
| Reinette Chatre | 3459ab5 | 2010-01-22 14:22:49 -0800 | [diff] [blame] | 269 | .add_bcast_station = iwl_add_bcast_station, | 
| Wey-Yi Guy | 672639d | 2009-07-24 11:13:01 -0700 | [diff] [blame] | 270 | }; | 
|  | 271 |  | 
| Emese Revfy | 45d5d80 | 2009-12-14 00:59:53 +0100 | [diff] [blame] | 272 | static const struct iwl_ops iwl6000_ops = { | 
| Jay Sternberg | cc0f555 | 2009-07-17 09:30:16 -0700 | [diff] [blame] | 273 | .ucode = &iwl5000_ucode, | 
| Wey-Yi Guy | 672639d | 2009-07-24 11:13:01 -0700 | [diff] [blame] | 274 | .lib = &iwl6000_lib, | 
| Jay Sternberg | 29f35c1 | 2009-01-29 11:09:16 -0800 | [diff] [blame] | 275 | .hcmd = &iwl5000_hcmd, | 
| Wey-Yi Guy | d8c07e7 | 2009-09-25 14:24:26 -0700 | [diff] [blame] | 276 | .utils = &iwl5000_hcmd_utils, | 
| Johannes Berg | e932a60 | 2009-10-02 13:44:03 -0700 | [diff] [blame] | 277 | .led = &iwlagn_led_ops, | 
| Jay Sternberg | 29f35c1 | 2009-01-29 11:09:16 -0800 | [diff] [blame] | 278 | }; | 
|  | 279 |  | 
| Wey-Yi Guy | 65b7998 | 2009-07-31 14:28:07 -0700 | [diff] [blame] | 280 | /* | 
|  | 281 | * "i": Internal configuration, use internal Power Amplifier | 
|  | 282 | */ | 
|  | 283 | struct iwl_cfg iwl6000i_2agn_cfg = { | 
|  | 284 | .name = "6000 Series 2x2 AGN", | 
|  | 285 | .fw_name_pre = IWL6000_FW_PRE, | 
|  | 286 | .ucode_api_max = IWL6000_UCODE_API_MAX, | 
|  | 287 | .ucode_api_min = IWL6000_UCODE_API_MIN, | 
|  | 288 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, | 
|  | 289 | .ops = &iwl6000_ops, | 
| Wey-Yi Guy | 415e499 | 2009-08-13 13:30:54 -0700 | [diff] [blame] | 290 | .eeprom_size = OTP_LOW_IMAGE_SIZE, | 
| Wey-Yi Guy | 1f4b966 | 2009-09-17 10:43:46 -0700 | [diff] [blame] | 291 | .eeprom_ver = EEPROM_6000_EEPROM_VERSION, | 
| Wey-Yi Guy | 65b7998 | 2009-07-31 14:28:07 -0700 | [diff] [blame] | 292 | .eeprom_calib_ver = EEPROM_5000_TX_POWER_VERSION, | 
| Wey-Yi Guy | 88804e2 | 2009-10-09 13:20:28 -0700 | [diff] [blame] | 293 | .num_of_queues = IWL50_NUM_QUEUES, | 
|  | 294 | .num_of_ampdu_queues = IWL50_NUM_AMPDU_QUEUES, | 
| Wey-Yi Guy | 65b7998 | 2009-07-31 14:28:07 -0700 | [diff] [blame] | 295 | .mod_params = &iwl50_mod_params, | 
|  | 296 | .valid_tx_ant = ANT_BC, | 
|  | 297 | .valid_rx_ant = ANT_BC, | 
| Ben Cahill | fadb358 | 2009-10-23 13:42:21 -0700 | [diff] [blame] | 298 | .pll_cfg_val = 0, | 
| Ben Cahill | a6c5c73 | 2009-10-30 14:36:07 -0700 | [diff] [blame] | 299 | .set_l0s = true, | 
| Ben Cahill | fadb358 | 2009-10-23 13:42:21 -0700 | [diff] [blame] | 300 | .use_bsm = false, | 
| Wey-Yi Guy | 65b7998 | 2009-07-31 14:28:07 -0700 | [diff] [blame] | 301 | .pa_type = IWL_PA_INTERNAL, | 
| Wey-Yi Guy | 415e499 | 2009-08-13 13:30:54 -0700 | [diff] [blame] | 302 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, | 
|  | 303 | .shadow_ram_support = true, | 
| Daniel C Halperin | b261793 | 2009-08-13 13:30:59 -0700 | [diff] [blame] | 304 | .ht_greenfield_support = true, | 
| Wey-Yi Guy | f2d0d0e | 2009-09-11 10:38:14 -0700 | [diff] [blame] | 305 | .led_compensation = 51, | 
| Wey-Yi Guy | 47eef9b | 2009-09-17 10:43:44 -0700 | [diff] [blame] | 306 | .use_rts_for_ht = true, /* use rts/cts protection */ | 
| Wey-Yi Guy | d8c07e7 | 2009-09-25 14:24:26 -0700 | [diff] [blame] | 307 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | 
| Johannes Berg | 78f5fb7 | 2009-09-25 14:24:27 -0700 | [diff] [blame] | 308 | .supports_idle = true, | 
| Wey-Yi Guy | 6047b4f | 2009-10-23 13:42:27 -0700 | [diff] [blame] | 309 | .adv_thermal_throttle = true, | 
| Wey-Yi Guy | 480e840 | 2009-10-23 13:42:28 -0700 | [diff] [blame] | 310 | .support_ct_kill_exit = true, | 
| Trieu 'Andrew' Nguyen | 3e4fb5f | 2010-01-22 14:22:46 -0800 | [diff] [blame] | 311 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | 
| Ben Cahill | d4fe5ac | 2010-02-05 11:33:46 -0800 | [diff] [blame] | 312 | .chain_noise_scale = 1000, | 
| Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 313 | }; | 
|  | 314 |  | 
| Wey-Yi Guy | 5953a62 | 2009-09-17 10:43:53 -0700 | [diff] [blame] | 315 | struct iwl_cfg iwl6000i_2abg_cfg = { | 
|  | 316 | .name = "6000 Series 2x2 ABG", | 
|  | 317 | .fw_name_pre = IWL6000_FW_PRE, | 
|  | 318 | .ucode_api_max = IWL6000_UCODE_API_MAX, | 
|  | 319 | .ucode_api_min = IWL6000_UCODE_API_MIN, | 
|  | 320 | .sku = IWL_SKU_A|IWL_SKU_G, | 
|  | 321 | .ops = &iwl6000_ops, | 
|  | 322 | .eeprom_size = OTP_LOW_IMAGE_SIZE, | 
|  | 323 | .eeprom_ver = EEPROM_6000_EEPROM_VERSION, | 
|  | 324 | .eeprom_calib_ver = EEPROM_5000_TX_POWER_VERSION, | 
| Wey-Yi Guy | 88804e2 | 2009-10-09 13:20:28 -0700 | [diff] [blame] | 325 | .num_of_queues = IWL50_NUM_QUEUES, | 
|  | 326 | .num_of_ampdu_queues = IWL50_NUM_AMPDU_QUEUES, | 
| Wey-Yi Guy | 5953a62 | 2009-09-17 10:43:53 -0700 | [diff] [blame] | 327 | .mod_params = &iwl50_mod_params, | 
|  | 328 | .valid_tx_ant = ANT_BC, | 
|  | 329 | .valid_rx_ant = ANT_BC, | 
| Ben Cahill | fadb358 | 2009-10-23 13:42:21 -0700 | [diff] [blame] | 330 | .pll_cfg_val = 0, | 
| Ben Cahill | a6c5c73 | 2009-10-30 14:36:07 -0700 | [diff] [blame] | 331 | .set_l0s = true, | 
| Ben Cahill | fadb358 | 2009-10-23 13:42:21 -0700 | [diff] [blame] | 332 | .use_bsm = false, | 
| Wey-Yi Guy | 5953a62 | 2009-09-17 10:43:53 -0700 | [diff] [blame] | 333 | .pa_type = IWL_PA_INTERNAL, | 
|  | 334 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, | 
|  | 335 | .shadow_ram_support = true, | 
|  | 336 | .ht_greenfield_support = true, | 
|  | 337 | .led_compensation = 51, | 
| Wey-Yi Guy | d8c07e7 | 2009-09-25 14:24:26 -0700 | [diff] [blame] | 338 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | 
| Johannes Berg | 78f5fb7 | 2009-09-25 14:24:27 -0700 | [diff] [blame] | 339 | .supports_idle = true, | 
| Wey-Yi Guy | 6047b4f | 2009-10-23 13:42:27 -0700 | [diff] [blame] | 340 | .adv_thermal_throttle = true, | 
| Wey-Yi Guy | 480e840 | 2009-10-23 13:42:28 -0700 | [diff] [blame] | 341 | .support_ct_kill_exit = true, | 
| Trieu 'Andrew' Nguyen | 3e4fb5f | 2010-01-22 14:22:46 -0800 | [diff] [blame] | 342 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | 
| Ben Cahill | d4fe5ac | 2010-02-05 11:33:46 -0800 | [diff] [blame] | 343 | .chain_noise_scale = 1000, | 
| Wey-Yi Guy | 5953a62 | 2009-09-17 10:43:53 -0700 | [diff] [blame] | 344 | }; | 
|  | 345 |  | 
|  | 346 | struct iwl_cfg iwl6000i_2bg_cfg = { | 
|  | 347 | .name = "6000 Series 2x2 BG", | 
|  | 348 | .fw_name_pre = IWL6000_FW_PRE, | 
|  | 349 | .ucode_api_max = IWL6000_UCODE_API_MAX, | 
|  | 350 | .ucode_api_min = IWL6000_UCODE_API_MIN, | 
|  | 351 | .sku = IWL_SKU_G, | 
|  | 352 | .ops = &iwl6000_ops, | 
|  | 353 | .eeprom_size = OTP_LOW_IMAGE_SIZE, | 
|  | 354 | .eeprom_ver = EEPROM_6000_EEPROM_VERSION, | 
|  | 355 | .eeprom_calib_ver = EEPROM_5000_TX_POWER_VERSION, | 
| Wey-Yi Guy | 88804e2 | 2009-10-09 13:20:28 -0700 | [diff] [blame] | 356 | .num_of_queues = IWL50_NUM_QUEUES, | 
|  | 357 | .num_of_ampdu_queues = IWL50_NUM_AMPDU_QUEUES, | 
| Wey-Yi Guy | 5953a62 | 2009-09-17 10:43:53 -0700 | [diff] [blame] | 358 | .mod_params = &iwl50_mod_params, | 
|  | 359 | .valid_tx_ant = ANT_BC, | 
|  | 360 | .valid_rx_ant = ANT_BC, | 
| Ben Cahill | fadb358 | 2009-10-23 13:42:21 -0700 | [diff] [blame] | 361 | .pll_cfg_val = 0, | 
| Ben Cahill | a6c5c73 | 2009-10-30 14:36:07 -0700 | [diff] [blame] | 362 | .set_l0s = true, | 
| Ben Cahill | fadb358 | 2009-10-23 13:42:21 -0700 | [diff] [blame] | 363 | .use_bsm = false, | 
| Wey-Yi Guy | 5953a62 | 2009-09-17 10:43:53 -0700 | [diff] [blame] | 364 | .pa_type = IWL_PA_INTERNAL, | 
|  | 365 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, | 
|  | 366 | .shadow_ram_support = true, | 
|  | 367 | .ht_greenfield_support = true, | 
|  | 368 | .led_compensation = 51, | 
| Wey-Yi Guy | d8c07e7 | 2009-09-25 14:24:26 -0700 | [diff] [blame] | 369 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | 
| Johannes Berg | 78f5fb7 | 2009-09-25 14:24:27 -0700 | [diff] [blame] | 370 | .supports_idle = true, | 
| Wey-Yi Guy | 6047b4f | 2009-10-23 13:42:27 -0700 | [diff] [blame] | 371 | .adv_thermal_throttle = true, | 
| Wey-Yi Guy | 480e840 | 2009-10-23 13:42:28 -0700 | [diff] [blame] | 372 | .support_ct_kill_exit = true, | 
| Trieu 'Andrew' Nguyen | 3e4fb5f | 2010-01-22 14:22:46 -0800 | [diff] [blame] | 373 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | 
| Ben Cahill | d4fe5ac | 2010-02-05 11:33:46 -0800 | [diff] [blame] | 374 | .chain_noise_scale = 1000, | 
| Wey-Yi Guy | 5953a62 | 2009-09-17 10:43:53 -0700 | [diff] [blame] | 375 | }; | 
|  | 376 |  | 
| Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 377 | struct iwl_cfg iwl6050_2agn_cfg = { | 
|  | 378 | .name = "6050 Series 2x2 AGN", | 
|  | 379 | .fw_name_pre = IWL6050_FW_PRE, | 
|  | 380 | .ucode_api_max = IWL6050_UCODE_API_MAX, | 
|  | 381 | .ucode_api_min = IWL6050_UCODE_API_MIN, | 
|  | 382 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, | 
| Ben Cahill | ed56a3f | 2010-02-05 11:33:47 -0800 | [diff] [blame^] | 383 | .ops = &iwl6000_ops, | 
| Wey-Yi Guy | 415e499 | 2009-08-13 13:30:54 -0700 | [diff] [blame] | 384 | .eeprom_size = OTP_LOW_IMAGE_SIZE, | 
| Wey-Yi Guy | 32b7e24 | 2009-10-16 14:25:51 -0700 | [diff] [blame] | 385 | .eeprom_ver = EEPROM_6050_EEPROM_VERSION, | 
| Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 386 | .eeprom_calib_ver = EEPROM_5000_TX_POWER_VERSION, | 
| Wey-Yi Guy | 88804e2 | 2009-10-09 13:20:28 -0700 | [diff] [blame] | 387 | .num_of_queues = IWL50_NUM_QUEUES, | 
|  | 388 | .num_of_ampdu_queues = IWL50_NUM_AMPDU_QUEUES, | 
| Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 389 | .mod_params = &iwl50_mod_params, | 
| Jay Sternberg | 542cc79 | 2009-05-08 13:44:46 -0700 | [diff] [blame] | 390 | .valid_tx_ant = ANT_AB, | 
|  | 391 | .valid_rx_ant = ANT_AB, | 
| Ben Cahill | fadb358 | 2009-10-23 13:42:21 -0700 | [diff] [blame] | 392 | .pll_cfg_val = 0, | 
| Ben Cahill | a6c5c73 | 2009-10-30 14:36:07 -0700 | [diff] [blame] | 393 | .set_l0s = true, | 
| Ben Cahill | fadb358 | 2009-10-23 13:42:21 -0700 | [diff] [blame] | 394 | .use_bsm = false, | 
| Wey-Yi Guy | 65b7998 | 2009-07-31 14:28:07 -0700 | [diff] [blame] | 395 | .pa_type = IWL_PA_SYSTEM, | 
| Wey-Yi Guy | 3ab312a | 2009-10-16 14:25:52 -0700 | [diff] [blame] | 396 | .max_ll_items = OTP_MAX_LL_ITEMS_6x50, | 
| Wey-Yi Guy | 415e499 | 2009-08-13 13:30:54 -0700 | [diff] [blame] | 397 | .shadow_ram_support = true, | 
| Daniel C Halperin | b261793 | 2009-08-13 13:30:59 -0700 | [diff] [blame] | 398 | .ht_greenfield_support = true, | 
| Wey-Yi Guy | f2d0d0e | 2009-09-11 10:38:14 -0700 | [diff] [blame] | 399 | .led_compensation = 51, | 
| Wey-Yi Guy | 47eef9b | 2009-09-17 10:43:44 -0700 | [diff] [blame] | 400 | .use_rts_for_ht = true, /* use rts/cts protection */ | 
| Wey-Yi Guy | d8c07e7 | 2009-09-25 14:24:26 -0700 | [diff] [blame] | 401 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | 
| Johannes Berg | 78f5fb7 | 2009-09-25 14:24:27 -0700 | [diff] [blame] | 402 | .supports_idle = true, | 
| Wey-Yi Guy | 6047b4f | 2009-10-23 13:42:27 -0700 | [diff] [blame] | 403 | .adv_thermal_throttle = true, | 
| Wey-Yi Guy | 480e840 | 2009-10-23 13:42:28 -0700 | [diff] [blame] | 404 | .support_ct_kill_exit = true, | 
| Trieu 'Andrew' Nguyen | 3e4fb5f | 2010-01-22 14:22:46 -0800 | [diff] [blame] | 405 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | 
| Ben Cahill | d4fe5ac | 2010-02-05 11:33:46 -0800 | [diff] [blame] | 406 | .chain_noise_scale = 1500, | 
| Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 407 | }; | 
|  | 408 |  | 
| Wey-Yi Guy | 5953a62 | 2009-09-17 10:43:53 -0700 | [diff] [blame] | 409 | struct iwl_cfg iwl6050_2abg_cfg = { | 
|  | 410 | .name = "6050 Series 2x2 ABG", | 
|  | 411 | .fw_name_pre = IWL6050_FW_PRE, | 
|  | 412 | .ucode_api_max = IWL6050_UCODE_API_MAX, | 
|  | 413 | .ucode_api_min = IWL6050_UCODE_API_MIN, | 
|  | 414 | .sku = IWL_SKU_A|IWL_SKU_G, | 
| Ben Cahill | ed56a3f | 2010-02-05 11:33:47 -0800 | [diff] [blame^] | 415 | .ops = &iwl6000_ops, | 
| Wey-Yi Guy | 5953a62 | 2009-09-17 10:43:53 -0700 | [diff] [blame] | 416 | .eeprom_size = OTP_LOW_IMAGE_SIZE, | 
| Wey-Yi Guy | 32b7e24 | 2009-10-16 14:25:51 -0700 | [diff] [blame] | 417 | .eeprom_ver = EEPROM_6050_EEPROM_VERSION, | 
| Wey-Yi Guy | 5953a62 | 2009-09-17 10:43:53 -0700 | [diff] [blame] | 418 | .eeprom_calib_ver = EEPROM_5000_TX_POWER_VERSION, | 
| Wey-Yi Guy | 88804e2 | 2009-10-09 13:20:28 -0700 | [diff] [blame] | 419 | .num_of_queues = IWL50_NUM_QUEUES, | 
|  | 420 | .num_of_ampdu_queues = IWL50_NUM_AMPDU_QUEUES, | 
| Wey-Yi Guy | 5953a62 | 2009-09-17 10:43:53 -0700 | [diff] [blame] | 421 | .mod_params = &iwl50_mod_params, | 
|  | 422 | .valid_tx_ant = ANT_AB, | 
|  | 423 | .valid_rx_ant = ANT_AB, | 
| Ben Cahill | fadb358 | 2009-10-23 13:42:21 -0700 | [diff] [blame] | 424 | .pll_cfg_val = 0, | 
| Ben Cahill | a6c5c73 | 2009-10-30 14:36:07 -0700 | [diff] [blame] | 425 | .set_l0s = true, | 
| Ben Cahill | fadb358 | 2009-10-23 13:42:21 -0700 | [diff] [blame] | 426 | .use_bsm = false, | 
| Wey-Yi Guy | 5953a62 | 2009-09-17 10:43:53 -0700 | [diff] [blame] | 427 | .pa_type = IWL_PA_SYSTEM, | 
| Wey-Yi Guy | 3ab312a | 2009-10-16 14:25:52 -0700 | [diff] [blame] | 428 | .max_ll_items = OTP_MAX_LL_ITEMS_6x50, | 
| Wey-Yi Guy | 5953a62 | 2009-09-17 10:43:53 -0700 | [diff] [blame] | 429 | .shadow_ram_support = true, | 
|  | 430 | .ht_greenfield_support = true, | 
|  | 431 | .led_compensation = 51, | 
| Wey-Yi Guy | d8c07e7 | 2009-09-25 14:24:26 -0700 | [diff] [blame] | 432 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | 
| Johannes Berg | 78f5fb7 | 2009-09-25 14:24:27 -0700 | [diff] [blame] | 433 | .supports_idle = true, | 
| Wey-Yi Guy | 6047b4f | 2009-10-23 13:42:27 -0700 | [diff] [blame] | 434 | .adv_thermal_throttle = true, | 
| Wey-Yi Guy | 480e840 | 2009-10-23 13:42:28 -0700 | [diff] [blame] | 435 | .support_ct_kill_exit = true, | 
| Trieu 'Andrew' Nguyen | 3e4fb5f | 2010-01-22 14:22:46 -0800 | [diff] [blame] | 436 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | 
| Ben Cahill | d4fe5ac | 2010-02-05 11:33:46 -0800 | [diff] [blame] | 437 | .chain_noise_scale = 1500, | 
| Wey-Yi Guy | 5953a62 | 2009-09-17 10:43:53 -0700 | [diff] [blame] | 438 | }; | 
|  | 439 |  | 
| Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 440 | struct iwl_cfg iwl6000_3agn_cfg = { | 
|  | 441 | .name = "6000 Series 3x3 AGN", | 
|  | 442 | .fw_name_pre = IWL6000_FW_PRE, | 
|  | 443 | .ucode_api_max = IWL6000_UCODE_API_MAX, | 
|  | 444 | .ucode_api_min = IWL6000_UCODE_API_MIN, | 
|  | 445 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, | 
| Jay Sternberg | 29f35c1 | 2009-01-29 11:09:16 -0800 | [diff] [blame] | 446 | .ops = &iwl6000_ops, | 
| Wey-Yi Guy | 415e499 | 2009-08-13 13:30:54 -0700 | [diff] [blame] | 447 | .eeprom_size = OTP_LOW_IMAGE_SIZE, | 
| Wey-Yi Guy | 1f4b966 | 2009-09-17 10:43:46 -0700 | [diff] [blame] | 448 | .eeprom_ver = EEPROM_6000_EEPROM_VERSION, | 
| Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 449 | .eeprom_calib_ver = EEPROM_5000_TX_POWER_VERSION, | 
| Wey-Yi Guy | 88804e2 | 2009-10-09 13:20:28 -0700 | [diff] [blame] | 450 | .num_of_queues = IWL50_NUM_QUEUES, | 
|  | 451 | .num_of_ampdu_queues = IWL50_NUM_AMPDU_QUEUES, | 
| Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 452 | .mod_params = &iwl50_mod_params, | 
| Jay Sternberg | c0bac76 | 2009-02-02 16:21:14 -0800 | [diff] [blame] | 453 | .valid_tx_ant = ANT_ABC, | 
|  | 454 | .valid_rx_ant = ANT_ABC, | 
| Ben Cahill | fadb358 | 2009-10-23 13:42:21 -0700 | [diff] [blame] | 455 | .pll_cfg_val = 0, | 
| Ben Cahill | a6c5c73 | 2009-10-30 14:36:07 -0700 | [diff] [blame] | 456 | .set_l0s = true, | 
| Ben Cahill | fadb358 | 2009-10-23 13:42:21 -0700 | [diff] [blame] | 457 | .use_bsm = false, | 
| Wey-Yi Guy | 65b7998 | 2009-07-31 14:28:07 -0700 | [diff] [blame] | 458 | .pa_type = IWL_PA_SYSTEM, | 
| Wey-Yi Guy | 415e499 | 2009-08-13 13:30:54 -0700 | [diff] [blame] | 459 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, | 
|  | 460 | .shadow_ram_support = true, | 
| Daniel C Halperin | b261793 | 2009-08-13 13:30:59 -0700 | [diff] [blame] | 461 | .ht_greenfield_support = true, | 
| Wey-Yi Guy | f2d0d0e | 2009-09-11 10:38:14 -0700 | [diff] [blame] | 462 | .led_compensation = 51, | 
| Wey-Yi Guy | 47eef9b | 2009-09-17 10:43:44 -0700 | [diff] [blame] | 463 | .use_rts_for_ht = true, /* use rts/cts protection */ | 
| Wey-Yi Guy | d8c07e7 | 2009-09-25 14:24:26 -0700 | [diff] [blame] | 464 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | 
| Johannes Berg | 78f5fb7 | 2009-09-25 14:24:27 -0700 | [diff] [blame] | 465 | .supports_idle = true, | 
| Wey-Yi Guy | 6047b4f | 2009-10-23 13:42:27 -0700 | [diff] [blame] | 466 | .adv_thermal_throttle = true, | 
| Wey-Yi Guy | 480e840 | 2009-10-23 13:42:28 -0700 | [diff] [blame] | 467 | .support_ct_kill_exit = true, | 
| Trieu 'Andrew' Nguyen | 3e4fb5f | 2010-01-22 14:22:46 -0800 | [diff] [blame] | 468 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | 
| Ben Cahill | d4fe5ac | 2010-02-05 11:33:46 -0800 | [diff] [blame] | 469 | .chain_noise_scale = 1000, | 
| Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 470 | }; | 
|  | 471 |  | 
| Jay Sternberg | e122837 | 2009-01-19 15:30:34 -0800 | [diff] [blame] | 472 | MODULE_FIRMWARE(IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_MAX)); | 
|  | 473 | MODULE_FIRMWARE(IWL6050_MODULE_FIRMWARE(IWL6050_UCODE_API_MAX)); |