Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PW_SID:807496] Reassoc/FT roaming unification #276

Open
wants to merge 17 commits into
base: workflow
Choose a base branch
from
Open

Commits on Dec 1, 2023

  1. pmksa: Add skeleton

    denkenz authored and IWDTestBot committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    97c2a3a View commit details
    Browse the repository at this point in the history
  2. unit: Add basic pmksa test

    denkenz authored and IWDTestBot committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    e2929bb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    05e2523 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    998e7cd View commit details
    Browse the repository at this point in the history
  5. ci: remove cache/ from tar file list

    This is taken care of by the individual cache items and
    if none exist, tar fails.
    jprestwo authored and IWDTestBot committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    a1a43f3 View commit details
    Browse the repository at this point in the history
  6. ci: use kernel 5.19

    jprestwo authored and IWDTestBot committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    f18b985 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    dbf7db9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6787d1d View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. auto-t: add explicit stop() to IWD class

    If tests end in an unknown state it is sometimes required that IWD
    be stopped manually in order for future tests to run. Add a stop()
    method so test tearDown() methods can explicitly stop IWD.
    jprestwo authored and IWDTestBot committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    803825f View commit details
    Browse the repository at this point in the history
  2. auto-t: add association timeout test

    This tests ensures IWD disconnects after receiving an association
    timeout event. This exposes a current bug where IWD does not
    transition to disconnected after an association timeout when
    FT-roaming.
    jprestwo authored and IWDTestBot committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    f843102 View commit details
    Browse the repository at this point in the history
  3. auto-t: only call set_value for changed values in default()

    The default() method was added for convenience but was extending the
    test times significantly when the hostapd config was lengthy. This
    was because it called set_value for every value regardless if it
    had changed. Instead store the current configuration and in default()
    only reset values that differ.
    jprestwo authored and IWDTestBot committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    507c00c View commit details
    Browse the repository at this point in the history
  4. ft: add FTE/RSNE building to ft_prepare_handshake

    In preparation to remove ft_associate build the FTE/RSNE in
    ft_prepare_handshake and set into the handshake object directly.
    jprestwo authored and IWDTestBot committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    4297885 View commit details
    Browse the repository at this point in the history
  5. ft: add ft_handshake_setup

    This will be called from station after FT-authentication has
    finished. It sets up the handshake object to perform reassociation.
    
    This is essentially a copy-paste of ft_associate without sending
    the actual frame.
    jprestwo authored and IWDTestBot committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    fdba484 View commit details
    Browse the repository at this point in the history
  6. netdev: add netdev_ft_reassociate

    Essentially exposes (and renames) netdev_ft_tx_associate in order to
    be called similarly to netdev_reassociate/netdev_connect where a
    connect callback can be provided. This will fix the current bug where
    if association times out during FT IWD will hang and never transition
    to disconnected.
    
    This also removes the calling of the FT_ROAMED event and instead just
    calls the connect callback (since its now set). This unifies the
    callback path for reassociation and FT roaming.
    jprestwo authored and IWDTestBot committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    062f9de View commit details
    Browse the repository at this point in the history
  7. station: use netdev_ft_reassociate

    Using this will provide netdev with a connect callback and unify the
    roaming result notification between FT and reassociation. Both paths
    will now end up in station_reassociate_cb.
    
    Fixes: 30c6a10 ("netdev: Separate connect_failed and disconnected paths")
    jprestwo authored and IWDTestBot committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    674f547 View commit details
    Browse the repository at this point in the history
  8. ft: remove ft_associate and helpers

    The reassociation is done through netdev directly, these are no
    longer needed.
    jprestwo authored and IWDTestBot committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    84959e1 View commit details
    Browse the repository at this point in the history
  9. netdev: station: remove NETDEV_EVENT_FT_ROAMED

    The notification for roaming success/failure is now handled with
    the connect callback.
    jprestwo authored and IWDTestBot committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    6f07c3d View commit details
    Browse the repository at this point in the history