summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/mvm.h
diff options
context:
space:
mode:
authoreytan lifshitz2013-06-18 13:28:56 +0200
committerJohannes Berg2013-06-25 12:12:24 +0200
commitdafe6c4335d042fa6573f40795ccfadc4e4fc7c6 (patch)
tree140765aa5fa6cd92fc80f1f93a2d1f61c9f3a4c9 /drivers/net/wireless/iwlwifi/mvm/mvm.h
parentiwlwifi: mvm: add BT-Coex LUT for 1x1 products (diff)
downloadkernel-qcow2-linux-dafe6c4335d042fa6573f40795ccfadc4e4fc7c6.tar.gz
kernel-qcow2-linux-dafe6c4335d042fa6573f40795ccfadc4e4fc7c6.tar.xz
kernel-qcow2-linux-dafe6c4335d042fa6573f40795ccfadc4e4fc7c6.zip
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 {
* @dynamic_smps: Is thermal throttling enabled dynamic_smps?
* @tx_backoff: The current thremal throttling tx backoff in uSec.
* @params: Parameters to configure the thermal throttling algorithm.
+ * @throttle: Is thermal throttling is active?
*/
struct iwl_mvm_tt_mgmt {
struct delayed_work ct_kill_exit;
bool dynamic_smps;
u32 tx_backoff;
const struct iwl_tt_params *params;
+ bool throttle;
};
struct iwl_mvm {