eiwd

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

commit 3bc57288151f2c9e043dc7127377437dc9d72b60
parent 5abf980b709576c2be0a0885a5617ee240295795
Author: James Prestwood <prestwoj@gmail.com>
Date:   Wed,  5 Oct 2022 15:46:27 -0700

station: add two debug events for FT

These events are sent if IWD fails to authentiate
(ft-over-air-roam-failed) or if it falls back to over air after
failing to use FT-over-DS (try-ft-over-air)

Diffstat:
Msrc/station.c | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/station.c b/src/station.c @@ -2293,6 +2293,7 @@ static bool station_ft_work_ready(struct wiphy_radio_work_item *item) ret = ft_associate(netdev_get_ifindex(station->netdev), bss->addr); if (ret == -ENOENT) { + station_debug_event(station, "ft-over-air-roam-failed"); try_next: station_transition_start(station); return true; @@ -2337,9 +2338,10 @@ static bool station_fast_transition(struct station *station, ret = ft_associate(netdev_get_ifindex(station->netdev), bss->addr); /* No action responses from this BSS, try over air */ - if (ret == -ENOENT) + if (ret == -ENOENT) { + station_debug_event(station, "try-ft-over-air"); goto try_over_air; - else if (ret < 0) + } else if (ret < 0) return false; station->connected_bss = bss;