From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 27 21:41:11 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82B2E106566B for ; Wed, 27 Feb 2008 21:41:11 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 5C66D8FC27 for ; Wed, 27 Feb 2008 21:41:11 +0000 (UTC) (envelope-from sam@errno.com) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m1RLfAmp020217 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Feb 2008 13:41:11 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <47C5D8F6.20608@errno.com> Date: Wed, 27 Feb 2008 13:41:10 -0800 From: Sam Leffler User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: Yuri References: <1204146470.47c5d1267ceee@webmail.rawbw.com> In-Reply-To: <1204146470.47c5d1267ceee@webmail.rawbw.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: freebsd-hackers@freebsd.org Subject: Re: Is it possible that modern wireless card only supports WPA and not WEP or this is a bug in the driver? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2008 21:41:11 -0000 Yuri wrote: > I have a Linksys PCI wireless card that is being attached by "ral" driver: > ral0: mem 0xcffe8000-0xcffeffff irq 17 at device > 10.0 on pci0 > ral0: MAC/BBP RT2561C, RF RT2527 > ral0: Ethernet address: 00:18:f8:2e:40:25 > ral0: [ITHREAD] > > But when I do 'ifconfig ral0 list caps' it returns: > ral0=2181e500 > and WEP isn't there. > > This looks amazing since WEP is older and very widespread. > > So how can I tell if this card can't really support WEP or it's the driver that > can't support it? > WEP is always supported. The WEP capability bit means the driver uses the hardware. Many driver writers were too lazy to implement full driver support and just fall back on the host to do crypto. > Also command: > ifconfig ral0 inet 192.168.0.1 netmask 255.255.255.0 ssid freebsdap wepmode on > weptxkey 3 wepkey 3:0x3456789012 authmode open mode 11g mediaopt hostap > succeeds though CAPS doesn't have WEP. > Isn't this a bug? > > No, see above. Sam