All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Oh <peter.oh@eero.com>
To: Johannes Berg <johannes@sipsolutions.net>,
	Aaron Komisar <aaron.komisar@tandemg.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH v3] mac80211: fix scan blocked on DFS channels in ETSI domains
Date: Fri, 4 Oct 2019 10:41:41 -0700	[thread overview]
Message-ID: <1245442d-bbf2-aa5a-bd87-17a317b5ed34@eero.com> (raw)
In-Reply-To: <164db03648d82e0bdf962d18508322ac71f1b66d.camel@sipsolutions.net>


On 10/4/19 5:15 AM, Johannes Berg wrote:
> On Thu, 2019-10-03 at 08:13 +0000, Aaron Komisar wrote:
>
>>> The real reason of scan failure is because mac80211 checks if it's DFS
>>> channel, but it doesn't check if CAC is done or not.
>> The problem is that scan request is blocked in ETSI reg domains. In non-ETSI
>> reg domains the behavior is fine.
>>
>> cfg80211 blocks scan in non-ETSI reg domains and allows leaving the channel
>> in ETSI reg domains. I think that if we add a function in mac80211, which
>> checks if we can leave the operating channel this function should also take
>> into account the reg domain for completeness.
>>> So to solve the issue, the right approach should be "check if DFS
>>> channels and check if CAC is done".
>> We can't scan while CAC is in progress but why must we verify that CAC was done
>> in order to perform a scan operation?
> I agree that'd be weird - if CAC wasn't done we shouldn't be operating
> on that channel to start with?

Sorry to make you guys confused. I was thinking about something else.

So ignore my comment in previous email.


Thanks,

Peter


      reply	other threads:[~2019-10-04 17:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-02 13:59 [PATCH v3] mac80211: fix scan blocked on DFS channels in ETSI domains Aaron Komisar
2019-10-02 17:46 ` Peter Oh
2019-10-03  8:13   ` Aaron Komisar
2019-10-04 12:15     ` Johannes Berg
2019-10-04 17:41       ` Peter Oh [this message]

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=1245442d-bbf2-aa5a-bd87-17a317b5ed34@eero.com \
    --to=peter.oh@eero.com \
    --cc=aaron.komisar@tandemg.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.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 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.