]> git.ipfire.org Git - thirdparty/hostap.git/commit - hostapd/hostapd.conf
ACS: Allow specific channels to be preferred
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 6 Feb 2015 15:59:57 +0000 (17:59 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 6 Feb 2015 15:59:57 +0000 (17:59 +0200)
commit68fa00c341e26be69c1faffa58f94867b5f1cfd3
treee69c6ab2a6d0a54be0e5ef64b415215ef56264ac
parent6f41a258057294c6006fab477754da80c93c890e
ACS: Allow specific channels to be preferred

The new acs_chan_bias configuration parameter is a space-separated list
of <channel>:<bias> pairs. It can be used to increase (or decrease) the
likelihood of a specific channel to be selected by the ACS algorithm.
The total interference factor for each channel gets multiplied by the
specified bias value before finding the channel with the lowest value.
In other words, values between 0.0 and 1.0 can be used to make a channel
more likely to be picked while values larger than 1.0 make the specified
channel less likely to be picked. This can be used, e.g., to prefer the
commonly used 2.4 GHz band channels 1, 6, and 11 (which is the default
behavior on 2.4 GHz band if no acs_chan_bias parameter is specified).

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
hostapd/config_file.c
hostapd/hostapd.conf
src/ap/acs.c
src/ap/ap_config.c
src/ap/ap_config.h