From: Ben Greear <greearb@candelatech.com>
To: "Luis R. Rodriguez" <mcgrof@do-not-panic.com>
Cc: linux-wireless@vger.kernel.org, kvalo@qca.qualcomm.com,
wireless-regdb@lists.infradead.org
Subject: Re: [RFC] wireless: improve dfs-region intersection.
Date: Mon, 23 Jun 2014 13:37:37 -0700 [thread overview]
Message-ID: <53A89011.1010806@candelatech.com> (raw)
In-Reply-To: <20140623191504.GD1390@garbanzo.do-not-panic.com>
On 06/23/2014 12:15 PM, Luis R. Rodriguez wrote:
>
> Adding wireless-regdb.
>
> Regulatory folks:
>
> if two cards are present on a system, in the worst case consider
> two different cards for AP mode, and one has a DFS region set for the
> country its on but the other does not, do we want to use the DFS region
> for both? DFS would not be allowed on system unless the DFS region is
> set. DFS operation requires a card to explicitly support DFS though so
> even though it can be set as an intersection each card would still
> require DFS suport for that region.
>
> As I see it this will depend on what we want cards to do if the DFS
> region is unknown for a region. If the DFS region is not known can
> we use any DFS algorithm? If we cannot then I think a DFS intersection
> would require agreement on the DFS region. That would also mean though
> that when shipping products if a system is built with one card that has
> DFS for ETSI for example, and then a secondary card is present and its
> regulatory domain does not have DFS then the first card would not be
> able to operate on the DFS. I think this is reasonable given that
> the two cards must at least agree on the regulatory domain, otherwise
> the folks doing system integration probably did a bad job at thinking
> of things ahead of time. Even though this can be technically true I
> foresee folks this misconfiguration happening in the future and folks
> beingp puzzled by this as an issue. This means this should be documented
> for folks selling devices in a combined wifi system.
Maybe some stuff should be per-NIC instead of per OS instance. It would
suck if adding some ancient USB wifi NIC to a system disabled shiny new
features on already-existing NICs.
As for being confusing, the current code is nasty and it is very hard
to have any idea why things do or do not work, especially if you do not
have ability to add printk all over the place to figure out what the
code is actually doing.
I think some more effort should go into printing out a lot more
information about the regulator domain decisions, through printk
or related call if nothing better is found...
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2014-06-23 20:37 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-11 20:08 [RFC] wireless: improve dfs-region intersection greearb
2014-06-23 19:15 ` Luis R. Rodriguez
2014-06-23 20:37 ` Ben Greear [this message]
2014-06-23 20:54 ` Luis R. Rodriguez
2014-06-23 21:20 ` Ben Greear
2014-06-24 0:44 ` Luis R. Rodriguez
2014-06-24 2:35 ` Ben Greear
2014-06-24 2:53 ` Luis R. Rodriguez
2014-06-25 16:48 ` Ben Greear
2014-06-25 17:20 ` Luis R. Rodriguez
2014-06-25 17:34 ` Ben Greear
2014-06-25 17:37 ` Luis R. Rodriguez
2014-06-26 6:50 ` Janusz Dziedzic
2014-06-24 5:47 ` Kalle Valo
2014-06-25 16:52 ` Luis R. Rodriguez
2014-06-25 17:56 ` Kalle Valo
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=53A89011.1010806@candelatech.com \
--to=greearb@candelatech.com \
--cc=kvalo@qca.qualcomm.com \
--cc=linux-wireless@vger.kernel.org \
--cc=mcgrof@do-not-panic.com \
--cc=wireless-regdb@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).