[PATCH 2/2] hostapd: Add DFS CAC and radar detection
janusz.dziedzic at tieto.com
Tue Sep 17 14:44:37 EDT 2013
On 17 September 2013 18:25, Simon Wunderlich
<simon.wunderlich at s2003.tu-chemnitz.de> wrote:
> Hey Janusz,
> On Mon, Sep 16, 2013 at 07:40:07AM +0200, Janusz Dziedzic wrote:
>> Add DFS CAC handling, radar detection.
>> By default after radar detected or
>> channel became unavailable random channel
>> will be choose.
>> Signed-hostap: Simon Wunderlich <siwu at hrz.tu-chemnitz.de>
>> Signed-hostap: Janusz Dziedzic <janusz.dziedzic at tieto.com>
> Thanks a lot for the rewrite - looks good to me and works well here, so
> feel free to add:
> Tested-by: Simon Wunderlich <siwu at hrz.tu-chemnitz.de>
Thanks for review and tests.
> Also the patch looks good in general. This series is still missing the
> dfs channel list patch which is in another patch Jouni has still backed
> up  (doesn't apply currently, but it's trivial to fix). Would be good
> to merge this as well.
> Just one remark: What do we do if all channels are taken? Your current
> implementation will then simply close hostapd, but I'm not sure if this
> is desired behaviour - shouldn't we rather keep it running and wait for one
> channel to come back (when the Non-occupancy-period is over) and try again?
I think we should never hit this case. Base of spec I changed getting
new channel little bit.
Currently we get random channel from list of:
- "standard" 5G channels (!disabled) - defined by regdomain
- DFS usable + availabe channels.
Even all DFS channels will be unavailable we should get still
"standard" channels list I think.
>  http://w1.fi/p/dfs/0002-hostapd-Add-config-option-for-DFS-channels.patch
More information about the HostAP