diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-04-25 18:41:43 -0400 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-05-10 18:08:48 -0400 |
commit | 65d1f89682acf4d61dec7a8b771ed34afb7c17d9 (patch) | |
tree | cf050f3e3056eef5e87545c3c44cc41166e1b05c /drivers/net/wireless/iwlwifi/iwl-6000.c | |
parent | 6e5c800e75fad95f2a12d45d9b548b23834a13ff (diff) |
iwlwifi: use cfg to configure calibration operation
sensitivity calibration and chain noise calibration are not available
for all the devices; use .cfg to configure the availability of those
calibration functions
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-6000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-6000.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-6000.c b/drivers/net/wireless/iwlwifi/iwl-6000.c index 7cd45fe9b77..b69fa36fb87 100644 --- a/drivers/net/wireless/iwlwifi/iwl-6000.c +++ b/drivers/net/wireless/iwlwifi/iwl-6000.c | |||
@@ -443,6 +443,8 @@ struct iwl_cfg iwl6000g2a_2agn_cfg = { | |||
443 | .monitor_recover_period = IWL_MONITORING_PERIOD, | 443 | .monitor_recover_period = IWL_MONITORING_PERIOD, |
444 | .max_event_log_size = 512, | 444 | .max_event_log_size = 512, |
445 | .ucode_tracing = true, | 445 | .ucode_tracing = true, |
446 | .sensitivity_calib_by_driver = true, | ||
447 | .chain_noise_calib_by_driver = true, | ||
446 | }; | 448 | }; |
447 | 449 | ||
448 | /* | 450 | /* |
@@ -481,6 +483,8 @@ struct iwl_cfg iwl6000i_2agn_cfg = { | |||
481 | .monitor_recover_period = IWL_MONITORING_PERIOD, | 483 | .monitor_recover_period = IWL_MONITORING_PERIOD, |
482 | .max_event_log_size = 1024, | 484 | .max_event_log_size = 1024, |
483 | .ucode_tracing = true, | 485 | .ucode_tracing = true, |
486 | .sensitivity_calib_by_driver = true, | ||
487 | .chain_noise_calib_by_driver = true, | ||
484 | }; | 488 | }; |
485 | 489 | ||
486 | struct iwl_cfg iwl6000i_2abg_cfg = { | 490 | struct iwl_cfg iwl6000i_2abg_cfg = { |
@@ -514,6 +518,8 @@ struct iwl_cfg iwl6000i_2abg_cfg = { | |||
514 | .monitor_recover_period = IWL_MONITORING_PERIOD, | 518 | .monitor_recover_period = IWL_MONITORING_PERIOD, |
515 | .max_event_log_size = 1024, | 519 | .max_event_log_size = 1024, |
516 | .ucode_tracing = true, | 520 | .ucode_tracing = true, |
521 | .sensitivity_calib_by_driver = true, | ||
522 | .chain_noise_calib_by_driver = true, | ||
517 | }; | 523 | }; |
518 | 524 | ||
519 | struct iwl_cfg iwl6000i_2bg_cfg = { | 525 | struct iwl_cfg iwl6000i_2bg_cfg = { |
@@ -547,6 +553,8 @@ struct iwl_cfg iwl6000i_2bg_cfg = { | |||
547 | .monitor_recover_period = IWL_MONITORING_PERIOD, | 553 | .monitor_recover_period = IWL_MONITORING_PERIOD, |
548 | .max_event_log_size = 1024, | 554 | .max_event_log_size = 1024, |
549 | .ucode_tracing = true, | 555 | .ucode_tracing = true, |
556 | .sensitivity_calib_by_driver = true, | ||
557 | .chain_noise_calib_by_driver = true, | ||
550 | }; | 558 | }; |
551 | 559 | ||
552 | struct iwl_cfg iwl6050_2agn_cfg = { | 560 | struct iwl_cfg iwl6050_2agn_cfg = { |
@@ -582,6 +590,8 @@ struct iwl_cfg iwl6050_2agn_cfg = { | |||
582 | .monitor_recover_period = IWL_MONITORING_PERIOD, | 590 | .monitor_recover_period = IWL_MONITORING_PERIOD, |
583 | .max_event_log_size = 1024, | 591 | .max_event_log_size = 1024, |
584 | .ucode_tracing = true, | 592 | .ucode_tracing = true, |
593 | .sensitivity_calib_by_driver = true, | ||
594 | .chain_noise_calib_by_driver = true, | ||
585 | }; | 595 | }; |
586 | 596 | ||
587 | struct iwl_cfg iwl6050_2abg_cfg = { | 597 | struct iwl_cfg iwl6050_2abg_cfg = { |
@@ -615,6 +625,8 @@ struct iwl_cfg iwl6050_2abg_cfg = { | |||
615 | .monitor_recover_period = IWL_MONITORING_PERIOD, | 625 | .monitor_recover_period = IWL_MONITORING_PERIOD, |
616 | .max_event_log_size = 1024, | 626 | .max_event_log_size = 1024, |
617 | .ucode_tracing = true, | 627 | .ucode_tracing = true, |
628 | .sensitivity_calib_by_driver = true, | ||
629 | .chain_noise_calib_by_driver = true, | ||
618 | }; | 630 | }; |
619 | 631 | ||
620 | struct iwl_cfg iwl6000_3agn_cfg = { | 632 | struct iwl_cfg iwl6000_3agn_cfg = { |
@@ -650,6 +662,8 @@ struct iwl_cfg iwl6000_3agn_cfg = { | |||
650 | .monitor_recover_period = IWL_MONITORING_PERIOD, | 662 | .monitor_recover_period = IWL_MONITORING_PERIOD, |
651 | .max_event_log_size = 1024, | 663 | .max_event_log_size = 1024, |
652 | .ucode_tracing = true, | 664 | .ucode_tracing = true, |
665 | .sensitivity_calib_by_driver = true, | ||
666 | .chain_noise_calib_by_driver = true, | ||
653 | }; | 667 | }; |
654 | 668 | ||
655 | MODULE_FIRMWARE(IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_MAX)); | 669 | MODULE_FIRMWARE(IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_MAX)); |