Linux wireless drivers development
 help / color / mirror / Atom feed
From: Jouni Malinen <j@w1.fi>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Dan Williams <dcbw@redhat.com>, linux-wireless@vger.kernel.org
Subject: Re: mac80211 ad-hoc mode problems
Date: Wed, 4 Jun 2008 12:16:56 +0300	[thread overview]
Message-ID: <20080604091656.GE580@jm.kir.nu> (raw)
In-Reply-To: <1212570001.14371.16.camel@johannes.berg>

On Wed, Jun 04, 2008 at 11:00:00AM +0200, Johannes Berg wrote:
> On Tue, 2008-06-03 at 21:41 -0400, Dan Williams wrote:
> > 2) takes a _really_ long time to create an adhoc network.  This is
> > controlled by IEEE80211_IBSS_JOIN_TIMEOUT.  Why is that 20 seconds?

> Yeah, I don't know why it is that long. Jouni, do you remember maybe?
> I'm ok with reducing it.

Can't remember.. The only thing I can come up with is that 20 was the
next round number that is larger than IEEE80211_SCAN_INTERVAL_SLOW
defined on the previous line.. ;-) Anyway, I don't see why we would need
to wait that long. It should be enough to wait for a full scan of all
channels to be completed. It is of course nicer to avoid creating a new
IBSS if there is an existing one, but as long as merging works, it
should be fine to reduce this timeout.

-- 
Jouni Malinen                                            PGP id EFC895FA

  reply	other threads:[~2008-06-04  9:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-04  1:41 mac80211 ad-hoc mode problems Dan Williams
2008-06-04  9:00 ` Johannes Berg
2008-06-04  9:16   ` Jouni Malinen [this message]
2008-06-04 14:18     ` Dan Williams
2008-06-04 15:41       ` Johannes Berg
2008-06-04 15:55       ` Jouni Malinen
2008-06-04 17:30         ` Dan Williams
2008-06-04 14:13   ` Dan Williams
2008-06-04 15:44     ` Johannes Berg

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=20080604091656.GE580@jm.kir.nu \
    --to=j@w1.fi \
    --cc=dcbw@redhat.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.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