[PATCH 0/4] hostapd: add ACS support
Luis R. Rodriguez
lrodriguez
Wed Jun 22 20:50:44 PDT 2011
This series adds ACS support to hostapd. I've completed
a few of my own TODOs and splitted up the patches as
best as possible. I'm pretty satisfied with this code now
as an initial start for ACS code. At this point we need
to start finding ideal values for the metrics for offchannel
operation so that we can consistently always find the same
channel, even if it means surveying longer or doing more
scans.
Other algorithms for ACS shoudl be easy to plug in, for example,
spectral scan ;)
Anyway, to enable and test this thing just set CONFIG_ACS=1
on your build config and then something like this on your
hostapd.conf:
channel=acs_survey
acs_num_req_surveys=10
acs_roc_duration_ms=100
Test results, rants are appreciated.
Luis R. Rodriguez (4):
hostapd: split up channel checking into helpers
hostapd: add offchannel support
hostapd: add survey dump support
hostapd: add Automatic Channel Selection (ACS) support
hostapd/Makefile | 5 +
hostapd/config_file.c | 47 ++++-
hostapd/defconfig | 25 +++
hostapd/hostapd.conf | 17 ++
src/ap/acs.c | 464 ++++++++++++++++++++++++++++++++++++++++++
src/ap/acs.h | 40 ++++
src/ap/ap_config.c | 15 ++
src/ap/ap_config.h | 4 +
src/ap/ap_drv_ops.h | 27 +++
src/ap/drv_callbacks.c | 139 +++++++++++++-
src/ap/hostapd.c | 2 +
src/ap/hostapd.h | 24 +++
src/ap/hw_features.c | 188 +++++++++++------
src/drivers/driver.h | 171 +++++++++++++++-
src/drivers/driver_nl80211.c | 193 ++++++++++++++++++
15 files changed, 1290 insertions(+), 71 deletions(-)
create mode 100644 src/ap/acs.c
create mode 100644 src/ap/acs.h
--
1.7.4.15.g7811d
More information about the Hostap
mailing list