linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Seth Forshee <seth.forshee@canonical.com>
To: Arend van Spriel <arend@broadcom.com>,
	"Luis R. Rodriguez" <rodrigue@qca.qualcomm.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	Michael Green <green@qca.qualcomm.com>,
	David Quan <dquan@qca.qualcomm.com>,
	Henry Ptasinski <henry@logout.com>,
	linux-kernel@vger.kernel.org
Subject: Re: Problems with regulatory domain support and BCM43224
Date: Mon, 26 Mar 2012 14:36:08 -0500	[thread overview]
Message-ID: <20120326193608.GE17126@thinkpad-t410> (raw)
In-Reply-To: <20120322002715.GA3709@tux>

On Wed, Mar 21, 2012 at 05:27:15PM -0700, Luis R. Rodriguez wrote:
> > Arend, in order to proceed it looks like what we need to know is what
> > the custom domains represent, i.e. whether they map to a specific
> > country or set of countries, etc.
> 
> This is why it is crucial for vendors themselves to get involved in this
> process. Only they will truly know and completely understand what this
> all means. Since it is hard to keep track of this information it is also
> why we have documented what our EEPROM regulatory domains look like and
> what they mean / map to.
> 
> http://wireless.kernel.org/en/users/Drivers/ath
> 
> Something similar may be worthy for this driver. But just my own 0.02
> costarican colones.
> 
> > From what you've said so far it looks
> > like X0 may map to US 
> 
> BTW if this is the case, you may be able to send the regulatory hint
> for "US" and then apply any thing you need on top of that after
> through the reg_notifier() callback.
> 
> > while X2 is more of a world roaming domain, but again I'm just guessing.

I've been studying the existing brcmsmac regulatory code in more detail,
and I think there's a lot of potential to make the integration with the
core regulatory support much better. I'm still making my way through
some of the code, but here's what I see so far.

Once full and accurate regdomain information is provided to the core
regulatory code, all the code in channel.c that's checking against
regulatory constraints can be eliminated, as that will get done at a
higher level. I think the code to set the Tx power should also be
reworked to use the constraints from the core regdom code. At that point
the need for the custom regdom structures is mostly eliminated.

I'm going to start toying with implementing some of this this week, time
permitting. I think X2 is the only domain I have enough information on
to realistically implement. But even with that one it would be helpful
to understand what it's meant to represent, as Luis pointed out.

I have one other question as well. Does the data in channel.c generally
represent the most permissive regulatory parameters that ought to be
used? That's the assumption I'm working under right now.

Thanks,
Seth


  reply	other threads:[~2012-03-26 19:36 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-07 19:40 Problems with regulatory domain support and BCM43224 Seth Forshee
2012-03-08 17:41 ` Seth Forshee
2012-03-08 18:53   ` Luis R. Rodriguez
2012-03-08 19:07     ` Quan, David
2012-03-08 19:36       ` Luis R. Rodriguez
2012-03-08 19:45         ` Quan, David
2012-03-08 19:51           ` Luis R. Rodriguez
2012-03-08 20:07             ` Seth Forshee
2012-03-08 20:17               ` Luis R. Rodriguez
2012-03-08 21:01               ` Arend van Spriel
2012-03-08 21:06                 ` Luis R. Rodriguez
2012-03-08 21:31                   ` Arend van Spriel
2012-03-08 21:42                     ` Seth Forshee
2012-03-20 22:07                   ` Seth Forshee
2012-03-21 11:05                     ` Arend van Spriel
2012-03-21 14:19                       ` Seth Forshee
2012-03-21 17:51                         ` Arend van Spriel
2012-03-21 18:17                           ` Luis R. Rodriguez
2012-03-21 19:37                             ` Seth Forshee
2012-03-22  0:27                               ` Luis R. Rodriguez
2012-03-26 19:36                                 ` Seth Forshee [this message]
2012-04-04  2:46                                   ` Seth Forshee
2012-04-04  7:03                                     ` Arend van Spriel
2012-04-10 16:28                                     ` Seth Forshee
2012-04-11 10:16                                       ` Arend van Spriel
2012-04-11 13:39                                         ` Seth Forshee
2012-04-11 16:52                                           ` Arend van Spriel
2012-03-08 21:59             ` Seth Forshee
2012-03-08 22:12               ` Luis R. Rodriguez
2012-03-08 22:30                 ` Seth Forshee

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=20120326193608.GE17126@thinkpad-t410 \
    --to=seth.forshee@canonical.com \
    --cc=arend@broadcom.com \
    --cc=dquan@qca.qualcomm.com \
    --cc=green@qca.qualcomm.com \
    --cc=henry@logout.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=rodrigue@qca.qualcomm.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).