]> git.karo-electronics.de Git - linux-beck.git/commit
mwifiex: support wowlan magic-packet encapsulated as UDP packet
authorZhiyuan Yang <yangzy@marvell.com>
Sat, 7 Jun 2014 02:47:42 +0000 (19:47 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 19 Jun 2014 19:49:15 +0000 (15:49 -0400)
commit4dbc13fae485c2519e995b2e0d8580641f14cad0
tree4d4faee7c378af911fb68a52b51912ed28863749
parentf0db59e1c491e921e412148ce05558bfcf9aaa64
mwifiex: support wowlan magic-packet encapsulated as UDP packet

When magic-packet is generated as a UDP packet the offset should
be 20+8 more bytes to cover IPv4 header and UDP header. So the
total offset become 56.
Add a new MEF entry to support both magic-packet patterns
generated by different tools.

Cc: Andreas Fenkart <afenkart@gmail.com>
Signed-off-by: Zhiyuan Yang <yangzy@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c