From ddd8e1f3d8660daa8eaee045321ceedc6d6ff486 Mon Sep 17 00:00:00 2001 From: imp Date: Fri, 12 Apr 2002 03:42:37 +0000 Subject: 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 --- sys/dev/wi/if_wivar.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/wi/if_wivar.h') 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; -- cgit v1.1