diff options
author | Luciano Coelho <coelho@ti.com> | 2012-02-28 17:13:28 (GMT) |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-06-21 09:44:17 (GMT) |
commit | 26b5858a67e4316ecd8159e2c0dc5591ef68226a (patch) | |
tree | 8e18985fc0760067ccc0b93f2102edc552893210 /drivers/net/wireless/ti/wlcore/acx.h | |
parent | c954910bc4501447cc647d5fca5bd0d9439e177d (diff) | |
download | linux-fsl-qoriq-26b5858a67e4316ecd8159e2c0dc5591ef68226a.tar.xz |
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>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/acx.h')
-rw-r--r-- | drivers/net/wireless/ti/wlcore/acx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/acx.h b/drivers/net/wireless/ti/wlcore/acx.h index c018125..168e046 100644 --- a/drivers/net/wireless/ti/wlcore/acx.h +++ b/drivers/net/wireless/ti/wlcore/acx.h @@ -118,6 +118,8 @@ enum wl1271_psm_mode { /* Extreme low power */ WL1271_PSM_ELP = 2, + + WL1271_PSM_MAX = WL1271_PSM_ELP, }; struct acx_sleep_auth { |