summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wl1251/wl1251.h
diff options
context:
space:
mode:
authorDavid Gnedt <david.gnedt@davizone.at>2014-01-07 13:05:45 +0100
committerJohn W. Linville <linville@tuxdriver.com>2014-01-09 10:53:38 -0500
commitf7ad1eed4d4b9d5f0b7ada151d5670e7cb33a6e7 (patch)
treec15725d6f87621d80a9bb90fa62cef24ed75c429 /drivers/net/wireless/ti/wl1251/wl1251.h
parent64322e28d3f91a196c0e86de2790cdd338a74c28 (diff)
downloadlinux-f7ad1eed4d4b9d5f0b7ada151d5670e7cb33a6e7.tar.gz
wl1251: retry power save entry
Port of the power save entry retry code from wl1251 driver version included in the Maemo Fremantle kernel. This tries to enable power save mode up to 3 times before failing. Signed-off-by: David Gnedt <david.gnedt@davizone.at> Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl1251/wl1251.h')
-rw-r--r--drivers/net/wireless/ti/wl1251/wl1251.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl1251/wl1251.h b/drivers/net/wireless/ti/wl1251/wl1251.h
index 2c3bd1bff3f6..24869458cf74 100644
--- a/drivers/net/wireless/ti/wl1251/wl1251.h
+++ b/drivers/net/wireless/ti/wl1251/wl1251.h
@@ -368,6 +368,9 @@ struct wl1251 {
/* PSM mode requested */
bool psm_requested;
+ /* retry counter for PSM entries */
+ u8 psm_entry_retry;
+
u16 beacon_int;
u8 dtim_period;