summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/mvm.h
diff options
context:
space:
mode:
authorLuciano Coelho2014-11-10 10:10:21 +0100
committerEmmanuel Grumbach2014-11-24 07:30:35 +0100
commit686e7fe1c4389984c5f623ebe1bb636d41841f37 (patch)
tree4931a3fce5fed177c785eef8e2d8c72954f7663e /drivers/net/wireless/iwlwifi/mvm/mvm.h
parentiwlwifi: mvm: clear TE data if CSA time event fails to start (diff)
downloadkernel-qcow2-linux-686e7fe1c4389984c5f623ebe1bb636d41841f37.tar.gz
kernel-qcow2-linux-686e7fe1c4389984c5f623ebe1bb636d41841f37.tar.xz
kernel-qcow2-linux-686e7fe1c4389984c5f623ebe1bb636d41841f37.zip
iwlwifi: mvm: protect session during CSA
When another vif is also running during a channel switch, we need to use a session protection when we move to the new channel, so that we don't miss the beacons. Without this, sometimes the other vif repeatedly gets time exactly when we should be hearing the beacons, preventing channel switch from completing. Adding a session protection that lasts from the moment the channel changes until 2 TBTTs later, ensures that we will hear the beacons on the destination channel. Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/mvm.h')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/mvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mvm.h b/drivers/net/wireless/iwlwifi/mvm/mvm.h
index 99a25906bc92..7c62f80414ae 100644
--- a/drivers/net/wireless/iwlwifi/mvm/mvm.h
+++ b/drivers/net/wireless/iwlwifi/mvm/mvm.h
@@ -275,6 +275,7 @@ enum iwl_mvm_ref_type {
IWL_MVM_REF_NMI,
IWL_MVM_REF_TM_CMD,
IWL_MVM_REF_EXIT_WORK,
+ IWL_MVM_REF_PROTECT_CSA,
/* update debugfs.c when changing this */