Hi,<br><br> I am trying to enable the Auto Channel Selection in hostapd with ath5k and ath9k drivers. I cloned the source of hostap from the git and applied the patch (  <a href="http://www.kernel.org/pub/linux/kernel/people/mcgrof/patches/hostapd/acs-all-in-one-v2.patch">http://www.kernel.org/pub/linux/kernel/people/mcgrof/patches/hostapd/acs-all-in-one-v2.patch</a> ). I then went to the hostapd directory of hostap and did make and make install. Followed instruction from ( <a href="http://wireless.kernel.org/en/users/Documentation/hostapd#Download_and_compile_hostapd">http://wireless.kernel.org/en/users/Documentation/hostapd#Download_and_compile_hostapd</a> ). <br>
<br>While building the software i enabled CONFIG_ACS=y in  the defconfig file present in /hostap/hostapd/ to .config and performed the build. I then did a make install and configures the hostapd.conf file. <br><br>Hostapd is working fine for me without ACS but when i enable channel=0 or channel=acs_survey and uncomment the <br>
<br>acs_num_req_surveys=10<br>acs_roc_duration_ms=5<br><br>options for ACS to be enabled it throws this error,<br><br>&gt; sudo hostapd hostapd.conf <br><br>Configuration file: hostapd.conf<br>Line 113: set as &#39;0&#39; tries to enable ACS but CONFIG_ACS disabled<br>
Line 125: invalid acs_num_req_surveys 10 (CONFIG_ACS disabled)<br>Line 126: invalid acs_roc_duration_ms 5 (CONFIG_ACS disabled)1..5000)<br>3 errors found in configuration file &#39;hostapd.conf&#39;<br><br>Any pointers on what to do to enable ACS please. <br>
<br>Awaiting your kind reply. <br><br>Thanks,<br clear="all"><br>-- <br>Best Regards,<br>Swaminathan Vasanth Rajaraman<br>