GENIE bit definition ?
Jean Tourrilhes
jt
Wed May 2 08:42:55 PDT 2007
On Tue, May 01, 2007 at 06:33:36PM -0700, Jouni Malinen wrote:
>
> > static const u8 WPA_CIPHER_SUITE_NONE[] = { 0x00, 0x50, 0xf2, 0 };
> > static const u8 WPA_CIPHER_SUITE_WEP40[] = { 0x00, 0x50, 0xf2, 1 };
> > static const u8 WPA_CIPHER_SUITE_TKIP[] = { 0x00, 0x50, 0xf2, 2 };
> > static const u8 WPA_CIPHER_SUITE_WRAP[] = { 0x00, 0x50, 0xf2, 3 };
> > static const u8 WPA_CIPHER_SUITE_CCMP[] = { 0x00, 0x50, 0xf2, 4 };
> > static const u8 WPA_CIPHER_SUITE_WEP104[] = { 0x00, 0x50, 0xf2, 5 };
>
> These are the only correct values from WPA IE cipher suites (with a
> small clarification that WRAP was removed before the standard was
> published).
I just find a bit sad that there are so many different
definitions of those. Obviously the standard ones, like this one, are
out of our control. But, most of the definitions were done by us, so
there was scope for simplification. For example, the IW_ENCODE_ALG_*
values in wireless.h could have match the last byte of the value
above.
> Jouni Malinen
Jean
More information about the Hostap
mailing list