[PATCHv2 0/4] hostapd: DFS channel list and associated fixes

Simon Wunderlich sw
Wed Mar 5 10:14:58 PST 2014


this patchset is on the list for a month now or so. There were some objections 
for the 4th patch (I'd still need some help to provide a better solution), but 
the first 3 patches could be merged nonetheless. Should I resend, or how can we 


> This series contains the rebased patch to add a dfs channel list
> in the config file. This is especially useful if one wants to select
> a special subset of channels which allows high transmission power in
> the local regulation, e.g. up to 500mW for channel 100-140 in Germany
> without TPC, for example.
> Changes to PATCH series:
>  * renamed dfs_chanlist to chanlist and fixed the comment (suggestion
>    by Helmut Schaa)
>  * fixed author and Signed-hostap entries
> Along with that, there are two patches which handle special cases
> when no channels are available - the patch allowing to select an
> available DFS channel should also be useful in the "general" case
> when dfs_chanlist is not set.
> Finally, makes hostapd stop when no channels are availble anymore.
> I tried to fix this properly by enabling the iface once a NOP event
> is received (that means the channel is usable again). However since
> the interface has been de-initialized and the event handlers have
> been deregistered, the event is received by hostapd but not processed
> for the interface. This is somehow a chicken-egg-problem, can anyone
> point me to how to solve that?
> Thanks,
> 	Simon
> Simon Wunderlich (4):
>   hostapd: add config option for dfs channels
>   hostapd: allow to switch to DFS channels if available
>   hostapd: allow to switch to usable DFS channels
>   hostapd: terminate hostapd when no channel is available
>  hostapd/config_file.c |    6 ++++++
>  hostapd/hostapd.conf  |    8 +++++++
>  src/ap/ap_config.c    |    1 +
>  src/ap/ap_config.h    |    1 +
>  src/ap/dfs.c          |   57
> ++++++++++++++++++++++++++++++++++++++++++++----- 5 files changed, 68
> insertions(+), 5 deletions(-)

More information about the Hostap mailing list