aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti/wl1251/wl1251.h
diff options
context:
space:
mode:
authorDavid Gnedt <david.gnedt@davizone.at>2014-01-07 07:05:45 -0500
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)
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 {
368 /* PSM mode requested */ 368 /* PSM mode requested */
369 bool psm_requested; 369 bool psm_requested;
370 370
371 /* retry counter for PSM entries */
372 u8 psm_entry_retry;
373
371 u16 beacon_int; 374 u16 beacon_int;
372 u8 dtim_period; 375 u8 dtim_period;
373 376