• Jouni Malinen's avatar
    wifi: mac80211: Skip association timeout update after comeback rejection · b133fdf0
    Jouni Malinen authored
    It is possible for the TX status report for the (Re)Association Request
    frame to be delayed long enough for the AP's (Re)Association Response
    frame to be received and processed before it. If that were to happen for
    a case where the AP rejects the association with indication to come back
    later, the association timeout and retry state should not be modified
    anymore with the TX status information that would be processed after
    this. Updating the association timeout in such a reverse order of events
    could result in shortening the timeouts for the association comeback
    mechanism and that could result in the association failing.
    
    Track whether we have already processed association rejection with
    comeback time and if so, skip the timeout and retry update on any
    following TX status report.
    Signed-off-by: default avatarJouni Malinen <quic_jouni@quicinc.com>
    Link: https://msgid.link/20231219174814.2581575-1-j@w1.fiSigned-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    b133fdf0
mlme.c 237 KB