Commit 885765f1 authored by Venkataraman, Meenakshi's avatar Venkataraman, Meenakshi Committed by Wey-Yi Guy

iwlwifi: Execute runtime calibration always

Runtime DC calibration was previously conditional. Remove this
behaviour, as new devices support runtime DC calibration,
while older devices ignore the runtime DC calibration request.

This patch addresses low TX throughput issues seen with the 6205.
Signed-off-by: default avatarMeenakshi Venkataraman <meenakshi.venkataraman@intel.com>
Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
parent fb6c1c6c
...@@ -1253,9 +1253,10 @@ int iwl_alive_start(struct iwl_priv *priv) ...@@ -1253,9 +1253,10 @@ int iwl_alive_start(struct iwl_priv *priv)
iwl_send_bt_config(priv); iwl_send_bt_config(priv);
} }
if (hw_params(priv).calib_rt_cfg) /*
iwlagn_send_calib_cfg_rt(priv, * Perform runtime calibrations, including DC calibration.
hw_params(priv).calib_rt_cfg); */
iwlagn_send_calib_cfg_rt(priv, IWL_CALIB_CFG_DC_IDX);
ieee80211_wake_queues(priv->hw); ieee80211_wake_queues(priv->hw);
......
...@@ -179,7 +179,6 @@ struct iwl_mod_params { ...@@ -179,7 +179,6 @@ struct iwl_mod_params {
* @ct_kill_exit_threshold: when to reeable the device - in hw dependent unit * @ct_kill_exit_threshold: when to reeable the device - in hw dependent unit
* relevant for 1000, 6000 and up * relevant for 1000, 6000 and up
* @wd_timeout: TX queues watchdog timeout * @wd_timeout: TX queues watchdog timeout
* @calib_rt_cfg: setup runtime calibrations for the hw
* @struct iwl_sensitivity_ranges: range of sensitivity values * @struct iwl_sensitivity_ranges: range of sensitivity values
*/ */
struct iwl_hw_params { struct iwl_hw_params {
...@@ -199,7 +198,6 @@ struct iwl_hw_params { ...@@ -199,7 +198,6 @@ struct iwl_hw_params {
u32 ct_kill_exit_threshold; u32 ct_kill_exit_threshold;
unsigned int wd_timeout; unsigned int wd_timeout;
u32 calib_rt_cfg;
const struct iwl_sensitivity_ranges *sens; const struct iwl_sensitivity_ranges *sens;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment