linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Luis R. Rodriguez" <lrodriguez@atheros.com>
To: Bob Copeland <me@bobcopeland.com>
Cc: Christian Lamparter <chunkeey@web.de>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	Luis Rodriguez <Luis.Rodriguez@Atheros.com>
Subject: Re: [RFC] ath9k's regulatory domain code changes (for ar9170)
Date: Tue, 24 Mar 2009 11:41:00 -0700	[thread overview]
Message-ID: <20090324184100.GA29268@tesla> (raw)
In-Reply-To: <b6c5339f0903241159x505fc88ap4d9850fa74733156@mail.gmail.com>

On Tue, Mar 24, 2009 at 11:59:37AM -0700, Bob Copeland wrote:
> On Tue, Mar 24, 2009 at 2:38 PM, Christian Lamparter <chunkeey@web.de> wrote:
> > Hi Luis,
> >
> > This is more or less what I need from ath9k's regulatory domain code.
> > What's your opinion? Would you accept the changes, or do you see
> > a potential conflict/problem with the design?
> 
> FWIW I had done a small bit of rework for sharing with ath5k, and
> Luis has those patches now in somewhat better shape.  The last
> patch set I made is here:
> 
> http://bobcopeland.com/kernel/wl/20090309/

I rebased these on top of the latest wl, and slightly modified them
to apply cleanly with checkpatch and I think I had a few very minor changes.
You can find the latest here:

http://bombadil.infradead.org/~mcgrof/patches/ath5k/ath5k-reg.patch.txt

I thought I was going to be able to work on this last week but that wasn't the
case and it seems I won't get to it this week either. Do any of you guys have
time to pick it up? Only change I'd recommend is to first make ath5k use a
small set of channels as ath9k and ar9170 has, then you can actually debug
regulatory stuff using iw by calling 'iw list' and checking the channel info.
I was going to start with that but saw its a little pain. Essentially the way
I'd do it is to modify ath5k_setup_bands() to remove the channel hw specific
settings and move that stuff to a routine which can be called dynamically upon
channel change (IEEE80211_CONF_CHANGE_CHANNEL) through the mac80211 config
callback. In ath9k we do this with the ath9k_update_ichannel(). The idea
was to eventually condense that down to a ath9k_update_ht_mode() as I think
that's all that would be required. But do do that we'd need to slowly completley
remove ath9k_channel. That's a bit of a challenge, provided you want to make
sure everything else works. But anyway that should give you an idea of where
I was heading if you want to try something similar for ath5k.

Technically speaking it'd be even nice to not have to compute this upon channel
change so that way we save time during a channel change, but that again is a nice
challenge. For example it'd be hot of we wouldn't have to compute the hw value for
the frequency on ath9k every single time as its a static value.

Anyway that's my feedback.

  Luis

  reply	other threads:[~2009-03-24 19:41 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-24 18:38 [RFC] ath9k's regulatory domain code changes (for ar9170) Christian Lamparter
2009-03-24 18:59 ` Bob Copeland
2009-03-24 18:41   ` Luis R. Rodriguez [this message]
2009-03-24 20:03     ` Bob Copeland
2009-03-24 20:10       ` Luis R. Rodriguez
2009-03-24 20:31         ` Johannes Berg
2009-03-24 22:04           ` Luis R. Rodriguez
2009-03-28 16:39             ` Bob Copeland
2009-03-29 23:13               ` Nick Kossifidis
2009-03-29 23:15                 ` Nick Kossifidis
2009-03-30 12:00                   ` Bob Copeland
2009-03-24 20:33         ` Christian Lamparter
2009-03-24 20:58           ` Luis R. Rodriguez
2009-03-24 22:09             ` Bob Copeland
2009-03-24 21:14               ` Luis R. Rodriguez
2009-03-24 22:24             ` Christian Lamparter
2009-03-24 22:30               ` Bob Copeland
2009-03-24 23:13                 ` Luis R. Rodriguez
2009-03-24 23:17                   ` Luis R. Rodriguez
2009-03-24 23:52                     ` Luis R. Rodriguez
2009-03-25  1:06                       ` Bob Copeland
2009-03-25  2:30                         ` Luis R. Rodriguez
2009-03-25  2:59                           ` Luis R. Rodriguez
2009-03-25  3:15                             ` Luis R. Rodriguez
2009-03-25  3:45                               ` Luis R. Rodriguez
2009-03-29 19:39                                 ` Bob Copeland

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=20090324184100.GA29268@tesla \
    --to=lrodriguez@atheros.com \
    --cc=Luis.Rodriguez@Atheros.com \
    --cc=chunkeey@web.de \
    --cc=linux-wireless@vger.kernel.org \
    --cc=me@bobcopeland.com \
    /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).