linux/drivers/net/wireless/wl12xx
Eliad Peller c1b193eb65 wl12xx: rearrange some ELP wake_up/sleep calls
ELP (Extremely/Enhanced Low Power, or something like that ;)) refers to
the powerstate of the 12xx chip, in which very low power is consumed,
and no commands (from the host) can be issued until the chip is woken up.

Wakeup/sleep commands must be protected by a wl->mutex, so it's generally
a good idea to call wakeup/sleep along with the mutex lock/unlock (where
needed). However, in some places the wl12xx driver calls wakeup/sleep in
some "inner" functions. This result in some "nested" wakeup/sleep calls
which might end up letting the chip go to sleep prematurely (e.g. during
event handling).

Fix it by rearranging the elp calls to come along with mutex_lock/unlock.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
2011-04-19 16:49:14 +03:00
..
Kconfig wl12xx: 1281/1283 support - enable chip support 2011-04-19 16:49:03 +03:00
Makefile wl12xx_sdio_test: rename files to match current style 2010-12-15 17:09:27 +02:00
acx.c wl12xx: 1281/1283 support - use dynamic memory for the RX/TX pools 2011-04-19 16:48:59 +03:00
acx.h wl12xx: 1281/1283 support - Add acx commands 2011-04-19 16:19:47 +03:00
boot.c wl12xx: 1281/1283 support - Add dummy packet support 2011-04-19 16:49:01 +03:00
boot.h wl12xx: 1281/1283 support - Add Definitions 2011-04-19 16:19:46 +03:00
cmd.c wl12xx: 1281/1283 support - Loading FW & NVS 2011-04-19 16:48:10 +03:00
cmd.h wl12xx: 1281/1283 support - New radio structs and functions 2011-04-19 16:19:48 +03:00
conf.h wl12xx: 1281/1283 support - use dynamic memory for the RX/TX pools 2011-04-19 16:48:59 +03:00
debugfs.c wl12xx: Switch to a threaded interrupt handler 2011-03-03 16:10:46 +02:00
debugfs.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
event.c wl12xx: rearrange some ELP wake_up/sleep calls 2011-04-19 16:49:14 +03:00
event.h wl12xx: 1281/1283 support - Add dummy packet support 2011-04-19 16:49:01 +03:00
ini.h wl12xx: 1281/1283 support - Loading FW & NVS 2011-04-19 16:48:10 +03:00
init.c wl12xx: 1281/1283 support - New radio structs and functions 2011-04-19 16:19:48 +03:00
init.h wl12xx: 1281/1283 support - Add acx commands 2011-04-19 16:19:47 +03:00
io.c wl12xx: 1281/1283 support - Add acx commands 2011-04-19 16:19:47 +03:00
io.h wl12xx: 1281/1283 support - Add dummy packet support 2011-04-19 16:49:01 +03:00
main.c wl12xx: rearrange some ELP wake_up/sleep calls 2011-04-19 16:49:14 +03:00
ps.c wl12xx: rearrange some ELP wake_up/sleep calls 2011-04-19 16:49:14 +03:00
ps.h wl12xx: Switch to a threaded interrupt handler 2011-03-03 16:10:46 +02:00
reg.h wl12xx: 1281/1283 support - Add Definitions 2011-04-19 16:19:46 +03:00
rx.c wl12xx: Fix potential incorrect band in rx-status 2011-04-19 16:49:04 +03:00
rx.h wl12xx: use standard ALIGN() macro 2011-02-23 11:11:19 +02:00
scan.c wl12xx: use a bitmask instead of list of booleans in scanned_ch 2011-04-19 16:49:12 +03:00
scan.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
sdio.c wl12xx: Clamp byte mode transfers for 128x chips 2011-04-19 16:49:07 +03:00
sdio_test.c wl12xx: Clamp byte mode transfers for 128x chips 2011-04-19 16:49:07 +03:00
spi.c wl12xx: 1281/1283 support - Use different FW file for AP mode wl127x/wl128x chips 2011-04-19 16:49:02 +03:00
testmode.c wl12xx: 1281/1283 support - Loading FW & NVS 2011-04-19 16:48:10 +03:00
testmode.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
tx.c wl12xx: rearrange some ELP wake_up/sleep calls 2011-04-19 16:49:14 +03:00
tx.h wl12xx: use 1 spare TX block instead of two 2011-04-19 16:49:03 +03:00
wl12xx.h wl12xx: use a bitmask instead of list of booleans in scanned_ch 2011-04-19 16:49:12 +03:00
wl12xx_80211.h ieee80211: add IEEE80211_COUNTRY_STRING_LEN definition 2011-03-09 16:10:56 -05:00
wl12xx_platform_data.c wl12xx: add platform data passing support 2010-09-21 11:04:57 -04:00