wl12xx: support wowlan wakeup patterns
authorEyal Shapira <eyal@wizery.com>
Wed, 14 Mar 2012 04:32:10 +0000 (06:32 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 May 2012 21:53:23 +0000 (17:53 -0400)
commitb95d7cef067e12926b6b69a9164cdea301dd6fc0
tree969f8f34dd1e3fccc38ea6bd730ebb7eb2de0d1b
parentdbe0a8cdb2ce1a9ea52805169dd06a8812bcd741
wl12xx: support wowlan wakeup patterns

Use FW RX data filters to support cfg80211 wowlan wakeup patterns.
This enables to wake up the host from suspend following detection
of certain configurable patterns within an incoming packet.
Up to 5 patterns are supported. Once the host is resumed
any configured RX data filter is cleared.
A single pattern can match several bytes sequences with different
offsets within a packet.

Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c
drivers/net/wireless/ti/wlcore/wl12xx.h