• Johannes Berg's avatar
    iwlwifi: mvm: correct firmware disassoc command sequence · 3dfd3a97
    Johannes Berg authored
    The firmware would like to have a MAC context (unassoc)
    before the AP station is removed (we do this) but would
    like to keep the BSSID until after it is removed, so we
    need to send two commands - one with the BSSID before
    and one without the BSSID after.
    
    In order to do this, we need to store the BSSID as it
    will have been cleared by mac80211 by the time we get
    notified of the disassociation. Also pass it around as
    an override to the various functions needing it, and
    keep taking it from the mac80211 data otherwise. This
    avoids having to keep track of the BSSID in all modes.
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
    3dfd3a97
d3.c 46.5 KB