wlcore: add a debugfs entry to allow changing the sleep mode by hand
authorLuciano Coelho <coelho@ti.com>
Tue, 28 Feb 2012 17:13:28 +0000 (19:13 +0200)
committerLuciano Coelho <coelho@ti.com>
Thu, 21 Jun 2012 09:44:17 +0000 (12:44 +0300)
commit26b5858a67e4316ecd8159e2c0dc5591ef68226a
tree8e18985fc0760067ccc0b93f2102edc552893210
parentc954910bc4501447cc647d5fca5bd0d9439e177d
wlcore: add a debugfs entry to allow changing the sleep mode by hand

For FW debugging purposes, we may need to change the sleep mode
(aka. sleep_auth) by hand, and set it to the mode we want.  To allow
this, a debugfs entry is added.

Now we store the sleep_auth value that has been set and use that
instead of the quirk to decide whether we should enter ELP or not.

Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
drivers/net/wireless/ti/wlcore/acx.c
drivers/net/wireless/ti/wlcore/acx.h
drivers/net/wireless/ti/wlcore/debugfs.c
drivers/net/wireless/ti/wlcore/main.c
drivers/net/wireless/ti/wlcore/ps.c
drivers/net/wireless/ti/wlcore/wlcore.h