Opened 9 years ago

Closed 9 years ago

Last modified 4 years ago

#4252 closed enhancement (fixed)

Connect to a preferred ap (bssid) in STA mode

Reported by: duvi@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version:
Keywords: client preferred ap bssid Cc:


I've always found it missing from, OpenWRT, that in station mode you cannot choose a specific AP by it's MAC, if there are more APs with the same ssid.
With these patches (against v13343) the sta tries to connect only to the AP, whose MAC address is set in /etc/config/wireless with
"option bssid aa:bb:cc:dd:ee:ff"

Tested and working without encryption and also with wpa_supplicant too, on an Atheros device (Fonera).

There's also a patch for the webif (v4583), it allows you to set bssid (as the MAC of the preferred AP) in client mode, this should be applied too.

Attachments (3)

sta_bssid_madwifi.patch (296 bytes) - added by duvi@… 9 years ago.
sta_bssid_wpa.patch (496 bytes) - added by duvi@… 9 years ago.
sta_bssid_webif.patch (862 bytes) - added by duvi@… 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by duvi@…

Changed 9 years ago by duvi@…

Changed 9 years ago by duvi@…

comment:1 Changed 9 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Madwifi part applied in [15283]. wpa_supplicant has this already.

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.