aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/mac80211.c
diff options
context:
space:
mode:
authorEytan Lifshitz <eytan.lifshitz@intel.com>2013-05-19 12:14:41 -0400
committerJohannes Berg <johannes.berg@intel.com>2013-05-29 03:03:18 -0400
commit9ee718aa9269cf56040cf12f0f6ac6e0057397b2 (patch)
tree5d4b9d8bb7b16f758ea0d6c8a4c85e87f4681600 /drivers/net/wireless/iwlwifi/mvm/mac80211.c
parentf68d18f202d50f60746a8bcce1dc965b2f5035c0 (diff)
iwlwifi: mvm: add thermal throttling and CT kill
In order to avoid NIC destruction due to high temperature, CT kill will power down the NIC. To avoid this, thermal throttling will decrease throughput to prevent the NIC from reaching the temperature at which CT kill is performed. Signed-off-by: Eytan Lifshitz <eytan.lifshitz@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/mac80211.c')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/mac80211.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/iwlwifi/mvm/mac80211.c
index c9924c12e0fe..c26f6b504460 100644
--- a/drivers/net/wireless/iwlwifi/mvm/mac80211.c
+++ b/drivers/net/wireless/iwlwifi/mvm/mac80211.c
@@ -265,8 +265,8 @@ static void iwl_mvm_mac_tx(struct ieee80211_hw *hw,
265{ 265{
266 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); 266 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw);
267 267
268 if (test_bit(IWL_MVM_STATUS_HW_RFKILL, &mvm->status)) { 268 if (iwl_mvm_is_radio_killed(mvm)) {
269 IWL_DEBUG_DROP(mvm, "Dropping - RF KILL\n"); 269 IWL_DEBUG_DROP(mvm, "Dropping - RF/CT KILL\n");
270 goto drop; 270 goto drop;
271 } 271 }
272 272