select accesspoint with use of bssid

Jouni Malinen jkmaline at cc.hut.fi
Sun Jan 19 22:23:53 EST 2003


On Mon, Jan 20, 2003 at 02:18:00AM +0000, wlan wrote:

> You can force the card to connect to a preselected AP with the following
> command:
> iwconfig eth0 ap 00:60:1D:01:23:45

Assuming the driver supports this command. Host AP driver needs to be
configured to use host-based roaming (prism2_param wlan0 host_roaming 1)
fr this command.

> "When the quality of  the  connection goes  too low, the driver may
> revert back to automatic mode (the card finds the best Access Point in
> range)"
> 
> it is possible to turn off this feature and force the driver to connect
> ONLY to the preselected AP?

Do you mean that the card should associate only to the selected AP, even
if that would mean losing connection? With Host AP driver this would
require small change in hostap_info.c: prism2_host_roaming() function
would need to be modified to not issue JoinRequest command if
local->preferred_ap is set, but it is not found in
local->last_scan_results.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the HostAP mailing list