27 #include <linux/module.h>
35 #define IWL6000_UCODE_API_MAX 6
36 #define IWL6050_UCODE_API_MAX 5
37 #define IWL6000G2_UCODE_API_MAX 6
38 #define IWL6035_UCODE_API_MAX 6
41 #define IWL6000_UCODE_API_OK 4
42 #define IWL6000G2_UCODE_API_OK 5
43 #define IWL6050_UCODE_API_OK 5
44 #define IWL6000G2B_UCODE_API_OK 6
45 #define IWL6035_UCODE_API_OK 6
48 #define IWL6000_UCODE_API_MIN 4
49 #define IWL6050_UCODE_API_MIN 4
50 #define IWL6000G2_UCODE_API_MIN 5
51 #define IWL6035_UCODE_API_MIN 6
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)
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"
84 .shadow_ram_support =
true,
85 .led_compensation = 51,
86 .adv_thermal_throttle =
true,
87 .support_ct_kill_exit =
true,
89 .chain_noise_scale = 1000,
91 .max_event_log_size = 512,
92 .shadow_reg_enable =
false,
100 .shadow_ram_support =
true,
101 .led_compensation = 51,
102 .adv_thermal_throttle =
true,
103 .support_ct_kill_exit =
true,
105 .chain_noise_scale = 1500,
107 .max_event_log_size = 1024,
108 .shadow_reg_enable =
false,
116 .shadow_ram_support =
true,
117 .led_compensation = 57,
118 .adv_thermal_throttle =
true,
119 .support_ct_kill_exit =
true,
121 .chain_noise_scale = 1000,
123 .max_event_log_size = 512,
124 .shadow_reg_enable =
false,
128 .ht_greenfield_support =
true,
129 .use_rts_for_aggregation =
true,
135 .advanced_bt_coexist =
true,
139 .bt_sco_disable =
true,
143 .regulatory_bands = {
152 .enhanced_txpower =
true,
155 #define IWL_DEVICE_6005 \
156 .fw_name_pre = IWL6005_FW_PRE, \
157 .ucode_api_max = IWL6000G2_UCODE_API_MAX, \
158 .ucode_api_ok = IWL6000G2_UCODE_API_OK, \
159 .ucode_api_min = IWL6000G2_UCODE_API_MIN, \
160 .device_family = IWL_DEVICE_FAMILY_6005, \
161 .max_inst_size = IWL60_RTC_INST_SIZE, \
162 .max_data_size = IWL60_RTC_DATA_SIZE, \
163 .eeprom_ver = EEPROM_6005_EEPROM_VERSION, \
164 .eeprom_calib_ver = EEPROM_6005_TX_POWER_VERSION, \
165 .base_params = &iwl6000_g2_base_params, \
166 .eeprom_params = &iwl6000_eeprom_params, \
167 .need_temp_offset_calib = true, \
168 .led_mode = IWL_LED_RF_STATE
171 .name =
"Intel(R) Centrino(R) Advanced-N 6205 AGN",
173 .ht_params = &iwl6000_ht_params,
177 .name =
"Intel(R) Centrino(R) Advanced-N 6205 ABG",
182 .name =
"Intel(R) Centrino(R) Advanced-N 6205 BG",
187 .name =
"Intel(R) Centrino(R) Advanced-N 6205S AGN",
189 .ht_params = &iwl6000_ht_params,
193 .name =
"Intel(R) Centrino(R) Advanced-N 6205D AGN",
195 .ht_params = &iwl6000_ht_params,
199 .name =
"Intel(R) Centrino(R) Advanced-N 6206 AGN",
201 .ht_params = &iwl6000_ht_params,
205 .name =
"Intel(R) Centrino(R) Advanced-N 6207 AGN",
207 .ht_params = &iwl6000_ht_params,
210 #define IWL_DEVICE_6030 \
211 .fw_name_pre = IWL6030_FW_PRE, \
212 .ucode_api_max = IWL6000G2_UCODE_API_MAX, \
213 .ucode_api_ok = IWL6000G2B_UCODE_API_OK, \
214 .ucode_api_min = IWL6000G2_UCODE_API_MIN, \
215 .device_family = IWL_DEVICE_FAMILY_6030, \
216 .max_inst_size = IWL60_RTC_INST_SIZE, \
217 .max_data_size = IWL60_RTC_DATA_SIZE, \
218 .eeprom_ver = EEPROM_6030_EEPROM_VERSION, \
219 .eeprom_calib_ver = EEPROM_6030_TX_POWER_VERSION, \
220 .base_params = &iwl6000_g2_base_params, \
221 .bt_params = &iwl6000_bt_params, \
222 .eeprom_params = &iwl6000_eeprom_params, \
223 .need_temp_offset_calib = true, \
224 .led_mode = IWL_LED_RF_STATE, \
228 .name =
"Intel(R) Centrino(R) Advanced-N 6230 AGN",
230 .ht_params = &iwl6000_ht_params,
234 .name =
"Intel(R) Centrino(R) Advanced-N 6230 ABG",
239 .name =
"Intel(R) Centrino(R) Advanced-N 6230 BGN",
241 .ht_params = &iwl6000_ht_params,
245 .name =
"Intel(R) Centrino(R) Advanced-N 6230 BG",
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 .eeprom_params = &iwl6000_eeprom_params, \
262 .need_temp_offset_calib = true, \
263 .led_mode = IWL_LED_RF_STATE, \
267 .name =
"Intel(R) Centrino(R) Advanced-N 6235 AGN",
269 .ht_params = &iwl6000_ht_params,
273 .name =
"Intel(R) Centrino(R) Wireless-N 1030 BGN",
275 .ht_params = &iwl6000_ht_params,
279 .name =
"Intel(R) Centrino(R) Wireless-N 1030 BG",
284 .name =
"Intel(R) Centrino(R) Wireless-N 130 BGN",
286 .ht_params = &iwl6000_ht_params,
287 .rx_with_siso_diversity =
true,
291 .name =
"Intel(R) Centrino(R) Wireless-N 130 BG",
293 .rx_with_siso_diversity =
true,
299 #define IWL_DEVICE_6000i \
300 .fw_name_pre = IWL6000_FW_PRE, \
301 .ucode_api_max = IWL6000_UCODE_API_MAX, \
302 .ucode_api_ok = IWL6000_UCODE_API_OK, \
303 .ucode_api_min = IWL6000_UCODE_API_MIN, \
304 .device_family = IWL_DEVICE_FAMILY_6000i, \
305 .max_inst_size = IWL60_RTC_INST_SIZE, \
306 .max_data_size = IWL60_RTC_DATA_SIZE, \
307 .valid_tx_ant = ANT_BC, \
308 .valid_rx_ant = ANT_BC, \
309 .eeprom_ver = EEPROM_6000_EEPROM_VERSION, \
310 .eeprom_calib_ver = EEPROM_6000_TX_POWER_VERSION, \
311 .base_params = &iwl6000_base_params, \
312 .eeprom_params = &iwl6000_eeprom_params, \
313 .led_mode = IWL_LED_BLINK
316 .name =
"Intel(R) Centrino(R) Advanced-N 6200 AGN",
318 .ht_params = &iwl6000_ht_params,
322 .name =
"Intel(R) Centrino(R) Advanced-N 6200 ABG",
327 .name =
"Intel(R) Centrino(R) Advanced-N 6200 BG",
331 #define IWL_DEVICE_6050 \
332 .fw_name_pre = IWL6050_FW_PRE, \
333 .ucode_api_max = IWL6050_UCODE_API_MAX, \
334 .ucode_api_min = IWL6050_UCODE_API_MIN, \
335 .device_family = IWL_DEVICE_FAMILY_6050, \
336 .max_inst_size = IWL60_RTC_INST_SIZE, \
337 .max_data_size = IWL60_RTC_DATA_SIZE, \
338 .valid_tx_ant = ANT_AB, \
339 .valid_rx_ant = ANT_AB, \
340 .eeprom_ver = EEPROM_6050_EEPROM_VERSION, \
341 .eeprom_calib_ver = EEPROM_6050_TX_POWER_VERSION, \
342 .base_params = &iwl6050_base_params, \
343 .eeprom_params = &iwl6000_eeprom_params, \
344 .led_mode = IWL_LED_BLINK, \
345 .internal_wimax_coex = true
348 .name =
"Intel(R) Centrino(R) Advanced-N + WiMAX 6250 AGN",
350 .ht_params = &iwl6000_ht_params,
354 .name =
"Intel(R) Centrino(R) Advanced-N + WiMAX 6250 ABG",
358 #define IWL_DEVICE_6150 \
359 .fw_name_pre = IWL6050_FW_PRE, \
360 .ucode_api_max = IWL6050_UCODE_API_MAX, \
361 .ucode_api_min = IWL6050_UCODE_API_MIN, \
362 .device_family = IWL_DEVICE_FAMILY_6150, \
363 .max_inst_size = IWL60_RTC_INST_SIZE, \
364 .max_data_size = IWL60_RTC_DATA_SIZE, \
365 .eeprom_ver = EEPROM_6150_EEPROM_VERSION, \
366 .eeprom_calib_ver = EEPROM_6150_TX_POWER_VERSION, \
367 .base_params = &iwl6050_base_params, \
368 .eeprom_params = &iwl6000_eeprom_params, \
369 .led_mode = IWL_LED_BLINK, \
370 .internal_wimax_coex = true
373 .name =
"Intel(R) Centrino(R) Wireless-N + WiMAX 6150 BGN",
375 .ht_params = &iwl6000_ht_params,
379 .name =
"Intel(R) Centrino(R) Wireless-N + WiMAX 6150 BG",
384 .name =
"Intel(R) Centrino(R) Ultimate-N 6300 AGN",
394 .base_params = &iwl6000_base_params,
395 .eeprom_params = &iwl6000_eeprom_params,
396 .ht_params = &iwl6000_ht_params,