]> 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)
commit6e6a16ddfe335a0fa96d36bba77c49415f73c84c
tree7c1451dbc5a846d2b90cd40a3bd2efed20da030e
parent4d7edb87a65607fde887817241434f59d2a68907
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