diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2009-11-17 17:48:37 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-18 23:09:20 +0100 |
commit | d5da79ac1f5050cccaa68d814ccce292371f25fa (patch) | |
tree | 2774979009bbc0a4efd5ea3d3a4bb5c03287c6c6 /drivers/net/wireless/wl12xx/wl1251.h | |
parent | wl1251: Configure beacon filtering on if PSM used (diff) | |
download | linux-d5da79ac1f5050cccaa68d814ccce292371f25fa.tar.xz linux-d5da79ac1f5050cccaa68d814ccce292371f25fa.zip |
wl1251: Implement delayed entry into ELP mode
Implement (slightly) delayed entry into ELP. This will cure several
problems:
- It works around a firmware race condition if ELP is entered too fast
after commands (resulting in ELP timeout -traces)
- It will reduce the number of sleep-wake cycles between already
scheduled events such as interrupts and tx, hence improving
performance (less delay in switching between RX and TX)
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Vidhya Govindan <vidhya.govindan@nokia.com>
Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1251.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1251.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251.h b/drivers/net/wireless/wl12xx/wl1251.h index fc2871c5a25b..a839466664f0 100644 --- a/drivers/net/wireless/wl12xx/wl1251.h +++ b/drivers/net/wireless/wl12xx/wl1251.h @@ -354,6 +354,8 @@ struct wl1251 { /* is firmware in elp mode */ bool elp; + struct delayed_work elp_work; + /* we can be in psm, but not in elp, we have to differentiate */ bool psm; |