• Sara Sharon's avatar
    mac80211: call synchronize_net once in the restart flow · 2316380f
    Sara Sharon authored
    Currently the restart flow enables RX back, and then proceeds
    to tear down RX and TX aggregations.
    The TX aggregation tear down calls synchronize_net(), which
    waits for packet receiving to be done.
    This is done for every session, while RX processing is already
    active, and in some reproductions it takes up to 3 seconds.
    Add a call once in the restart_work, before we have traffic
    active again, and remove the subsequent calls when tearing
    down the aggregation.
    This requires to move down the code that turns off the
    reconfig flag in order to be able to test it in
    _ieee80211_stop_tx_ba_session().
    Signed-off-by: default avatarSara Sharon <sara.sharon@intel.com>
    Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    2316380f
main.c 35.2 KB