Also... > COMMAND(wowlan, enable, "[any] [disconnect] [magic-packet] [gtk-rekey-failure] [eap-identity-request]" > - " [4way-handshake] [rfkill-release] [patterns <pattern>*]", > + " [4way-handshake] [rfkill-release] [patterns [offset1] <pattern1> ...]", > NL80211_CMD_SET_WOWLAN, 0, CIB_PHY, handle_wowlan_enable, > "Enable WoWLAN with the given triggers.\n" > "Each pattern is given as a bytestring with '-' in places where any byte\n" > "may be present, e.g. 00:11:22:-:44 will match 00:11:22:33:44 and\n" > - "00:11:22:33:ff:44 etc."); > + "00:11:22:33:ff:44 etc.\n" > + "Use ':' for single byte pattern as well, e.g. 18 43: will match '43' " > + "after 18 bytes of offset in Rx packet."); Is there maybe a slightly more intuitive syntax? I'm not really worried about the break of pattern being just a single byte, but it seems to me something like <offset>+<pattern> or so would be easier to understand? iw wowlan enable disconnect patterns 14+88:8E It would also be more obviously wrong to an old iw version -- it would reject this, while it would accept "14 88:8E" as two patterns. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html