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-1000.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-1000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-1000.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-1000.c b/drivers/net/wireless/iwlwifi/iwl-1000.c index f9f8a567593..4d360d74b0c 100644 --- a/drivers/net/wireless/iwlwifi/iwl-1000.c +++ b/drivers/net/wireless/iwlwifi/iwl-1000.c | |||
@@ -261,6 +261,8 @@ struct iwl_cfg iwl1000_bgn_cfg = { | |||
261 | .monitor_recover_period = IWL_MONITORING_PERIOD, | 261 | .monitor_recover_period = IWL_MONITORING_PERIOD, |
262 | .max_event_log_size = 128, | 262 | .max_event_log_size = 128, |
263 | .ucode_tracing = true, | 263 | .ucode_tracing = true, |
264 | .sensitivity_calib_by_driver = true, | ||
265 | .chain_noise_calib_by_driver = true, | ||
264 | }; | 266 | }; |
265 | 267 | ||
266 | struct iwl_cfg iwl1000_bg_cfg = { | 268 | struct iwl_cfg iwl1000_bg_cfg = { |
@@ -291,6 +293,8 @@ struct iwl_cfg iwl1000_bg_cfg = { | |||
291 | .monitor_recover_period = IWL_MONITORING_PERIOD, | 293 | .monitor_recover_period = IWL_MONITORING_PERIOD, |
292 | .max_event_log_size = 128, | 294 | .max_event_log_size = 128, |
293 | .ucode_tracing = true, | 295 | .ucode_tracing = true, |
296 | .sensitivity_calib_by_driver = true, | ||
297 | .chain_noise_calib_by_driver = true, | ||
294 | }; | 298 | }; |
295 | 299 | ||
296 | MODULE_FIRMWARE(IWL1000_MODULE_FIRMWARE(IWL1000_UCODE_API_MAX)); | 300 | MODULE_FIRMWARE(IWL1000_MODULE_FIRMWARE(IWL1000_UCODE_API_MAX)); |