diff options
author | imp <imp@FreeBSD.org> | 2002-04-12 03:42:37 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-04-12 03:42:37 +0000 |
commit | ddd8e1f3d8660daa8eaee045321ceedc6d6ff486 (patch) | |
tree | c5b20cf4e2a721f9cf2b76f68ad5c065205cf7c4 /sys/dev/wi/if_wivar.h | |
parent | 74de2695a0ca2873001e8a9c37b58495f4360a33 (diff) | |
download | FreeBSD-src-ddd8e1f3d8660daa8eaee045321ceedc6d6ff486.zip FreeBSD-src-ddd8e1f3d8660daa8eaee045321ceedc6d6ff486.tar.gz |
Replace the original host WEP implementation with the one in OpenBSD
(apparently by markus@, at least committed by him). This has the
advantage of not using the bad IV's from Fluhrer/Mantin/Shamir as well
as bringing the drivers a little closer together.
Also use a few constants in place of magic numbers in one place.
Obtained from: OpenBSD 1.25, 1.28, 1.36, 1.38, 1.42
Diffstat (limited to 'sys/dev/wi/if_wivar.h')
-rw-r--r-- | sys/dev/wi/if_wivar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/wi/if_wivar.h b/sys/dev/wi/if_wivar.h index cc1eaf8..777f3ab 100644 --- a/sys/dev/wi/if_wivar.h +++ b/sys/dev/wi/if_wivar.h @@ -160,6 +160,7 @@ struct wi_softc { #ifdef WI_HOSTAP struct wihap_info wi_hostap_info; u_int32_t wi_icv; + int wi_icv_flag; #endif struct callout_handle wi_stat_ch; struct mtx wi_mtx; |