summaryrefslogtreecommitdiffstats
path: root/net/l2tp
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-11-19 22:55:38 +0100
committerJohn W. Linville <linville@tuxdriver.com>2010-11-24 22:19:34 +0100
commit7ccc8bd7593634d827e8bc55898a5038e29848b5 (patch)
treec01c231a2f7448be34796c4c11358ffec42225aa /net/l2tp
parentmac80211: restart beacon miss timer on system resume from suspend (diff)
downloadlinux-7ccc8bd7593634d827e8bc55898a5038e29848b5.tar.xz
linux-7ccc8bd7593634d827e8bc55898a5038e29848b5.zip
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 <sleffler@chromium.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/l2tp')
0 files changed, 0 insertions, 0 deletions