aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-1000.c
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2010-04-25 18:41:43 -0400
committerReinette Chatre <reinette.chatre@intel.com>2010-05-10 18:08:48 -0400
commit65d1f89682acf4d61dec7a8b771ed34afb7c17d9 (patch)
treecf050f3e3056eef5e87545c3c44cc41166e1b05c /drivers/net/wireless/iwlwifi/iwl-1000.c
parent6e5c800e75fad95f2a12d45d9b548b23834a13ff (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.c4
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
266struct iwl_cfg iwl1000_bg_cfg = { 268struct 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
296MODULE_FIRMWARE(IWL1000_MODULE_FIRMWARE(IWL1000_UCODE_API_MAX)); 300MODULE_FIRMWARE(IWL1000_MODULE_FIRMWARE(IWL1000_UCODE_API_MAX));