hostapd: Add Automatic Channel Selection (ACS) support

This adds ACS support to hostapd. Currently only survey-based
algorithm is available.

To use ACS you need to enable CONFIG_ACS=y in .config and use
channel=0 (or channel=acs_survey) in hostapd.conf.

For more details see wiki page [1] or comments in src/ap/acs.c.

[1]: http://wireless.kernel.org/en/users/Documentation/acs

Signed-hostap: Michal Kazior <michal.kazior@tieto.com>
This commit is contained in:
Michal Kazior 2013-08-31 11:49:51 +03:00 committed by Jouni Malinen
parent 43ee470494
commit 50f4f2a066
12 changed files with 937 additions and 5 deletions

View file

@ -310,6 +310,10 @@ struct hostapd_iface {
/* lowest observed noise floor in dBm */
s8 lowest_nf;
#ifdef CONFIG_ACS
unsigned int acs_num_completed_scans;
#endif /* CONFIG_ACS */
void (*scan_cb)(struct hostapd_iface *iface);
};