iwlwifi: mvm: make thermal throttling values configurable per NIC family
authorChaya Rachel Ivgi <chaya.rachel.ivgi@intel.com>
Sun, 19 Apr 2015 09:26:39 +0000 (12:26 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 29 Apr 2015 10:57:11 +0000 (13:57 +0300)
commit3444682a9f5ee515cdbb0ed64af6252885797b30
treee0960366727775265e928e0c47a671d2cb500add
parentb546dcd6b742c9188a67da335b2d48f0040550be
iwlwifi: mvm: make thermal throttling values configurable per NIC family

The thermal throttling parameters were constant and hardcoded, not allowing
changes for different NIC families.
Change this so that the values are part of the NIC family configuration and
are not constant (so they can be changed dynamically in the future).

Signed-off-by: Chaya Rachel Ivgi <chaya.rachel.ivgi@intel.com>
Reviewed-by: Luciano Coelho <luciano.coelho@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-7000.c
drivers/net/wireless/iwlwifi/iwl-config.h
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/tt.c