Re: ath or ral?

2012-11-13 Thread Zoran Kolic
After some more researching, I found interesting idea for 8 years
old laptop: realtek rtl8191su inside d-link dwa-131 adapter.

http://www.undeadly.org/cgi?action=article&sid=20101216231634

My thinkering is that usb adapter uses less power than pcmcia.
The driver is rsu. Laptop is HP nx9020 with 2 usb ports:

none2@pci0:0:29:0:  class=0x0c0300 card=0x3084103c chip=0x24c28086 rev=0x03 
hdr=0x00
vendor = 'Intel Corporation'
device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller *1'
class  = serial bus
subclass   = USB
none3@pci0:0:29:1:  class=0x0c0300 card=0x3084103c chip=0x24c48086 rev=0x03 
hdr=0x00
vendor = 'Intel Corporation'
device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller *2'
class  = serial bus
subclass   = USB
none4@pci0:0:29:2:  class=0x0c0300 card=0x3084103c chip=0x24c78086 rev=0x03 
hdr=0x00
vendor = 'Intel Corporation'
device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller *3'
class  = serial bus
subclass   = USB
none5@pci0:0:29:7:  class=0x0c0320 card=0x3084103c chip=0x24cd8086 rev=0x03 
hdr=0x00
vendor = 'Intel Corporation'
device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB 2.0 EHCI Controller'
class  = serial bus

I assume usb is able to power this adapter and run at sufficient speed?
Is this good idea at all?
Best regards

   Zoran



Re: ath or ral?

2012-11-10 Thread Stefan Sperling
On Sat, Nov 10, 2012 at 05:13:22PM +0100, Zoran Kolic wrote:
> I have an old laptop on which I plan to install 5.2 i386.
> Using pcmcia it should go to internet. What wifi card to
> choose: atheros 5212 or ralink 2500? Both are considered
> supported quite well.

If you don't intend to run hostap mode then either card should be fine.
I'd probably go for ral to take advantage of 11g modes.

ath is better for hostap mode in my experience. It has a larger
range and is very stable in 5.2 (it had minor bugs in the past but
all known ones have been fixed). However, keep in mind that ath only
supports 11b, not 11a or 11g (11a media options show up but the card
doesn't work if I try to use them).

ral seems to suffer from weaker range in hostap mode, has known issues
with transmit speed in hostap mode (not sure if the rt2500 is affected
by this but rt2661 certainly is), and has had stability problems because
of driver bugs. For rt2500 all known issues are fixed in 5.2.
For rt2661 they are *not* fixed in 5.2, only in -current, and the
transmit speed issue is unresolved.
I've been told the rt2700 and rt2800 ral chips work very well but
I don't own such hardware. I own both rt2500 and rt2661.

Both chipsets you mention are only available on the second hand market.
Be careful if you don't know exactly what chipset you're buying.
There are some ath variants which we lack support for, see
http://marc.info/?l=openbsd-misc&m=134901419419278&w=2