All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: "Luis R. Rodriguez" <lrodriguez@atheros.com>
Cc: linville@tuxdriver.com, kathy.giori@atheros.com,
	amod.bodas@atheros.com, david.quan@atheros.com,
	michael.green@atheros.com, linux-wireless@vger.kernel.org
Subject: Re: [PATCH 2/2] cfg80211: pass DFS region to drivers through reg_notifier()
Date: Tue, 21 Dec 2010 11:53:43 +0100	[thread overview]
Message-ID: <1292928823.3563.4.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <1292864555-28661-4-git-send-email-lrodriguez@atheros.com>

On Mon, 2010-12-20 at 12:02 -0500, Luis R. Rodriguez wrote:
> This grants drivers access to the DFS region that a
> regulatory domain belongs to.
> 
> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
> ---
>  include/net/regulatory.h |    5 +++++
>  net/wireless/reg.c       |    4 ++++
>  2 files changed, 9 insertions(+), 0 deletions(-)
> 
> diff --git a/include/net/regulatory.h b/include/net/regulatory.h
> index 9fcb603..3ed16c5 100644
> --- a/include/net/regulatory.h
> +++ b/include/net/regulatory.h
> @@ -40,6 +40,10 @@ enum environment_cap {
>   * 	99 - built by driver but a specific alpha2 cannot be determined
>   * 	98 - result of an intersection between two regulatory domains
>   *	97 - regulatory domain has not yet been configured
> + * @dfs_region: If CRDA responded with a regulatory domain that requires
> + *	DFS master operation on a known DFS region (NL80211_CFLAG_DFS_*),
> + *	dfs_region represents that region. Drivers can use this and the
> + *	@alpha2 to adjust their device's DFS parameters as they wish.

The alpha2 is pretty useless -- I don't think you should advocate using
it. I think it can even be "99" or something at this point.

johannes


  reply	other threads:[~2010-12-21 10:53 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-20 17:02 [PATCH 0/8] wireless: DFS region support Luis R. Rodriguez
2010-12-20 17:02 ` [PATCH 1/8] wireless-regdb: Add DFS bit fields for countries Luis R. Rodriguez
2010-12-22 13:58   ` Johannes Berg
2010-12-22 14:21     ` Luis R. Rodriguez
2010-12-20 17:02 ` [PATCH 1/2] cfg80211: process new country regulatory flags (DFS) Luis R. Rodriguez
2010-12-22 14:02   ` Johannes Berg
2010-12-22 14:29     ` Luis R. Rodriguez
2010-12-20 17:02 ` [PATCH 2/2] cfg80211: pass DFS region to drivers through reg_notifier() Luis R. Rodriguez
2010-12-21 10:53   ` Johannes Berg [this message]
2010-12-21 12:43     ` Luis R. Rodriguez
2010-12-22 14:03   ` Johannes Berg
2010-12-22 14:26     ` Luis R. Rodriguez
2010-12-20 17:02 ` [PATCH 4/8] crda: synch up nl80211.h copy file Luis R. Rodriguez
2010-12-20 17:02 ` [PATCH 5/8] crda: synch up nl80211.h header with upstream for country flags Luis R. Rodriguez
2010-12-22 14:02   ` Johannes Berg
2010-12-22 14:36     ` Luis R. Rodriguez
2010-12-20 17:02 ` [PATCH 1/2] iw: fix country print Luis R. Rodriguez
2010-12-20 17:02 ` [RFC 8/8] wireless-regdb: add FCC as the DFS region for US Luis R. Rodriguez
2011-01-04 18:49 ` [PATCH 0/8] wireless: DFS region support John W. Linville
2011-01-05 18:28   ` Luis R. Rodriguez
2011-01-05 18:30     ` John W. Linville
2011-01-05 21:26       ` Luis R. Rodriguez

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=1292928823.3563.4.camel@jlt3.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=amod.bodas@atheros.com \
    --cc=david.quan@atheros.com \
    --cc=kathy.giori@atheros.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=lrodriguez@atheros.com \
    --cc=michael.green@atheros.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 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.