nl80211: add packet offset information for wowlan pattern
authorAmitkumar Karwar <akarwar@marvell.com>
Tue, 12 Feb 2013 20:16:26 +0000 (12:16 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 13 Feb 2013 09:09:48 +0000 (10:09 +0100)
commitbb92d19983a4b54be3e3b83441a8076d92cd04bc
treee53601fab3727ec69137d67729fdf73414182aba
parent66d575705154525c33ab99b5f9ac2d246c348db6
nl80211: add packet offset information for wowlan pattern

If user knows the location of a wowlan pattern to be matched in
Rx packet, he can provide an offset with the pattern. This will
help drivers to ignore initial bytes and match the pattern
efficiently.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
[refactor pattern sending]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c