Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2008 13:41:10 -0800
From:      Sam Leffler <sam@errno.com>
To:        Yuri <yuri@rawbw.com>
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?
Message-ID:  <47C5D8F6.20608@errno.com>
In-Reply-To: <1204146470.47c5d1267ceee@webmail.rawbw.com>
References:  <1204146470.47c5d1267ceee@webmail.rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Yuri wrote:
> I have a Linksys PCI wireless card that is being attached by "ral" driver:
> ral0: <Ralink Technology RT2561S> 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<IBSS,HOSTAP,TXPMGT,SHSLOT,SHPREAMBLE,MONITOR,WPA1,WPA2,BGSCAN>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47C5D8F6.20608>