aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/sta.h
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2019-06-24 13:57:34 +0300
committerJohannes Berg <johannes.berg@intel.com>2019-07-30 18:34:12 +0200
commitc61b655a88a54d8690c1e134c47bc3f6d40d2dc3 (patch)
tree0e8ef82186ba0fee7501ea82e327b1f4b7c6de2d /drivers/net/wireless/intel/iwlwifi/mvm/sta.h
parentiwlwifi: mvm: prepare the ground for more RSS notifications (diff)
downloadlinux-dev-c61b655a88a54d8690c1e134c47bc3f6d40d2dc3.tar.xz
linux-dev-c61b655a88a54d8690c1e134c47bc3f6d40d2dc3.zip
iwlwifi: mvm: add a new RSS sync notification for NSSN sync
We will soon be using a new notification that will be initiated by the driver, sent to the firmware and sent back to all the RSS queues by the firmware. This new notification will be useful to synchronize the NSSN across all the queues. For now, don't send the notification, just add the code to handle it. Later patch will add the code to actually send it. While at it, validate the baid coming from the firmware to avoid accessing an array with a bad index in the driver. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to '')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/mvm/sta.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/sta.h b/drivers/net/wireless/intel/iwlwifi/mvm/sta.h
index 79d655b3fce0..4823c06e6909 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/sta.h
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/sta.h
@@ -343,10 +343,16 @@ struct iwl_mvm_delba_data {
u32 baid;
} __packed;
+struct iwl_mvm_nssn_sync_data {
+ u32 baid;
+ u32 nssn;
+} __packed;
+
struct iwl_mvm_rss_sync_notif {
struct iwl_mvm_internal_rxq_notif metadata;
union {
struct iwl_mvm_delba_data delba;
+ struct iwl_mvm_nssn_sync_data nssn_sync;
};
} __packed;