manual roaming in client mode

Anshuman Singh Rawat asr245
Fri Dec 5 13:24:08 PST 2003


We, here, have seen somthing similar like the
problem you have with the host_roaming 2 option.
Sometimes, after associating with an AP, the device
just disconnects for no apparent reason. This does
not happen always, and it necessarily doesn't happen
immediately after associating to the AP.

Another problem, we have seen is that sometimes when
we issue a command to firmware to connect to a
certain AP (by calling the prism2_host_roaming()
from our driver program), the firmware does nothing.
When we sniffed for the management frames, we saw
that no authentication/association request frames
were sent by the device. Similar thing also happens
in host_roaming 0, the difference being that the
device just freezes.

I dont have the log for any of the above problems
right now, so can't offer accurate details.





----- Original Message -----
From: Randy Wilkinson <rwilkinson at digitalpath.net>
Date: Friday, December 5, 2003 3:17 pm
Subject: manual roaming in client mode

> I am using hostap version 0.4 with the
host_roaming 2 option in 
> managedmode. I also wrote a script that scans and
reassociates when
> connectivity is lost using:
> 	iwconfig wlan1 essid test
> 	iwconfig wlan1 ap [mac of ap] //to reassociate
> 
> As long as the channel is the same this seems to
work most of the 
> time.But this manual roaming mode seems somewhat
unstable. One of 
> my devices
> seems to authenticate and associate properly but
then immediately
> disconnects with a link status of 2. Has anyone
else ran into this
> problem?
> 
> dmesg of ap shows association:
> 
> wlan0: 00:60:b3:79:44:d0 auth_cb - STA
authenticated //wlan1 of client
> wlan0: 00:60:b3:79:44:d0 assoc_cb - STA associated
> 
> dmesg of client shows:
> 
> prism2: wlan1: operating mode changed 3 -> 2
> wlan1: LinkStatus=2 (Disconnected)
> wlan1: LinkStatus: BSSID=44:44:44:44:44:44
> wlan1: LinkStatus=2 (Disconnected)
> wlan1: LinkStatus: BSSID=44:44:44:44:44:44
> wlan1: Trying to join BSSID 00:60:b3:8a:6b:31
//wlan0 of ap
> wlan1: LinkStatus=1 (Connected)
> wlan1: LinkStatus: BSSID=00:60:b3:8a:6b:31
> wlan1: LinkStatus=2 (Disconnected)
> wlan1: LinkStatus: BSSID=00:60:b3:8a:6b:31
> wlan1: TXEXC - status=0x0004 ([Discon])
tx_control=002c
>   retry_count=0 tx_rate=110 fc=0x0308 (Data::0
ToDS FromDS)
>   A1=00:60:b3:8a:6b:31 A2=00:60:b3:79:44:d0
A3=00:00:24:c1:1e:39
> A4=00:26:54:13:bb:9b
> 	.
> 	.
> 	.
> 	.
> 
> 
> 
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
> 





More information about the Hostap mailing list