summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/mvm.h
diff options
context:
space:
mode:
authorEliad Peller2014-01-08 09:11:11 +0100
committerEmmanuel Grumbach2014-02-03 21:23:36 +0100
commitc87163b9ae894b94c87746fceddb593e7be62ab4 (patch)
tree297225db7073765e964fbe96a309f9dbe56ad616 /drivers/net/wireless/iwlwifi/mvm/mvm.h
parentiwlwifi: mvm: change the format of the SRAM dump (diff)
downloadkernel-qcow2-linux-c87163b9ae894b94c87746fceddb593e7be62ab4.tar.gz
kernel-qcow2-linux-c87163b9ae894b94c87746fceddb593e7be62ab4.tar.xz
kernel-qcow2-linux-c87163b9ae894b94c87746fceddb593e7be62ab4.zip
iwlwifi: mvm: add basic bcast filtering implementation
Broadcast filtering allows dropping broadcast frames that don't match the configured patterns. Use predefined filters, and configure them for each associated station vif. There is no need to optimize and attach the same filter to multiple vifs, as a following patch will configure each filter to have per-vif unique values. Configure the bcast filtering on assoc changes. Add a new IWLWIFI_BCAST_FILTERING Kconfig option in order to enable broadcast filtering. Signed-off-by: Eliad Peller <eliadx.peller@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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mvm.h b/drivers/net/wireless/iwlwifi/mvm/mvm.h
index 00bc4ce06cca..2da17d107ab3 100644
--- a/drivers/net/wireless/iwlwifi/mvm/mvm.h
+++ b/drivers/net/wireless/iwlwifi/mvm/mvm.h
@@ -497,6 +497,11 @@ struct iwl_mvm {
/* rx chain antennas set through debugfs for the scan command */
u8 scan_rx_ant;
+#ifdef CONFIG_IWLWIFI_BCAST_FILTERING
+ /* broadcast filters to configure for each associated station */
+ const struct iwl_fw_bcast_filter *bcast_filters;
+#endif
+
/* Internal station */
struct iwl_mvm_int_sta aux_sta;