From: "Arend van Spriel" <arend@broadcom.com>
To: "Johannes Berg" <johannes@sipsolutions.net>
Cc: "Dan Williams" <dcbw@redhat.com>,
"Adrian Chadd" <adrian@freebsd.org>,
"Felix Fietkau" <nbd@openwrt.org>,
linux-wireless@vger.kernel.org,
"Ben Greear" <greearb@candelatech.com>
Subject: Re: [RFC V2] cfg80211: introduce critical protocol indication from user-space
Date: Fri, 29 Mar 2013 12:38:54 +0100 [thread overview]
Message-ID: <51557D4E.10804@broadcom.com> (raw)
In-Reply-To: <1364510646.10397.81.camel@jlt4.sipsolutions.net>
On 03/28/2013 11:44 PM, Johannes Berg wrote:
> On Thu, 2013-03-28 at 17:42 -0500, Dan Williams wrote:
>
>>> Well, you can do DHCP a second or so, I'd think? And EAPOL much quicker,
>>> of course. I don't really see any reasonable minimum time? We might want
>>> to enforce a max though, maybe.
>>
>> Not quite. A lot is dependent on the server itself, and I've had users
>> on university and corporate networks report it sometimes takes 30 to 60
>> seconds for the whole DHCP transaction to complete (DISCOVER, REQUEST,
>> OFFER, ACK). Sometimes there's a NAK in there if the server doesn't
>> like your lease, which means you need another round-trip. So in many
>> cases, it's a couple round-trips and each of these packets may or may
>> not get lost in noisy environments.
>
> Oh, yes, of course. However, we're talking about optimising the good
> cases, not the bad ones. Think of it this way: if it goes fast, we
> shouldn't make it slow by putting things like powersave or similar in
> the way. If it's slow, then it'll still work, just slower. But when
> "slower" only means a few hundred milliseconds, it doesn't matter if
> everything takes forever (30-60 secs)
In our android driver, which has a private ioctl for this stuff, it is
used for DHCP and makes WLAN connection more reliable by altering BT
coex parameters. It has its own timeout schedule. Timer T1 is 2.5 sec.
for DCHP transaction to complete. If T1 expires before completion it
increases WLAN priority more with timer T2 for 5 seconds. That is why I
put 2.5 sec as a minimum duration in the patch. Unfortunately I do not
have the data available to back these timeout values. I will ask around.
Gr. AvS
next prev parent reply other threads:[~2013-03-29 11:39 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-28 12:11 [RFC V2] cfg80211: introduce critical protocol indication from user-space Arend van Spriel
2013-03-28 16:17 ` Johannes Berg
2013-03-28 16:30 ` Ben Greear
2013-03-28 21:16 ` Arend van Spriel
2013-03-28 21:28 ` Johannes Berg
2013-03-28 22:42 ` Dan Williams
2013-03-28 22:44 ` Johannes Berg
2013-03-28 23:01 ` Dan Williams
2013-03-28 23:30 ` Ben Greear
2013-03-29 13:42 ` Arend van Spriel
2013-04-01 14:52 ` Dan Williams
2013-03-29 11:38 ` Arend van Spriel [this message]
2013-03-28 22:51 ` Ben Greear
2013-03-28 22:58 ` Dan Williams
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=51557D4E.10804@broadcom.com \
--to=arend@broadcom.com \
--cc=adrian@freebsd.org \
--cc=dcbw@redhat.com \
--cc=greearb@candelatech.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).