Hostapd ACS not changing from previously selected channel

Mega erich.titl at think.ch
Sun Feb 15 18:01:01 EST 2015


Hi

Am 13.02.2015 um 21:36 schrieb Fumikazu Yobimoto:
> Hi,
..

>
> For example, what does the following command show?
> $ hostapd -d hostapd.conf | grep ACS

SALT# hostapd -d /etc/hostapd/hostapd.conf | grep ACS
ACS: Automatic channel selection started, this may take a bit
ACS: Scanning 1 / 5
wlan1: interface state COUNTRY_UPDATE->ACS
wlan1: ACS-STARTED
Interface initialization will be completed in a callback (ACS)
ACS: Using survey based algorithm (acs_num_scans=5)
ACS: Scanning 2 / 5
ACS: Using survey based algorithm (acs_num_scans=5)
ACS: Scanning 3 / 5
ACS: Using survey based algorithm (acs_num_scans=5)
ACS: Scanning 4 / 5
ACS: Using survey based algorithm (acs_num_scans=5)
ACS: Scanning 5 / 5
ACS: Using survey based algorithm (acs_num_scans=5)
ACS: Trying survey-based ACS
ACS: Survey analysis for channel 13 (2472 MHz)
ACS: 1: min_nf=-98 interference_factor=0.00909091 nf=-98 time=110 busy=1 
rx=0
ACS: 2: min_nf=-98 interference_factor=0.00900901 nf=-98 time=111 busy=1 
rx=1
ACS: 3: min_nf=-98 interference_factor=0.0540541 nf=-98 time=111 busy=6 rx=3
ACS: 4: min_nf=-98 interference_factor=2.51189e-20 nf=-98 time=111 
busy=0 rx=0
ACS: 5: min_nf=-98 interference_factor=2.51189e-20 nf=-98 time=111 
busy=0 rx=0
ACS:  * interference factor average: 0.0144308
ACS: Survey analysis for selected bandwidth 20 MHz
ACS:  * channel 1: total interference = 0
ACS:  * channel 2: total interference = 0
ACS:  * channel 3: total interference = 0
ACS:  * channel 4: total interference = 0
ACS:  * channel 5: total interference = 0
ACS:  * channel 6: total interference = 0
ACS:  * channel 7: total interference = 0
ACS:  * channel 8: total interference = 0
ACS:  * channel 9: total interference = 0
ACS:  * channel 10: total interference = 0
ACS:  * channel 11: total interference = 0.0144308
ACS:  * channel 12: total interference = 0.0144308
ACS:  * channel 13: total interference = 0.0144308
ACS: Ideal channel is 13 (2472 MHz) with total interference factor of 
0.0144308
wlan1: ACS-COMPLETED freq=2472 channel=13

Using channel 6 before this test yields

SALT# hostapd -d /etc/hostapd/hostapd.conf | grep ACS
ACS: Automatic channel selection started, this may take a bit
ACS: Scanning 1 / 5
wlan1: interface state COUNTRY_UPDATE->ACS
wlan1: ACS-STARTED
Interface initialization will be completed in a callback (ACS)
ACS: Using survey based algorithm (acs_num_scans=5)
ACS: Scanning 2 / 5
ACS: Using survey based algorithm (acs_num_scans=5)
ACS: Scanning 3 / 5
ACS: Using survey based algorithm (acs_num_scans=5)
ACS: Scanning 4 / 5
ACS: Using survey based algorithm (acs_num_scans=5)
ACS: Scanning 5 / 5
ACS: Using survey based algorithm (acs_num_scans=5)
ACS: Trying survey-based ACS
ACS: Survey analysis for channel 6 (2437 MHz)
ACS: 1: min_nf=-97 interference_factor=0.018018 nf=-97 time=111 busy=2 rx=2
ACS: 2: min_nf=-97 interference_factor=0.00900901 nf=-97 time=111 busy=1 
rx=1
ACS: 3: min_nf=-97 interference_factor=0.00900901 nf=-97 time=111 busy=1 
rx=1
ACS: 4: min_nf=-97 interference_factor=0.0357143 nf=-97 time=112 busy=4 rx=4
ACS: 5: min_nf=-97 interference_factor=0.00900901 nf=-97 time=111 busy=1 
rx=0
ACS:  * interference factor average: 0.0161519
ACS: Survey analysis for selected bandwidth 20 MHz
ACS:  * channel 1: total interference = 0
ACS:  * channel 2: total interference = 0
ACS:  * channel 3: total interference = 0
ACS:  * channel 4: total interference = 0.0161519
ACS:  * channel 5: total interference = 0.0161519
ACS:  * channel 6: total interference = 0.0161519
ACS:  * channel 7: total interference = 0.0161519
ACS:  * channel 8: total interference = 0.0161519
ACS:  * channel 9: total interference = 0
ACS:  * channel 10: total interference = 0
ACS:  * channel 11: total interference = 0
ACS:  * channel 12: total interference = 0
ACS:  * channel 13: total interference = 0
ACS: Ideal channel is 6 (2437 MHz) with total interference factor of 
0.0161519
wlan1: ACS-COMPLETED freq=2437 channel=6
wlan1: interface state ACS->ENABLED

cheers

ET



More information about the HostAP mailing list