Re: DWL-520 Troubles


From: Jouni Malinen (jkmaline_at_cc.hut.fi)
Date: 2002-08-12 17:30:00 UTC



On Sat, Aug 10, 2002 at 05:23:44PM +1000, Mike Tyson wrote:

> I'm trying to get a D-Link DWL-520 PCI card going on my Spacewalker
> Shuttle mini system.

Which PCI BIOS revision are you using? I do not have D-Link DWL-520 cards, but I have heard various reports about problems with PCI BIOS revisions older than 2.20.

> I'm not sure if it could be a cause, but the wireless card seems to be
> sharing an IRQ with the firewire controller (pci info below). This is
> after i moved the card to the second PCI slot in the box - previously,
> it was sharing an irq with the ethernet controller (eth0).

At least Host AP driver should be able to share IRQs. Anyway, the failing operation (TX fid alloc) is performed before any IRQs are needed, so I don't think this is the issue. Of course you could test the card without other PCI cards to make sure that something else is not causing the problem.

> prism2_hw_config: initialized in 245 iterations

This looks quite fast.. Prism2.5 PCI card I have used in tests initialize in about 18000 iterations..

> wlan0: CMD=0x000a => res=0x7f
> wlan0: cannot allocate fid, len=2364
> wlan0: CMD=0x000a => res=0x7f
> wlan0: cannot allocate fid, len=1600

These are more or less the first things done after card init. If the PCI BIOS revision does not explain the problem, you could try increasing the COR sreset delay in hostap_pci.c by defining PRISM2_PCI_USE_LONG_DELAYS.

-- 
Jouni Malinen                                            PGP id EFC895FA


This archive was generated by hypermail 2.1.4.