eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit ffe79bfada3339b482c2a87da9f51636fb73a6ac
parent c0efaf21ad3d19ac503983b1aadffb5b3b6279ff
Author: James Prestwood <prestwoj@gmail.com>
Date:   Wed, 27 Aug 2025 05:54:59 -0700

station: check vendor quirk for BSS TM request candidate list

If the AP vendor has known issues with the preferred candidate list
ignore it and jump directly to requesting a neighbor report.

Diffstat:
Msrc/station.c | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/station.c b/src/station.c @@ -64,6 +64,7 @@ #include "src/eap-tls-common.h" #include "src/storage.h" #include "src/pmksa.h" +#include "src/vendor_quirks.h" #define STATION_RECENT_NETWORK_LIMIT 5 #define STATION_RECENT_FREQS_LIMIT 5 @@ -3266,6 +3267,8 @@ static void station_ap_directed_roam(struct station *station, uint16_t dtimer; uint8_t valid_interval; bool can_roam = !station_cannot_roam(station); + bool ignore_candidates = + station->connected_bss->vendor_quirks.ignore_bss_tm_candidates; l_debug("ifindex: %u", netdev_get_ifindex(station->netdev)); @@ -3383,7 +3386,8 @@ static void station_ap_directed_roam(struct station *station, l_timeout_remove(station->roam_trigger_timeout); station->roam_trigger_timeout = NULL; - if (req_mode & WNM_REQUEST_MODE_PREFERRED_CANDIDATE_LIST) { + if ((req_mode & WNM_REQUEST_MODE_PREFERRED_CANDIDATE_LIST) && + !ignore_candidates) { l_debug("roam: AP sent a preferred candidate list"); station_neighbor_report_cb(station->netdev, 0, body + pos, body_len - pos, station);