diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-5000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-5000.c | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c index 115d3ea1142f..a28af7eb67eb 100644 --- a/drivers/net/wireless/iwlwifi/iwl-5000.c +++ b/drivers/net/wireless/iwlwifi/iwl-5000.c | |||
@@ -351,7 +351,7 @@ static struct iwl_lib_ops iwl5000_lib = { | |||
351 | .temperature = iwlagn_temperature, | 351 | .temperature = iwlagn_temperature, |
352 | .set_ct_kill = iwl5000_set_ct_threshold, | 352 | .set_ct_kill = iwl5000_set_ct_threshold, |
353 | }, | 353 | }, |
354 | .add_bcast_station = iwl_add_bcast_station, | 354 | .manage_ibss_station = iwlagn_manage_ibss_station, |
355 | .debugfs_ops = { | 355 | .debugfs_ops = { |
356 | .rx_stats_read = iwl_ucode_rx_stats_read, | 356 | .rx_stats_read = iwl_ucode_rx_stats_read, |
357 | .tx_stats_read = iwl_ucode_tx_stats_read, | 357 | .tx_stats_read = iwl_ucode_tx_stats_read, |
@@ -413,7 +413,7 @@ static struct iwl_lib_ops iwl5150_lib = { | |||
413 | .temperature = iwl5150_temperature, | 413 | .temperature = iwl5150_temperature, |
414 | .set_ct_kill = iwl5150_set_ct_threshold, | 414 | .set_ct_kill = iwl5150_set_ct_threshold, |
415 | }, | 415 | }, |
416 | .add_bcast_station = iwl_add_bcast_station, | 416 | .manage_ibss_station = iwlagn_manage_ibss_station, |
417 | .debugfs_ops = { | 417 | .debugfs_ops = { |
418 | .rx_stats_read = iwl_ucode_rx_stats_read, | 418 | .rx_stats_read = iwl_ucode_rx_stats_read, |
419 | .tx_stats_read = iwl_ucode_tx_stats_read, | 419 | .tx_stats_read = iwl_ucode_tx_stats_read, |
@@ -425,7 +425,6 @@ static struct iwl_lib_ops iwl5150_lib = { | |||
425 | }; | 425 | }; |
426 | 426 | ||
427 | static const struct iwl_ops iwl5000_ops = { | 427 | static const struct iwl_ops iwl5000_ops = { |
428 | .ucode = &iwlagn_ucode, | ||
429 | .lib = &iwl5000_lib, | 428 | .lib = &iwl5000_lib, |
430 | .hcmd = &iwlagn_hcmd, | 429 | .hcmd = &iwlagn_hcmd, |
431 | .utils = &iwlagn_hcmd_utils, | 430 | .utils = &iwlagn_hcmd_utils, |
@@ -433,7 +432,6 @@ static const struct iwl_ops iwl5000_ops = { | |||
433 | }; | 432 | }; |
434 | 433 | ||
435 | static const struct iwl_ops iwl5150_ops = { | 434 | static const struct iwl_ops iwl5150_ops = { |
436 | .ucode = &iwlagn_ucode, | ||
437 | .lib = &iwl5150_lib, | 435 | .lib = &iwl5150_lib, |
438 | .hcmd = &iwlagn_hcmd, | 436 | .hcmd = &iwlagn_hcmd, |
439 | .utils = &iwlagn_hcmd_utils, | 437 | .utils = &iwlagn_hcmd_utils, |
@@ -466,6 +464,9 @@ struct iwl_cfg iwl5300_agn_cfg = { | |||
466 | .chain_noise_scale = 1000, | 464 | .chain_noise_scale = 1000, |
467 | .monitor_recover_period = IWL_MONITORING_PERIOD, | 465 | .monitor_recover_period = IWL_MONITORING_PERIOD, |
468 | .max_event_log_size = 512, | 466 | .max_event_log_size = 512, |
467 | .ucode_tracing = true, | ||
468 | .sensitivity_calib_by_driver = true, | ||
469 | .chain_noise_calib_by_driver = true, | ||
469 | }; | 470 | }; |
470 | 471 | ||
471 | struct iwl_cfg iwl5100_bgn_cfg = { | 472 | struct iwl_cfg iwl5100_bgn_cfg = { |
@@ -494,6 +495,9 @@ struct iwl_cfg iwl5100_bgn_cfg = { | |||
494 | .chain_noise_scale = 1000, | 495 | .chain_noise_scale = 1000, |
495 | .monitor_recover_period = IWL_MONITORING_PERIOD, | 496 | .monitor_recover_period = IWL_MONITORING_PERIOD, |
496 | .max_event_log_size = 512, | 497 | .max_event_log_size = 512, |
498 | .ucode_tracing = true, | ||
499 | .sensitivity_calib_by_driver = true, | ||
500 | .chain_noise_calib_by_driver = true, | ||
497 | }; | 501 | }; |
498 | 502 | ||
499 | struct iwl_cfg iwl5100_abg_cfg = { | 503 | struct iwl_cfg iwl5100_abg_cfg = { |
@@ -520,6 +524,9 @@ struct iwl_cfg iwl5100_abg_cfg = { | |||
520 | .chain_noise_scale = 1000, | 524 | .chain_noise_scale = 1000, |
521 | .monitor_recover_period = IWL_MONITORING_PERIOD, | 525 | .monitor_recover_period = IWL_MONITORING_PERIOD, |
522 | .max_event_log_size = 512, | 526 | .max_event_log_size = 512, |
527 | .ucode_tracing = true, | ||
528 | .sensitivity_calib_by_driver = true, | ||
529 | .chain_noise_calib_by_driver = true, | ||
523 | }; | 530 | }; |
524 | 531 | ||
525 | struct iwl_cfg iwl5100_agn_cfg = { | 532 | struct iwl_cfg iwl5100_agn_cfg = { |
@@ -548,6 +555,9 @@ struct iwl_cfg iwl5100_agn_cfg = { | |||
548 | .chain_noise_scale = 1000, | 555 | .chain_noise_scale = 1000, |
549 | .monitor_recover_period = IWL_MONITORING_PERIOD, | 556 | .monitor_recover_period = IWL_MONITORING_PERIOD, |
550 | .max_event_log_size = 512, | 557 | .max_event_log_size = 512, |
558 | .ucode_tracing = true, | ||
559 | .sensitivity_calib_by_driver = true, | ||
560 | .chain_noise_calib_by_driver = true, | ||
551 | }; | 561 | }; |
552 | 562 | ||
553 | struct iwl_cfg iwl5350_agn_cfg = { | 563 | struct iwl_cfg iwl5350_agn_cfg = { |
@@ -576,6 +586,9 @@ struct iwl_cfg iwl5350_agn_cfg = { | |||
576 | .chain_noise_scale = 1000, | 586 | .chain_noise_scale = 1000, |
577 | .monitor_recover_period = IWL_MONITORING_PERIOD, | 587 | .monitor_recover_period = IWL_MONITORING_PERIOD, |
578 | .max_event_log_size = 512, | 588 | .max_event_log_size = 512, |
589 | .ucode_tracing = true, | ||
590 | .sensitivity_calib_by_driver = true, | ||
591 | .chain_noise_calib_by_driver = true, | ||
579 | }; | 592 | }; |
580 | 593 | ||
581 | struct iwl_cfg iwl5150_agn_cfg = { | 594 | struct iwl_cfg iwl5150_agn_cfg = { |
@@ -604,6 +617,9 @@ struct iwl_cfg iwl5150_agn_cfg = { | |||
604 | .chain_noise_scale = 1000, | 617 | .chain_noise_scale = 1000, |
605 | .monitor_recover_period = IWL_MONITORING_PERIOD, | 618 | .monitor_recover_period = IWL_MONITORING_PERIOD, |
606 | .max_event_log_size = 512, | 619 | .max_event_log_size = 512, |
620 | .ucode_tracing = true, | ||
621 | .sensitivity_calib_by_driver = true, | ||
622 | .chain_noise_calib_by_driver = true, | ||
607 | }; | 623 | }; |
608 | 624 | ||
609 | struct iwl_cfg iwl5150_abg_cfg = { | 625 | struct iwl_cfg iwl5150_abg_cfg = { |
@@ -630,6 +646,9 @@ struct iwl_cfg iwl5150_abg_cfg = { | |||
630 | .chain_noise_scale = 1000, | 646 | .chain_noise_scale = 1000, |
631 | .monitor_recover_period = IWL_MONITORING_PERIOD, | 647 | .monitor_recover_period = IWL_MONITORING_PERIOD, |
632 | .max_event_log_size = 512, | 648 | .max_event_log_size = 512, |
649 | .ucode_tracing = true, | ||
650 | .sensitivity_calib_by_driver = true, | ||
651 | .chain_noise_calib_by_driver = true, | ||
633 | }; | 652 | }; |
634 | 653 | ||
635 | MODULE_FIRMWARE(IWL5000_MODULE_FIRMWARE(IWL5000_UCODE_API_MAX)); | 654 | MODULE_FIRMWARE(IWL5000_MODULE_FIRMWARE(IWL5000_UCODE_API_MAX)); |