summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
diff options
context:
space:
mode:
authorAndrei Otcheretianski2016-01-26 17:12:28 +0100
committerEmmanuel Grumbach2016-02-01 15:40:29 +0100
commitc89e333d5e4a27f736c960b29040b261c21563a5 (patch)
tree6b2a23074ea27d210644c9894b8dec9a57cb5ca7 /drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
parentiwlwifi: pcie: update iwl_mpdu_desc fields (diff)
downloadkernel-qcow2-linux-c89e333d5e4a27f736c960b29040b261c21563a5.tar.gz
kernel-qcow2-linux-c89e333d5e4a27f736c960b29040b261c21563a5.tar.xz
kernel-qcow2-linux-c89e333d5e4a27f736c960b29040b261c21563a5.zip
iwlwifi: mvm: allow to disable beacon filtering for AP/GO interface
When in AP mode we need to filter in beacons from other APs to update HT operation mode. As a power optimization the beacons are filtered out when there are no associated stations. As a result, when there are no associated stations, we will not update the HT operation mode until a station connects. Add a debugfs parameter that allows to disable this optimization. Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/mvm.h')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/mvm/mvm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/mvm.h b/drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
index 747f7eb80f47..ebe37bb0ce4c 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
@@ -859,6 +859,12 @@ struct iwl_mvm {
u32 ciphers[6];
struct iwl_mvm_tof_data tof_data;
+
+ /*
+ * Drop beacons from other APs in AP mode when there are no connected
+ * clients.
+ */
+ bool drop_bcn_ap_mode;
};
/* Extract MVM priv from op_mode and _hw */