[PATCH v2 0/5] wpa_supplicant: optimize OWE roaming behavior

David Bauer mail at david-bauer.net
Sun Apr 28 06:13:39 PDT 2024


This patchset aims for improving roaming when connected to an OWE
transition-mode enabled network.

Currently wpa_supplicant has the following shortcomings:

The OWE transition-SSID is not added to the SSIDs scanned when a bgscan
is triggered. This leads to a device being stuck on the current
connection and not roaming to a better AP when the scan is triggered
based on RSSI thresholds.

OWE transition networks are added multiple times to the scan list
(multiple entries for the same BSSID). This is due to the SSID being
available for the scan-result when explicitly scanned for on connection
establishment and not being available when scanned non-explicitly from
the background.

Forcing explicit roams by using wpa_cli does not work for OWE transition
networks, as wpa_supplicant reports a mismatch in security-types.

Changes from v1:
 - Improve scanning behavior when connected to a 6GHz OWE network with
   transition mode on 2.4GHz and 5GHz by storing the last-seen hidden
   SSID for the network.
 - Restore wpa_cli "roam" interface behavior to the one prior this
   patchset when compiled without OWE support.

David Bauer (5):
  wpa_supplicant: reduce OWE transition network code duplication
  ctrl: enable roaming between OWE APs
  bss: don't add hidden OWE transition-networks to scan-list
  bgscan: add OWE transition SSID to OWE network scan
  scan: stored last-seen transition SSID

 wpa_supplicant/bgscan_learn.c     |   4 ++
 wpa_supplicant/bgscan_simple.c    |   3 +
 wpa_supplicant/bss.c              | 109 +++++++++++++++++++++++++++++-
 wpa_supplicant/bss.h              |   4 ++
 wpa_supplicant/ctrl_iface.c       |   2 +-
 wpa_supplicant/events.c           |  25 +++----
 wpa_supplicant/scan.c             |  38 +++++------
 wpa_supplicant/scan.h             |   3 +
 wpa_supplicant/wpa_supplicant.c   |  17 ++---
 wpa_supplicant/wpa_supplicant_i.h |   2 +
 10 files changed, 157 insertions(+), 50 deletions(-)

-- 
2.43.0




More information about the Hostap mailing list