All of lore.kernel.org
 help / color / mirror / Atom feed
* CAC question: DFS -> non-dfs -> DFS
@ 2021-08-20 16:43 Ben Greear
  2021-08-29 17:56 ` Janusz Dziedzic
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Greear @ 2021-08-20 16:43 UTC (permalink / raw)
  To: linux-wireless

Hello,

While poking at the MTK driver and trying to fix some CAC bugs in it,
I noticed the following:

Select ch 100, which enables DFS CAC logic.  Wait for that to finish.
Then select CH 36 (disable DFS)
Then select ch 100 again, and the chandef->chan->dfs_state is set back to 0
which I think means we must do CAC again.

I was expecting in this case that the DFS state would be set to NL80211_DFS_AVAILABLE
instead, since CAC just passed a few minutes prior?

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: CAC question: DFS -> non-dfs -> DFS
  2021-08-20 16:43 CAC question: DFS -> non-dfs -> DFS Ben Greear
@ 2021-08-29 17:56 ` Janusz Dziedzic
  0 siblings, 0 replies; 2+ messages in thread
From: Janusz Dziedzic @ 2021-08-29 17:56 UTC (permalink / raw)
  To: Ben Greear; +Cc: linux-wireless

pt., 20 sie 2021 o 18:45 Ben Greear <greearb@candelatech.com> napisał(a):
>
> Hello,
>
> While poking at the MTK driver and trying to fix some CAC bugs in it,
> I noticed the following:
>
> Select ch 100, which enables DFS CAC logic.  Wait for that to finish.
> Then select CH 36 (disable DFS)
> Then select ch 100 again, and the chandef->chan->dfs_state is set back to 0
> which I think means we must do CAC again.
>
> I was expecting in this case that the DFS state would be set to NL80211_DFS_AVAILABLE
> instead, since CAC just passed a few minutes prior?
>

This depends on DFS region (country).
EU allow preCAC - once you pass CAC then you can switch to other
channel and - the old one will be DFS_AVAILABLE - no need to do CAC
again.
All other regions don't allow preCAC - so each channel switch will
clear DFS_AVAILABLE and require CAC again.

BR
Janusz

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-29 17:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-20 16:43 CAC question: DFS -> non-dfs -> DFS Ben Greear
2021-08-29 17:56 ` Janusz Dziedzic

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.