iwlwifi: mvm: add debugfs to force CT-kill
authorChaya Rachel Ivgi <chaya.rachel.ivgi@intel.com>
Tue, 27 Jun 2017 11:13:02 +0000 (14:13 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 9 Aug 2017 06:30:15 +0000 (09:30 +0300)
commit61d8c626468a8193a5e890e9f633edc10aa05c1e
tree9db7afcd2beb8e5c09527f2735f686ae917997ff
parentb1a1efc57665f7c70e2051e0531837cb1985f11b
iwlwifi: mvm: add debugfs to force CT-kill

CT-kill is a thermal-based "RF-kill", which disables the NIC
completely if the temperature gets too high, in order to avoid damage.

Add a debugfs entry to simulate high temperatures, in order to test
CT-kill flows in the driver without having to physically heat the
device up.

Signed-off-by: Chaya Rachel Ivgi <chaya.rachel.ivgi@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/tt.c