Hostap 0.0.4 interrupt problems

Sitsofe Wheeler sits at sucs.org
Sun Aug 3 06:44:38 EDT 2003


Hi,

I have just compiled and installed Hostap 0.0.4 on my Compaq iPAQ and
initially thought that the driver was failing to work until I did a
manual reset by using "iwpriv wlan0 reset 1". After this the card
started working until it was suspended or removed and reinserted. On the
odd occasion I will insert the card and everything will work from the
off. Neither the orinoco (0.13e) nor the linux-wlan (0.2.1-pre9) drivers
have this problem. I have attached dmesg output of hostap and
linux-wlan.

I also see a problem when downloading a 10Mb file at a high speed (>
500KB/s) using wget. After about two seconds, the transfer will stop,
Hostap will print error messages to the console and the card is not
reset until I try and ping another machine (at which point it
successfully resets the card only to get into trouble again a second or
two later). I have tried the orinoco drivers and they too have a similar
problem (transfer a little bit then lock up and print error messages)
but the orinoco drivers seem more successful at resetting the card
without prompting. However, the linux-wlan drivers don't even lock up in
the first place and can transfer the entire file at speed (> 550KB/s)
without incident. I've attached the dmesg output which occurs during the
transfer.

Can anyone shed any light on the above problems or why linux-wlan
doesn't suffer the lockups the other drivers do when downloading at
speed? 

-- 
Sitsofe | http://sucs.org/~sits/
-------------- next part --------------
hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.0.4 - 2003-07-27 (Jouni Malinen <jkmaline at cc.hut.fi>)
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
prism2_config()
hostap_cs: ignoring Vcc=33 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: index 0x01: Vcc 3.3, irq 42, io 0xcaa80000-0xcaa8003f
hostap_cs: Registered netdevice wlan0
prism2_hw_init()
prism2_hw_init: initialized in 100 ms
wlan0: NIC: id=0x8003 v1.0.0
wlan0: PRI: id=0x15 v0.3.0
wlan0: STA: id=0x1f v1.4.9
wlan0: defaulting to bogus WDS frame as a workaround for firmware bug in Host AS
wlan0: hfa384x_cmd: entry still in list? (entry=c1e498e4, type=0, res=0)
wlan0: hfa384x_cmd: command was not completed (res=0, entry=c1e498e4, type=0, c)
wlan0: interrupt delivery does not seem to work
wlan0: reset port failed to disable port
wlan0: MAC port 0 reseting failed
prism2: wlan0: operating mode changed 3 -> 2
wlan0: hfa384x_cmd: entry still in list? (entry=c1e412b4, type=0, res=0)
wlan0: hfa384x_cmd: command was not completed (res=0, entry=c1e412b4, type=0, c)
wlan0: interrupt delivery does not seem to work
wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=-110, rid=fc00, len=2)
wlan0: hfa384x_cmd: entry still in list? (entry=c1e413d4, type=0, res=0)
wlan0: hfa384x_cmd: command was not completed (res=0, entry=c1e413d4, type=0, c)
wlan0: interrupt delivery does not seem to work
wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=-110, rid=fc0e, len=34)
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=c1e413d4, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=-110, rid=fc02, len=34)
wlan0: prism2_open
wlan0: manual reset request(1)
hostap_cs: wlan0: resetting card
prism2_pccard_cor_sreset: original COR 41
prism2_hw_init()
prism2_hw_init: initialized in 110 ms
wlan0: LinkStatus=1 (Connected)
wlan0: LinkStatus: BSSID=00:30:ab:22:7f:0b
-------------- next part --------------
prism2_init: prism2_cs.o: 0.2.1-pre9 Loaded
prism2_init: dev_info is: prism2_cs
prism2_cs: index 0x01: Vcc 3.3, irq 42, io 0xcaa80000-0xcaa8003f
ident: nic h/w: id=0x8003 1.0.0
ident: pri f/w: id=0x15 0.3.0
ident: sta f/w: id=0x1f 1.4.9
MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
CFI:SUP:role=0x00:id=0x02:var=0x01:b/t=1/1
PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/2
STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/9
PRI-CFI:ACT:role=0x01:id=0x02:var=0x01:b/t=1/1
STA-CFI:ACT:role=0x01:id=0x02:var=0x01:b/t=1/1
STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
Prism2 card SN: 011000000533
linkstatus=CONNECTED
Attempt to kill tasklet from interrupt
hfa384x_cmd_access: Call to hfa384x_docmd_wait failed (127 31354)
prism2_cs.o: 0.2.1-pre9 Unloaded
p80211.o: 0.2.1-pre9 Unloaded
-------------- next part --------------
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus: BSSID=44:44:44:44:44:44
wlan0: prism2_open
wlan0: LinkStatus=1 (Connected)
wlan0: LinkStatus: BSSID=00:30:ab:22:7f:0b
NETDEV WATCHDOG: wlan0: transmit timed out
wlan0 Tx timed out! Resetting card
wlan0: CMD=010b EVSTAT=8019 OFFSET0=0000 OFFSET1=0000 SWSUPPORT0=8a32
wlan0: scheduled card reset
hostap_cs: wlan0: resetting card
prism2_pccard_cor_sreset: original COR 41
wlan0: removed pending cmd_queue entry (type=1, cmd=0x010b, param0=0x0138)
prism2_hw_init()
prism2_hw_init: initialized in 110 ms
wlan0: LinkStatus=1 (Connected)
wlan0: LinkStatus: BSSID=00:30:ab:22:7f:0b
(did a ping here)
NETDEV WATCHDOG: wlan0: transmit timed out
wlan0 Tx timed out! Resetting card
wlan0: CMD=010b EVSTAT=8099 OFFSET0=0000 OFFSET1=0000 SWSUPPORT0=8a32
wlan0: scheduled card reset
hostap_cs: wlan0: resetting card
prism2_pccard_cor_sreset: original COR 41
wlan0: removed pending cmd_queue entry (type=1, cmd=0x010b, param0=0x0123)
prism2_hw_init()
prism2_hw_init: initialized in 110 ms
wlan0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
   retry_count=0 tx_rate=0 fc=0x0108 (Data::0 ToDS)
   A1=00:30:ab:22:7f:0b A2=00:04:db:00:02:15 A3=00:d0:70:01:a0:79 A4=00:00:00:00
wlan0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
   retry_count=0 tx_rate=0 fc=0x0108 (Data::0 ToDS)
   A1=00:30:ab:22:7f:0b A2=00:04:db:00:02:15 A3=00:d0:70:01:a0:79 A4=00:00:00:00
wlan0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
   retry_count=0 tx_rate=0 fc=0x0108 (Data::0 ToDS)
   A1=00:30:ab:22:7f:0b A2=00:04:db:00:02:15 A3=ff:ff:ff:ff:ff:ff A4=00:00:00:00


More information about the HostAP mailing list