[PATCH v2 0/9] Reassoc/FT roaming unification

James Prestwood
2023-12-06T15:07:14Z

Intead of adding a layer of abstraction through ft.c I instead just
added netdev_ft_reassociate. I chose not to reuse netdev_reassociate
due to its handling of soft/fullmac cards, new vs existing handshake
object, and its use of CMD_CONNECT vs CMD_ASSOCIATE. The added logic
seemed too complex.

Side note, we probably need to look into abandoning CMD_CONNECT for
reassociation as the kernel _still_ sends an Authenticate frame when
it shouldn't. Maybe at that point we could merge netdev_ft_reassociate
and netdev_reassociate, but for now this patch set fixes the issue at
hand.

James Prestwood (9):
auto-t: add explicit stop() to IWD class
auto-t: add association timeout test
auto-t: only call set_value for changed values in default()
ft: add FTE/RSNE building to ft_prepare_handshake
ft: add ft_handshake_setup
netdev: add netdev_ft_reassociate
station: use netdev_ft_reassociate
ft: remove ft_associate and helpers
netdev: station: remove NETDEV_EVENT_FT_ROAMED

autotests/testPSK-roam/failed_roam_test.py | 56 ++++--
autotests/util/hostapd.py | 9 +-
autotests/util/iwd.py | 4 +
src/ft.c | 222 ++++++++-------------
src/ft.h | 4 +-
src/netdev.c | 44 ++--
src/netdev.h | 6 +-
src/station.c | 20 +-
8 files changed, 183 insertions(+), 182 deletions(-)

--
2.34.1