From: Johannes Berg <johannes@sipsolutions.net>
To: Ivo van Doorn <ivdoorn@gmail.com>
Cc: Antonio Marques <froz@icix.org>,
Andrey Yurovsky <andrey@cozybit.com>,
linux-wireless@vger.kernel.org
Subject: Re: rt2x00 mesh support
Date: Wed, 18 Mar 2009 14:36:13 +0100 [thread overview]
Message-ID: <1237383373.5100.24.camel@johannes.local> (raw)
In-Reply-To: <200903181431.43048.IvDoorn@gmail.com> (sfid-20090318_143216_017913_36914372)
[-- Attachment #1: Type: text/plain, Size: 1673 bytes --]
On Wed, 2009-03-18 at 14:31 +0100, Ivo van Doorn wrote:
> > ->config() coming after it makes no sense either but we haven't even
> > tried to avoid that so far... In fact, it is perfectly legal for
> > ->config() to be called after ->config_interface() when, for example,
> > you change the channel. Not that I disagree -- we should be setting the
> > beacon interval before enabling beaconing...
>
> True, the problem however is that when enabling the radio it is possible/likely
> that a lot of settings will be lost. For rt2x00 we must reset almost all registers
> to make sure everything is set correctly again.
Yeah, that makes sense... I just don't know how to handle it.
> > What exactly is the problem here? The fact that we don't enable the
> > radio until after having configured beaconing? I'm not sure how to solve
> > this, to be honest.
>
> Neither do I, perhaps we should make sure that a call to config() when
> the enabled_radio field has changed should trigger additional reconfigurations
> as well. But I don't really like such a solution.. :(
We could do that, but there's no limit to what that would be, up to
requiring basically a call to __ieee80211_resume() (from pm.c)...
> Perhaps should check if a beacon was provided while the radio was off,
> and either request a new beacon or upload the previously provided beacon when
> the radio is being enabled.
I'm thinking that will be necessary, imagine we integrate rfkill in
mac80211 like we should, and set radio_enabled = false while being an
IBSS member?
OTOH, this problem hitting a number of drivers suggests we should find a
generic fix.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2009-03-18 13:36 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-23 18:58 rt2x00 mesh support Antonio Marques
2009-01-23 19:02 ` Andrey Yurovsky
2009-01-24 11:40 ` António Marques
2009-03-15 11:54 ` Antonio Marques
2009-03-15 13:45 ` Ivo van Doorn
2009-03-16 1:58 ` Pat Erley
2009-03-16 13:29 ` Antonio Marques
2009-03-16 13:22 ` António Marques
2009-03-16 14:58 ` Ivo van Doorn
2009-03-16 19:12 ` Antonio Marques
2009-03-17 9:31 ` Ivo van Doorn
2009-03-17 14:11 ` Johannes Berg
2009-03-17 20:10 ` Johannes Berg
2009-03-17 21:50 ` Ivo van Doorn
2009-03-17 21:53 ` Johannes Berg
2009-03-17 22:04 ` Ivo van Doorn
2009-03-17 22:35 ` Johannes Berg
2009-03-17 23:01 ` Ivo van Doorn
2009-03-17 23:04 ` Johannes Berg
2009-03-18 10:02 ` Ivo van Doorn
2009-03-18 12:26 ` Antonio Marques
2009-03-18 12:48 ` Ivo van Doorn
2009-03-18 13:12 ` Johannes Berg
2009-03-18 13:31 ` Ivo van Doorn
2009-03-18 13:36 ` Johannes Berg [this message]
2009-03-19 21:55 ` Antonio Marques
2009-03-17 19:38 ` Antonio Marques
2009-03-17 22:03 ` Ivo van Doorn
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=1237383373.5100.24.camel@johannes.local \
--to=johannes@sipsolutions.net \
--cc=andrey@cozybit.com \
--cc=froz@icix.org \
--cc=ivdoorn@gmail.com \
--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 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.