Subject: kern/29324: WEP doesn't work with atu(4)
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Andreas Gustafsson <gson@gson.org>
List: netbsd-bugs
Date: 02/10/2005 13:07:00
>Number:         29324
>Category:       kern
>Synopsis:       WEP doesn't work with atu(4)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 10 13:07:00 +0000 2005
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current as of Feb 7, 2005
>Organization:
>Environment:
System: NetBSD guitar.araneus.fi 2.99.15 NetBSD 2.99.15 (GUITAR_KGDB_NOOPT) #0: Thu Feb 10 13:31:47 EET 2005 gson@guava.araneus.fi:/usr/src/sys/arch/i386/compile/GUITAR_KGDB_NOOPT i386
Architecture: i386
Machine: i386
>Description:

The atu(4) driver is unable to communicate with an 802.11b base
station configured to use WEP encryption.

>How-To-Repeat:

Connect a USB 802.11b adapter supported by the atu(4) driver.
I used a TRENDnet TEW-229UB.  Confirm that it works without WEP.

Configure the base station with a WEP key, say,
0xaaaaaaaaaaaaaaaaaaaaaaaaaa, and configure the
same key on the atu device:

  ifconfig atu0 nwkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaa

Notice that the connection no longer works.

>Fix:

Unknown.  It looks like the code to support WEP in if_atu.c is
incomplete; for example, there is a function atu_set_wepkey() but
it is never called.