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

Simon Wunderlich sw at simonwunderlich.de
Wed Feb 5 12:10:06 EST 2014


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.

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  |    6 ++++++
 src/ap/ap_config.c    |    1 +
 src/ap/ap_config.h    |    1 +
 src/ap/dfs.c          |   57 ++++++++++++++++++++++++++++++++++++++++++++-----
 5 files changed, 66 insertions(+), 5 deletions(-)

-- 
1.7.10.4



More information about the HostAP mailing list