I'm using a 6sl based board (not the 6slevk but similar) with 1dx running Linux 4.1.15 with bcmdhd. It works fine but I'm having some trouble with wake-on-wifi (wowlan) mode and pattern matching. If I do:
iw phy0 wowlan enable any
Then this works as expected and the system wakes up on receiving any packet.
If I do:
iw phy0 wowlan enable patterns 00:11:22:33:44:A1
iw phy0 wowlan enable patterns 00:44:33:22:11:00
Then my expectation was that only packets that match that pattern in the destination mac address would wake up the system. However, what I see instead is that IGMP v2 multicast packets are causing a wakeup as well. Eg:
17:41:36.178045 c8:b3:73:4c:e8:a2 > 01:00:5e:00:00:01, ethertype IPv4 (0x0800), length 42: (tos 0x0, ttl 1, id 0, offset 0, flags [DF], proto IGMP (2), length 28)
192.168.1.1 > 18.104.22.168: igmp query v2
These packets show up frequently so the system is waking up from suspend unexpectedly regularly.
I am trying to figure out if I'm making some mistake or if there's some limitation of 1dx with pattern matching in wowlan mode.