summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/mvm.h
diff options
context:
space:
mode:
authorAndrei Otcheretianski2013-10-22 05:01:12 +0200
committerEmmanuel Grumbach2014-05-06 22:32:46 +0200
commitbd3398e2864e264842f5f702e5a69e30582a4d18 (patch)
treef977a2dc62827f6efe1d8094c77c18bb18d3dfe0 /drivers/net/wireless/iwlwifi/mvm/mvm.h
parentiwlwifi: mvm: wait for d0i3 exit in some more ampdu actions (diff)
downloadkernel-qcow2-linux-bd3398e2864e264842f5f702e5a69e30582a4d18.tar.gz
kernel-qcow2-linux-bd3398e2864e264842f5f702e5a69e30582a4d18.tar.xz
kernel-qcow2-linux-bd3398e2864e264842f5f702e5a69e30582a4d18.zip
iwlwifi:mvm: Add AP/GO channel switch support
Publish WIPHY_FLAG_HAS_CHANNEL_SWITCH if the fw supports newly introduced IWL_UCODE_TLV_API_CSA_FLOW. When CSA starts, save the switching vif inside mvm and during the CSA period configure fw with a new beacon after each beacon transmission in order to update the csa counters. Also, handle correctly the CSA unbind-bind flow which is triggered by mac80211 when the actual channel switch happens. Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com> Reviewed-by: Luciano Coelho <luciano.coelho@intel.com> Reviewed-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/mvm.h')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/mvm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mvm.h b/drivers/net/wireless/iwlwifi/mvm/mvm.h
index 1575ac7c5864..1e468c3e8dea 100644
--- a/drivers/net/wireless/iwlwifi/mvm/mvm.h
+++ b/drivers/net/wireless/iwlwifi/mvm/mvm.h
@@ -644,6 +644,8 @@ struct iwl_mvm {
/* Indicate if device power save is allowed */
bool ps_disabled;
+
+ struct ieee80211_vif *csa_vif;
};
/* Extract MVM priv from op_mode and _hw */