Problems with Linksys Card

Matt Brown matt at mattb.net.nz
Sat Apr 24 01:08:07 EDT 2004


Hi, 

I have a Linksys 802.11b card which has been extract from a Linksys
WET11, cardctl ident reports
Socket 0:
  product info: "PCMCIA", "11M WLAN Card v3.0", "", ""
  manfid: 0x0274, 0x1613
  function: 6 (network)
This is a Prism 2.5 based card, and I have flashed it up to the latest
firmwares
wlan0: trying to read PDA from 0x007f0000: OK
wlan0: NIC: id=0x801b v1.0.0
wlan0: PRI: id=0x15 v1.1.1
wlan0: STA: id=0x1f v1.8.0

I am trying to use this card in two different machines - in station mode
only at this stage. 

The first machine is a Compaq Armada E500 laptop with a Yenta based
PCMCIA bridge, the card works correctly in this machine and can
communicate with other cards without problems. 

The second machine is a Advantech Biscuit PC with a Vadem VG-468 PC104
PCMCIA bridge. 
Linux Kernel Card Services 3.1.22
  options:  [pci] [cardbus]
Intel ISA PCIC probe:
  Vadem VG-468 ISA-to-PCMCIA at port 0x3e0 ofs 0x00, 2 sockets
    host opts [0]: none
    host opts [1]: none
    ISA irqs (scanned) = 3,4,5,7,9,12,14 status change on irq 14
I cannot get the card to operate correctly in this machine. Inserting
the card results in the following errors

wlan0: hfa384x_cmd: entry still in list? (entry=c72e3220, type=0, res=0)
wlan0: hfa384x_cmd: command was not completed (res=0, entry=c72e3220, type=0, cmd=0x0021, param0=0xfc01, EVSTAT=8010 INTEN=0010)
wlan0: interrupt delivery does not seem to work
wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc01, len=6)
wlan0: could not get own MAC address
wlan0: hfa384x_cmd: entry still in list? (entry=c72e3220, type=0, res=0)
wlan0: hfa384x_cmd: command was not completed (res=0, entry=c72e3220, type=0, cmd=0x0121, param0=0xfce0, EVSTAT=8010 INTEN=0010)
wlan0: interrupt delivery does not seem to work
wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=-110, rid=fce0, len=2)
wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8000
wlan0: hfa384x_cmd: entry still in list? (entry=c72e3220, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=-110, rid=fc00, len=2)
wlan0: Port type setting to 6 failed
wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8000
wlan0: hfa384x_cmd: entry still in list? (entry=c72e3220, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: MAC port 0 enabling failed

At which point the card is useless and any iwconfig command fails. Using
iwpriv to reset the card has no effect.

I am successfully using an Orinoco Gold card with hostap in this machine
so I am hesitant to point the blame at the PCMCIA bridge. 

Any ideas on what might be wrong and further steps that I could take to debug
the machine?

cardmgr version 3.2.7
Linux msb 2.4.26-ipmp-bpc #4 Thu Apr 15 15:14:27 NZST 2004 i586 unknown

hostap_diag output from the card in question can be found at
http://www.wand.net.nz/~mglb1/hostap/linksys-diag
This had to be generated with the card in the laptop as executing hostap_diag
on the advantech machine resulted in the following error. 

hostap_diag -a wlan0
Host AP driver diagnostics information for 'wlan0'
 
ioctl[PRISM2_IOCTL_HOSTAPD]: Connection timed out
Could not communicate with the kernel driver.

Any help in tracking down and resolving this error would be greatly appreciated.

-- 
Matt Brown
Email: matt at mattb.net.nz
GSM  : 021 611 544




More information about the HostAP mailing list