diff options
author | Shanyu Zhao <shanyu.zhao@intel.com> | 2010-09-14 21:13:31 -0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-09-28 19:57:06 -0400 |
commit | 6d6a1afdc591e3f3ee66c39206923def43044ab6 (patch) | |
tree | 82246979540a799303e417ba117eeae06e066bb5 /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | 02796d77cb4cfb64b9465eabbdb13b3b7d1679e9 (diff) |
iwlwifi: send DC calib config to runtime ucode
Since uCode is responsible for doing DC calibration, there's no need
to let init uCode to do initial DC calibration then send results
back to driver, then driver sends the results to runtime uCode.
Driver can simply tell runtime uCode to do DC calibration.
Actually, this patch does not disable DC calib for init uCode. It just
prevent driver from saving and sending the DC calib results (from init
ucode) to runtime uCode. The driver still uses 0xffffffff in
CALIB_CFG_CMD for init ucode.
Signed-off-by: Shanyu Zhao <shanyu.zhao@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index 74d25bcbfcb2..90a37a94c698 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -684,6 +684,7 @@ struct iwl_sensitivity_ranges { | |||
684 | * @ct_kill_threshold: temperature threshold | 684 | * @ct_kill_threshold: temperature threshold |
685 | * @beacon_time_tsf_bits: number of valid tsf bits for beacon time | 685 | * @beacon_time_tsf_bits: number of valid tsf bits for beacon time |
686 | * @calib_init_cfg: setup initial calibrations for the hw | 686 | * @calib_init_cfg: setup initial calibrations for the hw |
687 | * @calib_rt_cfg: setup runtime calibrations for the hw | ||
687 | * @struct iwl_sensitivity_ranges: range of sensitivity values | 688 | * @struct iwl_sensitivity_ranges: range of sensitivity values |
688 | */ | 689 | */ |
689 | struct iwl_hw_params { | 690 | struct iwl_hw_params { |
@@ -710,6 +711,7 @@ struct iwl_hw_params { | |||
710 | /* for 1000, 6000 series and up */ | 711 | /* for 1000, 6000 series and up */ |
711 | u16 beacon_time_tsf_bits; | 712 | u16 beacon_time_tsf_bits; |
712 | u32 calib_init_cfg; | 713 | u32 calib_init_cfg; |
714 | u32 calib_rt_cfg; | ||
713 | const struct iwl_sensitivity_ranges *sens; | 715 | const struct iwl_sensitivity_ranges *sens; |
714 | }; | 716 | }; |
715 | 717 | ||