Can somebody help me to enable ACS? Thanks Nick On Tue, 7 Jan 2020 at 16:14, nick83ola <nick83ola@xxxxxxxxx> wrote: > > Hi > I'm on linux with a wl1837 wifi chip and I'm trying to setup an access > point with ACS > > The problem is that I'm receiving > > ACS: Automatic channel selection started, this may take a bit > ACS: Scanning 1 / 5 > wlanap0: nl80211: scan request > nl80211: Passive scan requested > nl80211: Scan frequency 5180 MHz > nl80211: Scan frequency 5190 MHz > nl80211: Scan frequency 5200 MHz > nl80211: Scan frequency 5210 MHz > nl80211: Scan frequency 5220 MHz > nl80211: Scan frequency 5230 MHz > nl80211: Scan frequency 5240 MHz > nl80211: Scan frequency 5745 MHz > nl80211: Scan frequency 5765 MHz > nl80211: Scan frequency 5785 MHz > nl80211: Scan frequency 5805 MHz > nl80211: Scan frequency 5825 MHz > Scan requested (ret=0) - scan timeout 10 seconds > wlanap0: interface state COUNTRY_UPDATE->ACS > wlanap0: ACS-STARTED > Interface initialization will be completed in a callback (ACS) > ctrl_iface not configured! > random: Got 20/20 bytes from /dev/random > RTM_NEWLINK: ifi_index=6 ifname=wlanap0 operstate=2 linkmode=0 > ifi_family=0 ifi_flags=0x1003 ([UP]) > nl80211: Event message available > nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlanap0 > wlanap0: nl80211: Scan trigger > wlanap0: Event SCAN_STARTED (47) received > Unknown event 47 > RTM_NEWLINK: ifi_index=6 ifname=wlanap0 wext ifi_family=0 > ifi_flags=0x1003 ([UP]) > nl80211: Event message available > nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlanap0 > wlanap0: nl80211: New scan results available > nl80211: Scan included frequencies: 5180 5190 5200 5210 5220 5230 5240 > 5745 5765 5785 5805 5825 > wlanap0: Event SCAN_RESULTS (3) received > ACS: Using survey based algorithm (acs_num_scans=5) > nl80211: Fetch survey data > wlanap0: Event SURVEY (46) received > No survey data received > > here's my config file > > ~# cat /run/hostapd-wlanap0.conf > driver=nl80211 > logger_syslog=-1 > logger_syslog_level=2 > logger_stdout=-1 > logger_stdout_level=2 > > ctrl_interface=/var/run/hostapd > ctrl_interface_group=0 > > macaddr_acl=0 > auth_algs=1 > ignore_broadcast_ssid=0 > ap_isolate=1 > eapol_key_index_workaround=0 > eap_server=1 > server_id=bumblebee.test > tls_session_lifetime=3600 > wpa=2 > wpa_key_mgmt=WPA-PSK > wpa_pairwise=CCMP > rsn_pairwise=CCMP > wps_state=2 > config_methods=virtual_push_button > wps_rf_bands=ag > > > country_code=US > > hw_mode=a > ieee80211n=1 > ieee80211ac=1 > wmm_enabled=1 > > vht_oper_chwidth=1 > vht_oper_centr_freq_seg0_idx=42 > > channel=0 > # ht_capab: HT capabilities (list of flags) > # ht_capab=[HT40+][SHORT-GI-20][SHORT-GI-40] > # ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40] > # vht_capab: VHT capabilities (list of flags) > #vht_capab=[SHORT-GI-80][HTC-VHT] > > interface=wlanap0 > ssid=my-test-ap > wpa_passphrase=secretpassword1234 > > ########### iw list > > ~# iw list > Wiphy phy0 > max # scan SSIDs: 1 > max scan IEs length: 441 bytes > max # sched scan SSIDs: 16 > max # match sets: 16 > max # scan plans: 1 > max scan plan interval: -1 > max scan plan iterations: 0 > Retry short limit: 7 > Retry long limit: 4 > Coverage class: 0 (up to 0m) > Device supports AP-side u-APSD. > Supported Ciphers: > * WEP40 (00-0f-ac:1) > * WEP104 (00-0f-ac:5) > * TKIP (00-0f-ac:2) > * CCMP-128 (00-0f-ac:4) > * WPI-SMS4 (00-14-72:1) > Available Antennas: TX 0 RX 0 > Supported interface modes: > * managed > * AP > * AP/VLAN > * monitor > * P2P-client > * P2P-GO > * P2P-device > Band 1: > Capabilities: 0x3c > HT20 > SM Power Save disabled > RX Greenfield > RX HT20 SGI > No RX STBC > Max AMSDU length: 3839 bytes > No DSSS/CCK HT40 > Maximum RX AMPDU length 16383 bytes (exponent: 0x001) > Minimum RX AMPDU time spacing: 16 usec (0x07) > HT Max RX data rate: 144 Mbps > HT TX/RX MCS rate indexes supported: 0-15 > Bitrates (non-HT): > * 1.0 Mbps > * 2.0 Mbps (short preamble supported) > * 5.5 Mbps (short preamble supported) > * 11.0 Mbps (short preamble supported) > * 6.0 Mbps > * 9.0 Mbps > * 12.0 Mbps > * 18.0 Mbps > * 24.0 Mbps > * 36.0 Mbps > * 48.0 Mbps > * 54.0 Mbps > Frequencies: > * 2412 MHz [1] (25.0 dBm) > * 2417 MHz [2] (25.0 dBm) > * 2422 MHz [3] (25.0 dBm) > * 2427 MHz [4] (25.0 dBm) > * 2432 MHz [5] (25.0 dBm) > * 2437 MHz [6] (25.0 dBm) > * 2442 MHz [7] (25.0 dBm) > * 2447 MHz [8] (25.0 dBm) > * 2452 MHz [9] (25.0 dBm) > * 2457 MHz [10] (25.0 dBm) > * 2462 MHz [11] (25.0 dBm) > * 2467 MHz [12] (disabled) > * 2472 MHz [13] (disabled) > * 2484 MHz [14] (disabled) > Band 2: > Capabilities: 0x7e > HT20/HT40 > SM Power Save disabled > RX Greenfield > RX HT20 SGI > RX HT40 SGI > No RX STBC > Max AMSDU length: 3839 bytes > No DSSS/CCK HT40 > Maximum RX AMPDU length 16383 bytes (exponent: 0x001) > Minimum RX AMPDU time spacing: 16 usec (0x07) > HT Max RX data rate: 150 Mbps > HT TX/RX MCS rate indexes supported: 0-7 > Bitrates (non-HT): > * 6.0 Mbps > * 9.0 Mbps > * 12.0 Mbps > * 18.0 Mbps > * 24.0 Mbps > * 36.0 Mbps > * 48.0 Mbps > * 54.0 Mbps > Frequencies: > * 5040 MHz [8] (disabled) > * 5060 MHz [12] (disabled) > * 5080 MHz [16] (disabled) > * 5170 MHz [34] (disabled) > * 5180 MHz [36] (23.0 dBm) > * 5190 MHz [38] (23.0 dBm) > * 5200 MHz [40] (23.0 dBm) > * 5210 MHz [42] (23.0 dBm) > * 5220 MHz [44] (23.0 dBm) > * 5230 MHz [46] (23.0 dBm) > * 5240 MHz [48] (23.0 dBm) > * 5260 MHz [52] (23.0 dBm) (radar detection) > * 5280 MHz [56] (23.0 dBm) (radar detection) > * 5300 MHz [60] (23.0 dBm) (radar detection) > * 5320 MHz [64] (23.0 dBm) (radar detection) > * 5500 MHz [100] (23.0 dBm) (radar detection) > * 5520 MHz [104] (23.0 dBm) (radar detection) > * 5540 MHz [108] (23.0 dBm) (radar detection) > * 5560 MHz [112] (23.0 dBm) (radar detection) > * 5580 MHz [116] (23.0 dBm) (radar detection) > * 5600 MHz [120] (23.0 dBm) (radar detection) > * 5620 MHz [124] (23.0 dBm) (radar detection) > * 5640 MHz [128] (23.0 dBm) (radar detection) > * 5660 MHz [132] (23.0 dBm) (radar detection) > * 5680 MHz [136] (23.0 dBm) (radar detection) > * 5700 MHz [140] (23.0 dBm) (radar detection) > * 5745 MHz [149] (25.0 dBm) > * 5765 MHz [153] (25.0 dBm) > * 5785 MHz [157] (25.0 dBm) > * 5805 MHz [161] (25.0 dBm) > * 5825 MHz [165] (25.0 dBm) > Supported commands: > * new_interface > * set_interface > * new_key > * start_ap > * new_station > * set_bss > * authenticate > * associate > * deauthenticate > * disassociate > * join_ibss > * remain_on_channel > * set_tx_bitrate_mask > * frame > * frame_wait_cancel > * set_wiphy_netns > * set_channel > * set_wds_peer > * start_sched_scan > * probe_client > * set_noack_map > * register_beacons > * start_p2p_device > * set_mcast_rate > * connect > * disconnect > * channel_switch > * set_qos_map > * set_multicast_to_unicast > Supported TX frame types: > * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 > 0xc0 0xd0 0xe0 0xf0 > * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 > 0xc0 0xd0 0xe0 0xf0 > * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 > 0xd0 0xe0 0xf0 > * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 > 0xc0 0xd0 0xe0 0xf0 > * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 > 0xb0 0xc0 0xd0 0xe0 0xf0 > * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 > 0xb0 0xc0 0xd0 0xe0 0xf0 > * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 > 0xc0 0xd0 0xe0 0xf0 > * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 > 0xb0 0xc0 0xd0 0xe0 0xf0 > Supported RX frame types: > * IBSS: 0x40 0xb0 0xc0 0xd0 > * managed: 0x40 0xd0 > * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0 > * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0 > * mesh point: 0xb0 0xc0 0xd0 > * P2P-client: 0x40 0xd0 > * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0 > * P2P-device: 0x40 0xd0 > WoWLAN support: > * wake up on anything (device continues operating normally) > * wake up on pattern match, up to 5 patterns of 1-91 bytes, > maximum packet offset 0 bytes > software interface modes (can always be added): > * AP/VLAN > * monitor > valid interface combinations: > * #{ managed } <= 2, #{ AP, P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1, > total <= 3, #channels <= 2 > * #{ AP } <= 2, #{ P2P-device } <= 1, > total <= 2, #channels <= 1, radar detect widths: { 20 MHz (no HT), > 20 MHz, 40 MHz, 80 MHz } > > HT Capability overrides: > * MCS: ff ff ff ff ff ff ff ff ff ff > * maximum A-MSDU length > * supported channel width > * short GI for 40 MHz > * max A-MPDU length exponent > * min MPDU start spacing > Device supports TX status socket option. > Device supports HT-IBSS. > Device supports SAE with AUTHENTICATE command > Device supports scan flush. > Device supports AP scan. > Device supports per-vif TX power setting > Driver supports full state transitions for AP/GO clients > Driver supports a userspace MPM > Device supports configuring vdev MAC-addr on create. > Supported extended features: > * [ RRM ]: RRM > * [ FILS_STA ]: STA FILS (Fast Initial Link Setup) > * [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211 > > ############# here's the log > > ~# hostapd -dd /run/hostapd-wlanap0.conf > random: Trying to read entropy from /dev/random > Configuration file: /run/hostapd-wlanap0.conf > ctrl_interface_group=0 > nl80211: Supported cipher 00-0f-ac:1 > nl80211: Supported cipher 00-0f-ac:5 > nl80211: Supported cipher 00-0f-ac:2 > nl80211: Supported cipher 00-0f-ac:4 > nl80211: Supported cipher 00-14-72:1 > nl80211: Supports Probe Response offload in AP mode > nl80211: Using driver-based off-channel TX > nl80211: Driver-advertised extended capabilities (default) - > hexdump(len=8): 04 00 00 00 00 00 00 40 > nl80211: Driver-advertised extended capabilities mask (default) - > hexdump(len=8): 04 00 00 00 00 00 00 40 > nl80211: Supported vendor command: vendor_id=0x80028 subcmd=0 > nl80211: Supported vendor command: vendor_id=0x80028 subcmd=1 > nl80211: Supported vendor command: vendor_id=0x80028 subcmd=2 > nl80211: Supported vendor event: vendor_id=0x80028 subcmd=0 > nl80211: Supported vendor event: vendor_id=0x80028 subcmd=1 > nl80211: Use separate P2P group interface (driver advertised support) > nl80211: Enable multi-channel concurrent (driver advertised support) > nl80211: use P2P_DEVICE support > nl80211: interface wlanap0 in phy phy0 > nl80211: Set mode ifindex 6 iftype 3 (AP) > nl80211: Setup AP(wlanap0) - device_ap_sme=0 use_monitor=0 > nl80211: Subscribe to mgmt frames with AP handle 0x76f1b570 > nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) > nl_handle=0x76f1b570 match= > nl80211: Register frame type=0x0 (WLAN_FC_STYPE_ASSOC_REQ) > nl_handle=0x76f1b570 match= > nl80211: Register frame type=0x20 (WLAN_FC_STYPE_REASSOC_REQ) > nl_handle=0x76f1b570 match= > nl80211: Register frame type=0xa0 (WLAN_FC_STYPE_DISASSOC) > nl_handle=0x76f1b570 match= > nl80211: Register frame type=0xc0 (WLAN_FC_STYPE_DEAUTH) > nl_handle=0x76f1b570 match= > nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) > nl_handle=0x76f1b570 match= > nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) > nl_handle=0x76f1b570 match=04 > nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) > nl_handle=0x76f1b570 match=0501 > nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) > nl_handle=0x76f1b570 match=0503 > nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) > nl_handle=0x76f1b570 match=0504 > nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) > nl_handle=0x76f1b570 match=06 > nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) > nl_handle=0x76f1b570 match=08 > nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) > nl_handle=0x76f1b570 match=09 > nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) > nl_handle=0x76f1b570 match=0a > nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) > nl_handle=0x76f1b570 match=11 > nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) > nl_handle=0x76f1b570 match=12 > nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) > nl_handle=0x76f1b570 match=7f > rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0 > nl80211: Add own interface ifindex 6 (ifidx_reason -1) > nl80211: if_indices[16]: 6(-1) > phy: phy0 > BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits) > wlanap0: interface state UNINITIALIZED->COUNTRY_UPDATE > Previous country code US, new country code US > nl80211: Regulatory information - country=US (DFS-FCC) > nl80211: 2402-2472 @ 40 MHz 30 mBm > nl80211: 5170-5250 @ 80 MHz 23 mBm > nl80211: 5250-5330 @ 80 MHz 23 mBm (DFS) > nl80211: 5490-5730 @ 160 MHz 23 mBm (DFS) > nl80211: 5735-5835 @ 80 MHz 30 mBm > nl80211: 57240-71000 @ 2160 MHz 40 mBm > nl80211: Added 802.11b mode based on 802.11g information > nl80211: Mode IEEE 802.11g: 2412 2417 2422 2427 2432 2437 2442 2447 > 2452 2457 2462 2467[DISABLED] 2472[DISABLED] 2484[DISABLED][NO_IR] > nl80211: Mode IEEE 802.11a: 5040[DISABLED] 5060[DISABLED] > 5080[DISABLED] 5170[DISABLED] 5180 5190 5200 5210 5220 5230 5240 > 5260[RADAR] 5280[RADAR] 5300[RADAR] 5320[RADAR] 5500[RADAR] > 5520[RADAR] 5540[RADAR] 5560[RADAR] > nl80211: Mode IEEE 802.11b: 2412 2417 2422 2427 2432 2437 2442 2447 > 2452 2457 2462 2467[DISABLED] 2472[DISABLED] 2484[DISABLED][NO_IR] > Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=30 dBm > Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=30 dBm > Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=30 dBm > Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=30 dBm > Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=30 dBm > Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=30 dBm > Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=30 dBm > Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=30 dBm > Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=30 dBm > Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=30 dBm > Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=30 dBm > Allowed channel: mode=2 chan=36 freq=5180 MHz max_tx_power=23 dBm > Allowed channel: mode=2 chan=38 freq=5190 MHz max_tx_power=23 dBm > Allowed channel: mode=2 chan=40 freq=5200 MHz max_tx_power=23 dBm > Allowed channel: mode=2 chan=42 freq=5210 MHz max_tx_power=23 dBm > Allowed channel: mode=2 chan=44 freq=5220 MHz max_tx_power=23 dBm > Allowed channel: mode=2 chan=46 freq=5230 MHz max_tx_power=23 dBm > Allowed channel: mode=2 chan=48 freq=5240 MHz max_tx_power=23 dBm > Allowed channel: mode=2 chan=149 freq=5745 MHz max_tx_power=30 dBm > Allowed channel: mode=2 chan=153 freq=5765 MHz max_tx_power=30 dBm > Allowed channel: mode=2 chan=157 freq=5785 MHz max_tx_power=30 dBm > Allowed channel: mode=2 chan=161 freq=5805 MHz max_tx_power=30 dBm > Allowed channel: mode=2 chan=165 freq=5825 MHz max_tx_power=30 dBm > Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=30 dBm > Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=30 dBm > Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=30 dBm > Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=30 dBm > Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=30 dBm > Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=30 dBm > Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=30 dBm > Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=30 dBm > Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=30 dBm > Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=30 dBm > Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=30 dBm > ACS: Automatic channel selection started, this may take a bit > ACS: Scanning 1 / 5 > wlanap0: nl80211: scan request > nl80211: Passive scan requested > nl80211: Scan frequency 5180 MHz > nl80211: Scan frequency 5190 MHz > nl80211: Scan frequency 5200 MHz > nl80211: Scan frequency 5210 MHz > nl80211: Scan frequency 5220 MHz > nl80211: Scan frequency 5230 MHz > nl80211: Scan frequency 5240 MHz > nl80211: Scan frequency 5745 MHz > nl80211: Scan frequency 5765 MHz > nl80211: Scan frequency 5785 MHz > nl80211: Scan frequency 5805 MHz > nl80211: Scan frequency 5825 MHz > Scan requested (ret=0) - scan timeout 10 seconds > wlanap0: interface state COUNTRY_UPDATE->ACS > wlanap0: ACS-STARTED > Interface initialization will be completed in a callback (ACS) > ctrl_iface not configured! > random: Got 20/20 bytes from /dev/random > RTM_NEWLINK: ifi_index=6 ifname=wlanap0 operstate=2 linkmode=0 > ifi_family=0 ifi_flags=0x1003 ([UP]) > nl80211: Event message available > nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlanap0 > wlanap0: nl80211: Scan trigger > wlanap0: Event SCAN_STARTED (47) received > Unknown event 47 > RTM_NEWLINK: ifi_index=6 ifname=wlanap0 wext ifi_family=0 > ifi_flags=0x1003 ([UP]) > nl80211: Event message available > nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlanap0 > wlanap0: nl80211: New scan results available > nl80211: Scan included frequencies: 5180 5190 5200 5210 5220 5230 5240 > 5745 5765 5785 5805 5825 > wlanap0: Event SCAN_RESULTS (3) received > ACS: Using survey based algorithm (acs_num_scans=5) > nl80211: Fetch survey data > wlanap0: Event SURVEY (46) received > No survey data received > ACS: Scanning 2 / 5 > wlanap0: nl80211: scan request > nl80211: Passive scan requested > nl80211: Scan frequency 5180 MHz > nl80211: Scan frequency 5190 MHz > nl80211: Scan frequency 5200 MHz > nl80211: Scan frequency 5210 MHz > nl80211: Scan frequency 5220 MHz > nl80211: Scan frequency 5230 MHz > nl80211: Scan frequency 5240 MHz > nl80211: Scan frequency 5745 MHz > nl80211: Scan frequency 5765 MHz > nl80211: Scan frequency 5785 MHz > nl80211: Scan frequency 5805 MHz > nl80211: Scan frequency 5825 MHz > Scan requested (ret=0) - scan timeout 30 seconds > nl80211: Event message available > nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlanap0 > wlanap0: nl80211: Scan trigger > wlanap0: Event SCAN_STARTED (47) received > Unknown event 47 > RTM_NEWLINK: ifi_index=6 ifname=wlanap0 wext ifi_family=0 > ifi_flags=0x1003 ([UP]) > nl80211: Event message available > nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlanap0 > wlanap0: nl80211: New scan results available > nl80211: Scan included frequencies: 5180 5190 5200 5210 5220 5230 5240 > 5745 5765 5785 5805 5825 > wlanap0: Event SCAN_RESULTS (3) received > ACS: Using survey based algorithm (acs_num_scans=5) > nl80211: Fetch survey data > wlanap0: Event SURVEY (46) received > No survey data received > ACS: Scanning 3 / 5 > wlanap0: nl80211: scan request > nl80211: Passive scan requested > nl80211: Scan frequency 5180 MHz > nl80211: Scan frequency 5190 MHz > nl80211: Scan frequency 5200 MHz > nl80211: Scan frequency 5210 MHz > nl80211: Scan frequency 5220 MHz > nl80211: Scan frequency 5230 MHz > nl80211: Scan frequency 5240 MHz > nl80211: Scan frequency 5745 MHz > nl80211: Scan frequency 5765 MHz > nl80211: Scan frequency 5785 MHz > nl80211: Scan frequency 5805 MHz > nl80211: Scan frequency 5825 MHz > Scan requested (ret=0) - scan timeout 30 seconds > nl80211: Event message available > nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlanap0 > wlanap0: nl80211: Scan trigger > wlanap0: Event SCAN_STARTED (47) received > Unknown event 47 > RTM_NEWLINK: ifi_index=6 ifname=wlanap0 wext ifi_family=0 > ifi_flags=0x1003 ([UP]) > nl80211: Event message available > nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlanap0 > wlanap0: nl80211: New scan results available > nl80211: Scan included frequencies: 5180 5190 5200 5210 5220 5230 5240 > 5745 5765 5785 5805 5825 > wlanap0: Event SCAN_RESULTS (3) received > ACS: Using survey based algorithm (acs_num_scans=5) > nl80211: Fetch survey data > wlanap0: Event SURVEY (46) received > No survey data received > ACS: Scanning 4 / 5 > wlanap0: nl80211: scan request > nl80211: Passive scan requested > nl80211: Scan frequency 5180 MHz > nl80211: Scan frequency 5190 MHz > nl80211: Scan frequency 5200 MHz > nl80211: Scan frequency 5210 MHz > nl80211: Scan frequency 5220 MHz > nl80211: Scan frequency 5230 MHz > nl80211: Scan frequency 5240 MHz > nl80211: Scan frequency 5745 MHz > nl80211: Scan frequency 5765 MHz > nl80211: Scan frequency 5785 MHz > nl80211: Scan frequency 5805 MHz > nl80211: Scan frequency 5825 MHz > Scan requested (ret=0) - scan timeout 30 seconds > nl80211: Event message available > nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlanap0 > wlanap0: nl80211: Scan trigger > wlanap0: Event SCAN_STARTED (47) received > Unknown event 47 > RTM_NEWLINK: ifi_index=6 ifname=wlanap0 wext ifi_family=0 > ifi_flags=0x1003 ([UP]) > nl80211: Event message available > nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlanap0 > wlanap0: nl80211: New scan results available > nl80211: Scan included frequencies: 5180 5190 5200 5210 5220 5230 5240 > 5745 5765 5785 5805 5825 > wlanap0: Event SCAN_RESULTS (3) received > ACS: Using survey based algorithm (acs_num_scans=5) > nl80211: Fetch survey data > wlanap0: Event SURVEY (46) received > No survey data received > ACS: Scanning 5 / 5 > wlanap0: nl80211: scan request > nl80211: Passive scan requested > nl80211: Scan frequency 5180 MHz > nl80211: Scan frequency 5190 MHz > nl80211: Scan frequency 5200 MHz > nl80211: Scan frequency 5210 MHz > nl80211: Scan frequency 5220 MHz > nl80211: Scan frequency 5230 MHz > nl80211: Scan frequency 5240 MHz > nl80211: Scan frequency 5745 MHz > nl80211: Scan frequency 5765 MHz > nl80211: Scan frequency 5785 MHz > nl80211: Scan frequency 5805 MHz > nl80211: Scan frequency 5825 MHz > Scan requested (ret=0) - scan timeout 30 seconds > nl80211: Event message available > nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlanap0 > wlanap0: nl80211: Scan trigger > wlanap0: Event SCAN_STARTED (47) received > Unknown event 47 > RTM_NEWLINK: ifi_index=6 ifname=wlanap0 wext ifi_family=0 > ifi_flags=0x1003 ([UP]) > nl80211: Event message available > nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlanap0 > wlanap0: nl80211: New scan results available > nl80211: Scan included frequencies: 5180 5190 5200 5210 5220 5230 5240 > 5745 5765 5785 5805 5825 > wlanap0: Event SCAN_RESULTS (3) received > ACS: Using survey based algorithm (acs_num_scans=5) > nl80211: Fetch survey data > wlanap0: Event SURVEY (46) received > No survey data received > ACS: Trying survey-based ACS > ACS: Unable to collect survey data > ACS: All study options have failed > Interface initialization failed > wlanap0: interface state ACS->DISABLED > wlanap0: AP-DISABLED > ACS: Possibly channel configuration is invalid, please report this > along with your config file. > ACS: Failed to start > wlanap0: AP-DISABLED > wlanap0: Deauthenticate all stations > nl80211: send_mlme - da= ff:ff:ff:ff:ff:ff noack=0 freq=0 no_cck=0 > offchanok=0 wait_time=0 fc=0xc0 (WLAN_FC_STYPE_DEAUTH) nlmode=3 > nl80211: send_mlme -> send_frame > nl80211: send_frame - Use bss->freq=0 > nl80211: send_frame -> send_frame_cmd > nl80211: CMD_FRAME freq=0 wait=0 no_cck=0 no_ack=0 offchanok=0 > CMD_FRAME - hexdump(len=26): c0 00 00 00 ff ff ff ff ff ff f2 45 da 39 > 75 4c f2 45 da 39 75 4c 00 00 03 00 > nl80211: Frame command failed: ret=-22 (Invalid argument) (freq=0 wait=0) > hostapd_free_hapd_data: Interface wlanap0 wasn't started > hostapd_deinit_driver: driver=0x59b450 drv_priv=0x76f1ef50 -> hapd_deinit > nl80211: deinit ifname=wlanap0 disabled_11b_rates=0 > nl80211: Remove monitor interface: refcount=0 > nl80211: Remove beacon (ifindex=6) > netlink: Operstate: ifindex=6 linkmode=0 (kernel-control), operstate=6 > (IF_OPER_UP) > nl80211: Unsubscribe mgmt frames handle 0xfe793df9 (deinit) > hostapd_deinit_driver:bss[0]->drv_priv=0x76f1ef50 > hostapd_cleanup_iface_partial(0x76f1b010) > Interface wlanap0 disabled > wlanap0: interface state DISABLED->DISABLED > hostapd_interface_deinit_free(0x76f1b010) > hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1 > hostapd_interface_deinit(0x76f1b010) > wlanap0: interface state DISABLED->DISABLED > hostapd_bss_deinit: deinit bss wlanap0 > wlanap0: AP-DISABLED > hostapd_cleanup(hapd=0x76f1e7e0 (wlanap0)) > wlanap0: CTRL-EVENT-TERMINATING > hostapd_free_hapd_data: Interface wlanap0 wasn't started > hostapd_interface_deinit_free: driver=0x59b450 drv_priv=0 -> hapd_deinit > hostapd_interface_free(0x76f1b010) > hostapd_interface_free: free hapd 0x76f1e7e0 > hostapd_cleanup_iface(0x76f1b010) > hostapd_cleanup_iface_partial(0x76f1b010) > hostapd_cleanup_iface: free iface=0x76f1b010 > > > Thanks > Nick _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap