card initialization on ipaq

Marco Aime m.aime
Tue Feb 24 02:24:04 PST 2004


Hi,

I'm testing hostap work with an Ipaq 3600 and a Netgear MA401 RA card 
(prism 2.5, PCMCIA)

When I insert the card in the adapter wlan0 is created but the driver 
can't initialize it. Below you have the dmsg dump:

-------------------------

hostap_crypt: registered algorithm 'NULL'
hostap_cs: CVS (Jouni Malinen <jkmaline at cc.hut.fi>)
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
hostap_cs: ignoring Vcc=50 (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: Registered netdevice wifi0
wifi0: Interrupt, but dev not OK
hostap_cs: index 0x01: Vcc 5.0, irq 42, io 0xcaa60000-0xcaa6003f
wifi0: init command completed too quickly - retrying
prism2_hw_init: initialized in 0 ms
prism2_enable_aux_port(1) timed out
prism2_enable_aux_port: was not enabled!?
wifi0: valid PDA not found
SWSUPPORT0 write/read failed: 0000 != 8A32
hostap_cs: Initialization failed
prism2_config() failed

-------------------------

I'm able to setting up the card by manually performing an hardware reset 
("iwpriv wlan0 reset 1").
I have also to manually set the MAC address after the reset.

After this, the card seems to work quite normally with ligth traffic 
(ping), but when
I try to measure the card performance with netperf I get very low (and 
variable) throughput
(from 0.05 MB/s to 1.00 MB/s).

The card seems to be reset for transmission timeouts, as you can see in 
dmesg dump at the end of the mail.
I use hostap cvs version and Familar 0.7.2 distribution with a 2.4.19 
kernel.
I tried both f/w 1.3.6 and 1.7.4 with same results.

In attachment, you have also the ethereal capture of a netperf test (a 
simple TCP test lasting 10 seconds).

Do you have any suggestion, please?
Thanks and bye
Marco

---------------------------
dmesg After netperf test
---------------------------

wifi0: LinkStatus: BSSID=00:40:96:55:25:0b
NETDEV WATCHDOG: wifi0: transmit timed out
wifi0 Tx timed out! Resetting card
wifi0: CMD=010b EVSTAT=8099 OFFSET0=0000 OFFSET1=0000 SWSUPPORT0=8a32
wifi0: scheduled card reset
hostap_cs: wifi0: resetting card
prism2_pccard_cor_sreset: original COR 41
wifi0: removed pending cmd_queue entry (type=1, cmd=0x010b, param0=0x0173)
wifi0: removed pending cmd_queue entry (type=1, cmd=0x0011, param0=0xf100)
prism2_hw_init: initialized in 190 ms
wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
    retry_count=0 tx_rate=0 fc=0x0108 (Data::0 ToDS)
    A1=00:40:96:55:25:0b A2=00:09:5b:55:1b:2c A3=00:01:02:9e:7d:f0 
A4=00:00:00:00:00:00
wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
    retry_count=0 tx_rate=0 fc=0x0108 (Data::0 ToDS)
    A1=00:40:96:55:25:0b A2=00:09:5b:55:1b:2c A3=00:01:02:9e:7d:f0 
A4=00:00:00:00:00:00
wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
    retry_count=0 tx_rate=0 fc=0x0108 (Data::0 ToDS)
    A1=00:40:96:55:25:0b A2=00:09:5b:55:1b:2c A3=00:01:02:9e:7d:f0 
A4=00:00:00:00:00:00
wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
    retry_count=0 tx_rate=0 fc=0x0108 (Data::0 ToDS)
    A1=00:40:96:55:25:0b A2=00:09:5b:55:1b:2c A3=00:01:02:9e:7d:f0 
A4=00:00:00:00:00:00
wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
    retry_count=0 tx_rate=0 fc=0x0108 (Data::0 ToDS)
    A1=00:40:96:55:25:0b A2=00:09:5b:55:1b:2c A3=00:01:02:9e:7d:f0 
A4=00:00:00:00:00:00
wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
    retry_count=0 tx_rate=0 fc=0x0108 (Data::0 ToDS)
    A1=00:40:96:55:25:0b A2=00:09:5b:55:1b:2c A3=00:01:02:9e:7d:f0 
A4=00:00:00:00:00:00
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:40:96:55:25:0b
NETDEV WATCHDOG: wifi0: transmit timed out
wifi0 Tx timed out! Resetting card
wifi0: CMD=010b EVSTAT=8099 OFFSET0=0000 OFFSET1=0000 SWSUPPORT0=8a32
wifi0: scheduled card reset
hostap_cs: wifi0: resetting card
prism2_pccard_cor_sreset: original COR 41
wifi0: removed pending cmd_queue entry (type=1, cmd=0x010b, param0=0x0173)
prism2_hw_init: initialized in 190 ms
wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
    retry_count=0 tx_rate=0 fc=0x0108 (Data::0 ToDS)
    A1=00:40:96:55:25:0b A2=00:09:5b:55:1b:2c A3=00:01:02:9e:7d:f0 
A4=00:00:00:00:00:00
wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
    retry_count=0 tx_rate=0 fc=0x0108 (Data::0 ToDS)
    A1=00:40:96:55:25:0b A2=00:09:5b:55:1b:2c A3=00:01:02:9e:7d:f0 
A4=00:00:00:00:00:00
wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
    retry_count=0 tx_rate=0 fc=0x0108 (Data::0 ToDS)
    A1=00:40:96:55:25:0b A2=00:09:5b:55:1b:2c A3=00:01:02:9e:7d:f0 
A4=00:00:00:00:00:00
wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
    retry_count=0 tx_rate=0 fc=0x0108 (Data::0 ToDS)
    A1=00:40:96:55:25:0b A2=00:09:5b:55:1b:2c A3=00:01:02:9e:7d:f0 
A4=00:00:00:00:00:00
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:40:96:55:25:0b


-- 
------------------------------------------------------------------
Marco Domenico AIME
Dipartimento di Automatica e Informatica
Politecnico di Torino
Addr: Via Boggio 61, Torino, Italy
Tel: +39 011 2276-807
Mail: m.aime at polito.it (marcodomenico.aime at polito.it)
------------------------------------------------------------------





More information about the Hostap mailing list