OpenCloudOS-Kernel/drivers/net/wireless/wl12xx
Eliad Peller f44e58681a wl12xx: prevent scheduling while suspending (WoW enabled)
When WoW is enabled, the interface will stay up and the chip will
be powered on, so we have to flush/cancel any remaining work, and
prevent the irq handler from scheduling a new work until the system
is resumed.

Add 2 new flags:
* WL1271_FLAG_SUSPENDED - the system is (about to be) suspended.
* WL1271_FLAG_PENDING_WORK - there is a pending irq work which
   should be scheduled when the system is being resumed.

In order to wake-up the system while getting an irq, we initialize
the device as wakeup device, and calling pm_wakeup_event() upon
getting the interrupt (while the system is about to be suspended)

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
2011-05-13 14:55:49 +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 Revert "wl12xx: support FW TX inactivity triggers" 2011-05-02 12:46:40 +03:00
acx.h Revert "wl12xx: support FW TX inactivity triggers" 2011-05-02 12:46:40 +03:00
boot.c wl12xx: listen to scheduled scan events 2011-05-13 00:06:32 +03:00
boot.h wl12xx: move hardcoded hci_io_ds value into the conf struct 2011-04-19 16:49:22 +03:00
cmd.c Revert "wl12xx: support FW TX inactivity triggers" 2011-05-02 12:46:40 +03:00
cmd.h wl12xx: 1281/1283 support - New radio structs and functions 2011-04-19 16:19:48 +03:00
conf.h wl12xx: add configuration values for scheduled scan 2011-05-13 00:06:32 +03:00
debugfs.c wl12xx: export scheduled scan state in debugfs 2011-05-13 00:06:33 +03:00
debugfs.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
event.c wl12xx: implement scheduled scan driver operations and reporting 2011-05-13 00:06:33 +03:00
event.h Revert "wl12xx: support FW TX inactivity triggers" 2011-05-02 12:46:40 +03:00
ini.h wl12xx: 1281/1283 support - Loading FW & NVS 2011-04-19 16:48:10 +03:00
init.c Revert "wl12xx: support FW TX inactivity triggers" 2011-05-02 12:46:40 +03:00
init.h wl12xx: AP-mode - reconfigure templates after basic rates change 2011-05-02 10:31:18 +03:00
io.c wl12xx: Clean up the block size alignment code 2011-04-19 16:49:18 +03:00
io.h wl12xx: fix roaming 2011-04-19 16:49:15 +03:00
main.c wl12xx: prevent scheduling while suspending (WoW enabled) 2011-05-13 14:55:49 +03:00
ps.c wl12xx: avoid premature elp entrance 2011-05-02 10:25:27 +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: discard corrupted packets in RX 2011-05-02 10:27:25 +03:00
rx.h wl12xx: use standard ALIGN() macro 2011-02-23 11:11:19 +02:00
scan.c wl12xx: prevent sched_scan when not idle or not in station mode 2011-05-13 00:06:33 +03:00
scan.h wl12xx: add scheduled scan structures and commands 2011-05-13 00:06:33 +03:00
sdio.c wl12xx: prevent scheduling while suspending (WoW enabled) 2011-05-13 14:55:49 +03:00
sdio_test.c wl12xx: Clamp byte mode transfers for 128x chips 2011-04-19 16:49:07 +03:00
spi.c wl12xx: Handle platforms without level trigger interrupts 2011-04-19 16:49:20 +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: fix race condition during recovery in AP mode 2011-05-02 10:31:28 +03:00
tx.h wl12xx: fix race condition during recovery in AP mode 2011-05-02 10:31:28 +03:00
wl12xx.h wl12xx: prevent scheduling while suspending (WoW enabled) 2011-05-13 14:55:49 +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