From: Felix Fietkau Date: Fri, 19 Nov 2010 21:55:38 +0000 (+0100) Subject: mac80211: calculate beacon loss time accurately X-Git-Tag: v2.6.38-rc1~476^2~405^2^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ccc8bd7593634d827e8bc55898a5038e29848b5;p=pandora-kernel.git mac80211: calculate beacon loss time accurately Instead of using a fixed 2 second timeout, calculate beacon loss interval from the advertised beacon interval and a frame count. With this beacon loss happens after N (default 7) consecutive frames are missed which for a typical setup (100TU beacon interval) is ~700ms (or ~1/3 previous). Signed-off-by: Sam Leffler Signed-off-by: Felix Fietkau Signed-off-by: John W. Linville --- Reading git-diff-tree failed