linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Zefir Kurtisi <zefir.kurtisi@neratec.com>
To: Felix Fietkau <nbd@openwrt.org>
Cc: "Luis R. Rodriguez" <mcgrof@gmail.com>,
	Mahboob Alem <Mahboob.Alem@atheros.com>,
	"John W. Linville" <linville@tuxdriver.com>,
	linux-wireless <linux-wireless@vger.kernel.org>,
	Brian Kevin Lee <BrianK.Lee@atheros.com>,
	Kathy Giori <Kathy.Giori@atheros.com>
Subject: Re: Review of moving all DFS parameters to userspace
Date: Tue, 15 Feb 2011 13:16:31 +0100	[thread overview]
Message-ID: <4D5A6E9F.3040809@neratec.com> (raw)
In-Reply-To: <4D59E5EB.9000502@openwrt.org>

On 02/15/2011 03:33 AM, Felix Fietkau wrote:
> On 2011-02-15 1:48 AM, Luis R. Rodriguez wrote:
>> On Mon, Feb 14, 2011 at 7:39 AM, Zefir Kurtisi
>> <zefir.kurtisi@neratec.com> wrote:
>>> On 02/01/2011 06:32 PM, John W. Linville wrote:
>>>> On Tue, Feb 01, 2011 at 08:38:05AM -0800, Luis R. Rodriguez wrote:
>>>>> I though we had reviewed the possibility of moving DFS parameters to
>>>>> userspace but it seems that's not the case. We now at least know we
>>>>> can keep the DFS regions: US, JP, ETSI, the next step is to determine
>>>>> if the DFS parameters for these regions will come from userspace or
>>>>> kernelspace. I'm inclined to support starting off with moving this to
>>>>> kernelspace just to let us move forward with this support, and once in
>>>>> kernel, review the possibility to move this out to userspace.
>>>>>
>>>>> Thoughts?
>>>>
>>>> Seems like a reasonable approach for the short term...better than
>>>> locking-in userland ABI...
>>>>
>>>> John
>>>
>>> Sorry, I was not aware that the userspace DFS approach was already discussed
>>> and rejected.
>>
>> 19:14 < *nbd> initially the pulse pattern matching will be somewhat hw specific
>> 19:14 < *nbd> or at least driver specific
>>
>> So ideally if we can generalize things great, I really did not think
>> we'd be able to get there on a first step.
> It's good to have the pulse pattern matching code be as generic as
> possible, but I would like to keep it in the ath module until we're sure
> that there actually is non-Atheros hardware out there that it can be
> used for (and preferably has been tested with).
> 
> I would strongly prefer if it stays in the kernel though, because
> certainly not all drivers are going to need pulse pattern matching code
> in the driver or stack (some will do this in firmware), and to have two
> completely different reporting mechanisms for radar detection events
> seems kind of pointless to me.
> 
> But even after moving it to the kernel, it would still be nice to have
> the code structured in a way that it can alternatively be compiled with
> some wrapper code for running user space tests.
> 
> - Felix

I understand your thoughts, but am still not clear on how you suggest to 
proceed with DFS implementation. Do you opt for taking DFS source code 
provided by Atheros (assumed we get it) and integrate it into ath9k, or 
take our proposal into ath9k as starting point?

In the latter case, would it be required to change the proposed interface 
to the detector with some Atheros specific parameters, or is it only to hide 
the (generic) detector from the outside world? With that latter case I 
personally would disagree, since - even if no other driver might ever use 
the generic detector - it does not hurt to make a generic module generally 
available.

We are circuiting this issue now for quite some time and we will continue so 
until we clarify its root cause, i.e. is pattern detection for radar pulse 
detecting chipsets HW-dependent or not. 
Hope we will get it resolved soon, now that Atheros DFS algorithm folks are 
included in the discussion.


See you at the meeting today.
Zefir


  reply	other threads:[~2011-02-15 12:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-01 16:38 Review of moving all DFS parameters to userspace Luis R. Rodriguez
2011-02-01 17:32 ` John W. Linville
2011-02-14 15:39   ` Zefir Kurtisi
2011-02-15  0:48     ` Luis R. Rodriguez
2011-02-15  2:33       ` Felix Fietkau
2011-02-15 12:16         ` Zefir Kurtisi [this message]
2011-02-15  9:23       ` Zefir Kurtisi

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=4D5A6E9F.3040809@neratec.com \
    --to=zefir.kurtisi@neratec.com \
    --cc=BrianK.Lee@atheros.com \
    --cc=Kathy.Giori@atheros.com \
    --cc=Mahboob.Alem@atheros.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=mcgrof@gmail.com \
    --cc=nbd@openwrt.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).