host_roaming mode 2 fails ?

Anshuman Singh Rawat asr245 at nyu.edu
Mon Mar 22 17:31:40 EST 2004


Hi all!
We modified the hostap driver to automatically enter host_roaming mode 2 when the card is inserted. This thing works but somtimes, right after the prism2_open, the prism2_close is called, and the mode change fails. See part of dmesg below -

hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
prism2_config()
hostap_cs: setting 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 39, io 0xf6000000-0xf600003f
hostap_cs: Registered netdevice wlan0
prism2_hw_init()
prism2_hw_init: initialized in 220 ms
wlan0: NIC: id=0x801b v1.0.0
wlan0: PRI: id=0x15 v1.1.0
wlan0: STA: id=0x1f v1.4.2
wlan0: defaulting to bogus WDS frame as a workaround for firmware bug in Host AP mode WDS
wlan0: Warning: secondary station firmware version 1.4.2 does not seem to work in Host AP mode

wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus: BSSID=44:44:44:44:44:44
wlan0: prism2_open
wlan0: prism2_close
hostap_cs: CS_EVENT_PM_SUSPEND
hostap_cs: CS_EVENT_RESET_PHYSICAL
pxa_pcmcia_suspend(0)
wlan0: hfa384x_setup_bap - timeout before
wlan0: hfa384x_set_rid (rid=fc2d, len=2) - failed - res=-110

Failed to change mode.

Does anyone know why the card closes right after opening ?
Any help would be appreciated.

Thanks,
Anshuman





More information about the HostAP mailing list