From: Pavel Roskin (proski_at_gnu.org)
Date: 2002-06-14 23:42:01 UTC
Hi, Joini!
> > Another solution would be to debug the driver and fix support for 1.3.5
> > firmware. Then you should give much more details about messages from the
> > driver, so that somebody could look into them.
>
> Host AP driver works fine with station firmware 1.3.5, at least on PCI
> Prism2.5 card. I have also successfully tested 1.3.4 in a HFA3841-based
> PC Card.
Ok, I can post logs for now. I cannot give you access to my work computer, and I don't have wireless cards at home, but I'll try to arrange something if it will be still necessary. It is important for me to make those cards work.
The card that tries to associate is a PCMCIA ZoomAir card with 0.8.3 firmware. Both systems are RedHat 7.2 plus the lastest kernel (2.4.19-pre10 for STA, 2.4.19-pre7 for AP) without PCMCIA support and pcmcia-cs-3.1.34 with all drivers. The HostAP is current from CVS. The Orinoco 0.11b driver is used on the STA side.
In the first case, we have a similar card (ZoomAir, 0.8.3) on the AP side. The association takes sime time. I bring the interface on the station side down and up before it accosiates. Slow association is a separate issue.
prism2_config() hostap_cs: setting Vcc=50 (from config) CISTPL_MANFID: 0x0156, 0x0002
hostap_cs: index 0x01: Vcc 5.0, irq 5, io 0x0100-0x013f hostap_cs: Registered netdevice wlan0 prism2_hw_init() prism2_hw_config: initialized in 9411 iterations wlan0: NIC: id=0x8003 v1.0.0 wlan0: PRI: id=0x15 v0.3.0 wlan0: STA: id=0x1f v0.8.3
In the second case, the card on the AP side is also ZoomAir, but with the 1.3.5 firmware. Whatever I do on either side, there is no association. You can see failed attempts to set frequency and low rate (there are no such errors with 0.8.3). I also tried to cards on both sides - they still don't associate.
hostap_cs: hostap_cs.c 0.0.0 2002-05-19 (SSH Communications Security Corp, Jouni Malinen) hostap_cs: (c) SSH Communications Security Corp <jkm_at_ssh.com> hostap_cs: setting Vcc=33 (constant) hostap_cs: CS_EVENT_CARD_INSERTION prism2_config() hostap_cs: setting Vcc=50 (from config) CISTPL_MANFID: 0x0156, 0x0002
hostap_cs: index 0x01: Vcc 5.0, irq 5, io 0x0100-0x013f hostap_cs: Registered netdevice wlan0 prism2_hw_init() prism2_hw_config: initialized in 9265 iterations wlan0: NIC: id=0x8003 v1.0.0 wlan0: PRI: id=0x15 v0.3.0 wlan0: STA: id=0x1f v1.3.5
wlan0: hfa384x_cmd - timeout2 - reg=0x8000 wlan0: TXRateControl setting to 0x1 failed wlan0: hfa384x_cmd - timeout2 - reg=0x8000 wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=-110, rid=fc84, len=2) hostap_cs: wlan0: resetting card prism2_pccard_cor_sreset: original COR 41prism2_hw_init()
wlan0: TXRateControl setting to 0x2 failed wlan0: hfa384x_cmd - timeout2 - reg=0x8000 wlan0: hfa384x_cmd - timeout2 - reg=0x8000 wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=-110, rid=fc03, len=2) hostap_cs: wlan0: resetting card prism2_pccard_cor_sreset: original COR 41prism2_hw_init()
wlan0: hfa384x_cmd - timeout2 - reg=0x8000 wlan0: hfa384x_cmd - timeout2 - reg=0x8000 wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=-110, rid=fc03, len=2) hostap_cs: wlan0: resetting card prism2_pccard_cor_sreset: original COR 41prism2_hw_init()
wlan0: prism2_close wlan0: hfa384x_cmd - timeout2 - reg=0x8000 wlan0: TXRateControl setting to 0x1 failed wlan0: hfa384x_cmd - timeout2 - reg=0x8000 wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=-110, rid=fc84, len=2) hostap_cs: wlan0: resetting card prism2_pccard_cor_sreset: original COR 41prism2_hw_init()
-- Regards, Pavel Roskin