From: Ben Greear <greearb@candelatech.com>
To: Felix Fietkau <nbd@openwrt.org>
Cc: linux-wireless@vger.kernel.org, linville@tuxdriver.com,
johannes@sipsolutions.net
Subject: Re: [PATCH 4/4] mac80211: reduce the probe response timeout after beacon loss
Date: Fri, 19 Nov 2010 14:04:40 -0800 [thread overview]
Message-ID: <4CE6F478.1030102@candelatech.com> (raw)
In-Reply-To: <1290203740-57124-4-git-send-email-nbd@openwrt.org>
On 11/19/2010 01:55 PM, Felix Fietkau wrote:
> Waiting for 500 ms after sending a probe request seems a bit excessive,
> especially when doing 5 attempts. If the connection is bad enough to make
> multiple requests time out, then user space should try to quickly find a
> new AP.
>
> Signed-off-by: Paul Stewart<pstew@google.com>
> Signed-off-by: Felix Fietkau<nbd@openwrt.org>
> ---
> net/mac80211/mlme.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
> index ae99c0b..a64bb92 100644
> --- a/net/mac80211/mlme.c
> +++ b/net/mac80211/mlme.c
> @@ -51,7 +51,7 @@
> * a probe request because of beacon loss or for
> * checking the connection still works.
> */
> -#define IEEE80211_PROBE_WAIT (HZ / 2)
> +#define IEEE80211_PROBE_WAIT (HZ / 5)
Maybe make this a sysfs (or procfs) tunable?
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2010-11-19 22:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-19 21:55 [PATCH 1/4] mac80211: restart beacon miss timer on system resume from suspend Felix Fietkau
2010-11-19 21:55 ` [PATCH 2/4] mac80211: calculate beacon loss time accurately Felix Fietkau
2010-11-19 21:55 ` [PATCH 3/4] mac80211: probe the AP when resuming Felix Fietkau
2010-11-19 21:55 ` [PATCH 4/4] mac80211: reduce the probe response timeout after beacon loss Felix Fietkau
2010-11-19 22:04 ` Ben Greear [this message]
2010-11-20 2:39 ` Felix Fietkau
2010-11-22 6:49 ` Mohammed Shafi
2010-11-22 14:41 ` Felix Fietkau
[not found] ` <AANLkTiktvydY2NQhMq8kQ39FQWpy0tnjC7yCgfPRkCoD@mail.gmail.com>
2010-11-22 15:09 ` [ath9k-devel] " Mohammed Shafi
2010-12-08 20:27 ` John W. Linville
2010-11-23 19:28 ` [PATCH v2 3/4] mac80211: probe the AP when resuming Felix Fietkau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CE6F478.1030102@candelatech.com \
--to=greearb@candelatech.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=nbd@openwrt.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.