]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: Add a missed beacons threshold
authorIlan Peer <ilan.peer@intel.com>
Tue, 24 Dec 2013 20:08:14 +0000 (22:08 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 31 Dec 2013 17:03:49 +0000 (19:03 +0200)
commit2127e5be0110ca9efb85d62d47bff798627bb875
tree7c1451dbc5a846d2b90cd40a3bd2efed20da030e
parent15ebdf409f05c9eb6a774cc800f599edfedefbef
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>
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c
drivers/net/wireless/iwlwifi/mvm/mvm.h