WEP cannot be used when Prism2 Firm version is lower than 0.8.3.

Although WEP is used in Windows also in an old firm,
because WEP is processed by the windows driver side.
If Prism2 Firm version is more than 0.8.3, WEP does work without 'Promiscuous ON'.
This commit is contained in:
ichiro 2001-05-15 04:27:22 +00:00
parent 4d4231d0e9
commit caa399b739
1 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: wi.c,v 1.4 2001/05/15 04:14:06 ichiro Exp $ */
/* $NetBSD: wi.c,v 1.5 2001/05/15 04:27:22 ichiro Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@ -1404,12 +1404,13 @@ wi_init(ifp)
wi_write_record(sc, (struct wi_ltv_gen *)&sc->wi_keys);
if (sc->sc_prism2 && sc->wi_use_wep) {
/*
* If promiscuous mode disable, Prism2 chip
* does not work with WEP .
* Prism firm version < ver.0.8.3
* If promiscuous mode disable, Prism2 chip
* does not work with WEP .
* It is under investigation for details.
* (ichiro@netbsd.org)
*/
WI_SETVAL(WI_RID_PROMISC, 1); /* XXX */
WI_SETVAL(WI_RID_PROMISC, 1); /* XXX firm ver < 0.8.3 */
WI_SETVAL(WI_RID_AUTH_CNTL, sc->wi_authtype);
}
}