Search Linux Wireless

RE: [PATCH v2] iw: add packet offset information for wowlan pattern

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Johannes,

> 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.

Thanks for your comments.

V3 takes care of this as well as the old kernels. Please check.

Thanks,
Bing

> 
> johannes

��.n��������+%������w��{.n�����{���zW����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux