linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Zefir Kurtisi <zefir.kurtisi@neratec.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Victor Goldenshtein <victorg@ti.com>,
	linux-wireless@vger.kernel.org, kgiori@qca.qualcomm.com,
	mcgrof@frijolero.org, adrian.chadd@gmail.com, j@w1.fi,
	coelho@ti.com, assaf@ti.com, yoni.divinsky@ti.com, igalc@ti.com,
	adrian@freebsd.org, nbd@nbd.name,
	simon.wunderlich@s2003.tu-chemnitz.de
Subject: Re: [PATCH v2 3/7] nl80211/cfg80211: add ability to enable TX on op-channel
Date: Wed, 20 Jun 2012 15:38:53 +0200	[thread overview]
Message-ID: <4FE1D26D.8060702@neratec.com> (raw)
In-Reply-To: <1340197920.4655.62.camel@jlt3.sipsolutions.net>

On 06/20/2012 03:12 PM, Johannes Berg wrote:
> On Wed, 2012-06-20 at 14:58 +0200, Zefir Kurtisi wrote:
> 
>>>> No, if you bring it back up on the same DFS channel,
>>>> radar_detection_timeout will be set back to +60s by
>>>> start_radar_detection(). Looks safe to me.
>>>
>>> You need to think a bit more outside the regular code flows ... What if
>>> I'm not calling start_radar_detection()?
> 
>> If you are not calling start_radar_detection() you are not using
>> hostapd. With the design approach we agreed on (when we initially
>> discussed DFS years ago) to have all the logic located in hostapd, it is
>> inevitable that those who intentionally want to bypass DFS regulatory
>> restrictions actually can. You can always replace hostapd by some
>> component that handles DFS control without caring the wait times.
> 
> But this kernel patch is attempting to enforce the wait time. Are you
> saying it shouldn't even pretend to enforce it?
> 
> johannes
> 
No, it serves its purpose to ensure hostapd is not going mad and tries
to enable TX before the CAC is over via redundant checks.

What I'm saying is this: we defined that DFS regulatory compliance is
provided by and distributed over driver, mac80211, and hostapd. We
always must ensure that a working combination of those operates in
compliance. But we have no control over it when a component is exchanged
or modified.

The regulatory statement we all signed does not even ask for that, it
states that 'average users should not accidentally fail to comply...'
which can be denied to be accidental for someone running master mode
without hostapd.


Back to topic: as stated above, radar_detection_timeout should be per
wiphy. That would also resolve your concern, right?


  parent reply	other threads:[~2012-06-20 13:38 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-19 13:10 [PATCH v2 1/7] nl80211/cfg80211: add radar detection command/event Victor Goldenshtein
2012-06-19 13:10 ` [PATCH v2 2/7] mac80211: " Victor Goldenshtein
2012-06-20  8:40   ` Johannes Berg
2012-06-19 13:10 ` [PATCH v2 3/7] nl80211/cfg80211: add ability to enable TX on op-channel Victor Goldenshtein
2012-06-20  8:44   ` Johannes Berg
2012-06-20  8:46     ` Johannes Berg
2012-06-20 11:53       ` Zefir Kurtisi
2012-06-20 11:57         ` Johannes Berg
2012-06-20 12:58           ` Zefir Kurtisi
2012-06-20 13:12             ` Johannes Berg
2012-06-20 13:32               ` Goldenshtein, Victor
2012-06-20 14:18                 ` Johannes Berg
2012-06-20 13:38               ` Zefir Kurtisi [this message]
2012-06-20 14:19                 ` Johannes Berg
2012-06-20 15:06       ` Goldenshtein, Victor
2012-06-20 14:34     ` Goldenshtein, Victor
2012-06-19 13:11 ` [PATCH v2 4/7] mac80211: " Victor Goldenshtein
2012-06-19 13:11 ` [PATCH v2 5/7] nl80211/cfg80211: add ap channel switch command/event Victor Goldenshtein
2012-06-20  8:47   ` Johannes Berg
2012-06-20 17:17     ` Goldenshtein, Victor
2012-06-20 17:39       ` Johannes Berg
2012-06-21  5:35         ` Goldenshtein, Victor
2012-06-21  7:06           ` Johannes Berg
2012-06-19 13:11 ` [PATCH v2 6/7] mac80211: " Victor Goldenshtein
2012-06-20  8:48   ` Johannes Berg
2012-06-19 13:11 ` [PATCH v2 7/7] mac80211: add DFS support to monitor interface Victor Goldenshtein
2012-06-20  8:49   ` Johannes Berg
2012-06-20 16:50     ` Goldenshtein, Victor
2012-06-20  8:40 ` [PATCH v2 1/7] nl80211/cfg80211: add radar detection command/event Johannes Berg
2012-06-20 12:22   ` Zefir Kurtisi
2012-06-20 12:29     ` Johannes Berg
2012-06-20 16:42   ` Goldenshtein, Victor
2012-06-20 17:40     ` Johannes Berg

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=4FE1D26D.8060702@neratec.com \
    --to=zefir.kurtisi@neratec.com \
    --cc=adrian.chadd@gmail.com \
    --cc=adrian@freebsd.org \
    --cc=assaf@ti.com \
    --cc=coelho@ti.com \
    --cc=igalc@ti.com \
    --cc=j@w1.fi \
    --cc=johannes@sipsolutions.net \
    --cc=kgiori@qca.qualcomm.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mcgrof@frijolero.org \
    --cc=nbd@nbd.name \
    --cc=simon.wunderlich@s2003.tu-chemnitz.de \
    --cc=victorg@ti.com \
    --cc=yoni.divinsky@ti.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).