diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-2000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-2000.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-2000.c b/drivers/net/wireless/iwlwifi/iwl-2000.c index a31314fdb053..e76e02c28928 100644 --- a/drivers/net/wireless/iwlwifi/iwl-2000.c +++ b/drivers/net/wireless/iwlwifi/iwl-2000.c | |||
@@ -46,7 +46,6 @@ | |||
46 | #include "iwl-helpers.h" | 46 | #include "iwl-helpers.h" |
47 | #include "iwl-agn-hw.h" | 47 | #include "iwl-agn-hw.h" |
48 | #include "iwl-6000-hw.h" | 48 | #include "iwl-6000-hw.h" |
49 | #include "iwl-agn-led.h" | ||
50 | #include "iwl-agn-debugfs.h" | 49 | #include "iwl-agn-debugfs.h" |
51 | 50 | ||
52 | /* Highest firmware API version supported */ | 51 | /* Highest firmware API version supported */ |
@@ -279,7 +278,7 @@ static struct iwl_lib_ops iwl2000_lib = { | |||
279 | EEPROM_REG_BAND_4_CHANNELS, | 278 | EEPROM_REG_BAND_4_CHANNELS, |
280 | EEPROM_REG_BAND_5_CHANNELS, | 279 | EEPROM_REG_BAND_5_CHANNELS, |
281 | EEPROM_6000_REG_BAND_24_HT40_CHANNELS, | 280 | EEPROM_6000_REG_BAND_24_HT40_CHANNELS, |
282 | EEPROM_REG_BAND_52_HT40_CHANNELS | 281 | EEPROM_REGULATORY_BAND_NO_HT40, |
283 | }, | 282 | }, |
284 | .acquire_semaphore = iwlcore_eeprom_acquire_semaphore, | 283 | .acquire_semaphore = iwlcore_eeprom_acquire_semaphore, |
285 | .release_semaphore = iwlcore_eeprom_release_semaphore, | 284 | .release_semaphore = iwlcore_eeprom_release_semaphore, |
@@ -299,43 +298,30 @@ static struct iwl_lib_ops iwl2000_lib = { | |||
299 | }, | 298 | }, |
300 | .txfifo_flush = iwlagn_txfifo_flush, | 299 | .txfifo_flush = iwlagn_txfifo_flush, |
301 | .dev_txfifo_flush = iwlagn_dev_txfifo_flush, | 300 | .dev_txfifo_flush = iwlagn_dev_txfifo_flush, |
302 | .tt_ops = { | ||
303 | .lower_power_detection = iwl_tt_is_low_power_state, | ||
304 | .tt_power_mode = iwl_tt_current_power_mode, | ||
305 | .ct_kill_check = iwl_check_for_ct_kill, | ||
306 | } | ||
307 | }; | 301 | }; |
308 | 302 | ||
309 | static const struct iwl_ops iwl2000_ops = { | 303 | static const struct iwl_ops iwl2000_ops = { |
310 | .lib = &iwl2000_lib, | 304 | .lib = &iwl2000_lib, |
311 | .hcmd = &iwlagn_hcmd, | 305 | .hcmd = &iwlagn_hcmd, |
312 | .utils = &iwlagn_hcmd_utils, | 306 | .utils = &iwlagn_hcmd_utils, |
313 | .led = &iwlagn_led_ops, | ||
314 | .ieee80211_ops = &iwlagn_hw_ops, | ||
315 | }; | 307 | }; |
316 | 308 | ||
317 | static const struct iwl_ops iwl2030_ops = { | 309 | static const struct iwl_ops iwl2030_ops = { |
318 | .lib = &iwl2000_lib, | 310 | .lib = &iwl2000_lib, |
319 | .hcmd = &iwlagn_bt_hcmd, | 311 | .hcmd = &iwlagn_bt_hcmd, |
320 | .utils = &iwlagn_hcmd_utils, | 312 | .utils = &iwlagn_hcmd_utils, |
321 | .led = &iwlagn_led_ops, | ||
322 | .ieee80211_ops = &iwlagn_hw_ops, | ||
323 | }; | 313 | }; |
324 | 314 | ||
325 | static const struct iwl_ops iwl200_ops = { | 315 | static const struct iwl_ops iwl200_ops = { |
326 | .lib = &iwl2000_lib, | 316 | .lib = &iwl2000_lib, |
327 | .hcmd = &iwlagn_hcmd, | 317 | .hcmd = &iwlagn_hcmd, |
328 | .utils = &iwlagn_hcmd_utils, | 318 | .utils = &iwlagn_hcmd_utils, |
329 | .led = &iwlagn_led_ops, | ||
330 | .ieee80211_ops = &iwlagn_hw_ops, | ||
331 | }; | 319 | }; |
332 | 320 | ||
333 | static const struct iwl_ops iwl230_ops = { | 321 | static const struct iwl_ops iwl230_ops = { |
334 | .lib = &iwl2000_lib, | 322 | .lib = &iwl2000_lib, |
335 | .hcmd = &iwlagn_bt_hcmd, | 323 | .hcmd = &iwlagn_bt_hcmd, |
336 | .utils = &iwlagn_hcmd_utils, | 324 | .utils = &iwlagn_hcmd_utils, |
337 | .led = &iwlagn_led_ops, | ||
338 | .ieee80211_ops = &iwlagn_hw_ops, | ||
339 | }; | 325 | }; |
340 | 326 | ||
341 | static struct iwl_base_params iwl2000_base_params = { | 327 | static struct iwl_base_params iwl2000_base_params = { |
@@ -353,7 +339,6 @@ static struct iwl_base_params iwl2000_base_params = { | |||
353 | .chain_noise_scale = 1000, | 339 | .chain_noise_scale = 1000, |
354 | .wd_timeout = IWL_DEF_WD_TIMEOUT, | 340 | .wd_timeout = IWL_DEF_WD_TIMEOUT, |
355 | .max_event_log_size = 512, | 341 | .max_event_log_size = 512, |
356 | .ucode_tracing = true, | ||
357 | .shadow_reg_enable = true, | 342 | .shadow_reg_enable = true, |
358 | }; | 343 | }; |
359 | 344 | ||
@@ -373,7 +358,6 @@ static struct iwl_base_params iwl2030_base_params = { | |||
373 | .chain_noise_scale = 1000, | 358 | .chain_noise_scale = 1000, |
374 | .wd_timeout = IWL_LONG_WD_TIMEOUT, | 359 | .wd_timeout = IWL_LONG_WD_TIMEOUT, |
375 | .max_event_log_size = 512, | 360 | .max_event_log_size = 512, |
376 | .ucode_tracing = true, | ||
377 | .shadow_reg_enable = true, | 361 | .shadow_reg_enable = true, |
378 | }; | 362 | }; |
379 | 363 | ||