diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2009-10-16 14:25:50 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:48:31 -0400 |
commit | c09430abed4159e5c56aaea257d040f7452daba6 (patch) | |
tree | 1bc3e17162880d7cba27c4d4ee95bb5addf54fb2 /ipc/util.h | |
parent | 1f80989e8b7f79d8e916b14600488489bdd5569f (diff) |
iwlwifi: show current power save status reported by uCode
Power save request is sent from driver to uCode, but there is no
indication from uCode about the current device power save state.
Reading GP_CNTRL register bit 25:24 to show the current power save
status
00: no power save
01: MAC power down
10: PHY power down
11: Error
The uCode could switch in and out of power save mode in the order of
once per 100-300 ms in many cases. The reading here should just be used for
reference on the current uCode power save status. Do not confuse this
reading with the PowerSave set by driver and mac80211.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions