iwd.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/6] station: add two debug events for FT
@ 2022-10-05 22:46 James Prestwood
  2022-10-05 22:46 ` [PATCH 2/6] hwsim: fix early bail out processing rules James Prestwood
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: James Prestwood @ 2022-10-05 22:46 UTC (permalink / raw)
  To: iwd; +Cc: James Prestwood

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)
---
 src/station.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/station.c b/src/station.c
index fdeab7c1..1ebd13ad 100644
--- 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;
-- 
2.34.3


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-10-06 14:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-05 22:46 [PATCH 1/6] station: add two debug events for FT James Prestwood
2022-10-05 22:46 ` [PATCH 2/6] hwsim: fix early bail out processing rules James Prestwood
2022-10-05 22:46 ` [PATCH 3/6] auto-t: remove rekey timeouts from autotests James Prestwood
2022-10-05 22:46 ` [PATCH 4/6] auto-t: remove old debug print from wpas.py James Prestwood
2022-10-05 22:46 ` [PATCH 5/6] auto-t: add two tests for new FT behavior James Prestwood
2022-10-05 22:46 ` [PATCH 6/6] monitor: parse DPP frame types James Prestwood
2022-10-06 14:02 ` [PATCH 1/6] station: add two debug events for FT Denis Kenzior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).