diff options
author | Ilan Peer | 2013-12-24 21:08:14 +0100 |
---|---|---|
committer | Emmanuel Grumbach | 2013-12-31 18:03:49 +0100 |
commit | 12d423e816c69b0b4457bc047dda9a0a1c1a53c1 (patch) | |
tree | 7c1451dbc5a846d2b90cd40a3bd2efed20da030e /drivers/net/wireless/iwlwifi/mvm/mvm.h | |
parent | iwlwifi: mvm: squash a spurious warning on chnctx change (diff) | |
download | kernel-qcow2-linux-12d423e816c69b0b4457bc047dda9a0a1c1a53c1.tar.gz kernel-qcow2-linux-12d423e816c69b0b4457bc047dda9a0a1c1a53c1.tar.xz kernel-qcow2-linux-12d423e816c69b0b4457bc047dda9a0a1c1a53c1.zip |
iwlwifi: mvm: Add a missed beacons threshold
Instead of always calling ieee80211_beacon_loss() on every missed
beacons notification, call this function only if the number of
consecutive missed beacons from last rx is higher than a predefined
threshold.
Signed-off-by: Ilan Peer <ilan.peer@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.h | 1 |
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 84edf3649ad2..ca8a9048383d 100644 --- a/drivers/net/wireless/iwlwifi/mvm/mvm.h +++ b/drivers/net/wireless/iwlwifi/mvm/mvm.h @@ -81,6 +81,7 @@ #define IWL_MVM_MAX_ADDRESSES 5 /* RSSI offset for WkP */ #define IWL_RSSI_OFFSET 50 +#define IWL_MVM_MISSED_BEACONS_THRESHOLD 8 enum iwl_mvm_tx_fifo { IWL_MVM_TX_FIFO_BK = 0, |