• I
    iwlwifi: mvm: Allow iwl_mvm_mac_mgd_prepare_tx() when associated · d270e7b8
    Ilan Peer 提交于
    The FW does not allocate quota air time for the binding of a station
    MAC before iwlmvm indicates that it is associated. Currently iwlmvm
    indicates that the MAC is associated only after hearing a beacon from
    the AP. In case a deauthentication frame is sent before the MAC is
    associated, the frame might not be sent as the corresponding binding
    is not scheduled.
    
    To handle such cases, set IEEE80211_HW_DEAUTH_NEED_MGD_TX_PREP in the
    HW flags, requesting mac80211 to call the mgd_prepare_tx() callback
    before transmitting a deauthentication frame if associated but no
    beacon was heard from the AP.
    
    In addition, do not warn in iwl_mvm_mac_mgd_prepare_tx() when already
    associated as now the callback can be called also when associated.
    Signed-off-by: NIlan Peer <ilan.peer@intel.com>
    Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
    d270e7b8
mac80211.c 121.2 KB