[RFC v3 0/3] hostapd: introduce Automatic Channel Selection (ACS)
michal.kazior at tieto.com
Mon Aug 5 05:33:15 EDT 2013
This is an attempt at ressurecting ACS effort for hostapd.
This is based on the work done by Luis R. Rodriguez
<lrodriguez at qca.qualcomm.com>.
I've rebased and improved the patchset. Notable changes:
* Interference factor calculation has been modified.
The formula now includes the relative channel noise floor so a channel with
lower noise floor should be preferred in case channel load evaluates to 0.
The formula now spits out positive values that can be summed up, which is
* Overlapping/primary/secondary channels are all used when calculating total
intereference factor for a given connection type (2.4Ghz, HT40, VHT80).
This most likely still needs tuning but it's a good start I think.
* remain-on-channel replaced in favour of scan-based survey data gathering
(hostapd: Add offchannel support -- dropped)
* chan_time scan parameter patch is introduced
* tested with ath9k and ath10k
* chan_time patch is dropped in favour of doing a couple of passive scans
this should still allow gathering enough data for ACS
* lots of cleanups and some small fixes
* trimmed down main ACS patch commit message
all details are already in code comments or on wiki page 
The following link is a git patchbomb that has all 3 patches in case the
mailing list server decides to spam-block my patchset.
I will be updating the acs wiki page  soon as per Luis' request.
Pozdrawiam / Best regards,
Michal Kazior (3):
hostapd: Split up channel checking into helpers
hostapd: Add survey dump support
hostapd: Add Automatic Channel Selection (ACS) support
hostapd/Makefile | 6 +
hostapd/config_file.c | 24 +-
hostapd/defconfig | 26 ++
hostapd/hostapd.conf | 20 ++
src/ap/acs.c | 771 ++++++++++++++++++++++++++++++++++++++++++
src/ap/acs.h | 38 +++
src/ap/ap_config.c | 4 +
src/ap/ap_config.h | 4 +
src/ap/ap_drv_ops.h | 10 +
src/ap/drv_callbacks.c | 72 ++++
src/ap/hostapd.c | 5 +
src/ap/hostapd.h | 18 +
src/ap/hw_features.c | 204 +++++++----
src/drivers/driver.h | 109 +++++-
src/drivers/driver_common.c | 1 +
src/drivers/driver_nl80211.c | 185 ++++++++++
16 files changed, 1421 insertions(+), 76 deletions(-)
create mode 100644 src/ap/acs.c
create mode 100644 src/ap/acs.h
More information about the HostAP