diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-07-01 15:26:57 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-10 15:01:51 -0400 |
commit | bc92afd92088ab41223383cc6863ab4792533c54 (patch) | |
tree | a31d14843f5a63a4a4561bb2ac59e83f4550433c /net/wireless/Kconfig | |
parent | f21293549f60f88c74fcb9944737f11048896dc4 (diff) |
cfg80211: implement iwpower
Just on/off and timeout, and with a hacky cfg80211 method
until we figure out what we want, though this is probably
sufficient as we want to use pm_qos for wifi everywhere.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/Kconfig')
-rw-r--r-- | net/wireless/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net/wireless/Kconfig b/net/wireless/Kconfig index 040263118a20..c6031d5b135f 100644 --- a/net/wireless/Kconfig +++ b/net/wireless/Kconfig | |||
@@ -26,6 +26,22 @@ config CFG80211_REG_DEBUG | |||
26 | 26 | ||
27 | If unsure, say N. | 27 | If unsure, say N. |
28 | 28 | ||
29 | config CFG80211_DEFAULT_PS | ||
30 | bool "enable powersave by default" | ||
31 | depends on CFG80211 | ||
32 | default y | ||
33 | help | ||
34 | This option enables powersave mode by default. | ||
35 | |||
36 | If this causes your applications to misbehave you should fix your | ||
37 | applications instead -- they need to register their network | ||
38 | latency requirement, see Documentation/power/pm_qos_interface.txt. | ||
39 | |||
40 | config CFG80211_DEFAULT_PS_VALUE | ||
41 | int | ||
42 | default 1 if CFG80211_DEFAULT_PS | ||
43 | default 0 | ||
44 | |||
29 | config CFG80211_DEBUGFS | 45 | config CFG80211_DEBUGFS |
30 | bool "cfg80211 DebugFS entries" | 46 | bool "cfg80211 DebugFS entries" |
31 | depends on CFG80211 && DEBUG_FS | 47 | depends on CFG80211 && DEBUG_FS |