diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-08-07 15:41:48 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-14 09:13:50 -0400 |
commit | 3ad3b92a5517c043ef30e4b95c4c39a35bbc36be (patch) | |
tree | b0dbc0ef7fb0787088f2a9e20e954a025774e1ed /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | 3a780d25428a0a391a8ba6c888cf4e89ac3fdbb1 (diff) | |
download | kernel_samsung_smdk4412-3ad3b92a5517c043ef30e4b95c4c39a35bbc36be.tar.gz kernel_samsung_smdk4412-3ad3b92a5517c043ef30e4b95c4c39a35bbc36be.tar.bz2 kernel_samsung_smdk4412-3ad3b92a5517c043ef30e4b95c4c39a35bbc36be.zip |
iwlwifi: refactor some thermal throttle code
Some of the thermal throttle data structures and code
are really very intermingled with the sleep (power)
control code. They really do belong together in a way
since the thermal throttle code uses powersaving to
achieve its goal, but it's making it hard to work on
the powersave code. Split this up to make that easier.
I've also changed the antenna defines to an enum and
used the same enum for RX and TX.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index 35d07a81325..1aa2ae6d075 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h @@ -1111,6 +1111,7 @@ struct iwl_priv { struct isr_statistics isr_stats; struct iwl_power_mgr power_data; + struct iwl_tt_mgmt thermal_throttle; struct iwl_notif_statistics statistics; unsigned long last_statistics_time; |