summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271.h
diff options
context:
space:
mode:
authorJuuso Oikarinen2010-04-09 10:07:29 +0200
committerJohn W. Linville2010-04-09 19:43:10 +0200
commite19728181ca7187fa0ecb7076ce681311cf785e7 (patch)
treef766521cd0a678317fbedf20edccb6ed981ddaf9 /drivers/net/wireless/wl12xx/wl1271.h
parentwl1271: Fix mac80211 RTS threshold requests during WL1271_STATE_OFF (diff)
downloadkernel-qcow2-linux-e19728181ca7187fa0ecb7076ce681311cf785e7.tar.gz
kernel-qcow2-linux-e19728181ca7187fa0ecb7076ce681311cf785e7.tar.xz
kernel-qcow2-linux-e19728181ca7187fa0ecb7076ce681311cf785e7.zip
wl1271: Go to ELP in idle
Allow the wl1271 go to ELP mode also in idle. This will reduce current consumption remarkably in idle mode (~12mA -> ~0.2mA) Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271.h')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271.h b/drivers/net/wireless/wl12xx/wl1271.h
index a29969efc861..789460074670 100644
--- a/drivers/net/wireless/wl12xx/wl1271.h
+++ b/drivers/net/wireless/wl12xx/wl1271.h
@@ -374,6 +374,7 @@ struct wl1271 {
#define WL1271_FLAG_PSM_REQUESTED (8)
#define WL1271_FLAG_IRQ_PENDING (9)
#define WL1271_FLAG_IRQ_RUNNING (10)
+#define WL1271_FLAG_IDLE (11)
unsigned long flags;
struct wl1271_partition_set part;