hostap_pci connects fine but drops all connections after a few minutes

Brad Hein regulatre
Mon Feb 2 15:40:35 PST 2004


I'm experiencing a strange phenomenon where hostap is allowing clients to 
connect, but drops them after a period of time. During the time the client 
is connected, data transfer is good. When the client is disconnected, the 
client link goes down and the only way to re-establish it is to disable then 
re-enable the device.
The client is a Orinoco card on a Dell laptop. I've also tried a DWL-650 
linksys pcmcia card too. The client isn't the problem though, because I can 
connect to other Ap's flawlessly.

I'm looking through the logs and I see a few things that seem suspect... 
I'll paste them below. With any luck, someone can help me make sense of the 
phenomenon and help me get it working! =)

My client's MAC is a6:50:3f:73:3f:73
Here's some syslog messages:

Jan 31 22:13:47 existent kernel: hostap_pci: 0.1.2 - 2003-11-02 (Jouni 
Malinen <jkmaline at cc.hut.fi>)
Jan 31 22:13:47 existent kernel: PCI: Found IRQ 10 for device 00:0a.0
Jan 31 22:13:47 existent kernel: PCI: Sharing IRQ 10 with 00:07.5
Jan 31 22:13:47 existent kernel: hostap_pci: Registered netdevice wlan0
Jan 31 22:13:47 existent kernel: prism2_hw_init: initialized in 200 ms
Jan 31 22:13:47 existent kernel: wlan0: NIC: id=0x8013 v1.0.0
Jan 31 22:13:47 existent kernel: wlan0: PRI: id=0x15 v1.0.5
Jan 31 22:13:47 existent kernel: wlan0: STA: id=0x1f v1.3.4
Jan 31 22:13:47 existent kernel: wlan0: defaulting to host-based encryption 
as a workaround for firmware bug in Host AP mode WEP
Jan 31 22:13:47 existent kernel: wlan0: defaulting to bogus WDS frame as a 
workaround for firmware bug in Host AP mode WDS
Jan 31 22:13:47 existent kernel: wlan0: Intersil Prism2.5 PCI: 
mem=0xd6040000, irq=10
Jan 31 22:13:47 existent kernel: hermes.c: 5 Apr 2002 David Gibson 
<hermes at gibson.dropbear.id.au>


Syslog logs a few errors right around the time that the client's link goes 
down... It's hard to pinpoint exactly where it happens, but it's somewhere 
within this glob:

Feb  2 18:28:25 existent kernel: wlan0: RX status=0x0000 (port=0, type=0, 
fcserr=0) silence=0 signal=24 rate=10 rxflow=0; jiffies=19517438
Feb  2 18:28:25 existent kernel:    FC=0x1148 (type=2:4) dur=0x013a 
seq=0x4230 data_len=0 [ToDS]
Feb  2 18:28:25 existent kernel:    A1=00:06:25:a7:f9:50 
A2=a6:50:3f:73:3f:73 A3=00:06:25:a7:f9:50 A4=45:f0:00:00:00:00
Feb  2 18:28:25 existent kernel:    dst=00:06:25:a7:f9:50 
src=00:20:a6:50:3f:73 len=0
Feb  2 18:28:25 existent kernel: wlan0: dropped received packet from 
non-associated STA a6:50:3f:73:3f:73 (type=0x02, subtype=0x04)
Feb  2 18:28:25 existent kernel: handle_ap_item - data frame
Feb  2 18:28:25 existent kernel: wlan0: TX status=0x0000 retry_count=0 
tx_rate=0 tx_control=0x000c; jiffies=19517439
Feb  2 18:28:25 existent kernel:    FC=0x00c0 (type=0:12) dur=0x0000 
seq=0x0000 data_len=2
Feb  2 18:28:25 existent kernel:    A1=a6:50:3f:73:3f:73 
A2=00:06:25:a7:f9:50 A3=00:06:25:a7:f9:50 A4=00:00:00:00:00:00
Feb  2 18:28:25 existent kernel:    dst=00:00:00:00:00:00 
src=00:00:00:00:00:00 len=0
Feb  2 18:28:25 existent kernel: wlan0: TXEXC - status=0x0001 ([RetryErr]) 
tx_control=000c
Feb  2 18:28:25 existent kernel:    retry_count=0 tx_rate=0 fc=0x08c0 
(Mgmt::12)
Feb  2 18:28:25 existent kernel:    A1=a6:50:3f:73:3f:73 
A2=00:06:25:a7:f9:50 A3=00:06:25:a7:f9:50 A4=00:00:00:00:00:00
Feb  2 18:28:25 existent kernel: wlan0: Could not find STA a6:50:3f:73:3f:73 
for this TX error (@19517443)
Feb  2 18:28:25 existent kernel: wlan0: RX status=0x0000 (port=0, type=0, 
fcserr=0) silence=0 signal=23 rate=10 rxflow=0; jiffies=19517542
Feb  2 18:28:25 existent kernel:    FC=0x0148 (type=2:4) dur=0x013a 
seq=0x4240 data_len=0 [ToDS]
Feb  2 18:28:25 existent kernel:    A1=00:06:25:a7:f9:50 
A2=00:20:a6:50:3f:73 A3=00:06:25:a7:f9:50 A4=00:00:00:00:00:00
Feb  2 18:28:25 existent kernel:    dst=00:06:25:a7:f9:50 
src=00:20:a6:50:3f:73 len=0


I've got debugging cranked up so high I don't know what Is and is not 
relevant... Please let me know if I need to include more info...

_________________________________________________________________
Let the new MSN Premium Internet Software make the most of your high-speed 
experience. http://join.msn.com/?pgmarket=en-us&page=byoa/prem&ST=1





More information about the Hostap mailing list