linux/drivers/net/wireless/intel/iwlwifi/mvm
Johannes Berg af84ac579c 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>
2021-10-28 12:04:12 +03:00
..
binding.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
coex.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
constants.h iwlwifi: mvm: add support for range request command version 13 2021-08-26 23:38:15 +03:00
d3.c iwlwifi: mvm: d3: use internal data representation 2021-10-28 12:04:11 +03:00
debugfs-vif.c iwlwifi: mvm: pass the clock type to iwl_mvm_get_sync_time() 2021-06-22 15:11:09 +03:00
debugfs.c iwlwifi: mvm: Support new version of BEACON_TEMPLATE_CMD. 2021-10-22 10:49:01 +03:00
debugfs.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
ftm-initiator.c iwlwifi: mvm: Support new version of ranging response notification 2021-10-22 10:49:01 +03:00
ftm-responder.c iwlwifi: mvm: add support for 160Mhz in ranging measurements 2021-10-22 10:48:58 +03:00
fw-api.h iwlwifi: mvm: add RFI-M support 2021-02-11 01:52:06 +02:00
fw.c iwlwifi: rename GEO_TX_POWER_LIMIT to PER_CHAIN_LIMIT_OFFSET_CMD 2021-10-28 12:04:11 +03:00
led.c iwlwifi: mvm: Fix fall-through warnings for Clang 2020-12-11 20:20:24 +02:00
mac80211.c iwlwifi: mvm: extend session protection on association 2021-10-28 12:04:12 +03:00
mac-ctxt.c iwlwifi: rename CHANNEL_SWITCH_NOA_NOTIF to CHANNEL_SWITCH_START_NOTIF 2021-10-28 12:04:12 +03:00
Makefile iwlwifi: mvm: add RFI-M support 2021-02-11 01:52:06 +02:00
mvm.h iwlwifi: rename CHANNEL_SWITCH_NOA_NOTIF to CHANNEL_SWITCH_START_NOTIF 2021-10-28 12:04:12 +03:00
nvm.c iwlwifi: mvm: fix WGDS table print in iwl_mvm_chub_update_mcc() 2021-10-28 12:04:11 +03:00
offloading.c iwlwifi: mvm: introduce iwl_proto_offload_cmd_v4 2021-06-22 16:57:56 +03:00
ops.c iwlwifi: rename CHANNEL_SWITCH_NOA_NOTIF to CHANNEL_SWITCH_START_NOTIF 2021-10-28 12:04:12 +03:00
phy-ctxt.c iwlwifi: mvm: honour firmware SMPS requests 2021-06-22 15:11:34 +03:00
power.c iwlwifi: mvm: set inactivity timeouts also for PS-poll 2021-10-22 10:49:04 +03:00
quota.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
rfi.c iwlwifi: mvm: fix old-style static const declaration 2021-08-26 23:33:23 +03:00
rs-fw.c iwlwifi: mvm: Support version 3 of tlc_update_notif. 2021-10-22 10:49:00 +03:00
rs.c iwlwifi: mvm: Support new TX_RSP and COMPRESSED_BA_RES versions 2021-10-22 10:49:02 +03:00
rs.h iwlwifi: mvm: Support version 3 of tlc_update_notif. 2021-10-22 10:49:00 +03:00
rx.c iwlwifi: mvm: update definitions due to new rate & flags 2021-10-22 10:49:00 +03:00
rxmq.c iwlwifi: mvm: remove csi from iwl_mvm_pass_packet_to_mac80211() 2021-10-22 10:49:02 +03:00
scan.c iwlwifi: mvm: Use all Rx chains for roaming scan 2021-10-28 12:04:09 +03:00
sf.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
sta.c iwlwifi: mvm: simplify __iwl_mvm_set_sta_key() 2021-08-26 23:34:27 +03:00
sta.h iwlwifi: mvm: clean up queue sync implementation 2021-04-14 12:07:16 +03:00
tdls.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
testmode.h
time-event.c iwlwifi: mvm: Fix possible NULL dereference 2021-09-16 20:00:07 +03:00
time-event.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
tt.c iwlwifi: mvm: tt: Replace thermal_notify_framework 2021-04-22 13:11:35 +02:00
tx.c iwlwifi: mvm: reduce WARN_ON() in TX status path 2021-10-22 10:49:03 +03:00
utils.c iwlwifi: mvm: Support new TX_RSP and COMPRESSED_BA_RES versions 2021-10-22 10:49:02 +03:00