diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2009-10-16 01:18:48 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:48:24 -0400 |
commit | e85498b21d0372a00f31ab9f7c0d215c32c9fad5 (patch) | |
tree | 1721f68239a613b4d10d63513d71163ca78a1c4d /drivers/net/wireless/iwmc3200wifi/fw.c | |
parent | a82aedbf1b043f7a7474aa9b6d223104ac51827a (diff) |
iwmc3200wifi: CT kill support
We set the initial CT (Temperature control) value to 110 degrees.
If the chip goes over that threshold, we hard block the device which will turn
it down. At the same time we schedule a 30 seconds delayed work that unblock
the device (and userspace is supposed to bring it back up), hoping that the
chip will have cooled down by then...
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/fw.c')
-rw-r--r-- | drivers/net/wireless/iwmc3200wifi/fw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/fw.c b/drivers/net/wireless/iwmc3200wifi/fw.c index 6b0bcad758ca..f02d571b0a13 100644 --- a/drivers/net/wireless/iwmc3200wifi/fw.c +++ b/drivers/net/wireless/iwmc3200wifi/fw.c | |||
@@ -398,6 +398,8 @@ int iwm_load_fw(struct iwm_priv *iwm) | |||
398 | iwm_send_prio_table(iwm); | 398 | iwm_send_prio_table(iwm); |
399 | iwm_send_calib_results(iwm); | 399 | iwm_send_calib_results(iwm); |
400 | iwm_send_periodic_calib_cfg(iwm, periodic_calib_map); | 400 | iwm_send_periodic_calib_cfg(iwm, periodic_calib_map); |
401 | iwm_send_ct_kill_cfg(iwm, iwm->conf.ct_kill_entry, | ||
402 | iwm->conf.ct_kill_exit); | ||
401 | 403 | ||
402 | return 0; | 404 | return 0; |
403 | 405 | ||