]> git.hungrycats.org Git - linux/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)
committerJiri Slaby <jslaby@suse.cz>
Tue, 26 Aug 2014 12:12:02 +0000 (14:12 +0200)
commit27b249776f31bf46e2436bf3e41624a208e7ba61
treef497682392f31b9573ed0824ed6da23a59cacda3
parent15f4a2d048fd6447b8a66d20231cfad4dca5fa86
iwlwifi: mvm: Add a missed beacons threshold

commit 12d423e816c69b0b4457bc047dda9a0a1c1a53c1 upstream.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c
drivers/net/wireless/iwlwifi/mvm/mvm.h