DFS support is disabled in the kernel. cat /var/log/dmesg | grep dfs [ 3.256615] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 0 testmode 0 I'll try recompiling the kernel. On Sat, Jul 1, 2017 at 8:38 AM, Lasse Jensen <and0806@xxxxxxxx> wrote: > Enable DFS support in the kernel > > It turns out that DFS must be enabled in kernel and by default the option is > hidden from kernel configuration dialogs. To check if DFS is enabled look > through kernel message output: > ap ~ # dmesg ... [ 2.850086] ath10k_pci 0000:04:00.0: debug 1 debugfs 1 > tracing 0 dfs 0 testmode 0 ... > > The output indicates that DFS is disabled (“dfs 0”). To enable DFS you must > enable following options: > > “Configure standard kernel features (expert users)” under “General > Setup” > “cfg80211 certification onus” under “Networking support > Wireless” > “Atheros DFS support for certified platforms” under “Device Drivers > > Network device support > Wireless LAN > Atheros Wireless Cards” > > Re-compile the kernel and verify if the kernel output indicates DFS support. > Then, re-enable DFS and choose a higher channel of your liking. > Den 29. jun. 2017, fra 14.28, Todd Lewis <todd@xxxxxxxxxxxxxxx> skrev: >> >> I'm setting up a access point on a linux router. >> I am unable to start hostapd. I get the error DFS start_dfs_cac() failed, >> -1 >> >> I'm using a >> Compex WLE600VX Qualcom QCA9882 >> >> >> >> /usr/local/bin/hostapd -dd /etc/hostapd/hostapd.conf >> >> ACS: Adjusting VHT center frequency >> wlp4s0: ACS-COMPLETED freq=5580 channel=116 >> Completing interface initialization >> Mode: IEEE 802.11a Channel: 116 Frequency: 5580 MHz >> DFS 4 channels required radar detection >> DFS all channels available, (SKIP CAC): no >> DFS 0 chans unavailable - choose other channel: no >> wlp4s0: interface state ACS->DFS >> DFS start CAC on 5580 MHz >> wlp4s0: DFS-CAC-START freq=5580 chan=116 sec_chan=0, width=1, >> seg0=122, seg1=0, cac_time=60s >> Can't set freq params >> DFS start_dfs_cac() failed, -1 >> Interface initialization failed >> wlp4s0: interface state DFS->DISABLED >> wlp4s0: AP-DISABLED >> ACS: Possibly channel configuration is invalid, please report this >> along with your config file. >> ACS: Failed to start >> wlp4s0: AP-DISABLED >> wlp4s0: 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 04 f0 21 1f >> 0f e5 04 f0 21 1f 0f e5 00 00 03 00 >> nl80211: Frame command failed: ret=-22 (Invalid argument) (freq=0 wait=0) >> hostapd_free_hapd_data: Interface wlp4s0 wasn't started >> hostapd_deinit_driver: driver=0x493c40 drv_priv=0x2555df0 -> hapd_deinit >> nl80211: deinit ifname=wlp4s0 disabled_11b_rates=0 >> nl80211: Remove monitor interface: refcount=0 >> nl80211: Remove beacon (ifindex=8) >> netlink: Operstate: ifindex=8 linkmode=0 (kernel-control), operstate=6 >> (IF_OPER_UP) >> nl80211: Set mode ifindex 8 iftype 2 (STATION) >> nl80211: Teardown AP(wlp4s0) - device_ap_sme=0 use_monitor=0 >> nl80211: Unsubscribe mgmt frames handle 0x888888888addb739 (AP teardown) >> hostapd_deinit_driver:bss[0]->drv_priv=0x2555df0 >> hostapd_cleanup_iface_partial(0x25535c0) >> Interface wlp4s0 disabled >> wlp4s0: interface state DISABLED->DISABLED >> hostapd_interface_deinit_free(0x25535c0) >> hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1 >> hostapd_interface_deinit(0x25535c0) >> wlp4s0: interface state DISABLED->DISABLED >> hostapd_bss_deinit: deinit bss wlp4s0 >> wlp4s0: AP-DISABLED >> hostapd_cleanup(hapd=0x2554cc0 (wlp4s0)) >> hostapd_free_hapd_data: Interface wlp4s0 wasn't started >> hostapd_interface_deinit_free: driver=0x493c40 drv_priv=(nil) -> >> hapd_deinit >> hostapd_interface_free(0x25535c0) >> hostapd_interface_free: free hapd 0x2554cc0 >> hostapd_cleanup_iface(0x25535c0) >> hostapd_cleanup_iface_partial(0x25535c0) >> hostapd_cleanup_iface: free iface=0x25535c0 >> >> >> The configuration file >> /etc/hostapd/hostapd.conf >> >> ctrl_interface=/var/run/hostapd >> ctrl_interface_group=wheel >> bridge=br0 >> interface=wlp4s0 >> driver=nl80211 >> ssid=test-5g >> hw_mode=a >> max_num_sta=128 >> auth_algs=1 >> disassoc_low_ack=1 >> ieee80211h=1 >> ieee80211d=1 >> country_code=US >> channel=0 >> ieee80211ac=1 >> vht_oper_chwidth=1 >> >> vht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][DSSS_CCK-40] >> vht_oper_centr_freq_seg0_idx=42 >> wpa=3 >> wpa_key_mgmt=WPA-PSK >> wpa_passphrase=darkcrystal1 >> wpa_pairwise=CCMP >> >> -- >> Todd Lewis >> >> ________________________________ >> >> Hostap mailing list >> Hostap@xxxxxxxxxxxxxxxxxxx >> http://lists.infradead.org/mailman/listinfo/hostap -- Todd Lewis Grizzly Star (469) 363-2907 Cell (972) 361-6287 Fax www.grizzlystar.com _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap