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>
This commit is contained in:

committed by
John W. Linville

parent
a82aedbf1b
commit
e85498b21d
@@ -274,6 +274,17 @@ int iwm_send_calib_results(struct iwm_priv *iwm)
|
||||
return ret;
|
||||
}
|
||||
|
||||
int iwm_send_ct_kill_cfg(struct iwm_priv *iwm, u8 entry, u8 exit)
|
||||
{
|
||||
struct iwm_ct_kill_cfg_cmd cmd;
|
||||
|
||||
cmd.entry_threshold = entry;
|
||||
cmd.exit_threshold = exit;
|
||||
|
||||
return iwm_send_lmac_ptrough_cmd(iwm, REPLY_CT_KILL_CONFIG_CMD, &cmd,
|
||||
sizeof(struct iwm_ct_kill_cfg_cmd), 0);
|
||||
}
|
||||
|
||||
int iwm_send_umac_reset(struct iwm_priv *iwm, __le32 reset_flags, bool resp)
|
||||
{
|
||||
struct iwm_udma_wifi_cmd udma_cmd = UDMA_UMAC_INIT;
|
||||
|
Reference in New Issue
Block a user