diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-10-27 16:20:49 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-10-27 16:20:49 +0000 |
commit | e91cb80664555fdef39ea54b8dc681c10c47d544 (patch) | |
tree | a5657ccb4503949461ab7c31fb534349de7d9cb1 /sys/dev/ic/if_wivar.h | |
parent | 08c7476bd7d6da9c4b04d2eb087340ebba4f3fc9 (diff) |
Add an option to use software WEP now that we have a software decrypt
function. Can be useful for cards that only support 40-bit WEP or
where the card firmware lacks weak IVs avoidance. Prism/Symbol only.
In the future this will be expanded to support proposed WEP replacements.
Based on code from Jamison Adcock.
Diffstat (limited to 'sys/dev/ic/if_wivar.h')
-rw-r--r-- | sys/dev/ic/if_wivar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/if_wivar.h b/sys/dev/ic/if_wivar.h index d9bbe6778ef..f17bebdc0d6 100644 --- a/sys/dev/ic/if_wivar.h +++ b/sys/dev/ic/if_wivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wivar.h,v 1.19 2002/10/10 20:27:46 millert Exp $ */ +/* $OpenBSD: if_wivar.h,v 1.20 2002/10/27 16:20:48 millert Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -78,6 +78,7 @@ struct wi_softc { struct ieee80211_nwid wi_ibss_name; int wi_use_wep; + int wi_crypto_algorithm; int wi_tx_key; struct wi_ltv_keys wi_keys; struct wi_counters wi_stats; |