From nobody@FreeBSD.org  Mon Apr 17 18:38:55 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7386416A400
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 17 Apr 2006 18:38:55 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4417D43D46
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 17 Apr 2006 18:38:55 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k3HIctrV013916
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 17 Apr 2006 18:38:55 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k3HIctN1013915;
	Mon, 17 Apr 2006 18:38:55 GMT
	(envelope-from nobody)
Message-Id: <200604171838.k3HIctN1013915@www.freebsd.org>
Date: Mon, 17 Apr 2006 18:38:55 GMT
From: Christopher Chin <cchin@ack.Berkeley.EDU>
To: freebsd-gnats-submit@FreeBSD.org
Subject: 128-bit
X-Send-Pr-Version: www-2.3

>Number:         95956
>Category:       bin
>Synopsis:       128-bit
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 17 18:40:14 GMT 2006
>Closed-Date:    Mon Apr 17 19:50:01 GMT 2006
>Last-Modified:  Tue Apr 18 17:20:15 GMT 2006
>Originator:     Christopher Chin
>Release:        RELENG_6
>Organization:
UC Berkeley
>Environment:
FreeBSD bubble.Berkeley.EDU 6.1-RC FreeBSD 6.1-RC #1: Fri Apr 14 12:41:38 PDT 2006     cchin@bubble.Berkeley.EDU:/usr/obj/usr/src/sys/BUBBLE  i386

>Description:
After a recent cvsup, buildworld, and new kernel, I can no longer 
effectively use 128bit wep with my wi0 driver.

This worked beautifully with my 5.4, and I'm pretty sure this worked
well after my upgrade to 6.0 and 6.1-PRERELEASE.


  bubble (cchin):/home/cchin# ifconfig wi0 wep wepkey 0x12345678901234567890abcdef 
  ifconfig: SIOCS80211: Invalid argument
  bubble (cchin):/home/cchin#


For reference, from 'dmesg':

  wi0: <Dell TrueMobile 1150 Series PC Card> at port 0xe000-0xe03f irq 9 function 0 config 1 on pccard2
  wi0: using Lucent Embedded WaveLAN/IEEE
  wi0: Lucent Firmware: Station (8.10.1)
  wi0: Ethernet address: 00:02:2d:6e:ad:46


>How-To-Repeat:
'ifconfig wi0 wep wepkey 0x12345678901234567890abcdef'
'ifconfig wi0 wep wepkey 0x6162636465666768696A6B6C6D'
'ifconfig wi0 wep wepkey 0x6162636465666768696A6B6C6D00'
>Fix:

>Release-Note:
>Audit-Trail:

From: Ruslan Ermilov <ru@freebsd.org>
To: Christopher Chin <cchin@ack.Berkeley.EDU>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: bin/95956: 128-bit
Date: Mon, 17 Apr 2006 21:49:04 +0300

 On Mon, Apr 17, 2006 at 06:38:55PM +0000, Christopher Chin wrote:
 > After a recent cvsup, buildworld, and new kernel, I can no longer 
 > effectively use 128bit wep with my wi0 driver.
 > 
 > This worked beautifully with my 5.4, and I'm pretty sure this worked
 > well after my upgrade to 6.0 and 6.1-PRERELEASE.
 > 
 > 
 >   bubble (cchin):/home/cchin# ifconfig wi0 wep wepkey 0x12345678901234567890abcdef 
 >   ifconfig: SIOCS80211: Invalid argument
 >   bubble (cchin):/home/cchin#
 > 
 From the ifconfig(8) manpage:
 
 : A WEP key will be either 5 or 13 characters (40 or 104 bits)
 : depending of the local network and the capabilities of the
 : adaptor.
 
 
 Cheers,
 -- 
 Ruslan Ermilov
 ru@FreeBSD.org
 FreeBSD committer
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Mon Apr 17 19:49:11 UTC 2006 
State-Changed-Why:  
The 108-bit key is understood to be the correct behavior. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=95956 

