aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/mvm.h
diff options
context:
space:
mode:
authoreytan lifshitz <eytan.lifshitz@intel.com>2013-06-18 07:28:56 -0400
committerJohannes Berg <johannes.berg@intel.com>2013-06-25 06:12:24 -0400
commitdafe6c4335d042fa6573f40795ccfadc4e4fc7c6 (patch)
tree140765aa5fa6cd92fc80f1f93a2d1f61c9f3a4c9 /drivers/net/wireless/iwlwifi/mvm/mvm.h
parente715c3a939071bacf33296b0b8dc58a29bbc5cf8 (diff)
iwlwifi: mvm: add thermal throttling debugging
Add prints visible to the user when entering and exiting thrermal throttling, because so users can tell that the NIC is getting too hot (and throughput will decrease.) Signed-off-by: eytan lifshitz <eytan.lifshitz@intel.com> Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/mvm.h')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/mvm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mvm.h b/drivers/net/wireless/iwlwifi/mvm/mvm.h
index 7d216ddecf42..1c6476eac496 100644
--- a/drivers/net/wireless/iwlwifi/mvm/mvm.h
+++ b/drivers/net/wireless/iwlwifi/mvm/mvm.h
@@ -352,12 +352,14 @@ struct iwl_tt_params {
352 * @dynamic_smps: Is thermal throttling enabled dynamic_smps? 352 * @dynamic_smps: Is thermal throttling enabled dynamic_smps?
353 * @tx_backoff: The current thremal throttling tx backoff in uSec. 353 * @tx_backoff: The current thremal throttling tx backoff in uSec.
354 * @params: Parameters to configure the thermal throttling algorithm. 354 * @params: Parameters to configure the thermal throttling algorithm.
355 * @throttle: Is thermal throttling is active?
355 */ 356 */
356struct iwl_mvm_tt_mgmt { 357struct iwl_mvm_tt_mgmt {
357 struct delayed_work ct_kill_exit; 358 struct delayed_work ct_kill_exit;
358 bool dynamic_smps; 359 bool dynamic_smps;
359 u32 tx_backoff; 360 u32 tx_backoff;
360 const struct iwl_tt_params *params; 361 const struct iwl_tt_params *params;
362 bool throttle;
361}; 363};
362 364
363struct iwl_mvm { 365struct iwl_mvm {