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/lmac.h | |
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/lmac.h')
-rw-r--r-- | drivers/net/wireless/iwmc3200wifi/lmac.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/lmac.h b/drivers/net/wireless/iwmc3200wifi/lmac.h index 6c1a14c4480f..a3a79b5e2898 100644 --- a/drivers/net/wireless/iwmc3200wifi/lmac.h +++ b/drivers/net/wireless/iwmc3200wifi/lmac.h | |||
@@ -187,6 +187,14 @@ struct iwm_coex_prio_table_cmd { | |||
187 | COEX_EVT_FLAG_MEDIUM_ACTV_NTFY_MSK | \ | 187 | COEX_EVT_FLAG_MEDIUM_ACTV_NTFY_MSK | \ |
188 | COEX_EVT_FLAG_DELAY_MEDIUM_FREE_NTFY_MSK) | 188 | COEX_EVT_FLAG_DELAY_MEDIUM_FREE_NTFY_MSK) |
189 | 189 | ||
190 | /* CT kill config command */ | ||
191 | struct iwm_ct_kill_cfg_cmd { | ||
192 | u32 exit_threshold; | ||
193 | u32 reserved; | ||
194 | u32 entry_threshold; | ||
195 | } __attribute__ ((packed)); | ||
196 | |||
197 | |||
190 | /* LMAC OP CODES */ | 198 | /* LMAC OP CODES */ |
191 | #define REPLY_PAD 0x0 | 199 | #define REPLY_PAD 0x0 |
192 | #define REPLY_ALIVE 0x1 | 200 | #define REPLY_ALIVE 0x1 |