From: Christopher Chin <cchin@ack.Berkeley.EDU>
To: Ruslan Ermilov <ru@freebsd.org>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: bin/95956: 128-bit
Date: Tue, 18 Apr 2006 10:03:36 -0700 (PDT)

 On Mon, 17 Apr 2006 (21:49 +0300), Ruslan Ermilov wrote:
 
 > Date: Mon, 17 Apr 2006 21:49:04 +0300
 > From: Ruslan Ermilov <ru@freebsd.org>
 > To: Christopher Chin <cchin@ack.Berkeley.EDU>
 > Cc: freebsd-gnats-submit@freebsd.org
 > Subject: Re: bin/95956: 128-bit
 > 
 > On Mon, Apr 17, 2006 at 06:38:55PM +0000, Christopher Chin wrote:
 >> After a recent cvsup, buildworld, and new kernel, I can no longer
 >> effectively use 128bit wep with my wi0 driver.
 >>
 >> This worked beautifully with my 5.4, and I'm pretty sure this worked
 >> well after my upgrade to 6.0 and 6.1-PRERELEASE.
 >>
 >>
 >>   bubble (cchin):/home/cchin# ifconfig wi0 wep wepkey 0x12345678901234567890abcdef
 >>   ifconfig: SIOCS80211: Invalid argument
 >>   bubble (cchin):/home/cchin#
 >>
 >> From the ifconfig(8) manpage:
 >
 > : A WEP key will be either 5 or 13 characters (40 or 104 bits)
 > : depending of the local network and the capabilities of the
 > : adaptor.
 
 
 Thanks, Ruslan.... however, I suppose that 5 or 13
 characters refers to ASCII representations.  The number
 of hex digits will differ.
 
   - Christopher
 
 ======================

From: Christopher Chin <cchin@ack.Berkeley.EDU>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: bin/95956: 128-bit
Date: Tue, 18 Apr 2006 10:08:32 -0700 (PDT)

 On Mon, 17 Apr 2006 (21:49 +0300), Ruslan Ermilov wrote:
 > 
 > On Mon, Apr 17, 2006 at 06:38:55PM +0000, Christopher Chin wrote:
 >>
 >>    [. . .]
 >>
 >>   bubble (cchin):/home/cchin# ifconfig wi0 wep wepkey 
 >> 0x12345678901234567890abcdef
 >>   ifconfig: SIOCS80211: Invalid argument
 >>   bubble (cchin):/home/cchin#
 >> 
 > From the ifconfig(8) manpage:
 > 
 > : A WEP key will be either 5 or 13 characters (40 or 104 bits)
 > : depending of the local network and the capabilities of the
 > : adaptor.
 
 
 Thanks, Ruslan.... however, I suppose that 5 or 13
 characters refers to ASCII representations.  The number
 of hex digits will differ.
 
   - Christopher
 
 ======================

From: Christopher Chin <cchin@ack.Berkeley.EDU>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: bin/95956: 128-bit
Date: Tue, 18 Apr 2006 10:11:28 -0700 (PDT)

 On Mon, 17 Apr 2006 (19:50 -0000), Mark Linimon wrote:
 > 
 > Synopsis: 128-bit
 > 
 > State-Changed-From-To: open->closed
 > State-Changed-By: linimon
 > State-Changed-When: Mon Apr 17 19:49:11 UTC 2006
 > State-Changed-Why:
 > The 108-bit key is understood to be the correct behavior.
 
 
 Hmmm...  turns out that a better answer would have been
 for me to (re-)read the 6-0 Release Notes...
 particularly section 2.2.2.2. Network Interface Support.
 
 Apparently: "Note in particular that WEP now requires
 the wlan_wep module to be loaded (or compiled) into the
 kernel."
 
 All fine and good... but I'd be surprised if others
 don't trip on this as well when 6.x gets more usage.
 
 Oh...  Sorry about the lame subject line.  I hit the 
 submit button before going back and "fixing" the Subject.
 
 Thanks,
   - Christopher
 
 ======================
>Unformatted:
