Reference Manual

Redpine Signals, Inc. Proprietary and Confidential Page 73
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
9 ACS with Hostapd
Following steps should be followed for Auto Channel Selection using Hostapd:
1. Compilation Steps:
a. Enable CONFIG_ACS in Driver Makefile
b. Enable Hostapd and NL80211 in ‘make menuconfig’
c. Enable CONFIG_ACS in hostapd .config file. (wlan/hostapd/hostapd-2.4/hostapd/.config)
d. Compile the driver using ‘make’ command
2. Hostapd Conf File changes required for ACS:
Set the correct interface and driver in hostapd.conf file (driver will be nl80211 for this)
Set SSID you want to configure
Set hw_mode to ‘g’ for 2.4 GHz or ‘a’ for 5Ghz
Set channel=0 (For ACS this value should be zero. Hostapd will pick a channel depending upon survey dump from driver)
Select the number of scans to be performed to trigger survey data commands. Hostapd will call this much times for new
survey data
Steps for Setting AP
1. Insert the driver and create AP interface using wlan_enable.sh and post_vap.sh
2. Up the ap interface created
3. Run the following command to run hostapd: