aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc/igc_base.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2021-10-24 18:20:36 +0300
committerLuca Coelho <luciano.coelho@intel.com>2021-10-28 12:04:12 +0300
commitaf84ac579c66869a30bf2ca61c3bf63117c060ce (patch)
tree03ae9db3fb3d2d0308e50d089795f15c044da204 /drivers/net/ethernet/intel/igc/igc_base.c
parent6905eb1c3b9ee4580f5d2c7fd9f2bbcc74ec26eb (diff)
iwlwifi: mvm: extend session protection on association
When we receive an association response, a significant amount of time might have passed since we sent the corresponding association request (mac80211 will wait up to 500ms for the TX and then 100ms for the response after ACK was received). But the time event is touched only when we send the assoc request, so it might not have much time remaining, more easily causing the (dreaded) No beacon heard and the session protection is over already... message. Refactor iwl_mvm_mac_mgd_prepare_tx() and split out a new function iwl_mvm_protect_assoc(), and call it on successful association to extend the time event to the minimum time if necessary. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Link: https://lore.kernel.org/r/iwlwifi.20211024181719.411c174d9e5e.I03c701c2e9e6788f34546e538264763db0ab30ef@changeid Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_base.c')
0 files changed, 0 insertions, 0 deletions