DFS start_dfs_cac() failed, -1

Todd Lewis todd at grizzlystar.com
Mon Jun 26 14:45:16 PDT 2017


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



More information about the Hostap mailing list