Hi, for me it seems that DFS is broken in current trunk for ath9k. I use trunk and compiled ar71xx. With the following configuration on a Ubiquity Nanostation locoM5
--------- config wifi-device 'radio0' option type 'mac80211' option hwmode '11na' option path 'pci0000:00/0000:00:00.0' option htmode 'HT20' option country 'DE' option channel '104' option txpower '20' config wifi-iface option device 'radio0' option encryption 'none' option network 'wifi' option mode 'ap' option ssid 'OpenWRT' option ifname 'wlan0' --------- All DFS channel attempts fail with start_dfs_cac() failed, -1 Full log is as follows: --------- Sat Jul 5 21:19:56 2014 daemon.notice netifd: Interface 'wifi' is enabled Sat Jul 5 21:19:56 2014 kern.info kernel: [ 337.930000] IPv6: ADDRCONF(NETDEV_UP): br-wifi: link is not ready Sat Jul 5 21:19:58 2014 kern.info kernel: [ 339.140000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready Sat Jul 5 21:19:58 2014 kern.info kernel: [ 339.150000] device wlan0 entered promiscuous mode Sat Jul 5 21:19:58 2014 kern.info kernel: [ 339.160000] device wlan0 left promiscuous mode Sat Jul 5 21:19:58 2014 kern.info kernel: [ 339.160000] br-wifi: port 1(wlan0) entered disabled state Sat Jul 5 21:19:58 2014 daemon.notice netifd: radio0 (4156): Configuration file: /var/run/hostapd-phy0.conf Sat Jul 5 21:19:58 2014 daemon.notice netifd: radio0 (4156): wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE Sat Jul 5 21:19:58 2014 daemon.notice netifd: radio0 (4156): wlan0: interface state COUNTRY_UPDATE->DFS Sat Jul 5 21:19:58 2014 daemon.notice netifd: radio0 (4156): wlan0: DFS-CAC-START freq=5520 chan=104 sec_chan=0, width=0, seg0=0, seg1=0, cac_time=60s Sat Jul 5 21:19:58 2014 daemon.notice netifd: radio0 (4156): DFS start_dfs_cac() failed, -1 Sat Jul 5 21:19:58 2014 daemon.notice netifd: radio0 (4156): Interface initialization failed Sat Jul 5 21:19:58 2014 daemon.notice netifd: radio0 (4156): wlan0: interface state DFS->DISABLED Sat Jul 5 21:19:58 2014 daemon.notice netifd: radio0 (4156): wlan0: AP-DISABLED Sat Jul 5 21:19:58 2014 daemon.notice netifd: radio0 (4156): wlan0: Unable to setup interface. Sat Jul 5 21:19:58 2014 daemon.notice netifd: radio0 (4156): hostapd_free_hapd_data: Interface wlan0 wasn't started Sat Jul 5 21:19:58 2014 daemon.notice netifd: radio0 (4156): ELOOP: remaining socket: sock=18 eloop_data=0xab9020 user_data=(nil) handler=0x4136d5 Sat Jul 5 21:19:58 2014 daemon.notice netifd: radio0 (4156): cat: can't open '/var/run/wifi-phy0.pid': No such file or directory ---------------- I know that I already used DFS channels in March but I am not sure whether it was with plain trunk or additional own patches. Regards, Martin On 7/8/14, 12:20 AM, Andre Valentin wrote: > Hi! > > this should also be in your .config > # CONFIG_ATH_USER_REGD is not set > See http://wireless.kernel.org/en/users/Drivers/ath10k -> Limitations 3/3 > > Kind regards, > > André > > > > On 04.07.2014 16:29, Jacek Kikiewicz wrote: >> Hello, >> >> I have CONFIG_PACKAGE_ATH_DFS=y and still cannot use this... any idea >> how / what should be debugged? > .. >>>>>>> CONFIG_PACKAGE_ATH_DFS=y > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel